예제 #1
0
    /**
     * DisplayHTMLHeader
     * This method outputs the HEAD section of the html page in the admin section.
     */
    function DisplayHTMLHeader($showielink = false, $addt = '')
    {
        parent::DisplayHTMLHeader($showielink, $addt);
        ?>

<?php 
    }
예제 #2
0
파일: header.php 프로젝트: rasomu/chuza
     $themeObject = new AdminTheme($gCms, $userid, $themeName);
 }
 debug_buffer('after theme load');
 $gCms->variables['admintheme'] =& $themeObject;
 if (isset($gCms->config['admin_encoding']) && $gCms->config['admin_encoding'] != '') {
     $themeObject->SendHeaders(isset($charsetsent), $gCms->config['admin_encoding']);
 } else {
     $themeObject->SendHeaders(isset($charsetsent), get_encoding('', false));
 }
 debug_buffer('before populate admin navigation');
 $themeObject->PopulateAdminNavigation(isset($CMS_ADMIN_SUBTITLE) ? $CMS_ADMIN_SUBTITLE : '');
 debug_buffer('after populate admin navigation');
 debug_buffer('before theme-y stuff');
 $themeObject->DisplayDocType();
 $themeObject->DisplayHTMLStartTag();
 $themeObject->DisplayHTMLHeader(false, isset($headtext) ? $headtext : '');
 $themeObject->DisplayBodyTag();
 $themeObject->DoTopMenu();
 $themeObject->DisplayMainDivStart();
 debug_buffer('after theme-y stuff');
 // Display notification stuff from modules
 // should be controlled by preferences or something
 $ignoredmodules = explode(',', get_preference($userid, 'ignoredmodules'));
 if (get_site_preference('enablenotifications', 1) && get_preference($userid, 'enablenotifications', 1)) {
     foreach ($gCms->modules as $modulename => $ext) {
         if (in_array($modulename, $ignoredmodules)) {
             continue;
         }
         $mod =& $gCms->modules[$modulename]['object'];
         if (!is_object($mod)) {
             continue;