Changeset 191 for trunk/app/views/questions
- Timestamp:
- 10/03/07 16:02:07 (14 months ago)
- Location:
- trunk/app/views/questions
- Files:
-
- 2 modified
-
admin_answers.thtml (modified) (1 diff)
-
questions.thtml (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/questions/admin_answers.thtml
r157 r191 59 59 $st = ($val["correct"]==1) ? 'Yes' : 'No'; 60 60 echo '<div style="padding:5px;border:1px dotted gray;margin:4px;">'; 61 echo '<div class="butonright">' . $html->link('Delete', '/admin/answers/delete/'.$val['id'].'/'.$val['question_id']) . '</div>'; 62 echo '<div class="butonright">' . $html->link('Edit', '/admin/answers/edit/' .$val['id']) . '</div>'; 61 63 echo "Answer: " . $val["answer"] . "<br />"; 62 64 echo "Correct: " . $st . "<br />"; -
trunk/app/views/questions/questions.thtml
r137 r191 6 6 echo "Hint: " . $val["Question"]["hint"] . "<br />"; 7 7 echo "Explanation: " . $val["Question"]["explanation"] . "<br />"; 8 echo "Worth: " . $val["Question"][" value"] . "<br /><br />";8 echo "Worth: " . $val["Question"]["worth"] . "<br /><br />"; 9 9 echo $html->link('View answers', '/admin/questions/answers/'.$val["Question"]["id"]) .'<br /><br />'; 10 10 }
