Changeset 653 for trunk/include/functions_user.inc.php
- Timestamp:
- Dec 21, 2004, 12:54:59 AM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r651 r653 159 159 function check_login_authorization($guest_allowed = true) 160 160 { 161 global $user,$lang ;161 global $user,$lang,$conf,$template; 162 162 163 163 if ($user['is_the_guest'] and !$guest_allowed) … … 166 166 echo '<a href="./identification.php">'.$lang['ident_title'].'</a></div>'; 167 167 exit(); 168 } 169 170 if ($conf['gallery_locked']) 171 { 172 echo '<div style="text-align:center;">'; 173 echo $lang['gallery_locked_message']; 174 echo '</div>'; 175 if ($user['status'] != 'admin') 176 { 177 exit(); 178 } 168 179 } 169 180 }
Note: See TracChangeset
for help on using the changeset viewer.