summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 630626c)
raw | patch | inline | side by side (parent: 630626c)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Sep 2008 09:04:27 +0000 (09:04 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 1 Sep 2008 09:04:27 +0000 (09:04 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@12319 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/personal/generic/class_user.inc | patch | blob | history | |
gosa-core/plugins/personal/generic/generic.tpl | patch | blob | history |
diff --git a/gosa-core/plugins/personal/generic/class_user.inc b/gosa-core/plugins/personal/generic/class_user.inc
index 008390c28a9287eda194b8b53167158ce35c764c..577744197c17e8c6726189b5de06c04c256b45e8 100644 (file)
var $plHeadline= "Generic";
var $plDescription= "Edit organizational user settings";
- /* The attribute gosaLastSystemLogin represents the timestamp of the last
+ /* 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 $gosaLastSystemLogin = "";
+ var $gotoLastSystemLogin = "";
/* Plugin specific values */
var $base= "";
/* Load base attributes */
plugin::plugin ($config, $dn);
- /* If gosaLastSystemLogin is available read it from ldap and create a readable
+ /* If gotoLastSystemLogin is available read it from ldap and create a readable
date time string.
*/
- if(isset($this->attrs['gosaLastSystemLogin'][0]) && preg_match("/^[0-9]*$/",$this->attrs['gosaLastSystemLogin'][0])){
- $this->gosaLastSystemLogin = date("d.m.Y H:i:s", $this->attrs['gosaLastSystemLogin'][0]);
+ if(isset($this->attrs['gotoLastSystemLogin'][0]) && preg_match("/^[0-9]*$/",$this->attrs['gotoLastSystemLogin'][0])){
+ $this->gotoLastSystemLogin = date("d.m.Y H:i:s", $this->attrs['gotoLastSystemLogin'][0]);
}
$this->orig_dn = $this->dn;
}
$smarty= get_smarty();
- $smarty->assign("gosaLastSystemLogin",$this->gosaLastSystemLogin);
+ $smarty->assign("gotoLastSystemLogin",$this->gotoLastSystemLogin);
/* Fill calendar */
if ($this->dateOfBirth == "0"){
diff --git a/gosa-core/plugins/personal/generic/generic.tpl b/gosa-core/plugins/personal/generic/generic.tpl
index a1e95f071dc642b1eba0002a512124cc91f27fb9..e0b138ff2f5f553b6a55bb030d3f5e365e6ac7ae 100644 (file)
</tr>
{/if}
- {if $gosaLastSystemLogin}
+ {if $gotoLastSystemLogin}
<tr>
<td>{t}Last logon{/t}</td>
- <td>{$gosaLastSystemLogin}</td>
+ <td>{$gotoLastSystemLogin}</td>
</tr>
{/if}
</table>