Show
Ignore:
Timestamp:
05/21/08 15:27:00 (8 months ago)
Author:
aarkerio
Message:

New Try

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/app/views/newsletters/subscribe.ctp

    r349 r541  
    77<?php  
    88 
    9 if ( !isset( $cU['User']['id'] ) ) 
     9if ( !$session->check('Auth.User') ) 
    1010{ 
    1111   echo $html->para(null, $html->link('You must be logged to subscribe to newsletter', '/users/login')); 
     
    2222     $options =  array("size"=>25, "maxlength"=>50); 
    2323 
    24      if ( !isset( $cU['User']['id'] ) ) 
     24     if ( $session->check('Auth.User') ) 
    2525     { 
    2626        $options["readonly"]="readonly";  //if user no logged, no subscription available