Ignore:
Timestamp:
08/27/10 17:14:12 (21 months ago)
Author:
aarkerio
Message:

Helper updated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/app/views/topics/display.ctp

    r2382 r2486  
    3232    echo $this->Html->div('reply'); 
    3333    echo $this->Html->div('replytxt', nl2br(h($val['reply']))); 
    34     if ( $blogger['User']['id'] == $session->read('Auth.User.id')): # you are teacher so delete button 
     34    if ( $blogger['User']['id'] == $this->Session->read('Auth.User.id')): # you are teacher so delete button 
    3535         $msg   = __('Are you sure to want to delete this?', True);  
    3636         echo $this->Html->link($this->Html->image('static/delete_icon.png',array('width'=>'16px','alt'=>__('Delete', True),'title'=>__('Delete', True))), 
Note: See TracChangeset for help on using the changeset viewer.