* @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, * 2010-2012 Uwe Steinmann * @version Release: @package_version@ */ /** * Include parent class */ //require_once("class.Bootstrap.php"); /** * Class which outputs the html page for AdminTools view * * @category DMS * @package SeedDMS * @author Markus Westphal, Malcolm Cowe, Uwe Steinmann * @copyright Copyright (C) 2002-2005 Markus Westphal, * 2006-2008 Malcolm Cowe, 2010 Matteo Lucarelli, * 2010-2012 Uwe Steinmann * @version Release: @package_version@ */ class SeedDMS_View_AdminTools extends SeedDMS_Theme_Style { static function wrapRow($content) { /* {{{ */ return self::startRow().$content.self::endRow(); } /* }}} */ public function startRow() { /* {{{ */ ob_start(); $this->rowStart(); return ob_get_clean(); } /* }}} */ public function endRow() { /* {{{ */ ob_start(); $this->rowEnd(); return ob_get_clean(); } /* }}} */ public function rowButton($link, $icon, $label) { /* {{{ */ ob_start(); $this->columnStart(2); echo '
'.getMLText($label).'
'; $this->columnEnd(); return ob_get_clean(); } /* }}} */ function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $settings = $this->params['settings']; $logfileenable = $this->params['logfileenable']; $enablefullsearch = $this->params['enablefullsearch']; $accessop = $this->params['accessobject']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation(); $this->contentStart(); $this->pageNavigation(getMLText("admin_tools"), "admin_tools"); // $this->contentHeading(getMLText("admin_tools")); // $this->contentContainerStart(); ?>
callHook('beforeRows'); ?> callHook('startOfRow', 1); ?> check_view_access('UsrMgr')) { ?> _httpRoot."out/out.UsrMgr.php", "user", "user_management"); ?> check_view_access('GroupMgr')) { ?> _httpRoot."out/out.GroupMgr.php", "group", "group_management"); ?> check_view_access('RoleMgr')) { ?> _httpRoot."out/out.RoleMgr.php", "bullseye", "role_management"); ?> callHook('endOfRow', 1); ?> callHook('startOfRow', 2); ?> check_view_access('BackupTools')) { ?> _httpRoot."out/out.BackupTools.php", "life-saver", "backup_tools"); ?> check_view_access('LogManagement'))) echo self::rowButton($settings->_httpRoot."out/out.LogManagement.php", "list", "log_management"); ?> callHook('endOfRow', 2); ?>
callHook('startOfRow', 3); ?> check_view_access('DefaultKeywords')) { ?> _httpRoot."out/out.DefaultKeywords.php", "reorder", "global_default_keywords"); ?> check_view_access('Categories')) { ?> _httpRoot."out/out.Categories.php", "columns", "global_document_categories"); ?> check_view_access('AttributeMgr')) { ?> _httpRoot."out/out.AttributeMgr.php", "tags", "global_attributedefinitions"); ?> callHook('endOfRow', 3); ?> params['workflowmode'] == 'advanced') { ?> callHook('startOfRow', 4); ?> check_view_access('WorkflowMgr')) { ?> _httpRoot."out/out.WorkflowMgr.php", "sitemap", "global_workflows"); ?> check_view_access('WorkflowStatesMgr')) { ?> _httpRoot."out/out.WorkflowStatesMgr.php", "star", "global_workflow_states"); ?> check_view_access('WorkflowActionsMgr')) { ?> _httpRoot."out/out.WorkflowActionsMgr.php", "bolt", "global_workflow_actions"); ?> callHook('endOfRow', 4); ?> callHook('startOfRow', 5); ?> check_view_access('Indexer')) { ?> _httpRoot."out/out.Indexer.php", "refresh", "update_fulltext_index"); ?> check_view_access('CreateIndex')) { ?> _httpRoot."out/out.CreateIndex.php", "search", "create_fulltext_index"); ?> check_view_access('IndexInfo')) { ?> _httpRoot."out/out.IndexInfo.php", "info-circle", "fulltext_info"); ?> callHook('endOfRow', 5); ?> callHook('startOfRow', 6); ?> check_view_access('Statistic')) { ?> _httpRoot."out/out.Statistic.php", "sitemap", "folders_and_documents_statistic"); ?> check_view_access('Charts')) { ?> _httpRoot."out/out.Charts.php", "bar-chart", "charts"); ?> check_view_access('ObjectCheck')) { ?> _httpRoot."out/out.ObjectCheck.php", "check", "objectcheck"); ?> check_view_access('Timeline')) { ?> _httpRoot."out/out.Timeline.php", "signal", "timeline"); ?> callHook('endOfRow', 6); ?> callHook('startOfRow', 7); ?> check_view_access('Settings')) { ?> _httpRoot."out/out.Settings.php", "wrench", "settings"); ?> check_view_access('ExtensionMgr')) { ?> _httpRoot."out/out.ExtensionMgr.php", "cogs", "extension_manager"); ?> check_view_access('SchedulerTaskMgr')) { ?> _httpRoot."out/out.SchedulerTaskMgr.php", "clock-o", "scheduler_task_mgr"); ?> check_view_access('Info')) { ?> _httpRoot."out/out.Info.php", "info-circle", "version_info"); ?> callHook('endOfRow', 7); ?> callHook('afterRows'); ?> contentContainerEnd(); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */ } ?>