Changeset 726 for trunk/app/views/forums
- Timestamp:
- 08/18/08 17:56:03 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/forums/admin_add.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/forums/admin_add.ctp
r395 r726 14 14 ?> 15 15 <fieldset> 16 <legend><?php __('New Forum'); ?></legend>16 <legend><?php __('New forum'); ?></legend> 17 17 <?php 18 echo $form->label('Forum.vclassroom_id', ' Class:');18 echo $form->label('Forum.vclassroom_id', 'vGroup'); 19 19 echo $form->select('Forum.vclassroom_id', $vclassrooms, null, null, false); 20 echo $form->input('Forum.title', array("size" => 40, "maxlength" => 60)); 21 echo $form-> error('Forum.title', 'A forum title is required.');20 21 echo $form->input('Forum.title', array('size' => 40, 'maxlength' => 60)); 22 22 23 echo $html->div('required', $form->label('Forum.description','Description:').$form->textarea('Forum.description', array('rows'=>10,'cols'=>50))); 23 echo $form->label('Forum.description', __('Description', true)); 24 echo $form->textarea('Forum.description', array('rows'=>10,'cols'=>50)); 24 25 25 echo $form->label('Forum.status', 'Activate forum:') . $form->checkbox('Forum.status', array("value"=>1)); 26 echo $form->label('Forum.status', __('Published', true)) . $form->checkbox('Forum.status', array('value'=>1)); 27 28 echo $form->end('Save'); 26 29 27 30 echo '</fieldset>'; 28 31 29 echo $form->end('Save');30 31 32 endif; 32 33 ?>
