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/answers/questions.ctp

    r666 r668  
    66  $url  = '/admin/answers/change/'.$val['Answer']['id'].'/'.$val['Answer']['correct'].'/'.$val['Answer']['question_id']; 
    77  $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).'&nbsp;&nbsp;&nbsp; '.$html->link($html->image('static/edit_icon.gif', array('title'=>__('Edit', true), 'alt'=>__('Edit', true))), '/admin/answers/edit/'  .$val['Answer']['id'], null, null, false)); 
    1011 
    1112  echo $html->div('adminblock', $tmp);