Show
Ignore:
Timestamp:
07/11/08 15:20:42 (4 months ago)
Author:
aarkerio
Message:

Update FAQS

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/glossaries/admin_listing.ctp

    r317 r644  
    1 <script type="text/javascript"> 
    2    window.onload = timedMsg; 
    3 </script> 
    41<?php  
    5 $session->flash(); 
    6 echo $html->addCrumb('Control Tools', '/admin/entries/start'); 
    7 echo $html->addCrumb('Glossaries', '/admin/catglossaries/listing');  
     2echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
     3echo $html->addCrumb(__('Glossaries', true), '/admin/catglossaries/listing');  
    84echo $html->getCrumbs(' / ');  
    9 ?> 
    10 <div id="control-panel-title">Glossaries</div> 
    11 <p> 
    12 <?php 
    13 if ( count($data) > 0) 
    14 { 
     5 
     6echo $html->div('control-panel-title', __('Glossaries', true)); 
     7 
     8if ( count($data) > 0): 
    159    echo '<h1>' . $data[0]["Catglossary"]["title"] . '</h1>'; 
    16 } 
    17 else 
    18 { 
     10 
     11else: 
     12 
    1913    echo '<p><b>No items yet</b></p>'; 
    20 } 
     14endif; 
    2115 
    2216 echo '<div id="loading" style="display: none;">'; 
     
    3125        false); 
    3226 
    33 echo $ajax->div('updater'); 
    34 echo $ajax->divEnd('updater'); 
    35 ?></p> 
    36 <?php 
    37 foreach ($data as $val) 
    38 { 
     27echo $ajax->div('updater') . $ajax->divEnd('updater'); 
     28 
     29foreach ($data as $val): 
     30 
    3931   echo '<div style="padding:6px;margin:5px;border:1px dotted gray;">'; 
    4032     
     
    4739    
    4840   echo '</div>'; 
    49 } 
     41endforeach; 
    5042?>