summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: d1902dd)
raw | patch | inline | side by side (parent: d1902dd)
author | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Sep 2009 10:28:45 +0000 (10:28 +0000) | ||
committer | cajus <cajus@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Thu, 3 Sep 2009 10:28:45 +0000 (10:28 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@14202 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 45678fac13849905349124e43ca0a50d2a9e0a7f..4f4b16a8e42e558a87a1d5bf15b81d34c5ba3363 100644 (file)
var $plHeadline= "Generic";
var $plDescription= "Edit organizational user settings";
- /* The attribute gotoLastSystemLogin represents the timestamp of the last
- successfull login on the users workstation.
- Read the FAQ to get a hint about how to configure this.
- */
- var $gotoLastSystemLogin = "";
-
/* Plugin specific values */
var $base= "";
var $orig_base= "";
/* Load base attributes */
plugin::plugin ($config, $dn);
- /* If gotoLastSystemLogin is available read it from ldap and create a readable
- date time string, fallback to sambaLogonTime if available.
- */
- if(isset($this->attrs['gotoLastSystemLogin'][0]) && preg_match("/^[0-9]*$/",$this->attrs['gotoLastSystemLogin'][0])){
- $this->gotoLastSystemLogin = date("d.m.Y H:i:s", strtotime($this->attrs['gotoLastSystemLogin'][0]));
- } else if(isset($this->attrs['sambaLogonTime'][0]) && preg_match("/^[0-9]*$/",$this->attrs['sambaLogonTime'][0])){
- $this->gotoLastSystemLogin = date("d.m.Y H:i:s", $this->attrs['sambaLogonTime'][0]);
- }
-
$this->orig_dn = $this->dn;
$this->new_dn = $dn;
}
$smarty= get_smarty();
- $smarty->assign("gotoLastSystemLogin",$this->gotoLastSystemLogin);
/* Fill calendar */
if ($this->dateOfBirth == "0"){