Changeset 2054 for branches/branch-1_7/include
- Timestamp:
- Jul 7, 2007, 11:22:11 AM (17 years ago)
- Location:
- branches/branch-1_7/include
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/branch-1_7/include/common.inc.php
r2040 r2054 188 188 } 189 189 190 if (isset($user['internal_status']['guest_must_be_guest']) 191 and 192 $user['internal_status']['guest_must_be_guest'] === true) 193 { 194 $header_msgs[] = l10n('guest_must_be_guest'); 195 } 196 190 197 if ($conf['gallery_locked']) 191 198 { -
branches/branch-1_7/include/functions_user.inc.php
r2040 r2054 151 151 $user['is_the_default'] = ($user['id'] == $conf['default_user_id']); 152 152 153 if ($user['is_the_guest'] and $user['status'] <> 'guest') 154 { 155 $user['status'] = 'guest'; 156 $user['internal_status']['guest_must_be_guest'] = true; 157 } 158 153 159 // calculation of the number of picture to display per page 154 160 $user['nb_image_page'] = $user['nb_image_line'] * $user['nb_line_page'];
Note: See TracChangeset
for help on using the changeset viewer.