themes/enanium/header.tpl
changeset 964 a0add54d9795
parent 962 ceeecb160aec
child 978 ed84b24b8e07
equal deleted inserted replaced
963:b572ce1114f1 964:a0add54d9795
    15     <script type="text/javascript" src="{CDNPATH}/themes/{THEME_ID}/js/inlinerename.js"></script>
    15     <script type="text/javascript" src="{CDNPATH}/themes/{THEME_ID}/js/inlinerename.js"></script>
    16   </head>
    16   </head>
    17   <body>
    17   <body>
    18     <div id="header">
    18     <div id="header">
    19       <?php
    19       <?php
    20       if ( $head = $paths->sysMsg('SiteHeader') )
    20       if ( is_object($paths) && $head = $paths->sysMsg('SiteHeader') )
    21       {
    21       {
    22         echo $head;
    22         echo $head;
    23       }
    23       }
    24       else
    24       else
    25       {
    25       {
    26       ?>
    26       ?>
    27         <div class="logo"></div>
    27         <div class="logo"></div>
    28         <h1><a href="<?php echo makeUrl(get_main_page(), false, true); ?>">{SITE_NAME}</a></h1>
    28         <h1><a href="<?php echo is_object($session) ? makeUrl(get_main_page(), false, true) : scriptPath . '/'; ?>">{SITE_NAME}</a></h1>
    29       <?php
    29       <?php
    30         }
    30         }
    31       ?>
    31       ?>
    32     </div>
    32     </div>
    33     <!-- HOOK enanium_main_header -->
    33     <!-- HOOK enanium_main_header -->