Changeset 725 for trunk/app/views
- Timestamp:
- 08/15/08 00:41:02 (4 months ago)
- Location:
- trunk/app/views
- Files:
-
- 2 modified
-
catforums/admin_listing.ctp (modified) (3 diffs)
-
vclassrooms/admin_edit.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/catforums/admin_listing.ctp
r626 r725 12 12 <?php echo $form->create('Catforum', array('action'=>'add', 'onsubmit'=>'return chkData()')); ?> 13 13 <fieldset> 14 <legend> Add new Category Forum</legend>14 <legend><?php __('Add new forum category'); ?></legend> 15 15 <?php 16 16 echo $form->input('Catforum.title', array('size'=>50, 'maxlength'=>150, 'label'=>__('Title', true))); 17 17 echo $form->input('Catforum.description', array('size'=>70, 'maxlength'=>150, 'label'=>__('Description', true))); 18 echo $form->label('Catforum.status', __('Enabled', true)) . $form->checkbox('Catforum.status', array('value'=>1)); 19 echo '<div style="clear:both"></div></fieldset>'; 18 echo $form->label('Catforum.status', __('Published', true)) . $form->checkbox('Catforum.status', array('value'=>1)); 20 19 echo $form->end(__('Save', true)); 21 20 ?> … … 26 25 //die(print_r($data)); 27 26 28 $th = array(__('Edit', true),__('Add ', true),__('Title', true),__('Description', true),__('Status', true),__('Delete', true), ' ');27 $th = array(__('Edit', true),__('Add new', true),__('Title', true),__('Description', true),__('Status', true),__('Delete', true), ' '); 29 28 30 29 echo $html->tableHeaders($th); … … 34 33 $tr = array ( 35 34 $gags->sendEdit($val['Catforum']['id'], 'Catforum'), 36 $html->link($html->image('admin/add-forum.jpg', array( "alt"=>"Add Forum", "title"=>"Add Forum")), '/admin/forums/add/'.$val['Catforum']['id'], null, null, false),35 $html->link($html->image('admin/add-forum.jpg', array('alt'=>'Add new', 'title'=>'Add Forum')), '/admin/forums/add/'.$val['Catforum']['id'], null, null, false), 37 36 $val['Catforum']['title'], 38 37 $val['Catforum']['description'], -
trunk/app/views/vclassrooms/admin_edit.ctp
r624 r725 1 1 <?php 2 2 //exit(debug($this->data)); 3 echo $javascript->link('fckeditor/fckeditor');4 3 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 5 echo $html->addCrumb('v Classrooms', '/admin/vclassrooms/listing');4 echo $html->addCrumb('vGroups', '/admin/vclassrooms/listing'); 6 5 echo $html->getCrumbs(' / '); 7 6 … … 11 10 12 11 <fieldset> 13 <legend><?php __('Edit v Class');?></legend>12 <legend><?php __('Edit vGroup');?></legend> 14 13 <?php 15 14 echo $form->input('Vclassroom.name', array('size' => 40, 'maxlength' => 60)); … … 19 18 echo $form->input('Vclassroom.fdate',array('type'=>'date','label'=>__('Finishing date', true), 'dateFormat'=>'DMY')); 20 19 21 echo $form->label('Vclassroom.status', 'Status:');20 echo $form->label('Vclassroom.status', __('Published', true)); 22 21 echo $form->checkbox('Vclassroom.status'); 23 22 24 echo $form->input('Vclassroom.secret', array('size' => 6, 'maxlength' => 6 ));23 echo $form->input('Vclassroom.secret', array('size' => 6, 'maxlength' => 6, 'label'=>__('Access code', true))); 25 24 26 25 echo $form->end(__('Save', true));
