Changeset 668 for trunk/app/views/answers
- Timestamp:
- 07/22/08 18:25:30 (4 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/answers/questions.ctp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/answers/questions.ctp
r666 r668 6 6 $url = '/admin/answers/change/'.$val['Answer']['id'].'/'.$val['Answer']['correct'].'/'.$val['Answer']['question_id']; 7 7 $tmp .= __('Correct', true). ': '. $html->link($st, $url) . '<br /><br />'; 8 $tmp .= $html->div(null,$html->link(__('Delete', true),'/admin/answers/delete/'.$val['Answer']['id'].'/'.$val['Answer']['question_id'])); 9 $tmp .= $html->div(null, $html->link(__('Edit', true), '/admin/answers/edit/'.$val['Answer']['id'])); 8 9 10 $tmp .= $html->div(null, $html->link($html->image('static/delete_icon.png', array('title'=>__('Delete', true), 'alt'=>__('Delete', true))), '/admin/answers/delete/'.$val['Answer']['id'].'/'.$val['Answer']['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['Answer']['id'], null, null, false)); 10 11 11 12 echo $html->div('adminblock', $tmp);
