Changeset 2486 for trunk/app/views/elements/new.ctp
- Timestamp:
- 08/27/10 17:14:12 (21 months ago)
- File:
-
- 1 edited
-
trunk/app/views/elements/new.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/elements/new.ctp
r2248 r2486 47 47 endforeach; 48 48 echo '</div>'; 49 if ( $ session->check('Auth.User') ):49 if ( $this->Session->check('Auth.User') ): 50 50 echo $this->Form->create('Discussion', array('action'=>'add')); 51 51 echo $this->Form->hidden('Discussion.new_id', array('value'=>$data['News']['id'])); … … 56 56 <?php 57 57 echo $this->Form->input('Discussion.comment', array('type'=>'textarea', 'between'=>'<br />', 'cols'=>60, 'rows'=>10, 58 'label'=>'<b>'.$ session->read('Auth.User.username') .'</b> '. __('write', True) ));58 'label'=>'<b>'.$this->Session->read('Auth.User.username') .'</b> '. __('write', True) )); 59 59 echo $this->Form->end(__('Send comment', True)); 60 60 else:
Note: See TracChangeset
for help on using the changeset viewer.
