Show
Ignore:
Timestamp:
09/26/07 20:45:22 (14 months ago)
Author:
aarkerio
Message:

Helps

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/entries/admin_start.thtml

    r171 r172  
    123123 
    124124<div style="clear:both;"></div> 
    125  
     125<div style="clear:left"></div> 
    126126 
    127127<?php if ( $othAuth->user('group_id') == 1 ):  ?> 
    128    <h2>Admin sections</h2> 
    129 <?php endif; ?> 
    130  
    131 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     128   <div style="float:left;font-size:15pt;">Admin sections</div> 
     129<?php endif; ?> 
     130<div style="clear:both;"></div> 
     131 
     132<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    132133  <div class="main-item" title="News" onclick="document.location.href = '/admin/news/listing'"> 
    133134    <span class="main-item-icon"> 
     
    136137    <a href="/admin/news/listing" title="News" class="main-item-caption">News</a> 
    137138   </div> 
    138 <?php } ?> 
    139  
    140 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     139<?php endif; ?> 
     140 
     141<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    141142  <div class="main-item" title="Subjects" onclick="document.location.href = '/admin/subjects/listing'"> 
    142143    <span class="main-item-icon"> 
     
    144145    <a href="/admin/subjects/listing" title="Subjects" class="main-item-caption">Subjects</a> 
    145146   </div> 
    146 <?php } ?> 
    147  
    148 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     147<?php endif; ?> 
     148 
     149<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    149150  <div class="main-item" title="News Themes" onclick="document.location.href = '/admin/themes/listing'"> 
    150151    <span class="main-item-icon"> 
     
    153154    <?php echo $html->link("News Themes", "/themes/listing", array("class"=>"main-item-caption") ) ?>  
    154155   </div> 
    155 <?php } ?> 
    156  
    157 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     156<?php endif; ?> 
     157 
     158<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    158159 <div class="main-item" title="polls" onclick="document.location.href = '/admin/polls/listing'"> 
    159160   <span class="main-item-icon"> 
     
    162163   <a href="/admin/polls/listing" title="Polls" class="main-item-caption">Polls</a> 
    163164 </div> 
    164  <?php } ?> 
    165  
    166 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     165 <?php endif; ?> 
     166 
     167<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    167168<div class="main-item" title="Users" onclick="document.location.href = '/admin/users/listing'"> 
    168169  <span class="main-item-icon"> 
     
    171172  <a href="/admin/users/listing" title="ClassRooms" class="main-item-caption">Users</a> 
    172173</div> 
    173 <?php } ?> 
    174  
    175 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     174<?php endif; ?> 
     175 
     176<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    176177<div class="main-item" title="Backup" onclick="document.location.href = '/admin/entries/doit'"> 
    177178  <span class="main-item-icon"> 
     
    180181  <a href="/admin/entries/doit" title="Backup" class="main-item-caption">Backup</a> 
    181182</div> 
    182 <?php } ?> 
    183  
    184 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     183<?php endif; ?> 
     184 
     185<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    185186<div class="main-item" title="Newsletters" onclick="document.location.href = '/admin/newsletters/listing'"> 
    186187  <span class="main-item-icon"> 
     
    189190  <a href="/admin/newsletters/listing" title="Newsletters" class="main-item-caption">Newsletters</a> 
    190191</div> 
    191 <?php } ?> 
    192  
    193 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     192<?php endif; ?> 
     193 
     194<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    194195<div class="main-item" title="Backup" onclick="document.location.href = '/admin/helps/listing'"> 
    195196  <span class="main-item-icon"> 
     
    198199  <a href="/admin/helps/doit" title="Help" class="main-item-caption">Helps</a> 
    199200</div> 
    200 <?php } ?> 
    201  
    202 <?php if ( $othAuth->user('group_id') == 1 ) { ?> 
     201<?php endif; ?> 
     202 
     203<?php if ( $othAuth->user('group_id') == 1 ): ?> 
    203204  <div class="main-item" title="Admin" onclick="document.location.href = '/admin/websites/listing'"> 
    204205    <span class="main-item-icon"> 
     
    207208    <a href="/admin/websites/listing" title="News" class="main-item-caption">Admin</a> 
    208209   </div> 
    209 <?php } ?> 
    210  
    211 </div><!-- wraptools ends--> 
     210<?php endif; ?>