Code

Updated FAQ
authorhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Jan 2009 10:32:12 +0000 (10:32 +0000)
committerhickert <hickert@594d385d-05f5-0310-b6e9-bd551577e9d8>
Thu, 15 Jan 2009 10:32:12 +0000 (10:32 +0000)
git-svn-id: https://oss.gonicus.de/repositories/gosa/trunk@13354 594d385d-05f5-0310-b6e9-bd551577e9d8

gosa-core/Changelog
gosa-core/html/include/calendar.js

index f11534cbf5f010a82c32c50ac287f02dcdc8753e..22652a4890fc82b9c97974b5c3bcf9265e78c49f 100644 (file)
@@ -1,6 +1,13 @@
 GOsa2 changelog
 ===============
 
+* gosa 2.6.3
+  - Fixed several issues, occurred when using templates. 
+  - Fixed problem with department creation, since GOsa 2.6.1.
+  - Fixed exponential escaping of special chars in dns record entries.
+  - Added samba domain information to samba tab.
+  - Removed readonly attributes from samba tab.
+
 * gosa 2.6.2
   - Updated german locales
   - Updated french locales
index 2e4d5e60254ff84376ae795ac3ad29e88391dae1..194655ed5fc05a0ae8765752163f78a269eb72b7 100644 (file)
                saveResult(selectedDate,resultForm);
        }
 
+       function populate_sambaPwdCanChange(objForm,resultForm) {
+
+               var yearSel=objForm.sambaPwdCanChange_year.options[objForm.sambaPwdCanChange_year.selectedIndex].text;
+               var monthIx=objForm.sambaPwdCanChange_month.selectedIndex;
+               var nextMonthIx=0;
+               if(monthIx!=11)
+                       nextMonthIx=monthIx+1;
+
+               var nextMonthSel=objForm.sambaPwdCanChange_month.options[nextMonthIx].value;
+               var monthSel=objForm.sambaPwdCanChange_month.options[monthIx].value;
+
+               var daySel=1;
+               if(objForm.sambaPwdCanChange_day.selectedIndex!=-1)
+                       daySel=objForm.sambaPwdCanChange_day.options[objForm.sambaPwdCanChange_day.selectedIndex].value;
+
+               var timeOfDayOne = new Date(yearSel, nextMonthSel, 1);
+               var timeDifference = timeOfDayOne - 86400000;
+               var timeOfLastDay = new Date(timeDifference);
+
+               var daysInMonth = timeOfLastDay.getDate();
+
+               if(daySel>daysInMonth) daySel=daysInMonth;
+
+               var selectedDate= new Date(yearSel,monthSel,daySel);
+               for (var i = 0; i < objForm.sambaPwdCanChange_day.length; i++) {
+                       objForm.sambaPwdCanChange_day.options[0] = null;
+               }
+               for (var i = 0; i < daysInMonth; i++) {
+                       objForm.sambaPwdCanChange_day.options[i] = new Option(i+1);
+               }
+               objForm.sambaPwdCanChange_day.selectedIndex=daySel-1;
+               saveResult(selectedDate,resultForm);
+       }
+
        function createResult_sambaLogonTime(objForm,resultForm){
                yearSel=objForm.sambaLogonTime_year.options[objForm.sambaLogonTime_year.selectedIndex].text;
                monthIx=objForm.sambaLogonTime_month.selectedIndex;
                selectedDate= new Date(yearSel,monthSel,daySel);
                saveResult(selectedDate,resultForm);
        }
+       function createResult_sambaPwdCanChange(objForm,resultForm){
+               yearSel=objForm.sambaPwdCanChange_year.options[objForm.sambaPwdCanChange_year.selectedIndex].text;
+               monthIx=objForm.sambaPwdCanChange_month.selectedIndex;
+               monthSel=objForm.sambaPwdCanChange_month.options[monthIx].value;
+               daySel=objForm.sambaPwdCanChange_day.options[objForm.sambaPwdCanChange_day.selectedIndex].value;
+               selectedDate= new Date(yearSel,monthSel,daySel);
+               saveResult(selectedDate,resultForm);
+       }
 
     function createResult2(objForm,resultForm){
         yearSel=objForm.syear.options[objForm.syear.selectedIndex].text;