Show
Ignore:
Timestamp:
07/22/08 17:08:42 (4 months ago)
Author:
aarkerio
Message:

Exmans and vclass

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/tests/admin_listing.ctp

    r575 r666  
    22//die( debug( $data )); 
    33 
    4 echo $html->div('title_section', 'Tests'); 
     4echo $html->div('title_section', __('Tests', true)); 
    55 
    66echo $html->para(null,  
     
    1111 
    1212foreach ($data as $val): 
    13   $s  =  ($val['Test']['status'] == 1) ? 'Published': 'Draft'; 
     13  $s  =  ($val['Test']['status'] == 1) ? __('Published', true) : __('Draft', true); 
    1414 
    1515  echo '<div class="grayblock">'; 
    1616    echo $html->div('butonright', $gags->sendEdit($val['Test']['id'], 'tests')); 
    1717    echo $html->div('div_title', $val['Test']['title']); 
    18     echo $html->para(null, '<b>Test description:</b> '.$val['Test']['description']); 
     18    echo $html->para(null, '<b>'.__('Description', true).':</b> '.$val['Test']['description']); 
    1919 
    20     echo $html->link('Questions', '/admin/tests/questions/'.$val['Test']['id']); 
    21     echo $html->link($html->image('admin/questions_icon.gif', array('alt'=>'Questions', 'title'=>'Questions')),  
     20    echo $html->link(__('Questions', true), '/admin/tests/questions/'.$val['Test']['id']); 
     21    echo $html->link($html->image('admin/questions_icon.gif', array('alt'=>__('Questions', true), 'title'=>__('Questions', true))),  
    2222                          '/admin/tests/questions/'.$val['Test']['id'], null, null, false) . '<br />'; 
    2323    if ( count($val['Vclassroom']) < 1 ): 
     
    4242 
    4343           foreach($val['Vclassroom'] as $class): 
    44                echo $html->para(null, 'This test had been assigned to class: '.  
     44               echo $html->para(null, __('This test had been assigned to class', true). ': '.  
    4545                                $html->link($class['name'], '/admin/vclassrooms/members/'.$class['id']) . '</b>'); 
    4646           endforeach;