Changeset 794 for trunk/app/views/news

Show
Ignore:
Timestamp:
10/06/08 07:56:20 (2 months ago)
Author:
aarkerio
Message:

Udates to RC3

Location:
trunk/app/views/news
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/news/admin_add.ctp

    r793 r794  
    3333  <?php  
    3434     echo $form->label('News.status', __('Published', true) ); 
    35      echo $form->checkbox('News.status', array('value'=>1));  
     35     echo $form->checkbox('News.status');  
    3636  ?> 
    3737</td><td> 
    3838  <?php  
    3939     echo $form->label('News.comments', __('Allow comments', true) ); 
    40      echo $form->checkbox('News.comments', array('value'=>1));  
     40     echo $form->checkbox('News.comments');  
    4141  ?> 
    4242</td> 
     
    4444   <?php  
    4545     echo $form->label('News.end', __('Finish edition', true)); 
    46      echo $form->checkbox('News.end', array('value'=>1));  
     46     echo $form->checkbox('News.end');  
    4747    ?> 
    4848</td> 
  • trunk/app/views/news/admin_edit.ctp

    r793 r794  
    1414<td> <?php echo $form->input('News.title', array('size' => 40, 'maxlength' => 120, 'label'=>__('Title', true))); ?></td> 
    1515<td> 
    16 <?php debug($themes); 
     16<?php  
    1717    echo $form->label('News.theme_id', __('Theme', true)); 
    1818    echo $form->select('News.theme_id', $themes, null, array(), false); 
     
    3535 <?php  
    3636     echo $form->label('News.status', __('Published', true)); 
    37      echo $form->checkbox('News.status', array('value'=>1));  
     37     echo $form->checkbox('News.status');  
    3838  ?> 
    3939</td> 
     
    4141 <?php  
    4242     echo $form->label('News.comments', __('Allow comments', true)); 
    43      echo $form->checkbox('News.comments', array('value'=>1));  
     43     echo $form->checkbox('News.comments');  
    4444 ?> 
    4545</td> 
     
    4747 <?php  
    4848    echo $form->label('News.end', __('Finish edition', true)); 
    49     echo $form->checkbox('News.end', array('value'=>1));  
     49    echo $form->checkbox('News.end');  
    5050 ?> 
    5151</td>