summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: c906a37)
raw | patch | inline | side by side (parent: c906a37)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 14:57:28 +0000 (14:57 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Wed, 3 Mar 2010 14:57:28 +0000 (14:57 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@15994 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/posix/class_posixAccount.inc | patch | blob | history | |
gosa-core/plugins/personal/posix/posix_shadow.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/personal/posix/class_posixAccount.inc b/gosa-core/plugins/personal/posix/class_posixAccount.inc
index 66df47b1bc9d3a6f59784010aa1525e7a37d291e..172ae85678277f9733d3635eebf2d42cd3de4677 100644 (file)
$shadowMinACL = $this->getacl("shadowMin",$SkipWrite);
$smarty->assign("shadowmins", sprintf(_("Password can't be changed up to %s days after last change"),
- "<input name=\"shadowMin\" size=3 maxlength=4 value=\"".$this->shadowMin."\">"));
+ "<input type='text' name=\"shadowMin\" size=3 maxlength=4 value=\"".$this->shadowMin."\">"));
$shadowMaxACL = $this->getacl("shadowMax",$SkipWrite);
$smarty->assign("shadowmaxs", sprintf(_("Password must be changed after %s days"),
- "<input name=\"shadowMax\" size=3 maxlength=4 value=\"".$this->shadowMax."\">"));
+ "<input type='text' name=\"shadowMax\" size=3 maxlength=4 value=\"".$this->shadowMax."\">"));
$shadowInactiveACL= $this->getacl("shadowInactive",$SkipWrite);
$smarty->assign("shadowinactives", sprintf(_("Disable account after %s days of inactivity after password expiry"),
- "<input name=\"shadowInactive\" size=3 maxlength=4 value=\"".$this->shadowInactive."\">"));
+ "<input type='text' name=\"shadowInactive\" size=3 maxlength=4 value=\"".$this->shadowInactive."\">"));
$shadowWarningACL = $this->getacl("shadowWarning",$SkipWrite);
$smarty->assign("shadowwarnings", sprintf(_("Warn user %s days before password expiry"),
- "<input name=\"shadowWarning\" size=3 maxlength=4 value=\"".$this->shadowWarning."\">"));
+ "<input type='text' name=\"shadowWarning\" size=3 maxlength=4 value=\"".$this->shadowWarning."\">"));
foreach( array("activate_shadowMin", "activate_shadowMax",
"activate_shadowExpire", "activate_shadowInactive","activate_shadowWarning") as $val){
diff --git a/gosa-core/plugins/personal/posix/posix_shadow.tpl b/gosa-core/plugins/personal/posix/posix_shadow.tpl
index f0510ecd3a0d312771ffbc95de9e5130d30e43c8..b0e0e1af82f256b280ffe6e7fe14b5026f3bcb82 100644 (file)
+ <h3>{t}Account settings{/t}</h3>
+
<!-- must_change_password -->
{render acl=$mustchangepasswordACL checkbox=$multiple_support checked=$use_mustchangepassword}
<input type="checkbox" class="center" name="mustchangepassword" value="1" {$mustchangepassword}>