Changeset 2055 for trunk/include
- Timestamp:
- Jul 7, 2007, 11:23:04 AM (17 years ago)
- Location:
- trunk/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/common.inc.php
r2046 r2055 187 187 } 188 188 189 if (isset($user['internal_status']['guest_must_be_guest']) 190 and 191 $user['internal_status']['guest_must_be_guest'] === true) 192 { 193 $header_msgs[] = l10n('guest_must_be_guest'); 194 } 195 189 196 if ($conf['gallery_locked']) 190 197 { -
trunk/include/functions_user.inc.php
r2039 r2055 150 150 $user = array_merge( $user, getuserdata($user_id, $use_cache) ); 151 151 152 if ($user['id'] == $conf['guest_id'] and $user['status'] <> 'guest') 153 { 154 $user['status'] = 'guest'; 155 $user['internal_status']['guest_must_be_guest'] = true; 156 } 157 152 158 // calculation of the number of picture to display per page 153 159 $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
Note: See TracChangeset
for help on using the changeset viewer.