Changeset 666 for trunk/app/views/questions/questions.ctp
- Timestamp:
- 07/22/08 17:08:42 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/questions/questions.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/questions/questions.ctp
r575 r666 9 9 $answers = count($val['Answer']); 10 10 $i++; 11 echo '<div style="padding:5px;border:1px dotted gray;margin:3px auto;width: 70%"><b>' . $i . '.-</b> ';11 echo '<div style="padding:5px;border:1px dotted gray;margin:3px auto;width:80%"><b>' . $i . '.-</b> '; 12 12 echo $html->div('butonright', $gags->sendEdit($val['Question']['id'], 'Question')); 13 13 echo $html->div('butonright', … … 15 15 $form->hidden('Question.id', array('value'=>$val['Question']['id'])). 16 16 $form->hidden('Question.test_id', array('value'=>$val['Question']['test_id'])). 17 $form->end( 'Delete'));17 $form->end(__('Delete', true))); 18 18 19 echo "<b>Question</b>: " . $val['Question']['question'] . "<br />"; 20 echo "<b>Hint</b>: " . $val['Question']['hint'] . "<br />"; 21 echo "<b>Explanation</b>: " . $val['Question']['explanation'] . "<br />"; 22 echo "<b>Worth</b>: " . $val['Question']['worth'] . "<br /><br />"; 23 echo $html->link('View answers ('.$answers.')', '/admin/questions/answers/'.$val['Question']['id']); 19 echo '<b>'. __('Question', true) .':</b> '. $val['Question']['question'] . '<br /><br />'; 20 echo '<b>'. __('Hint', true) .':</b> '. $val['Question']['hint'] . '<br /><br />'; 21 echo '<b>'. __('Explanation', true) .':</b> '. $val['Question']['explanation'] . '<br /><br />'; 22 echo '<b>'. __('Points', true) .':</b> '. $val['Question']['worth'] . '<br /><br />'; 23 echo $html->link(__('View answers', true) . ' ('.$answers.')', '/admin/questions/answers/'.$val['Question']['id']); 24 24 25 echo '</div>'; 25 26 endforeach;
