Show
Ignore:
Timestamp:
07/22/08 18:25:30 (4 months ago)
Author:
aarkerio
Message:

Update forums and tests

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/questions/admin_answers.ctp

    r667 r668  
    4040  $tmp  = __('Answer', true) .': ' . $val['answer']   . '<br />'; 
    4141  $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).'&nbsp;&nbsp;&nbsp; '.$html->link($html->image('static/edit_icon.gif', array('title'=>__('Edit', true), 'alt'=>__('Edit', true))), '/admin/answers/edit/'  .$val['id'], null, null, false)); 
    4443 
    4544  echo $html->div('adminblock', $tmp);