Show
Ignore:
Timestamp:
07/04/08 15:06:44 (5 months ago)
Author:
aarkerio
Message:

Internatiantilzation

Files:
1 modified

Legend:

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

    r624 r625  
    11<?php 
    22 echo $javascript->link('myfunctions'); 
    3  echo $javascript->link('fckeditor/fckeditor');  
     3 echo $javascript->link('fckeditor/fckeditor'); 
     4  
     5 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
     6 echo $html->addCrumb(__('Lessons', true), '/admin/lessons/listing'); 
     7 echo $html->getCrumbs(' / ');  
     8 
    49 echo $form->create('Lesson');  
    510?> 
     
    1015<tr><td> 
    1116<?php 
    12      echo $form->input('Lesson.title', array("size" => 50, "maxlength" => 120)); 
     17     echo $form->input('Lesson.title', array('size' => 50, 'maxlength' => 120, 'label'=>__('Title', true))); 
    1318     echo $form->error('Lesson.title', 'Title is required.');  
    1419?> 
     
    1924 <td> 
    2025     <?php 
    21       echo $form->label('Lesson.subject_id', 'Subject:'); 
     26      echo $form->label('Lesson.subject_id', __('Subject', true)); 
    2227      echo $form->select('Lesson.subject_id', $subjects, null, null, false); 
    2328     ?> 
     
    2631<tr> 
    2732  <td colspan="3"> 
    28   <?php  
    29       echo $form->label('Lesson.body', 'Body:' ); 
     33  <?php 
    3034      echo $form->textarea('Lesson.body', array("cols"=>80, "rows"=>20)); 
    3135      echo $fck->load('LessonBody', 'Karamelo', 800, 600); 
     
    3539  <tr><td> 
    3640  <?php  
    37      echo $form->label('Lesson.status', 'Published:' ); 
     41     echo $form->label('Lesson.status', __('Published',true) ); 
    3842     echo $form->checkbox('Lesson.status', array('value'=>1));  
    3943  ?> 
    4044  </td><td colspan="2"> 
    4145  <?Php  
    42       Echo $form->label('Lesson.disc', 'Comments enabled:' ); 
     46      Echo $form->label('Lesson.disc', __('Allow comments', true)); 
    4347      echo $form->checkbox('Lesson.disc', array('value'=>1));  
    4448  ?>