Changeset 541 for trunk/app/views/catforums/admin_listing.ctp
- Timestamp:
- 05/21/08 15:27:00 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/catforums/admin_listing.ctp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/catforums/admin_listing.ctp
r393 r541 2 2 // exit(debug($data)); 3 3 ?> 4 <script type="text/javascript">5 <!--6 function hU() {7 8 var tr = document.getElementById('trh');9 10 if (tr.style.display == 'none')11 {12 tr.style.display = 'table-row';13 } else {14 tr.style.display = 'none';15 }16 }17 -->18 </script>19 20 4 <?php 21 5 echo $html->div('title_section', 'Categories Forums'); … … 27 11 <tr style="text-align:left;display:none;border:1px dotted grey;padding:6px" id="trh"> 28 12 <td colspan="7"> 29 <?php echo $form->create('Catforum', array('action'=>'ad min_add')); ?>13 <?php echo $form->create('Catforum', array('action'=>'add', 'onsubmit'=>'return chkData()')); ?> 30 14 <fieldset> 31 15 <legend>Add new Category Forum</legend> … … 44 28 $th = array ('Edit', 'Add', 'Title', 'Description', 'Status', 'Delete', ' '); 45 29 echo $html->tableHeaders($th); 30 46 31 foreach ($data as $val) 47 {32 { 48 33 49 34 $tr = array ( … … 69 54 ?> 70 55 </table> 56 57 <script type="text/javascript"> 58 <!-- 59 function hU() 60 { 61 62 var tr = document.getElementById('trh'); 63 64 if (tr.style.display == 'none') 65 { 66 tr.style.display = 'table-row'; 67 } else { 68 tr.style.display = 'none'; 69 } 70 } 71 --> 72 </script>
