====== Datepicker Plugin ====== ---- plugin ---- description: use a calendar popup to pick a date author : lisps, peterfromearth email : coder@peterfromearth.de type : syntax,action lastupdate : 2018-10-09 compatible : Greebo, "Frusterick Manners", "Elenor Of Tsort", Detritus depends : ajaxedit conflicts : include similar : tags : ajax,date downloadurl: https://github.com/lisps/datepicker/archive/master.zip bugtracker : https://github.com/lisps/datepicker/issues sourcerepo : https://github.com/lisps/datepicker/ donationurl: screenshot_img : https://github.com/lisps/datepicker/raw/master/example/example1.png ---- ===== Installation ===== :!: **External requirements:** This plugin requires the following additional components that must be installed separately: * [[plugin:ajaxedit]] Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually. ===== Examples/Usage/Syntax ===== {{https://github.com/lisps/datepicker/raw/master/example/example2.png}} To delete a date, press ''DELETE''-Key ===== Configuration and Settings ===== In admin configuration: * **emptyStringDate** string for display empty date * **emptyStringWeek** string for display empty week ===== Development ===== === Change Log === [[https://travis-ci.org/lisps/datepicker|{{ https://travis-ci.org/lisps/datepicker.png?nocache|Build Status}}]] {{rss>https://github.com/lisps/datepicker/commits/master.atom date}} === Known Bugs and Issues === If you use the include plugin and include a page with datepickers the plugin will behave wrong. === ToDo/Wish List === ===== FAQ ===== ===== Discussion ===== ==== Russian locale ==== === settings.php === === calendar-ru.js === // ** I18N // Calendar RU language // Author: GKU, // Encoding: any // Distributed under the same terms as the calendar itself. // For translators: please use UTF-8 if possible. We strongly believe that // Unicode is the answer to a real internationalized world. Also please // include your contact information in the header, as can be seen above. // full day names Calendar._DN = new Array ("Воскресенье", "Понедельник", "Вторник", "Среда", "Четверг", "Пятница", "Суббота", "Воскресенье"); // Please note that the following array of short day names (and the same goes // for short month names, _SMN) isn't absolutely necessary. We give it here // for exemplification on how one can customize the short day names, but if // they are simply the first N letters of the full name you can simply say: // // Calendar._SDN_len = N; // short day name length // Calendar._SMN_len = N; // short month name length // // If N = 3 then this is not needed either since we assume a value of 3 if not // present, to be compatible with translation files that were written before // this feature. // short day names Calendar._SDN = new Array ("Вс", "Пн", "Вт", "Ср", "Чт", "Пт", "Сб", "Вс"); // First day of the week. "0" means display Sunday first, "1" means display // Monday first, etc. Calendar._FD = 1; // full month names Calendar._MN = new Array ("Январь", "Февраль", "Март", "Апрель", "Май", "Июнь", "Июль", "Август", "Сентябрь", "Октябрь", "Ноябрь", "Декабрь"); // short month names Calendar._SMN = new Array ("Янв", "Фев", "Мар", "Апр", "Май", "Июн", "Июл", "Авг", "Сен", "Окт", "Ноя", "Дек"); // tooltips Calendar._TT = {}; Calendar._TT["INFO"] = "О календаре"; Calendar._TT["ABOUT"] = "DHTML Date/Time Selector\n" + "(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) "For latest version visit: http://www.dynarch.com/projects/calendar/\n" + "Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + "\n\n" + "Date selection:\n" + "- Use the \xab, \xbb buttons to select year\n" + "- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" + "- Hold mouse button on any of the above buttons for faster selection."; Calendar._TT["ABOUT_TIME"] = "\n\n" + "Time selection:\n" + "- Click on any of the time parts to increase it\n" + "- or Shift-click to decrease it\n" + "- or click and drag for faster selection."; Calendar._TT["PREV_YEAR"] = "Пред. год (удерж. для показа меню)"; Calendar._TT["PREV_MONTH"] = "Пред. месяц (удерж. для показа меню)"; Calendar._TT["GO_TODAY"] = "Что сегодня"; Calendar._TT["NEXT_MONTH"] = "След. месяц (удерж. для показа меню)"; Calendar._TT["NEXT_YEAR"] = "След. год (удерж. для показа меню)"; Calendar._TT["SEL_DATE"] = "Выберите дату"; Calendar._TT["DRAG_TO_MOVE"] = "удерживайте, чтобы передвинуть"; Calendar._TT["PART_TODAY"] = " (сегодня)"; // the following is to inform that "%s" is to be the first day of week // %s will be replaced with the day name. Calendar._TT["DAY_FIRST"] = "Показать %s сначала"; // This may be locale-dependent. It specifies the week-end days, as an array // of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 // means Monday, etc. Calendar._TT["WEEKEND"] = "0,6"; Calendar._TT["CLOSE"] = "Закрыть"; Calendar._TT["TODAY"] = "Сегодня"; Calendar._TT["TIME_PART"] = "(Shift-)Нажмите или передвиньте, чтобы изменить"; // date formats Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; Calendar._TT["WK"] = "Нд"; Calendar._TT["TIME"] = "Время:";