Changeset 666 for trunk/app/views/tests/admin_add.ctp
- Timestamp:
- 07/22/08 17:08:42 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/tests/admin_add.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/tests/admin_add.ctp
r541 r666 1 <?php echo $html->addCrumb('Control Tools', '/admin/entries/start'); ?> 2 <?php echo $html->addCrumb('Test', '/admin/tests/listing'); ?> 3 <?php echo $html->getCrumbs(' / '); ?> 4 5 <?php echo $form->create('Test', array('onsubmit'=>'return chkData()')); ?> 1 <?php 2 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 3 echo $html->addCrumb(__('Tests', true), '/admin/tests/listing'); 4 echo $html->getCrumbs(' / '); 5 echo $form->create('Test', array('onsubmit'=>'return chkData()')); 6 ?> 6 7 <fieldset> 7 <legend> New test</legend>8 <legend><?php __('New test');?></legend> 8 9 <div class="required"> 9 10 <?php 10 echo $form->input('Test.title', array( "size" => 40, "maxlength" => 120));11 echo $form->input('Test.title', array('size' => 40, 'maxlength' => 120, 'label'=>__('Title', true))); 11 12 echo $form->error('Test.title', 'Title is required.'); 12 13 ?> 13 14 </div> 14 15 15 <div class="required"> 16 16 <?php 17 echo $form->label('Test.description', 'Description:');18 echo $form->textarea('Test.description', array( "cols" => 50, "rows"=> 5));17 echo $form->label('Test.description', __('Description', true)); 18 echo $form->textarea('Test.description', array('cols' => 50, 'rows' => 5)); 19 19 echo $form->error('Test.description', 'Description is required.'); 20 20 ?> … … 23 23 <div class="required"> 24 24 <?php 25 echo $form->label( 'Test.status', 'Published:');25 echo $form->label( 'Test.status', __('Published',true) ); 26 26 echo $form->checkbox('Test.status', null, array("value"=>1)); 27 27 ?> 28 28 </div> 29 29 30 <?php echo $form->end( 'Save'); ?>30 <?php echo $form->end(__('Save', true)); ?> 31 31 </fieldset>
