* @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_Bootstrap_Style { static function wrapRow($content) { /* {{{ */ return self::startRow().$content.self::endRow(); } /* }}} */ static function startRow() { /* {{{ */ return '
'; } /* }}} */ static function endRow() { /* {{{ */ return '
'; } /* }}} */ static function rowButton($link, $icon, $label) { /* {{{ */ return '
'.getMLText($label).'
'; } /* }}} */ function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $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')) { ?> check_view_access('GroupMgr')) { ?> check_view_access('RoleMgr')) { ?> callHook('endOfRow', 1); ?> callHook('startOfRow', 2); ?> check_view_access('BackupTools')) { ?> check_view_access('LogManagement'))) echo self::rowButton("../out/out.LogManagement.php", "list", "log_management"); ?> callHook('endOfRow', 2); ?>
callHook('startOfRow', 3); ?> check_view_access('DefaultKeywords')) { ?> check_view_access('Categories')) { ?> check_view_access('AttributeMgr')) { ?> callHook('endOfRow', 3); ?> params['workflowmode'] == 'advanced') { ?> callHook('startOfRow', 4); ?> check_view_access('WorkflowMgr')) { ?> check_view_access('WorkflowStatesMgr')) { ?> check_view_access('WorkflowActionsMgr')) { ?> callHook('endOfRow', 4); ?> callHook('startOfRow', 5); ?> check_view_access('Indexer')) { ?> check_view_access('CreateIndex')) { ?> check_view_access('IndexInfo')) { ?> callHook('endOfRow', 5); ?> callHook('startOfRow', 6); ?> check_view_access('Statistic')) { ?> check_view_access('Charts')) { ?> check_view_access('ObjectCheck')) { ?> check_view_access('Timeline')) { ?> callHook('endOfRow', 6); ?> callHook('startOfRow', 7); ?> check_view_access('Settings')) { ?> check_view_access('ExtensionMgr')) { ?> check_view_access('SchedulerTaskMgr')) { ?> check_view_access('Info')) { ?> callHook('endOfRow', 7); ?> callHook('afterRows'); ?> contentContainerEnd(); $this->contentEnd(); $this->htmlEndPage(); } /* }}} */ } ?>