themes/enanium/header.tpl
changeset 921 a71de5e21423
child 955 de4f81abc5e3
equal deleted inserted replaced
920:4babf8545826 921:a71de5e21423
       
     1 <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
       
     2 <html xmlns="http://www.w3.org/1999/xhtml">
       
     3   <head>
       
     4     <title>{PAGE_NAME} &bull; {SITE_NAME}</title>
       
     5     <meta http-equiv="Content-type" content="text/html; charset=utf-8" />
       
     6     {JS_DYNAMIC_VARS}
       
     7     <link rel="stylesheet" type="text/css" href="{CDNPATH}/includes/clientside/css/enano-shared.css" />
       
     8     <link id="mdgCss" rel="stylesheet" type="text/css" href="{CDNPATH}/themes/{THEME_ID}/css/{STYLE_ID}.css" />
       
     9     {JS_HEADER}
       
    10     {ADDITIONAL_HEADERS}
       
    11     <!-- BEGIN auth_rename -->
       
    12     <script type="text/javascript" src="{CDNPATH}/themes/{THEME_ID}/js/inlinerename.js"></script>
       
    13     <!-- END auth_rename -->
       
    14   </head>
       
    15   <body>
       
    16     <div id="header">
       
    17       <?php
       
    18       if ( $head = $paths->sysMsg('SiteHeader') )
       
    19       {
       
    20         echo $head;
       
    21       }
       
    22       else
       
    23       {
       
    24       ?>
       
    25         <div class="logo"></div>
       
    26         <h1><a href="<?php echo makeUrl(get_main_page(), false, true); ?>">{SITE_NAME}</a></h1>
       
    27       <?php
       
    28         }
       
    29       ?>
       
    30     </div>
       
    31     <!-- HOOK enanium_main_header -->
       
    32     <!-- BEGINNOT stupid_mode -->
       
    33     <form class="searchform" action="{SCRIPTPATH}/index.php" method="get">
       
    34       <div>
       
    35         <input type="hidden" name="title" value="{NS_SPECIAL}Search" />
       
    36         <input type="hidden" name="auth" value="{ADMIN_SID_RAW}" />
       
    37         <input type="text" name="q" value="" />
       
    38         <input type="submit" value="search" />
       
    39       </div>
       
    40       <!-- HOOK enanium_search_form -->
       
    41     </form>
       
    42     <ul class="useropts">
       
    43       <!-- BEGIN user_logged_in -->
       
    44       <li class="em"><a href="{url:User:{USERNAME}}">{USERNAME}</a></li>
       
    45       <li><a href="{url:Special:Preferences}">{lang:sidebar_btn_preferences_short}</a></li>
       
    46       <li class="logout"><a href="{url:Special:Logout/{CSRF_TOKEN}/{PAGE_URLNAME}}" onclick="mb_logout(); return false;">{lang:sidebar_btn_logout}</a></li>
       
    47       <!-- BEGINELSE user_logged_in -->
       
    48       <li class="em"><a href="{url:Special:Login}" onclick="ajaxStartLogin(); return false;">{lang:sidebar_btn_login}</a></li>
       
    49       <li><a href="{url:Special:Register}">{lang:sidebar_btn_register}</a></li>
       
    50       <!-- END user_logged_in -->
       
    51     </ul>
       
    52     <!-- END stupid_mode -->
       
    53     <!-- Yes this is table based. For reliability reasons. -->
       
    54     <table border="0" cellspacing="0" cellpadding="0" id="body-wrapper">
       
    55     <tr>
       
    56       <td valign="top" id="cell-sbleft">
       
    57         <div class="left sidebar">
       
    58           {SIDEBAR_LEFT}
       
    59         </div>
       
    60         <!-- HOOK sidebar_left_post -->
       
    61       </td>
       
    62       <td valign="top" id="cell-content">
       
    63         <!-- BEGINNOT stupid_mode -->
       
    64         <div class="menu_nojs" style="float: right; margin-right: 10px;">
       
    65           <a href="#" onclick="return false;">{lang:onpage_lbl_changes}</a>
       
    66           <ul class="jbox_right">
       
    67             <li><a href="{url:Special:Log/user={USERNAME}|escape}">{lang:onpage_btn_changes_mine}</a></li>
       
    68             <li><a href="{url:Special:Log/within=1w|escape}">{lang:onpage_btn_changes_recent}</a></li>
       
    69             <li><a href="{url:Special:Log/page={PAGE_URLNAME}|escape}">{lang:onpage_btn_changes_history}</a></li>
       
    70           </ul>
       
    71           <a href="#" onclick="return false;">{lang:onpage_lbl_sitetools}</a>
       
    72           <ul class="jbox_right">
       
    73             <li><a href="{url:Special:CreatePage|escape}">{lang:sidebar_btn_createpage}</a></li>
       
    74             <li><a href="{url:Special:UploadFile|escape}">{lang:sidebar_btn_uploadfile}</a></li>
       
    75             <li><a href="{url:Special:SpecialPages|escape}">{lang:sidebar_btn_specialpages}</a></li>
       
    76             <!-- BEGIN auth_admin -->
       
    77             {SIDEBAR_LINK}
       
    78             {ADMIN_LINK}
       
    79             <!-- END auth_admin -->
       
    80           </ul>
       
    81           <span class="menuclear"></span>
       
    82         </div>
       
    83         <!-- END stupid_mode -->
       
    84         <div class="menu_nojs" id="pagebar_main">
       
    85           <div class="label">
       
    86             <!-- BEGIN stupid_mode -->
       
    87             Page tools
       
    88             <!-- BEGINELSE stupid_mode -->
       
    89             {lang:onpage_lbl_pagetools}
       
    90             <!-- END stupid_mode -->
       
    91           </div>
       
    92           {TOOLBAR}
       
    93           <ul>
       
    94             {TOOLBAR_EXTRAS}
       
    95           </ul>
       
    96           <span class="menuclear"></span>
       
    97         </div>
       
    98         <div id="content-wrapper" class="content">
       
    99           <table border="0" cellspacing="0" cellpadding="0" style="width: 100%;">
       
   100           <tr>
       
   101           <td valign="top" style="width: 100%;">
       
   102           <div style="float: right;">
       
   103             <img alt=" " src="{CDNPATH}/images/spacer.gif" id="ajaxloadicon" />
       
   104           </div>
       
   105           <h1 <!-- BEGIN auth_rename -->title="{lang:onpage_btn_rename_inline}" <!-- END auth_rename -->id="h2PageName">{PAGE_NAME}</h1>
       
   106           <div id="ajaxEditContainer">