/** * This action will list all the plugins which are available on the system. */ function action_admin_modules() { $moduleManager =& YDSimpleCMS::getModuleManager(); $this->tpl->assign('modules', $moduleManager->getModuleList()); $this->display(); }
/** * This is the action handler for an admin request. Currently, it does the same thing as the action handler * for a public request. */ function actionDefaultAdmin() { $module = $this->getQueryStringParameter('module', $this->defaultModule); $action = $this->getQueryStringParameter('action', 'show'); $moduleManager =& YDSimpleCMS::getModuleManager(); $moduleManager->runModule($module, $action); }