Changeset 669 for trunk/app/views
- Timestamp:
- 07/22/08 18:36:58 (4 months ago)
- Location:
- trunk/app/views/tests
- Files:
-
- 2 modified
-
admin_questions.ctp (modified) (1 diff)
-
admin_vclassrooms.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/tests/admin_questions.ctp
r666 r669 8 8 echo $html->div(null,$html->image('static/loading.gif', array("alt"=>"Loading")), array('id'=>'loading', 'style'=>'display: none;')); 9 9 10 echo $html->para(null, $html->link('Edit', '/admin/tests/edit/'.$data['Test']['id']).' '.$html->link('Assign to class', '/admin/tests/vclassrooms/'.$data['Test']['id'])); 10 echo $html->para(null, $html->link($html->image('static/edit_icon.gif', array('alt'=>__('Edit', true), 'title'=>__('Edit', true))), 11 '/admin/tests/edit/'.$data['Test']['id'], null, null, false).' '.$html->link($html->image('static/assign_icon.gif', array('alt'=>__('Assign to group', true), 'title'=>__('Assign to group', true))), '/admin/tests/vclassrooms/'.$data['Test']['id'], null, null, false)); 11 12 12 13 echo '<b>'.__('Title',true).'</b> ' . $data['Test']['title'] . '<br />'; -
trunk/app/views/tests/admin_vclassrooms.ctp
r373 r669 1 1 <?php 2 echo $html->addCrumb('Control Tools', '/admin/entries/start');3 echo $html->addCrumb( 'Tests', '/admin/tests/listing');2 echo $html->addCrumb('Control Panel', '/admin/entries/start'); 3 echo $html->addCrumb(__('Tests', true), '/admin/tests/listing'); 4 4 echo $html->getCrumbs(' / '); 5 5 //die( debug( $data ) ); … … 19 19 $tmp .= $form->hidden('TestsVclassroom.test_id', array('value'=>$test_id)); 20 20 $tmp .= $form->hidden('TestsVclassroom.vclassroom_id', array('value'=>$val['Vclassroom']['id'])); 21 $tmp .= $form->end( 'Assign this test');21 $tmp .= $form->end(__('Assign this test', true)); 22 22 23 23 else:
