| 1 | <?php
|
|---|
| 2 | /**
|
|---|
| 3 | * Theme name: admin_default
|
|---|
| 4 | * Template name: header.php
|
|---|
| 5 | * Template author: Nick Ramsay
|
|---|
| 6 | *
|
|---|
| 7 | * PHP version 5
|
|---|
| 8 | *
|
|---|
| 9 | * LICENSE: Hotaru CMS is free software: you can redistribute it and/or
|
|---|
| 10 | * modify it under the terms of the GNU General Public License as
|
|---|
| 11 | * published by the Free Software Foundation, either version 3 of
|
|---|
| 12 | * the License, or (at your option) any later version.
|
|---|
| 13 | *
|
|---|
| 14 | * Hotaru CMS is distributed in the hope that it will be useful, but WITHOUT
|
|---|
| 15 | * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
|
|---|
| 16 | * FITNESS FOR A PARTICULAR PURPOSE.
|
|---|
| 17 | *
|
|---|
| 18 | * You should have received a copy of the GNU General Public License along
|
|---|
| 19 | * with Hotaru CMS. If not, see http://www.gnu.org/licenses/.
|
|---|
| 20 | *
|
|---|
| 21 | * @category Content Management System
|
|---|
| 22 | * @package HotaruCMS
|
|---|
| 23 | * @author Nick Ramsay <admin@hotarucms.org>
|
|---|
| 24 | * @copyright Copyright (c) 2010, Hotaru CMS
|
|---|
| 25 | * @license http://www.gnu.org/copyleft/gpl.html GNU General Public License
|
|---|
| 26 | * @link http://www.hotarucms.org/
|
|---|
| 27 | */
|
|---|
| 28 |
|
|---|
| 29 | ?>
|
|---|
| 30 |
|
|---|
| 31 | <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
|
|---|
| 32 | "http://www.w3.org/TR/html4/strict.dtd">
|
|---|
| 33 | <html>
|
|---|
| 34 | <head>
|
|---|
| 35 | <meta http-equiv=Content-Type content="text/html; charset=UTF-8" />
|
|---|
| 36 |
|
|---|
| 37 | <title><?php echo $h->getTitle(); ?></title>
|
|---|
| 38 |
|
|---|
| 39 | <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js?ver=1.4.2'></script>
|
|---|
| 40 | <script type='text/javascript' src='http://ajax.googleapis.com/ajax/libs/jqueryui/1.8.0/jquery-ui.min.js?ver=1.8.0'></script>
|
|---|
| 41 |
|
|---|
| 42 | <!-- Include merged files for all the plugin css and javascript (if any) -->
|
|---|
| 43 | <?php $h->doIncludes(); ?>
|
|---|
| 44 | <!-- End -->
|
|---|
| 45 |
|
|---|
| 46 | <link rel="stylesheet" href="<?php echo BASEURL . 'content/admin_themes/' . ADMIN_THEME . 'css/reset-fonts-grids.css'; ?>" type="text/css">
|
|---|
| 47 | <link rel="stylesheet" href="<?php echo BASEURL . 'content/admin_themes/' . ADMIN_THEME . 'css/style.css'; ?>" type="text/css">
|
|---|
| 48 | <!-- <link rel="shortcut icon" href="<?php echo BASEURL; ?>favicon.ico"> -->
|
|---|
| 49 |
|
|---|
| 50 | <?php $h->pluginHook('admin_header_include_raw'); ?>
|
|---|
| 51 |
|
|---|
| 52 | </head>
|
|---|
| 53 | <body>
|
|---|
| 54 |
|
|---|
| 55 |
|
|---|
| 56 | <div class="adm-header">
|
|---|
| 57 | <div class="adm-frame">
|
|---|
| 58 | <div class="adm-header-title">
|
|---|
| 59 | <img class="adm-header-logo" src="<?php echo BASEURL; ?>content/admin_themes/admin_default/images/hotaru-80px.png"/>
|
|---|
| 60 | <div class="adm-header-verion"><?php echo $h->lang["admin_theme_header_hotarucms"]; ?><?php echo $h->version; ?></div>
|
|---|
| 61 | <div class="adm-header-admin"><a href="<?php echo $h->url(array(), 'admin'); ?>"><?php echo $h->lang["admin_theme_header_admin"]; ?></a></div>
|
|---|
| 62 | </div>
|
|---|
| 63 | <div class="adm-top-menu">
|
|---|
| 64 | <div class="adm-tm-item">
|
|---|
| 65 | <a href="<?php echo BASEURL; ?>">
|
|---|
| 66 | <div class="adm-tm-item-icon">
|
|---|
| 67 | <img src="<?php echo BASEURL; ?>content/admin_themes/admin_default/images/home_icon.png" />
|
|---|
| 68 | </div>
|
|---|
| 69 | <div class="adm-tm-item-text"><?php echo $h->lang["admin_theme_menu_site_home"]; ?></div>
|
|---|
| 70 | </a>
|
|---|
| 71 | </div>
|
|---|
| 72 | <div class="adm-tm-item">
|
|---|
| 73 | <a href="<?php echo $h->url(array(), 'admin'); ?>">
|
|---|
| 74 | <div class="adm-tm-item-icon">
|
|---|
| 75 | <img src="<?php echo BASEURL; ?>content/admin_themes/admin_default/images/admin_icon.png">
|
|---|
| 76 | </div>
|
|---|
| 77 | <div class="adm-tm-item-text"><?php echo $h->lang["admin_theme_menu_admin_home"]; ?></div>
|
|---|
| 78 | </a>
|
|---|
| 79 | </div>
|
|---|
| 80 | <div class="adm-tm-item">
|
|---|
| 81 | <a href="http://hotarucms.org/forum.php">
|
|---|
| 82 | <div class="adm-tm-item-icon">
|
|---|
| 83 | <img src="<?php echo BASEURL; ?>content/admin_themes/admin_default/images/forum_icon.png "/>
|
|---|
| 84 | </div>
|
|---|
| 85 | <div class="adm-tm-item-text"><?php echo $h->lang["admin_theme_menu_hotaru_forums"]; ?></div>
|
|---|
| 86 | </a>
|
|---|
| 87 | </div>
|
|---|
| 88 | <!-- <div onmouseout="javascript:$(this).removeClass('adm-tm-item-active');" onmouseover="javascript:$(this).addClass('adm-tm-item-active');" class="adm-tm-item">
|
|---|
| 89 | <a href="http://hotaruplugins.com">
|
|---|
| 90 | <div class="adm-tm-item-icon">
|
|---|
| 91 | <img src="/images/icons/plugins.png">
|
|---|
| 92 | </div>
|
|---|
| 93 | <div class="adm-tm-item-text">Plugins</div>
|
|---|
| 94 | </a>
|
|---|
| 95 | </div>-->
|
|---|
| 96 | <div class="adm-tm-item">
|
|---|
| 97 | <a href="http://hotarudocs.com">
|
|---|
| 98 | <div class="adm-tm-item-icon">
|
|---|
| 99 | <img src="<?php echo BASEURL; ?>content/admin_themes/admin_default/images/docs_icon.png" />
|
|---|
| 100 | </div>
|
|---|
| 101 | <div class="adm-tm-item-text"><?php echo $h->lang["admin_theme_menu_help"]; ?></div>
|
|---|
| 102 | </a>
|
|---|
| 103 | </div>
|
|---|
| 104 | <div class="adm-tm-item">
|
|---|
| 105 | <a href="/logout/">
|
|---|
| 106 | <div class="adm-tm-item-icon">
|
|---|
| 107 | <img src="<?php echo BASEURL; ?>content/admin_themes/admin_default/images/logout_icon.png" />
|
|---|
| 108 | </div>
|
|---|
| 109 | <div class="adm-tm-item-text"><?php echo $h->lang["admin_theme_menu_logout"]; ?></div>
|
|---|
| 110 | </a>
|
|---|
| 111 | </div>
|
|---|
| 112 | </div>
|
|---|
| 113 | <div class="clear_both"> </div>
|
|---|
| 114 | </div>
|
|---|
| 115 | </div>
|
|---|
| 116 |
|
|---|
| 117 |
|
|---|
| 118 | <?php
|
|---|
| 119 | $announcements = $h->checkAnnouncements();
|
|---|
| 120 | if ($announcements && ($h->currentUser->getPermission('can_access_admin') == 'yes')) {
|
|---|
| 121 | ?>
|
|---|
| 122 | <div id="announcement">
|
|---|
| 123 | <?php $h->pluginHook('admin_announcement_first'); ?>
|
|---|
| 124 | <?php foreach ($announcements as $announcement) { echo $announcement . "<br />"; } ?>
|
|---|
| 125 | <?php $h->pluginHook('admin_announcement_last'); ?>
|
|---|
| 126 | </div>
|
|---|
| 127 | <?php } ?>
|
|---|
| 128 | <div id="doc2" class="yui-t7">
|
|---|
| 129 | <!-- <div id="hd" role="banner">
|
|---|
| 130 | <h1>
|
|---|
| 131 | <?php if($h->isActive('avatar')) {
|
|---|
| 132 | $h->setAvatar($h->currentUser->id, 16);
|
|---|
| 133 | echo $h->linkAvatar();
|
|---|
| 134 | } ?>
|
|---|
| 135 | <a href="<?php echo $h->url(array(), 'admin'); ?>"><?php echo SITE_NAME; ?> </a></h1>
|
|---|
| 136 | <?php $h->pluginHook('header_post_admin_title'); ?>
|
|---|
| 137 |
|
|---|
| 138 | NAVIGATION
|
|---|
| 139 | <?php //echo $h->displayTemplate('admin_navigation'); ?>
|
|---|
| 140 | </div>-->
|
|---|
| 141 |
|
|---|
| 142 | <br/>
|
|---|