* @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 UsrMgr 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_UsrMgr extends SeedDMS_Bootstrap_Style { function showUserForm($currUser) { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $seluser = $this->params['seluser']; $groups = $this->params['allgroups']; $passwordstrength = $this->params['passwordstrength']; $passwordexpiration = $this->params['passwordexpiration']; $httproot = $this->params['httproot']; $enableuserimage = $this->params['enableuserimage']; $undeluserids = $this->params['undeluserids']; $workflowmode = $this->params['workflowmode']; $quota = $this->params['quota']; ?>
getID(), $undeluserids)) { ?> 0) { ?> 0) { ?> getAllWorkflows(); if($workflows) { ?>
: ">
: " name="pwd">
:
" class="progress" style="width: 220px; height: 30px; margin-bottom: 8px;">
:
: getPwdExpiration() : ""; ?>
: ">
: ">
:
:
:
: "> 0) echo $this->warningMsg(getMLText('current_quota', array('quota'=>SeedDMS_Core_File::format_filesize($quota)))); else echo $this->warningMsg(getMLText('quota_is_disabled')); ?>
: isHidden() ? " checked='checked'" : "");?>>
: isDisabled() ? " checked='checked'" : "");?>>
: hasImage()) print ""; else printMLText("no_user_image"); ?>
: printFileChooser('userfile', false, "image/jpeg"); ?>
: printFileChooser('userfile', false, 'image/jpeg'); ?>
:
:
:
:
:
:
:
params['dms']; $user = $this->params['user']; $seluser = $this->params['seluser']; $users = $this->params['allusers']; $groups = $this->params['allgroups']; $passwordstrength = $this->params['passwordstrength']; $passwordexpiration = $this->params['passwordexpiration']; $httproot = $this->params['httproot']; $enableuserimage = $this->params['enableuserimage']; $undeluserids = $this->params['undeluserids']; $workflowmode = $this->params['workflowmode']; $quota = $this->params['quota']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation(); $this->contentStart(); $this->pageNavigation(getMLText("admin_tools"), "admin_tools"); ?> contentHeading(getMLText("user_management")); ?>
:
getID()."\" style=\"display : none;\">"; $this->showUserForm($currUser); print "
\n"; } ?>
htmlEndPage(); } /* }}} */ } ?>