Open Monograph Press  1.1
 All Classes Namespaces Functions Variables Groups Pages
AccessSettingsTabHandler.inc.php
1 <?php
2 
16 // Import the base Handler.
17 import('lib.pkp.controllers.tab.settings.ManagerSettingsTabHandler');
18 
20 
25  parent::ManagerSettingsTabHandler();
26  $this->setPageTabs(array(
27  'users' => 'core:controllers/tab/settings/users.tpl',
28  'roles' => 'core:controllers/tab/settings/roles.tpl',
29  'siteAccessOptions' => 'controllers.tab.settings.siteAccessOptions.form.SiteAccessOptionsForm',
30  ));
31  }
32 
37  function setupTemplate($request) {
38  $templateMgr = TemplateManager::getManager($request);
39  $templateMgr->assign('oldUserId', (int) $request->getUserVar('oldUserId')); // for merging users.
40  parent::setupTemplate($request);
41  }
42 }
43 
44 ?>
Handle AJAX operations for tabs on manangement settings pages. Implements the wizard mode...
Handle AJAX operations for tabs on Access and Security page.