Code

W3c fixes
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Jul 2005 08:49:36 +0000 (08:49 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Fri, 1 Jul 2005 08:49:36 +0000 (08:49 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@916 594d385d-05f5-0310-b6e9-bd551577e9d8

plugins/personal/generic/class_user.inc
plugins/personal/posix/class_posixAccount.inc

index f2a4f66a7e8990c9d9f22369c99bd1765983f615..4ae819f7323a5773560dac0a1238b386bd097ceb 100644 (file)
@@ -216,10 +216,10 @@ class user extends plugin
     for($y= $date['year']-100; $y<=$date['year']+100; $y++){
       $years[]= $y;
     }
-    $years['-']= "&nbsp;";
+    $years['-']= "-&nbsp;";
     $months= array(_("January"), _("February"), _("March"), _("April"),
         _("May"), _("June"), _("July"), _("August"), _("September"),
-        _("October"), _("November"), _("December"), '-' => '&nbsp;');
+        _("October"), _("November"), _("December"), '-' => '-&nbsp;');
     $smarty->assign("day", $date["mday"]);
     $smarty->assign("days", $days);
     $smarty->assign("months", $months);
index f4755d3dadf7f434e0bda29be707d8b1e09c459a..4cc45cba92d95699e5fdf64a2be8fef4ddbcc35c 100644 (file)
@@ -473,7 +473,7 @@ class posixAccount extends plugin
     $smarty->assign("secondaryGroups", $this->secondaryGroups);
     $smarty->assign("primaryGroup", $this->primaryGroup);
     if (!count($this->groupMembership)){
-      $smarty->assign("groupMembership", array(""));
+      $smarty->assign("groupMembership", array("&nbsp;"));
     } else {
       $smarty->assign("groupMembership", $this->groupMembership);
     }