1 <?php
defined('SYSPATH') OR die('No direct access allowed.');
4 if (Auth
::instance()->logged_in()) {
5 $auth = op5auth
::instance();
6 if ($auth->authorized_for('host_view_all')) {
11 if (!isset($keycommands_disabled) ||
$keycommands_disabled !== true) {
12 $keycommands_active = (int)(bool)config
::get('keycommands.activated', '*');
14 $keycommands_active = 0;
20 require __DIR__
.'/template_head.php';
24 <div
class="container">
26 if (!empty($print_notifications)) {
27 ?
> <div
class="print-notification-bar"> <?php
28 foreach ($print_notifications as $print_notification) {
29 echo $print_notification;
34 if(!isset($hide_header)) {
35 require __DIR__
.'/template_header.php';
37 <div
class="content" tabindex
="0" id
="content">
41 if (isset($content)) {
44 return url
::redirect(Kohana
::config('routes.logged_in_default'));
47 require __DIR__
. '/template_notifications.php';
55 if (isset($saved_searches) && !empty($saved_searches)) {
63 if(!isset($no_dojo)) {
64 echo html
::script('application/media/js/dojo.js');
66 if (isset($context_menu))