* @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.BlueStyle.php"); /** * Class which outputs the html page for UsrMgr view * * @category DMS * @package LetoDMS * @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 LetoDMS_View_UsrMgr extends LetoDMS_Blue_Style { function show() { /* {{{ */ $dms = $this->params['dms']; $user = $this->params['user']; $users = $this->params['allusers']; $groups = $this->params['allgroups']; $passwordstrength = $this->params['passwordstrength']; $passwordexpiration = $this->params['passwordexpiration']; $httproot = $this->params['httproot']; $enableuserimage = $this->params['enableuserimage']; $this->htmlStartPage(getMLText("admin_tools")); $this->globalNavigation(); $this->pageNavigation(getMLText("admin_tools"), "admin_tools"); ?> contentHeading(getMLText("user_management")); $this->contentContainerStart(); ?> getID()."\" style=\"display : none;\">"; $this->contentSubHeading(getMLText("user")." : ".htmlspecialchars($currUser->getLogin())); ?> contentSubHeading(getMLText("edit_user"));?>
:   
0) { ?>
:
:
 
:
: getPwdExpiration(); ?>
:
:
:
:
: isHidden() ? " checked='checked'" : "");?>>
: isDisabled() ? " checked='checked'" : "");?>>
: hasImage()) print ""; else printMLText("no_user_image"); ?>
:
:
:
    getMandatoryReviewers(); foreach ($users as $usr) { if ($usr->isGuest() || ($usr->getID() == $currUser->getID())) continue; $checked=false; foreach ($res as $r) if ($r['reviewerUserID']==$usr->getID()) $checked=true; print "
  • ".htmlspecialchars($usr->getLogin())."
  • \n"; } ?>
:
    getID()) $checked=true; print "
  • ".htmlspecialchars($grp->getName())."
  • \n"; } ?>
:
:
    getMandatoryApprovers(); foreach ($users as $usr) { if ($usr->isGuest() || ($usr->getID() == $currUser->getID())) continue; $checked=false; foreach ($res as $r) if ($r['approverUserID']==$usr->getID()) $checked=true; print "
  • ".htmlspecialchars($usr->getLogin())."
  • \n"; } ?>
:
    getID()) $checked=true; print "
  • ".htmlspecialchars($grp->getName())."
  • \n"; } ?>
">
contentContainerEnd(); $this->htmlEndPage(); } /* }}} */ } ?>