Changeset 5272
- Timestamp:
- Mar 23, 2010, 6:56:50 AM (14 years ago)
- Location:
- trunk
- Files:
-
- 3 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/include/functions_user.inc.php
r5271 r5272 1234 1234 { 1235 1235 return is_autorize_status(ACCESS_ADMINISTRATOR, $user_status); 1236 } 1237 1238 /* 1239 * Return if user is, at least, a webmaster 1240 * @return bool 1241 */ 1242 function is_webmaster($user_status = '') 1243 { 1244 return is_autorize_status(ACCESS_WEBMASTER, $user_status); 1236 1245 } 1237 1246 -
trunk/local
-
Property
svn:ignore
set to
personal
-
Property
svn:ignore
set to
-
trunk/plugins/LocalFilesEditor/admin.php
r5256 r5272 295 295 if (isset($_POST['submit']) and !is_adviser()) 296 296 { 297 if ( $user['status'] != 'webmaster')297 if (!is_webmaster()) 298 298 { 299 299 array_push($page['errors'], l10n('locfiledit_webmaster_only'));
Note: See TracChangeset
for help on using the changeset viewer.