Ignore:
Timestamp:
11/24/08 12:26:48 (3 years ago)
Author:
WanWizard
Message:

fixed header layout

File:
1 edited

Legend:

Unmodified
Added
Removed
  • themes/public/ChristmasDays/php-files/themes/ChristmasDays/templates/templates/_header.tpl

    r2053 r2066  
    146146</script> 
    147147<table align='center' width='{$smarty.const.THEME_WIDTH}' cellspacing='0' cellpadding='0' class='headerbanner'> 
    148     <tr style='height:160px;'> 
    149         <td style='background-image: url({$smarty.const.THEME}images/top.gif); background-repeat: none;'> 
    150             <div> 
    151                 <div style='display:inline;float:left;margin-top:135px;margin-left:10px;width:100px;'> 
    152                     <a href='.' onclick='fontGroter(-0.1); return false' title='Decrease font-size'><img src='{$smarty.const.THEME}images/minus.gif' alt='' border='0' /></a><a href='.' onclick='fontReset(0.7); return false' title='Restore default font-sizes'><img src='{$smarty.const.THEME}images/reset.gif' hspace='2' alt='' border='0' /></a><a href='.' onclick='fontGroter(0.1); return false' title='Increase font-size'><img src='{$smarty.const.THEME}images/plus.gif' alt='' border='0' /></a> 
    153                     <div id='new_posts_header' style='display:inline;'> 
    154                         {if $new_posts} 
    155                             <a href='{$smarty.const.BASEDIR}modules/forum_threads_list_panel/new_posts.php'><img src='{$smarty.const.THEME}images/newposts.gif' height='9' alt='{$locale.028}' /></a> 
    156                         {/if} 
    157                     </div> 
    158                     <div id='new_pm_header' style='display:inline;'> 
    159                         {if $new_pm} 
    160                             <a href='{$smarty.const.BASEDIR}pm.php?action=show_new'><img src='{$smarty.const.THEME}images/newmsgs.gif' height='9' alt='' /></a>&nbsp; 
    161                         {/if} 
    162                     </div> 
     148    <tr style='background-image: url({$smarty.const.THEME}images/top.gif); background-repeat: none;height:160px;'> 
     149        <td> 
     150            <div style='display:inline;float:left;margin-top:135px;margin-left:10px;width:100px;'> 
     151                <a href='.' onclick='fontGroter(-0.1); return false' title='Decrease font-size'><img src='{$smarty.const.THEME}images/minus.gif' alt='' border='0' /></a><a href='.' onclick='fontReset(0.7); return false' title='Restore default font-sizes'><img src='{$smarty.const.THEME}images/reset.gif' hspace='2' alt='' border='0' /></a><a href='.' onclick='fontGroter(0.1); return false' title='Increase font-size'><img src='{$smarty.const.THEME}images/plus.gif' alt='' border='0' /></a> 
     152                <div id='new_posts_header' style='display:inline;'> 
     153                    {if $new_posts} 
     154                        <a href='{$smarty.const.BASEDIR}modules/forum_threads_list_panel/new_posts.php'><img src='{$smarty.const.THEME}images/newposts.gif' height='9' alt='{$locale.028}' /></a> 
     155                    {/if} 
    163156                </div> 
    164                 <div style='display:inline;float:left;margin-top:32px;margin-left:15px;'><img src='{$smarty.const.THEME}images/bells.gif' alt='' /></div> 
    165                 <div class='sub-header' style='display:inline;float:left;margin-top:128px;margin-left:0px;'> 
    166                     {section name=index loop=$headermenu} 
    167                         {if !$smarty.section.index.first} &middot;{/if} <a style='color:#fff;' href='{$headermenu[index].link_url}' {if $headermenu[index].link_window == 1}target='_blank' {/if}>{$headermenu[index].link_name}</a> 
    168                     {/section} 
     157                <div id='new_pm_header' style='display:inline;'> 
     158                    {if $new_pm} 
     159                        <a href='{$smarty.const.BASEDIR}pm.php?action=show_new'><img src='{$smarty.const.THEME}images/newmsgs.gif' height='9' alt='' /></a>&nbsp; 
     160                    {/if} 
    169161                </div> 
    170                 <div class='sub-header' style='display:inline;float:right;margin-top:127px;height:5px;'> 
    171                     {$bartitle}&nbsp; 
    172                 </div> 
    173                 <div id='countdown' style='white-space:no-wrap;text-align:center;float:right;font-weight:bold;width:380px;color:#CC0000;margin-top:148px;'></div> 
     162            </div> 
     163            <div style='float:left;margin-top:34px;margin-left:10px;'><img src='{$smarty.const.THEME}images/bells.gif' alt='' /></div> 
     164            <div class='sub-header' style='float:left;margin-top:128px;margin-left:0px;'> 
     165                {section name=index loop=$headermenu} 
     166                    {if !$smarty.section.index.first} &middot;{/if} <a style='color:#fff;' href='{$headermenu[index].link_url}' {if $headermenu[index].link_window == 1}target='_blank' {/if}>{$headermenu[index].link_name}</a> 
     167                {/section} 
     168            </div> 
     169            <div id='countdown' style='white-space:no-wrap;text-align:center;float:right;font-weight:bold;width:380px;color:#CC0000;margin-top:148px;'></div> 
     170            <div style='display:inline;float:right;text-align:center;width:750px;margin-top:-155px;margin-right:15px;' /> 
     171                <font size='6' color='{$settings.maintenance_color}'>{if $settings.maintenance}<b>MAINTENANCE MODE</b>{else}&nbsp;{/if}</font> 
     172                <br /><br /><br /> 
     173                <font size='6' color='#CC0000'><b>{$settings.sitename}</b></font> 
    174174            </div> 
    175175        </td> 
Note: See TracChangeset for help on using the changeset viewer.