Changeset 541 for trunk/app/views/newsletters/subscribe.ctp
- Timestamp:
- 05/21/08 15:27:00 (8 months ago)
- Files:
-
- 1 modified
-
trunk/app/views/newsletters/subscribe.ctp (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/app/views/newsletters/subscribe.ctp
r349 r541 7 7 <?php 8 8 9 if ( ! isset( $cU['User']['id']) )9 if ( !$session->check('Auth.User') ) 10 10 { 11 11 echo $html->para(null, $html->link('You must be logged to subscribe to newsletter', '/users/login')); … … 22 22 $options = array("size"=>25, "maxlength"=>50); 23 23 24 if ( !isset( $cU['User']['id']) )24 if ( $session->check('Auth.User') ) 25 25 { 26 26 $options["readonly"]="readonly"; //if user no logged, no subscription available
