Changeset 981

Show
Ignore:
Timestamp:
02/28/06 10:18:35 (7 years ago)
Author:
max-horvath
Message:

"2006-02-28 Max Horvath <max.horvath@…>

  • Login site now uses a Smarty template to render HTML page
  • class MainUI now also delivers $isOwner variable for Smarty"
Location:
trunk/wifidog-auth
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • trunk/wifidog-auth/CHANGELOG

    r979 r981  
    3131        * deleted wifidog/local_content/README as its content isn't valid anymore 
    3232          used anymore 
     33        * Login site now uses a Smarty template to render HTML page 
     34        * class MainUI now also delivers $isOwner variable for Smarty 
    3335 
    34362006-02-26 Max Horváth <max.horvath@maxspot.de> 
  • trunk/wifidog-auth/wifidog/classes/MainUI.php

    r979 r981  
    475475        $this->smarty->assign('stylesheetParsedFile', ""); 
    476476        $this->smarty->assign('isSuperAdmin', false); 
     477        $this->smarty->assign('isOwner', false); 
    477478        $this->smarty->assign('debugRequested', false); 
    478479        $this->smarty->assign('debugOutput', ""); 
     
    513514        // Define user security levels for the template 
    514515        $this->smarty->assign('isSuperAdmin', $_currentUser && $_currentUser->isSuperAdmin()); 
     516        $this->smarty->assign('isOwner', $_currentUser && $_currentUser->isOwner()); 
    515517 
    516518        if (isset($_REQUEST['debug_request']) && ($_currentUser && $_currentUser->isSuperAdmin())) {