Changeset 1068 in svn for trunk/htdocs/common/common.php


Ignore:
Timestamp:
2012-07-28T08:08:38+02:00 (3 years ago)
Author:
Xuefer
Message:

htdocs: blue skin

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/htdocs/common/common.php

    r1063 r1068  
    4141}
    4242
    43 function moduleswitcher()
     43function mainnav()
     44{
     45    foreach (array(
     46                "http://xcache.lighttpd.net/" => "XCache",
     47                "http://www.php.net/" => "PHP",
     48                "http://www.lighttpd.net/" => "LIGHTTPD",
     49                ) as $url => $title) {
     50        $html[] = sprintf('<a href="%s" target="_blank">%s</a>', $url, $title);
     51    }
     52    return implode('|', $html);
     53}
     54
     55function subnav()
    4456{
    4557    global $module, $modules;
     
    5870    }
    5971    list($text, $title) = explode('|', $translated, 2);
    60     return sprintf('%s<th%s id="%s" title="%s"><a href="javascript:" onclick="resort(this); return false">%s</a></th>%s'
     72    return sprintf('%s<th%s id="%s" class="h" title="%s"><a href="javascript:" onclick="resort(this); return false">%s</a></th>%s'
    6173            , "\t"
    6274            , $attrs ? " $attrs" : ""
     
    254266header("Cache-Control: no-cache, must-revalidate");
    255267header("Expires: Sat, 26 Jul 1997 05:00:00 GMT");
     268header("Content-Type: text/html; " . $GLOBALS['config']['charset']);
     269header("Content-Language: " . $GLOBALS['config']['lang']);
    256270
    257271?>
Note: See TracChangeset for help on using the changeset viewer.