Changeset 697 for trunk/app/views/ecourses
- Timestamp:
- 08/06/08 00:08:53 (4 months ago)
- Location:
- trunk/app/views/ecourses
- Files:
-
- 3 modified
-
admin_add.ctp (modified) (4 diffs)
-
admin_edit.ctp (modified) (4 diffs)
-
admin_listing.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/ecourses/admin_add.ctp
r617 r697 7 7 <table><tr><td> 8 8 <?php 9 echo $form->input('Ecourse.title', array( "size" => 37, "maxlength"=> 90, 'title'=>' e.g. History of Literature'));9 echo $form->input('Ecourse.title', array('size'=> 37, 'maxlength' => 90, 'title'=>' e.g. History of Literature')); 10 10 ?> 11 11 </td><td> 12 12 <?php 13 echo $form->label('Ecourse.subject_id', 'Subject:');13 echo $form->label('Ecourse.subject_id', __('Subject', true)); 14 14 echo $form->select('Ecourse.subject_id', $subjects, null, null, null, false); 15 15 ?> 16 16 </td><td> 17 17 <?php 18 echo $form->label('Ecourse.lang_id', 'Lang:');18 echo $form->label('Ecourse.lang_id', __('Lang', true)); 19 19 echo $form->select('Ecourse.lang_id', $langs, null, null, null, false); 20 20 ?> … … 22 22 <tr><td colspan="3"> 23 23 <?php 24 echo $form->label('Ecourse.description', 'Description:');24 echo $form->label('Ecourse.description', __('Description', true)); 25 25 echo $form->textarea('Ecourse.description', array('cols'=>40, 'rows'=>4)); 26 26 echo $fck->load('EcourseDescription', 'Karamelo'); … … 33 33 </td><td colspan="2"> 34 34 <?php 35 echo $form->label('Ecourse.status', 'Enabled:');35 echo $form->label('Ecourse.status', __('Enabled', true)); 36 36 echo $form->checkbox('Ecourse.status', array('value'=>1, 'title'=>'Enabled course')); 37 37 ?></fieldset> … … 39 39 40 40 <tr><td colspan="3"> 41 <?php echo $form->end( 'Save'); ?>41 <?php echo $form->end(__('Save', true)); ?> 42 42 </td></tr> 43 43 </table> -
trunk/app/views/ecourses/admin_edit.ctp
r617 r697 2 2 echo $javascript->link('fckeditor/fckeditor'); 3 3 4 echo $html->addCrumb('Control Tools', '/admin/entries/start');5 echo $html->addCrumb( 'Ecourses', '/admin/ecourses/listing');4 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 5 echo $html->addCrumb(__('Courses', true), '/admin/ecourses/listing'); 6 6 echo $html->getCrumbs(' / '); 7 7 8 echo $form->create('Ecourse', array("onsubmit"=>"return chkForm();"));8 echo $form->create('Ecourse', array('onsubmit'=>'return chkForm()')); 9 9 echo $form->hidden('Ecourse.id'); 10 10 ?> … … 13 13 <table><tr><td> 14 14 <?php 15 echo $form->input('Ecourse.title', array( "size" => 30, "maxlength" => 90,'title'=>' e.g. History of Literature')) ;15 echo $form->input('Ecourse.title', array('size'=>30,'maxlength'=>90,'title'=>' e.g. History of Literature')) ; 16 16 ?> 17 17 </td><td> 18 18 <?php 19 echo $form->label('Ecourse.subject_id', 'Subject:');19 echo $form->label('Ecourse.subject_id', __('Subject', true)); 20 20 echo $form->select('Ecourse.subject_id', $subjects, null, null, null, false); 21 21 ?> 22 22 </td><td> 23 23 <?php 24 echo $form->label('Ecourse.lang_id', 'Lang:');24 echo $form->label('Ecourse.lang_id', __('Lang', true)); 25 25 echo $form->select('Ecourse.lang_id', $langs, null, null, null, false); 26 26 ?> … … 28 28 <tr><td colspan="3"> 29 29 <?php 30 echo $form->label('Ecourse.description', 'Description:');30 echo $form->label('Ecourse.description', __('Description', true)); 31 31 echo $form->textarea('Ecourse.description', array('cols'=>40, 'rows'=>4)); 32 32 echo $fck->load('EcourseDescription', 'Karamelo'); … … 40 40 <td colspan="2"> 41 41 <?php 42 echo $form->label('Ecourse.status', 'Enabled:');43 echo $form->checkbox('Ecourse.status', array( "value"=>1, 'title'=>'Enabled course'));42 echo $form->label('Ecourse.status', __('Published', true)); 43 echo $form->checkbox('Ecourse.status', array('value'=>1, 'title'=>'Enabled course')); 44 44 ?> 45 45 </td></tr> 46 46 <tr><td colspan="3"> 47 </fieldset><?php echo $form->end('Save'); ?> 47 <?php echo $form->end(__('Save', true)); ?> 48 </fieldset> 48 49 </td></tr> 49 50 </table> -
trunk/app/views/ecourses/admin_listing.ctp
r696 r697 1 1 <?php 2 echo $html->addCrumb('Control ', '/admin/entries/start');2 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 3 3 echo $html->addCrumb(__('Courses', true), '/admin/ecourses/listing'); 4 4 echo $html->getCrumbs(' / '); … … 19 19 $tmp .= $ajax->div('qn'.$val['Ecourse']['id']).$ajax->divEnd('qn'.$val['Ecourse']['id']); 20 20 $tmp .= $html->div('butonright', $gags->confirmDel($val['Ecourse']['id'], 'ecourses')); 21 echo $html->div('grayblock', $tmp );21 echo $html->div('grayblock', $tmp, aa('style', 'vertical-align:top;')); 22 22 endforeach; 23 23 ?>
