Changeset 541 for trunk/app/views/quotes
- Timestamp:
- 05/21/08 15:27:00 (6 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/quotes/admin_listing.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/quotes/admin_listing.ctp
r307 r541 2 2 echo $html->addCrumb('Control Tools', '/admin/entries/start'); 3 3 echo $html->getCrumbs(' / '); 4 ?> 4 echo $html->div('title_section', 'Quick News'); 5 5 6 <div class="title_section">Quick News</div>7 8 <script type="text/javascript">9 <!--10 function hU() {11 12 var tr = document.getElementById('trh');13 14 if (tr.style.display == 'none')15 {16 tr.style.display = 'table-row';17 } else {18 tr.style.display = 'none';19 }20 }21 -->22 </script>23 24 <?php25 6 echo $html->para(null, $html->link($html->image('actions/new.png', array("alt"=>"Add new", "title"=>"Add new")), '#', array("onclick"=>"hU()"), false, false)); ?> 26 7 27 8 <div id="trh" style="margin:0;padding:0;padding-left:40px;width:80%;display:none;"> 28 <?php echo $form->create('Quote', array('action'=>'ad min_add')); ?>9 <?php echo $form->create('Quote', array('action'=>'add', 'onsubmit'=>'return chkData()')); ?> 29 10 <fieldset> 30 11 <legend>New quote</legend … … 63 44 ?> 64 45 </table> 46 <script type="text/javascript"> 47 <!-- 48 function hU() { 49 50 var tr = document.getElementById('trh'); 51 52 if (tr.style.display == 'none') 53 { 54 tr.style.display = 'table-row'; 55 } else { 56 tr.style.display = 'none'; 57 } 58 } 59 --> 60 </script>
