Changeset 668 for trunk/app/views/questions
- Timestamp:
- 07/22/08 18:25:30 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/questions/admin_answers.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/questions/admin_answers.ctp
r667 r668 40 40 $tmp = __('Answer', true) .': ' . $val['answer'] . '<br />'; 41 41 $tmp .= __('Correct', true).': ' . $html->link($st, '/admin/answers/change/'.$val['id'].'/'.$val['correct'] .'/'.$val['question_id']) . "<br /><br />"; 42 $tmp .= $html->div(null, $html->link(__('Delete', true), '/admin/answers/delete/'.$val['id'].'/'.$val['question_id'])); 43 $tmp .= $html->div(null, $html->link(__('Edit', true), '/admin/answers/edit/' .$val['id'])); 42 $tmp .= $html->div(null, $html->link($html->image('static/delete_icon.png', array('title'=>__('Delete', true), 'alt'=>__('Delete', true))), '/admin/answers/delete/'.$val['id'].'/'.$val['question_id'], array('onclick'=>"return confirm('".__('Are you sure to want to delete this?', true)."')"), null, false).' '.$html->link($html->image('static/edit_icon.gif', array('title'=>__('Edit', true), 'alt'=>__('Edit', true))), '/admin/answers/edit/' .$val['id'], null, null, false)); 44 43 45 44 echo $html->div('adminblock', $tmp);
