Changeset 697 for trunk/app/views

Show
Ignore:
Timestamp:
08/06/08 00:08:53 (4 months ago)
Author:
aarkerio
Message:

Validation disable

Location:
trunk/app/views/ecourses
Files:
3 modified

Legend:

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

    r617 r697  
    77  <table><tr><td> 
    88<?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')); 
    1010 ?> 
    1111</td><td> 
    1212 <?php 
    13    echo $form->label('Ecourse.subject_id', 'Subject:'); 
     13   echo $form->label('Ecourse.subject_id', __('Subject', true)); 
    1414   echo $form->select('Ecourse.subject_id', $subjects, null, null, null, false); 
    1515 ?> 
    1616   </td><td> 
    1717<?php 
    18     echo $form->label('Ecourse.lang_id', 'Lang:'); 
     18    echo $form->label('Ecourse.lang_id', __('Lang', true)); 
    1919    echo $form->select('Ecourse.lang_id', $langs, null, null, null, false); 
    2020 ?> 
     
    2222<tr><td colspan="3"> 
    2323 <?php  
    24     echo $form->label('Ecourse.description', 'Description:'); 
     24    echo $form->label('Ecourse.description', __('Description', true)); 
    2525    echo $form->textarea('Ecourse.description', array('cols'=>40, 'rows'=>4)); 
    2626    echo $fck->load('EcourseDescription', 'Karamelo'); 
     
    3333</td><td colspan="2"> 
    3434  <?php 
    35      echo $form->label('Ecourse.status', 'Enabled:'); 
     35     echo $form->label('Ecourse.status', __('Enabled', true)); 
    3636     echo $form->checkbox('Ecourse.status', array('value'=>1, 'title'=>'Enabled course'));  
    3737  ?></fieldset> 
     
    3939 
    4040<tr><td colspan="3"> 
    41   <?php echo $form->end('Save'); ?> 
     41  <?php echo $form->end(__('Save', true)); ?> 
    4242</td></tr> 
    4343</table> 
  • trunk/app/views/ecourses/admin_edit.ctp

    r617 r697  
    22 echo $javascript->link('fckeditor/fckeditor'); 
    33 
    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'); 
    66 echo $html->getCrumbs(' / '); 
    77 
    8  echo $form->create('Ecourse',array("onsubmit"=>"return chkForm();"));  
     8 echo $form->create('Ecourse', array('onsubmit'=>'return chkForm()'));  
    99 echo $form->hidden('Ecourse.id'); 
    1010?> 
     
    1313<table><tr><td> 
    1414<?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')) ; 
    1616?> 
    1717</td><td> 
    1818  <?php 
    19     echo $form->label('Ecourse.subject_id', 'Subject:'); 
     19    echo $form->label('Ecourse.subject_id', __('Subject', true)); 
    2020    echo $form->select('Ecourse.subject_id', $subjects, null, null, null, false); 
    2121   ?> 
    2222</td><td> 
    2323   <?php 
    24     echo $form->label('Ecourse.lang_id', 'Lang:'); 
     24    echo $form->label('Ecourse.lang_id', __('Lang', true)); 
    2525    echo $form->select('Ecourse.lang_id', $langs, null, null, null, false); 
    2626    ?> 
     
    2828<tr><td colspan="3"> 
    2929  <?php 
    30     echo $form->label('Ecourse.description', 'Description:'); 
     30    echo $form->label('Ecourse.description', __('Description', true)); 
    3131    echo $form->textarea('Ecourse.description', array('cols'=>40, 'rows'=>4)); 
    3232    echo $fck->load('EcourseDescription', 'Karamelo'); 
     
    4040 <td colspan="2"> 
    4141 <?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'));  
    4444  ?> 
    4545  </td></tr> 
    4646  <tr><td colspan="3"> 
    47   </fieldset><?php echo $form->end('Save'); ?> 
     47 <?php echo $form->end(__('Save', true)); ?> 
     48 </fieldset> 
    4849</td></tr> 
    4950</table> 
  • trunk/app/views/ecourses/admin_listing.ctp

    r696 r697  
    11<?php 
    2 echo $html->addCrumb('Control ', '/admin/entries/start'); 
     2echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
    33echo $html->addCrumb(__('Courses', true), '/admin/ecourses/listing');  
    44echo $html->getCrumbs(' / ');  
     
    1919      $tmp .= $ajax->div('qn'.$val['Ecourse']['id']).$ajax->divEnd('qn'.$val['Ecourse']['id']); 
    2020      $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;')); 
    2222endforeach; 
    2323?>