| 20 | | <p><?php echo $form->labelTag( 'Entry/category_id', 'Category' );?> |
| 21 | | <br /> |
| 22 | | <?php |
| 23 | | /*$html->selectTag( |
| 24 | | $fieldName, |
| 25 | | $optionElements, |
| 26 | | $selected = null, |
| 27 | | $selectAttr = array(), |
| 28 | | $optionAttr = null, |
| 29 | | $showEmpty = true, |
| 30 | | $return = false |
| 31 | | selectTag ($fieldName, $optionElements, $selected=null, $selectAttr=array(), $optionAttr=null, $showEmpty=true, $return=false) |
| 32 | | */ |
| 33 | | echo $html->selectTag('Entry/category_id', $categories, null, $html->tagValue('Entry/category_id'), array("class"=>"formas"), false, false); |
| | 20 | <td> |
| | 21 | <?php echo $form->labelTag( 'Entry/subject_id', 'Subject:' );?><br /> |
| | 22 | <?php |
| | 23 | echo $html->selectTag('Entry/subject_id', $subjects, null, $html->tagValue('Entry/subject_id'), null, false, false); |
| 35 | | echo $html->link($html->image('static/add.png', array("alt"=>"Add category", "title"=>"Add category")), '#', array("onclick"=>"javascript:window.open('/categories/listing', 'blank', 'toolbar=no, scrollbars=yes,width=350,height=500')"), null, false); |
| | 25 | /* echo $html->link($html->image('static/add.png', array("alt"=>"Add category", "title"=>"Add category")), '#', array("onclick"=>"javascript:window.open('/admin/categories/listing', 'blank', 'toolbar=no, scrollbars=yes,width=350,height=500')"), null, false);*/ |
| 39 | | <p style="text-align:right;"> |
| 40 | | <?php echo $html->link($html->image('admin/myimages.jpg', array("alt"=>"My Images", "title"=>"My Images")), '#', array("onclick"=>"javascript:window.open('/images/listview', 'blank', 'toolbar=no, scrollbars=yes,width=700,height=500')"), null, false) ?></p> |
| 41 | | <p> |
| | 29 | <td> |
| | 30 | <?php echo $html->link($html->image('admin/myimages.jpg', array("alt"=>"My Images", "title"=>"My Images")), '#', array("onclick"=>"javascript:window.open('/admin/images/listing/set', 'blank', 'toolbar=no, scrollbars=yes,width=700,height=500')"), null, false) ?></p> |
| | 31 | </td> |
| | 32 | </tr> |
| | 33 | <tr><td colspan="3"> |
| 49 | | <p><?php echo $form->labelTag( 'Entry/status', 'Published:' );?><br /> |
| 50 | | <?php echo $html->checkbox('Entry/status'); ?> |
| 51 | | <br /></p> |
| | 40 | <tr> |
| | 41 | <td> |
| | 42 | <?php echo $form->labelTag( 'Entry/status', 'Published:' );?> |
| | 43 | <?php echo $html->checkbox('Entry/status', null, array("value"=>1)); ?> |
| | 44 | </td><td colspan="2"> |
| | 45 | <?php echo $form->labelTag( 'Entry/disc', 'Comments allowed:' );?> |
| | 46 | <?php echo $html->checkbox('Entry/disc', null, array("value"=>1)); ?> |
| | 47 | </td></tr> |