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/treasures/view.ctp

    r2397 r2486  
    77 
    88if ( $permissions['belongs'] == True and $permissions['chkdate'] == True  and $permissions['already'] == False): 
    9     echo $this->Html->para(null, 'hi! '.$session->read('Auth.User.username'), array('style'=>'font-weight:bold;font-size:12pt;')); 
     9    echo $this->Html->para(null, 'hi! '.$this->Session->read('Auth.User.username'), array('style'=>'font-weight:bold;font-size:12pt;')); 
    1010    echo $this->Html->div('title', $blogger['User']['username'] .'s Treasure Hunt'); 
    1111 
     
    2121    echo $this->Form->hidden('ResultTreasure.points',        array('value'=>$data['Treasure']['points'])); 
    2222    echo $this->Form->input('ResultTreasure.secret',         array('size' => 15, 'maxlength'=>15, 'title'=>__('Secret code', True), 'between'=>': ')); 
    23     echo $this->Js->submit(__('Send final code', True).' '. $session->read('Auth.User.username'),  
     23    echo $this->Js->submit(__('Send final code', True).' '. $this->Session->read('Auth.User.username'),  
    2424                                    array( 
    2525                                         'url'      => array('controller'=>'treasures', 'action'=>'chksw'),  
Note: See TracChangeset for help on using the changeset viewer.