Changeset 722 for trunk/app/views

Show
Ignore:
Timestamp:
08/13/08 11:08:12 (4 months ago)
Author:
aarkerio
Message:

Little changes

Location:
trunk/app/views
Files:
5 modified

Legend:

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

    r583 r722  
    11<?php 
    22echo $html->div(null, $data['Ecourse']['description']); 
    3 echo $html->div(null, $data['Ecourse']['created']); 
    4 echo $html->div(null, $data['Ecourse']['code']); 
     3echo $html->div(null, __('Created', true).': '.$data['Ecourse']['created']); 
     4echo $html->div(null, __('Code', true).': '.$data['Ecourse']['code']); 
    55?> 
  • trunk/app/views/ecourses/admin_listing.ctp

    r697 r722  
    11<?php 
    22echo $html->addCrumb('Control Panel', '/admin/entries/start'); 
    3 echo $html->addCrumb(__('Courses', true), '/admin/ecourses/listing');  
    43echo $html->getCrumbs(' / ');  
    54 
     
    1110      $tmp  = $html->div('butonright', $gags->sendEdit($val['Ecourse']['id'], 'ecourses')); 
    1211      $tmp .= $html->link($val['Ecourse']['title'], '/admin/ecourses/vclassrooms/'.$val['Ecourse']['id']); 
    13       $tmp .= $ajax->link($html->image("static/arrow_down.png", array("alt"=>"Display details", "title"=>"Display details")), '/admin/ecourses/details/'.$val['Ecourse']['id'], array('update'  => 'qn'.$val['Ecourse']['id'], 
     12      $tmp .= $ajax->link($html->image("static/arrow_down.png", array('alt'=>__('View details', true), 'title'=>__('View details', true))), '/admin/ecourses/details/'.$val['Ecourse']['id'], array('update'  => 'qn'.$val['Ecourse']['id'], 
    1413            "loading" =>"Element.show('loading');", 
    1514            "complete"=>"Element.hide('loading');Effect.Appear('qn".$val['Ecourse']['id']."')"), 
  • trunk/app/views/messages/admin_allclass.ctp

    r576 r722  
    11<fieldset> 
    2 <legend>New Message</legend> 
     2<legend><?php __('New message'); ?></legend> 
    33<?php 
    44echo $form->create('Message', array('action'=>'send2class')); 
    55echo $form->hidden('Message.vclassroom_id', array('value'=>$vclassroom_id)); 
    6 echo $form->input('Message.title', array('size'=>40, 'maxlength'=>80, 'label'=>'Message title')); 
     6echo $form->input('Message.title', array('size'=>40, 'maxlength'=>80, 'label'=>__('Title', true))); 
    77echo $form->textarea('Message.body', array('rows'=>5, 'cols'=>80)); 
    8 echo $form->end('Send'); 
     8echo $form->end(__('Send', true)); 
    99?> 
    1010</fieldset> 
  • trunk/app/views/messages/admin_compose.ctp

    r566 r722  
    44?> 
    55<fieldset> 
    6 <legend>Write Message:</legend> 
    7   <?php  
     6<legend><?php __('Compose message'); ?></legend> 
     7<?php  
    88   
    9   echo $session->read('Auth.User.username'). "  write: <br />"; 
    10   echo $form->input('Message.title', array("size" => 35, "maxlength" => 50)) . "<br />"; 
    11   echo $form->error('Message.title', 'Asunto is required.');  
     9  echo $session->read('Auth.User.username'). '  '. __('write', true) .': <br />'; 
     10  echo $form->input('Message.title', array('size' => 35, 'maxlength' => 50, 'label'=>__('Title', true))) . "<br />"; 
     11  echo $form->error('Message.title');  
    1212 
    13   echo $form->label('Message.body', 'Message:').'<br />'; 
    14   echo $form->textarea('Message.body', array("cols"=>30, "rows"=>10));  
    15   echo $form->error('Message.body', 'Message is required.'); 
     13  echo $form->label('Message.body', __('Message', true)).'<br />'; 
     14  echo $form->textarea('Message.body', array('cols'=>30, 'rows'=>10));  
     15  echo $form->error('Message.body'); 
    1616  
    17   echo $ajax->submit('Send message', array("url" => "/admin/messages/compose",  
     17  echo $ajax->submit(__('Send', true), array("url" => "/admin/messages/compose",  
    1818                                         "update"=>"compose", 
    1919                                         "loading" => "Element.show('loading');Element.hide('compose')", 
    2020                                         "complete" => "Element.hide('loading');Effect.Appear('compose')" 
    21         )); ?> 
     21        ));  
     22?> 
    2223</fieldset> 
    2324</form> 
  • trunk/app/views/vclassrooms/admin_record.ctp

    r580 r722  
    22//die(debug($data)); 
    33 
    4  echo $html->addCrumb('Control Tools', '/admin/entries/start');   
    5  echo $html->addCrumb('Classes', '/admin/vclassrooms/listing');  
     4 echo $html->addCrumb('Control Panel', '/admin/entries/start');   
     5 echo $html->addCrumb(__('vGroups', true), '/admin/vclassrooms/listing');  
    66 echo $html->getCrumbs(' / '); 
    77 
     
    2121                        array('update'     => 'compose', 
    2222                              'loading'    =>"Element.show('loading');", 
    23                   'before'     =>'return confirm(\'Are you sure you wanna send this information to student?\')', 
     23                  'before'     =>'return confirm(\''.__('Are you sure you wanna send this information to student', true).'?\')', 
    2424                                  'complete'   =>"Element.hide('loading');Effect.Appear('compose');"),null,false) 
    2525                 ); 
     
    3232 // Tests 
    3333 if ( count($data['tests']) > 0 ): 
    34      echo '<h1>Tests</h1>'; 
     34     echo '<h1>'. __('Tests', true).'</h1>'; 
    3535     foreach ($data['tests'] as $t): 
    3636     
     
    3939 
    4040      if ($t['TestsVclassroom']['points'] === null):  // not answered yet 
    41         e($html->div(null, 'Not answered this test yet',  array('id'=>$div_id, 'style'=>'width:180px;float:left;font-size:8pt;'))); 
     41        e($html->div(null, __('Not answered this test yet', true),  array('id'=>$div_id, 'style'=>'width:180px;float:left;font-size:8pt;'))); 
    4242        e($html->div(null, $t['TestsVclassroom']['title'], array('style'=>'width:380px;float:right;'))); 
    4343      else: