diff --git a/views/bootstrap/class.UsrMgr.php b/views/bootstrap/class.UsrMgr.php index b7fea3c5a..286767155 100644 --- a/views/bootstrap/class.UsrMgr.php +++ b/views/bootstrap/class.UsrMgr.php @@ -31,6 +31,293 @@ require_once("class.Bootstrap.php"); */ 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']; @@ -102,7 +389,7 @@ function showUser(selectObj) {
: -
+