Changeset 644 for trunk/app/views/glossaries/admin_listing.ctp
- Timestamp:
- 07/11/08 15:20:42 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/glossaries/admin_listing.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/glossaries/admin_listing.ctp
r317 r644 1 <script type="text/javascript">2 window.onload = timedMsg;3 </script>4 1 <?php 5 $session->flash(); 6 echo $html->addCrumb('Control Tools', '/admin/entries/start'); 7 echo $html->addCrumb('Glossaries', '/admin/catglossaries/listing'); 2 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 3 echo $html->addCrumb(__('Glossaries', true), '/admin/catglossaries/listing'); 8 4 echo $html->getCrumbs(' / '); 9 ?> 10 <div id="control-panel-title">Glossaries</div> 11 <p> 12 <?php 13 if ( count($data) > 0) 14 { 5 6 echo $html->div('control-panel-title', __('Glossaries', true)); 7 8 if ( count($data) > 0): 15 9 echo '<h1>' . $data[0]["Catglossary"]["title"] . '</h1>'; 16 } 17 else 18 { 10 11 else: 12 19 13 echo '<p><b>No items yet</b></p>'; 20 } 14 endif; 21 15 22 16 echo '<div id="loading" style="display: none;">'; … … 31 25 false); 32 26 33 echo $ajax->div('updater'); 34 echo $ajax->divEnd('updater'); 35 ?></p> 36 <?php 37 foreach ($data as $val) 38 { 27 echo $ajax->div('updater') . $ajax->divEnd('updater'); 28 29 foreach ($data as $val): 30 39 31 echo '<div style="padding:6px;margin:5px;border:1px dotted gray;">'; 40 32 … … 47 39 48 40 echo '</div>'; 49 } 41 endforeach; 50 42 ?>
