Changeset 981
- Timestamp:
- 02/28/06 10:18:35 (7 years ago)
- Location:
- trunk/wifidog-auth
- Files:
-
- 2 modified
-
CHANGELOG (modified) (1 diff)
-
wifidog/classes/MainUI.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/wifidog-auth/CHANGELOG
r979 r981 31 31 * deleted wifidog/local_content/README as its content isn't valid anymore 32 32 used anymore 33 * Login site now uses a Smarty template to render HTML page 34 * class MainUI now also delivers $isOwner variable for Smarty 33 35 34 36 2006-02-26 Max Horváth <max.horvath@maxspot.de> -
trunk/wifidog-auth/wifidog/classes/MainUI.php
r979 r981 475 475 $this->smarty->assign('stylesheetParsedFile', ""); 476 476 $this->smarty->assign('isSuperAdmin', false); 477 $this->smarty->assign('isOwner', false); 477 478 $this->smarty->assign('debugRequested', false); 478 479 $this->smarty->assign('debugOutput', ""); … … 513 514 // Define user security levels for the template 514 515 $this->smarty->assign('isSuperAdmin', $_currentUser && $_currentUser->isSuperAdmin()); 516 $this->smarty->assign('isOwner', $_currentUser && $_currentUser->isOwner()); 515 517 516 518 if (isset($_REQUEST['debug_request']) && ($_currentUser && $_currentUser->isSuperAdmin())) {
