Changeset 666 for trunk/app/views/tests/admin_listing.ctp
- Timestamp:
- 07/22/08 17:08:42 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/tests/admin_listing.ctp (modified) (3 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/tests/admin_listing.ctp
r575 r666 2 2 //die( debug( $data )); 3 3 4 echo $html->div('title_section', 'Tests');4 echo $html->div('title_section', __('Tests', true)); 5 5 6 6 echo $html->para(null, … … 11 11 12 12 foreach ($data as $val): 13 $s = ($val['Test']['status'] == 1) ? 'Published': 'Draft';13 $s = ($val['Test']['status'] == 1) ? __('Published', true) : __('Draft', true); 14 14 15 15 echo '<div class="grayblock">'; 16 16 echo $html->div('butonright', $gags->sendEdit($val['Test']['id'], 'tests')); 17 17 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']); 19 19 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))), 22 22 '/admin/tests/questions/'.$val['Test']['id'], null, null, false) . '<br />'; 23 23 if ( count($val['Vclassroom']) < 1 ): … … 42 42 43 43 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). ': '. 45 45 $html->link($class['name'], '/admin/vclassrooms/members/'.$class['id']) . '</b>'); 46 46 endforeach;
