]> CRI, Mines Paris - PSL - Plinn.git/blobdiff - skins/ajax_scripts/cal_and_event_script.js
Déplacement pour eggification.
[Plinn.git] / skins / ajax_scripts / cal_and_event_script.js
diff --git a/skins/ajax_scripts/cal_and_event_script.js b/skins/ajax_scripts/cal_and_event_script.js
deleted file mode 100644 (file)
index c49cef8..0000000
+++ /dev/null
@@ -1,22 +0,0 @@
-// (c) Benoît PIN 2006-2007
-// http://plinn.org
-// Licence GPL
-
-
-function initEventJsCalendars() {
-       var startDate = [];
-       
-       // setup startDate calendar
-       startDate["inputField"]         =       "startDate";            // id of the input field
-       startDate["ifFormat"]           =       "%Y %m %d %H %M";   // format of the input field        startDate["date"]                       =       function() { return builDateFromInputs("startDate"); }; startDate["showsTime"]          =       true;               // will display a time selector     startDate["button"]                     =       "showStartCal";     // trigger for the calendar (button ID)     startDate["singleClick"]        =       false;              // double-click mode        startDate["showOthers"]         =       true;               // show overlapping months  startDate["weekNumbers"]        =       false;  startDate["firstDay"]           =       1;      startDate["onSelect"]           =       splitDate;
-
-       Calendar.setup(startDate);
-       
-       var endDate = [];
-       
-       // setup endDate calendar
-       endDate["inputField"]   =       "endDate";              // id of the input field
-       endDate["ifFormat"]             =       "%Y %m %d %H %M";   // format of the input field        endDate["date"]                 =       function() { return builDateFromInputs("endDate"); };   endDate["showsTime"]    =       true;               // will display a time selector     endDate["button"]               =       "showEndCal";     // trigger for the calendar (button ID)       endDate["singleClick"]  =       false;              // double-click mode        endDate["showOthers"]   =       true;               // show overlapping months  endDate["weekNumbers"]  =       false;  endDate["firstDay"]             =       1;      endDate["onSelect"]             =       splitDate;
-
-       Calendar.setup(endDate);
-}
\ No newline at end of file