Changeset 794 for trunk/app/views/news
- Timestamp:
- 10/06/08 07:56:20 (2 months ago)
- Location:
- trunk/app/views/news
- Files:
-
- 2 modified
-
admin_add.ctp (modified) (2 diffs)
-
admin_edit.ctp (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/news/admin_add.ctp
r793 r794 33 33 <?php 34 34 echo $form->label('News.status', __('Published', true) ); 35 echo $form->checkbox('News.status' , array('value'=>1));35 echo $form->checkbox('News.status'); 36 36 ?> 37 37 </td><td> 38 38 <?php 39 39 echo $form->label('News.comments', __('Allow comments', true) ); 40 echo $form->checkbox('News.comments' , array('value'=>1));40 echo $form->checkbox('News.comments'); 41 41 ?> 42 42 </td> … … 44 44 <?php 45 45 echo $form->label('News.end', __('Finish edition', true)); 46 echo $form->checkbox('News.end' , array('value'=>1));46 echo $form->checkbox('News.end'); 47 47 ?> 48 48 </td> -
trunk/app/views/news/admin_edit.ctp
r793 r794 14 14 <td> <?php echo $form->input('News.title', array('size' => 40, 'maxlength' => 120, 'label'=>__('Title', true))); ?></td> 15 15 <td> 16 <?php debug($themes);16 <?php 17 17 echo $form->label('News.theme_id', __('Theme', true)); 18 18 echo $form->select('News.theme_id', $themes, null, array(), false); … … 35 35 <?php 36 36 echo $form->label('News.status', __('Published', true)); 37 echo $form->checkbox('News.status' , array('value'=>1));37 echo $form->checkbox('News.status'); 38 38 ?> 39 39 </td> … … 41 41 <?php 42 42 echo $form->label('News.comments', __('Allow comments', true)); 43 echo $form->checkbox('News.comments' , array('value'=>1));43 echo $form->checkbox('News.comments'); 44 44 ?> 45 45 </td> … … 47 47 <?php 48 48 echo $form->label('News.end', __('Finish edition', true)); 49 echo $form->checkbox('News.end' , array('value'=>1));49 echo $form->checkbox('News.end'); 50 50 ?> 51 51 </td>
