Code

Bgcolor changed, table width fixed
[gosa.git] / plugins / personal / samba / class_sambaAccount.inc
index 0affe015fb4d38e6cb9d83131bb7be4b6898b5de..b8ac7c5c0aec083dbce6ed2f335994074592a1bb 100644 (file)
@@ -222,6 +222,13 @@ class sambaAccount extends plugin
 
     /* Prepare templating */
     $smarty= get_smarty();
+
+/* PHP Fehler "Undefined index: sambaPwdMustChangeACL" */
+    #hickert test
+    $smarty->assign("sambaPwdMustChangeACL", chkacl($this->acl, "sambaPwdMustChangeACL"));
+    #hickert test
+    $smarty->assign("sambaPwdMustChange",$this->sambaPwdMustChange);
+
     if ($this->sambaPwdMustChange=="0"){
       $date= getdate();
     } else {
@@ -399,7 +406,8 @@ class sambaAccount extends plugin
     $sambaKickoffTime_months= array(_("January"), _("February"), _("March"), _("April"),
         _("May"), _("June"), _("July"), _("August"), _("September"),
         _("October"), _("November"), _("December"));
-    $smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]-1);
+    //$smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]-1);
+    $smarty->assign("sambaKickoffTime_day", $sambaKickoffTime_date["mday"]); // hickert
     $smarty->assign("sambaKickoffTime_days", $sambaKickoffTime_days);
     $smarty->assign("sambaKickoffTime_months", $sambaKickoffTime_months);
     $smarty->assign("sambaKickoffTime_month", $sambaKickoffTime_date["mon"]-1);
@@ -883,7 +891,8 @@ class sambaAccount extends plugin
       }
       if ($this->kickoff_time_set == "1"){
         # Add one day in unixtime format to be compatible with usrmgr
-        $this->attrs['sambaKickoffTime']= $this->sambaKickoffTime + 86400;
+        //$this->attrs['sambaKickoffTime']= $this->sambaKickoffTime + 86400; 
+        $this->attrs['sambaKickoffTime']= $this->sambaKickoffTime; //hickert 
       } else {
         # $this->attrs['sambaKickoffTime']= array();
         # Set more useful default setting