summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 0369583)
raw | patch | inline | side by side (parent: 0369583)
author | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Nov 2010 12:40:40 +0000 (12:40 +0000) | ||
committer | hickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8> | |
Mon, 29 Nov 2010 12:40:40 +0000 (12:40 +0000) |
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@20406 594d385d-05f5-0310-b6e9-bd551577e9d8
gosa-core/plugins/generic/infoPage/class_infoPage.inc | patch | blob | history |
diff --git a/gosa-core/plugins/generic/infoPage/class_infoPage.inc b/gosa-core/plugins/generic/infoPage/class_infoPage.inc
index 129c389676d6d748e01ce227a849684cffa86074..f88502bce8e5fbfe6e18e318b61dd8fdd276dafe 100644 (file)
session::set('binary',$this->attrs['jpegPhoto'][0]);
session::set('binarytype',"image/jpeg");
+
+ // Set date of birth
+ if(isset($this->attrs['dateOfBirth'][0])){
+ $smarty->assign("dateOfBirth", date('d.m.Y',strtotime($this->attrs['dateOfBirth'][0])));
+ }
+
$smarty->assign("rand", rand(0, 99999999));
$smarty->assign("personalInfoAllowed", $personalInfoAllowed);
$smarty->assign("attrs", $this->attrs);