X-Git-Url: https://scm.cri.minesparis.psl.eu/git/Plinn.git/blobdiff_plain/3c4367d8e03450e9a73e61f4247145d2b6c86a33..959d888c17d1403d2eeecc19bc4b5e2c8d1debf6:/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 index c49cef8..0000000 --- a/skins/ajax_scripts/cal_and_event_script.js +++ /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