From: <var...@us...> - 2015-04-01 14:33:52
|
Revision: 9638 http://sourceforge.net/p/phpwiki/code/9638 Author: vargenau Date: 2015-04-01 14:33:34 +0000 (Wed, 01 Apr 2015) Log Message: ----------- Update jscalendar to 1.0 Modified Paths: -------------- trunk/themes/blog/jscalendar/calendar-setup.js trunk/themes/blog/jscalendar/calendar-win2k-1.css trunk/themes/blog/jscalendar/calendar-win2k-cold-1.css trunk/themes/blog/jscalendar/calendar.js trunk/themes/blog/jscalendar/lang/calendar-br.js trunk/themes/blog/jscalendar/lang/calendar-ca.js trunk/themes/blog/jscalendar/lang/calendar-cs-win.js trunk/themes/blog/jscalendar/lang/calendar-da.js trunk/themes/blog/jscalendar/lang/calendar-el.js trunk/themes/blog/jscalendar/lang/calendar-es.js trunk/themes/blog/jscalendar/lang/calendar-fi.js trunk/themes/blog/jscalendar/lang/calendar-fr.js trunk/themes/blog/jscalendar/lang/calendar-hr-utf8.js trunk/themes/blog/jscalendar/lang/calendar-hr.js trunk/themes/blog/jscalendar/lang/calendar-hu.js trunk/themes/blog/jscalendar/lang/calendar-it.js trunk/themes/blog/jscalendar/lang/calendar-ko-utf8.js trunk/themes/blog/jscalendar/lang/calendar-ko.js trunk/themes/blog/jscalendar/lang/calendar-lt-utf8.js trunk/themes/blog/jscalendar/lang/calendar-lt.js trunk/themes/blog/jscalendar/lang/calendar-nl.js trunk/themes/blog/jscalendar/lang/calendar-no.js trunk/themes/blog/jscalendar/lang/calendar-pl-utf8.js trunk/themes/blog/jscalendar/lang/calendar-pl.js trunk/themes/blog/jscalendar/lang/calendar-pt.js trunk/themes/blog/jscalendar/lang/calendar-ro.js trunk/themes/blog/jscalendar/lang/calendar-ru.js trunk/themes/blog/jscalendar/lang/calendar-si.js trunk/themes/blog/jscalendar/lang/calendar-sk.js trunk/themes/blog/jscalendar/lang/calendar-sp.js trunk/themes/blog/jscalendar/lang/calendar-sv.js trunk/themes/blog/jscalendar/lang/calendar-tr.js trunk/themes/blog/jscalendar/lang/calendar-zh.js Added Paths: ----------- trunk/themes/blog/jscalendar/ChangeLog trunk/themes/blog/jscalendar/bugtest-hidden-selects.html trunk/themes/blog/jscalendar/calendar-blue.css trunk/themes/blog/jscalendar/calendar-blue2.css trunk/themes/blog/jscalendar/calendar-brown.css trunk/themes/blog/jscalendar/calendar-green.css trunk/themes/blog/jscalendar/calendar-system.css trunk/themes/blog/jscalendar/calendar-tas.css trunk/themes/blog/jscalendar/calendar-win2k-2.css trunk/themes/blog/jscalendar/calendar-win2k-cold-2.css trunk/themes/blog/jscalendar/calendar.php trunk/themes/blog/jscalendar/dayinfo.html trunk/themes/blog/jscalendar/doc/ trunk/themes/blog/jscalendar/doc/html/ trunk/themes/blog/jscalendar/doc/html/field-button.jpg trunk/themes/blog/jscalendar/doc/html/reference-Z-S.css trunk/themes/blog/jscalendar/doc/html/reference.css trunk/themes/blog/jscalendar/doc/html/reference.html trunk/themes/blog/jscalendar/doc/reference.pdf trunk/themes/blog/jscalendar/img.gif trunk/themes/blog/jscalendar/index.html trunk/themes/blog/jscalendar/lang/calendar-al.js trunk/themes/blog/jscalendar/lang/calendar-bg.js trunk/themes/blog/jscalendar/lang/calendar-big5-utf8.js trunk/themes/blog/jscalendar/lang/calendar-big5.js trunk/themes/blog/jscalendar/lang/calendar-cs-utf8.js trunk/themes/blog/jscalendar/lang/calendar-he-utf8.js trunk/themes/blog/jscalendar/lang/calendar-ru_win_.js trunk/themes/blog/jscalendar/lang/cn_utf8.js trunk/themes/blog/jscalendar/menuarrow.gif trunk/themes/blog/jscalendar/menuarrow2.gif trunk/themes/blog/jscalendar/multiple-dates.html trunk/themes/blog/jscalendar/release-notes.html trunk/themes/blog/jscalendar/simple-1.html trunk/themes/blog/jscalendar/simple-2.html trunk/themes/blog/jscalendar/simple-3.html trunk/themes/blog/jscalendar/skins/ trunk/themes/blog/jscalendar/skins/aqua/ trunk/themes/blog/jscalendar/skins/aqua/active-bg.gif trunk/themes/blog/jscalendar/skins/aqua/dark-bg.gif trunk/themes/blog/jscalendar/skins/aqua/hover-bg.gif trunk/themes/blog/jscalendar/skins/aqua/menuarrow.gif trunk/themes/blog/jscalendar/skins/aqua/normal-bg.gif trunk/themes/blog/jscalendar/skins/aqua/rowhover-bg.gif trunk/themes/blog/jscalendar/skins/aqua/status-bg.gif trunk/themes/blog/jscalendar/skins/aqua/theme.css trunk/themes/blog/jscalendar/skins/aqua/title-bg.gif trunk/themes/blog/jscalendar/skins/aqua/today-bg.gif trunk/themes/blog/jscalendar/test-position.html trunk/themes/blog/jscalendar/test.php Added: trunk/themes/blog/jscalendar/ChangeLog =================================================================== --- trunk/themes/blog/jscalendar/ChangeLog (rev 0) +++ trunk/themes/blog/jscalendar/ChangeLog 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,761 @@ +2005-03-07 Mihai Bazon <mih...@ya...> + + * skins/aqua/theme.css: *** empty log message *** + + * release-notes.html: updated release notes + + * calendar-setup.js: + use a better approach to initialize the calendar--don't call _init twice, + it's the most time consuming function in the calendar. Instead, determine + the date beforehand if possible and pass it to the calendar at constructor. + + * calendar.js: + avoid keyboard operation when 'multiple dates' is set (very buggy for now) + + * calendar.js: + fixed keyboard handling problems: now it works fine when "showsOtherMonths" + is passed; it also seems to be fine with disabled dates (won't normally + allow selection)--however this area is still likely to be buggy, i.e. in a + month that has all the dates disabled. + + * calendar.js: + some trivial performance improvements in the _init function + Added Date.parseDate (old Calendar.prototype.parseDate now calls this one) + +2005-03-05 Mihai Bazon <mih...@ya...> + + * release-notes.html: updated release notes + + * dayinfo.html: *** empty log message *** + + * calendar-setup.js: + bugfix--update an inputField even if flat calendar is selected + + * calendar.js: + fixed bugs in parseDate function (if for some reason the input string is + totally broken, then check numbers for NaN and use values from the current + date instead) + + * make-release.pl: copy the skins subdirectory and all skins + + * index.html: added Aqua skin + + * skins/aqua/active-bg.gif, skins/aqua/dark-bg.gif, skins/aqua/hover-bg.gif, skins/aqua/menuarrow.gif, skins/aqua/normal-bg.gif, skins/aqua/rowhover-bg.gif, skins/aqua/status-bg.gif, skins/aqua/theme.css, skins/aqua/title-bg.gif, skins/aqua/today-bg.gif: + in the future, skins will go to this directory, each in a separate subdir; for now there's only Aqua, an excellent new skin + + * calendar.js: workaround IE bug, needed in the Aqua theme + don't hide select elements unless browser is IE or Opera + + * lang/calendar-bg.js, lang/calendar-big5-utf8.js, lang/calendar-big5.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-utf8.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-de.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fi.js, lang/calendar-fr.js, lang/calendar-he-utf8.js, lang/calendar-hu.js, lang/calendar-it.js, lang/calendar-ko-utf8.js, lang/calendar-ko.js, lang/calendar-lt-utf8.js, lang/calendar-lt.js, lang/calendar-lv.js, lang/calendar-nl.js, lang/calendar-no.js, lang/calendar-pl-utf8.js, lang/calendar-pl.js, lang/calendar-pt.js, lang/calendar-ro.js, lang/calendar-ru.js, lang/calendar-ru_win_.js, lang/calendar-si.js, lang/calendar-sk.js, lang/calendar-sp.js, lang/calendar-sv.js, lang/calendar-zh.js, lang/cn_utf8.js: + updated urls, copyright notices + + * doc/reference.tex: updated documentation + + * calendar.js, index.html: + renamed the global variable to _dynarch_popupCalendar to avoid name clashes + + * multiple-dates.html: start with an empty array + + * calendar.js: + fixed bugs in the time selector (12:XX pm was wrongfully understood as 12:XX am) + + * calendar.js: + using innerHTML instead of text nodes; works better in Safari and also makes + a smaller, cleaner code + +2005-03-04 Mihai Bazon <mih...@ya...> + + * calendar.js: + fixed a performance regression that occurred after adding support for multiple dates + fixed the time selection bug (now it keeps time correctly) + clicking today will close the calendar if "today" is already selected + + * lang/cn_utf8.js: new translation + +2005-02-17 Mihai Bazon <mih...@ya...> + + * lang/calendar-ar-utf8.zip: Added arabic translation + +2004-10-19 Mihai Bazon <mih...@ya...> + + * lang/calendar-zh.js: updated + +2004-09-20 Mihai Bazon <mih...@ya...> + + * lang/calendar-no.js: updated (Daniel Holmen) + +2004-09-20 Mihai Bazon <mih...@ya...> + + * lang/calendar-no.js: updated (Daniel Holmen) + +2004-08-11 Mihai Bazon <mih...@ya...> + + * lang/calendar-nl.js: updated language file (thanks to Arjen Duursma) + + * lang/calendar-sp.js: updated (thanks to Rafael Velasco) + +2004-07-21 Mihai Bazon <mih...@ya...> + + * lang/calendar-br.js: updated + + * calendar-setup.js: fixed bug (dateText) + +2004-07-21 Mihai Bazon <mih...@ya...> + + * lang/calendar-br.js: updated + + * calendar-setup.js: fixed bug (dateText) + +2004-07-04 Mihai Bazon <mih...@ya...> + + * lang/calendar-lv.js: + added LV translation (thanks to Juris Valdovskis) + +2004-06-25 Mihai Bazon <mih...@ya...> + + * calendar.js: + fixed bug in IE (el.calendar.tooltips is null or not an object) + +2004-06-24 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: fixed latex compilation + + * index.html: linking other sample files + + * calendar-setup.js, calendar.js, dayinfo.html: + ability to display day info (dateText parameter) + sample file + +2004-06-23 Mihai Bazon <mih...@ya...> + + * doc/reference.tex, lang/calendar-bg.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-ko-utf8.js, lang/calendar-ko.js, lang/calendar-nl.js, lang/calendar-sv.js, README, calendar.js, index.html: + email address changed + +2004-06-14 Mihai Bazon <mih...@ya...> + + * lang/calendar-cs-utf8.js, lang/calendar-cs-win.js: + updated translations + + * calendar-system.css: added z-index to drop downs + + * lang/calendar-en.js: + first day of week can now be part of the language file + + * lang/calendar-es.js: + updated language file (thanks to Servilio Afre Puentes) + + * calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar-blue.css: + added z-index property to drop downs (fixes bug) + +2004-06-13 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: fixed bug (apply showOthers to flat calendars too) + +2004-06-06 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + firstDay defaults to "null", in which case the value in the language file + will be used + + * calendar.js: + firstDayOfWeek can now default to a value specified in the language definition file + + * index.html: first day of week is now numeric + +2004-06-02 Mihai Bazon <mih...@ya...> + + * calendar.js: added date tooltip function + +2004-05-28 Mihai Bazon <mih...@ya...> + + * lang/calendar-br.js: updated (thanks to Marcos Pont) + + * calendar-setup.js: fixed small bug + +2004-05-01 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: returns the calendar object + +2004-04-28 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + patch to read the date value from the inputField, according to ifFormat (if + both are passed), for flat calendars. (thanks Colin T. Hill) + +2004-04-20 Mihai Bazon <mih...@ya...> + + * calendar-setup.js, calendar.js, multiple-dates.html: + added support for multiple dates selection + + * lang/calendar-nl.js: + updated Dutch translation, thanks to Jeroen Wolsink + + * lang/calendar-big5-utf8.js, lang/calendar-big5.js: + Traditional Chinese language (thanks GaryFu) + +2004-03-26 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js, lang/calendar-pt.js: updated + + * lang/calendar-ru_win_.js, lang/calendar-ru.js: + updated, thanks to Sly Golovanov + +2004-03-25 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: updated (thanks to David Duret) + +2004-03-24 Mihai Bazon <mih...@ya...> + + * lang/calendar-da.js: updated (thanks to Michael Thingmand Henriksen) + +2004-03-21 Mihai Bazon <mih...@ya...> + + * lang/calendar-ca.js: updated (thanks to David Valls) + +2004-03-17 Mihai Bazon <mih...@ya...> + + * lang/calendar-de.js: updated to UTF8 (thanks to Jack (tR)) + +2004-03-09 Mihai Bazon <mih...@ya...> + + * lang/calendar-bg.js: Bulgarian translation + +2004-03-08 Mihai Bazon <mih...@ya...> + + * lang/calendar-he-utf8.js: Hebrew translation (thanks to Idan Sofer) + + * lang/calendar-hu.js: updated (thanks to Istvan Karaszi) + +2004-02-27 Mihai Bazon <mih...@ya...> + + * lang/calendar-it.js: updated (thanks to Fabio Di Bernardini) + +2004-02-25 Mihai Bazon <mih...@ya...> + + * calendar.js: fix for Safari (thanks to Olivier Chirouze / XPWeb) + +2004-02-22 Mihai Bazon <mih...@ya...> + + * lang/calendar-al.js: Albanian language file + +2004-02-17 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: fixed + + * lang/calendar-fr.js: + FR translation updated (thanks to SIMON Alexandre) + + * lang/calendar-es.js: ES translation updated, thanks to David Gonzales + +2004-02-10 Mihai Bazon <mih...@ya...> + + * lang/calendar-pt.js: + updated Portugese translation, thanks to Elcio Ferreira + +2004-02-09 Mihai Bazon <mih...@ya...> + + * TODO: updated + +2004-02-06 Mihai Bazon <mih...@ya...> + + * README: describe the PHP files + + * make-release.pl: includes php files + + * make-release.pl: ChangeLog included in the distribution (if found) + + * calendar.js, doc/reference.tex, index.html: switched to version 0.9.6 + + * doc/Calendar.setup.tex, doc/reference.tex: updated documentation + + * release-notes.html: updated release notes + + * calendar.js: Fixed bug: Feb/29 and year change now keeps Feb in view + + * calendar.js: fixed the "ESC" problem (call the close handler) + + * calendar.js: fixed day of year range (1 to 366 instead of 0 to 365) + + * calendar.js: fixed week number calculations + + * doc/reference.tex: fixed (date input format) + + * calendar.php: removed comment + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js: + workaround for IE bug (you can't normally specify through CSS the style for + an element having two classes or more; we had to change a classname) + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + smaller fonts on days that are in neighbor months + +2004-02-04 Mihai Bazon <mih...@ya...> + + * index.html: first demo shows the "showOtherMonths" capability + + * calendar-setup.js: support new parameters in the calendar. + added: firstDay, showOthers, cache. + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js, lang/calendar-en.js, lang/calendar-ro.js: + new parameters: firstDayOfWeek, showsOtherMonths; removed mondayFirst. + This adds support for setting any day to be the first day of week (by just + clicking the day name in the display); also, if showsOtherMonths is enabled + then dates belonging to adjacent months that are in the current view will be + displayed and the calendar will have a fixed height. + + all themes updated. + + * test.php: test for calendar.php + + * calendar.php: fixed bug (pass numeric values as numbers) + +2004-02-01 Mihai Bazon <mih...@ya...> + + * calendar.php: added PHP wrapper + + * img.gif: icon updated + + * TODO: updated TODO list + +2004-01-27 Mihai Bazon <mih...@ya...> + + * calendar.js: + Janusz Piwowarski sent over a patch for IE5 compatibility which is much more + elegant than the atrocities that I had wrote :-D I'm gettin' old.. Thanks Janusz! + + * lang/calendar-fi.js: updated + +2004-01-15 Mihai Bazon <mih...@ya...> + + * TODO: updated TODO list + + * calendar-setup.js: default align changed to "Br" + + * doc/reference.tex: changed default value for "align" + + * calendar-setup.js: calling onchange event handler, if available + + * calendar-setup.js: added "position" option + + * simple-1.html: demonstrates "step" option + + * calendar-setup.js: added "step" option + + * calendar.js: added yearStep config parameter + + * calendar.js: + fixed parseDate routine (the NaN bug which occurred when there was a space + after the date and no time) + +2004-01-14 Mihai Bazon <mih...@ya...> + + * lang/calendar-en.js: added "Time:" + + * test-position.html: test for the new position algorithm + + * index.html: do not destroy() the calendar + avoid bug in parseDate (%p must be separated by non-word characters) + + * menuarrow2.gif: for calendar-blue2.css + + * calendar-setup.js: honor "date" parameter if passed + + * calendar.js: IE5 support is back + performance improvements in IE6 (mouseover combo boxes) + display "Time:" beside the clock area, if defined in the language file + new positioning algorithm (try to keep the calendar in page) + rewrote parseDate a little cleaner + + * lang/calendar-el.js: + updated Greek translation (thanks Alexandros Pappas) + +2004-01-13 Mihai Bazon <mih...@ya...> + + * index.html: added style blue2, using utf-8 instead of iso-8859-2 + + * calendar.js: performance under IE (which sucks, by the way) + + * doc/reference.tex: Sunny added to sponsor list + + * doc/Calendar.setup.tex: documenting parameter 'electric' + + * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + fixed IE text size problems + +2004-01-08 Mihai Bazon <mih...@ya...> + + * lang/calendar-pl.js: + Polish translation updated to UTF-8 (thanks to Artur Filipiak) + +2004-01-07 Mihai Bazon <mih...@ya...> + + * lang/calendar-si.js: updated (David Milost) + + * lang/calendar-si.js: Slovenian translation (thanks to David Milost) + +2003-12-21 Mihai Bazon <mih...@ya...> + + * TODO: updated TODO list + + * lang/calendar-de.js: German translation (thanks to Peter Strotmann) + +2003-12-19 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: Thank you, Ian Barrak + +2003-12-18 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: fixed documentation bug (thanks Mike) + +2003-12-05 Mihai Bazon <mih...@ya...> + + * lang/calendar-ko-utf8.js: + UTF8 version of the Korean language (hopefully correct) + + * lang/calendar-pl-utf8.js, lang/calendar-pl.js: + updated Polish translation (thanks to Janusz Piwowarski) + +2003-12-04 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: + French translation updated (thanks to Angiras Rama) + +2003-11-22 Mihai Bazon <mih...@ya...> + + * lang/calendar-da.js: updated (thanks to Jesper M. Christensen) + +2003-11-20 Mihai Bazon <mih...@ya...> + + * calendar-blue2.css, calendar-tas.css: + new styles (thanks to Wendall Mosemann for blue2, Mark Lynch for tas) + + * lang/calendar-lt-utf8.js, lang/calendar-lt.js: + Lithuanian translation (thanks to Martynas Majeris) + + * lang/calendar-sp.js: updated + +2003-11-17 Mihai Bazon <mih...@ya...> + + * TODO: added TODO list + +2003-11-14 Mihai Bazon <mih...@ya...> + + * lang/calendar-ko.js: Korean translation (thanks to Yourim Yi) + +2003-11-12 Mihai Bazon <mih...@ya...> + + * lang/calendar-jp.js: small bug fixed (thanks to TAHARA Yusei) + +2003-11-10 Mihai Bazon <mih...@ya...> + + * lang/calendar-fr.js: translation updated, thanks to Florent Ramiere + + * calendar-setup.js: + added new parameter: electric (if false then the field will not get updated on each move) + + * index.html: fixed DOCTYPE + +2003-11-07 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + fixed minor problem (maybe we're passing object reference instead of ID for + the flat calendar parent) + +2003-11-06 Mihai Bazon <mih...@ya...> + + * lang/calendar-fi.js: + added Finnish translation (thanks to Antti Tuppurainen) + +2003-11-05 Mihai Bazon <mih...@ya...> + + * release-notes.html: fixed typo + + * doc/reference.tex, index.html, calendar.js: 0.9.5 + + * README: fixed license statement + + * release-notes.html: updated release notes (0.9.5) + +2003-11-03 Mihai Bazon <mih...@ya...> + + * lang/calendar-de.js: + updated German translation (thanks to Gerhard Neiner) + + * calendar-setup.js: fixed license statement + + * calendar.js: whitespace + + * calendar.js: fixed license statement + + * calendar.js: + fixed positioning problem when input field is inside scrolled divs + +2003-11-01 Mihai Bazon <mih...@ya...> + + * lang/calendar-af.js: Afrikaan language (thanks to Derick Olivier) + +2003-10-31 Mihai Bazon <mih...@ya...> + + * lang/calendar-it.js: + updated IT translation (thanks to Christian Blaser) + + * lang/calendar-es.js: updated ES translation, thanks to Raul + +2003-10-30 Mihai Bazon <mih...@ya...> + + * lang/calendar-hu.js: updated thanks to Istvan Karaszi + + * index.html, simple-1.html, simple-2.html, simple-3.html: + switched to utf-8 all encodings + + * lang/calendar-sk.js: + added Slovak translation (thanks to Peter Valach) + + * lang/calendar-ro.js: switched to utf-8 + +2003-10-29 Mihai Bazon <mih...@ya...> + + * lang/calendar-es.js: + updated translation, thanks to Jose Ma. Martinez Miralles + + * doc/reference.tex: + fixed the footnote problem (thanks Dominique de Waleffe for the tip) + + * lang/calendar-ro.js: fixed typo + + * lang/calendar-sv.js: oops, license should be LGPL + + * lang/calendar-sw.js: new swedish translation is calendar-sv.js + + * menuarrow.gif, menuarrow.png: + oops, forgot little drop-down menu arrows + + * lang/calendar-sv.js: swedish translation thanks to Leonard Norrgard + + * index.html: oops, some other minor changes + + * index.html, release-notes.html: + latest changes in release-notes and index page for 0.9.4 + + * doc/reference.tex, calendar.js: + added %s date format (# of seconds since Epoch) + + * calendar.js: + A click on TODAY will not close the calendar, even in single-click mode + +2003-10-28 Mihai Bazon <mih...@ya...> + + * index.html: previous cal.html + + * cal.html: moved to index.html + + * README, cal.html, doc/reference.tex, lang/calendar-de.js, lang/calendar-en.js, lang/calendar-ro.js, release-notes.html: + LGPL license, forever. + + * doc/Calendar.setup.tex, simple-1.html: + doc updated for the onUpdate parameter to Calendar.setup + +2003-10-26 Mihai Bazon <mih...@ya...> + + * calendar.js: fixed bug (correct display of the dropdown menus) + + * doc/Calendar.setup.tex, doc/reference.tex, lang/calendar-de.js, lang/calendar-en.js, lang/calendar-ro.js, README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-setup.js, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js, release-notes.html, simple-1.html, simple-3.html: + lots of changes for the 0.9.4 release (see the release-notes.html) + +2003-10-15 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: + documentation updated for 0.9.4 (not yet finished though) + +2003-10-07 Mihai Bazon <mih...@ya...> + + * calendar.js, doc/reference.tex, release-notes.html, README, cal.html, calendar-setup.js: + modified project website + +2003-10-06 Mihai Bazon <mih...@ya...> + + * calendar-setup.js: + added some properties (onSelect, onClose, date) (thanks altblue) + +2003-09-24 Mihai Bazon <mih...@ya...> + + * simple-3.html: dateIsSpecial does not need the "date" argument ;-) + +2003-09-24 fsoft <fsoft@mishoo> + + * calendar.js, simple-3.html: + added year, month, day to getDateStatus() function + +2003-09-24 Mihai Bazon <mih...@ya...> + + * simple-3.html: example on how to use special dates + + * calendar-setup.js, calendar.js, simple-1.html: + support for special dates (thanks fabio) + +2003-09-17 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: fixed error in section 3. + +2003-08-01 Mihai Bazon <mih...@ya...> + + * lang/calendar-jp.js: added Japanese translation + +2003-07-16 Mihai Bazon <mih...@ya...> + + * simple-1.html: fixed problem with first example [IE,Opera] + +2003-07-09 Mihai Bazon <mih...@ya...> + + * doc/Calendar.setup.tex: fixed typo (closing parenthesis) + + * lang/calendar-de.js: + added German translation, thanks to Hartwig Weinkauf + +2003-07-08 Mihai Bazon <mih...@ya...> + + * cal.html: added link to release-notes + + * release-notes.html: 0.9.3 release notes + + * make-release.pl: + Script to create distribution archive. It needs some additional packages: + + - LaTeX + - tex2page + - jscrunch (JS compressor) + + * doc/html/makedoc.sh, doc/html/reference.css, doc/reference.tex, doc/makedoc.sh: + documentation updates... + + * calendar.js: added semicolon to make the code "compressible" + +2003-07-06 Mihai Bazon <mih...@ya...> + + * doc/reference.tex: spell checked + + * doc/reference.tex: [minor] changed credits order + + * doc/reference.tex: various improvements and additions + + * doc/html/reference.css: minor eye-candy tweaks + +2003-07-05 Mihai Bazon <mih...@ya...> + + * doc/html/Calendar.setup.html.tex, doc/html/makedoc.sh, doc/html/reference.css, doc/html/reference.t2p, doc/hyperref.cfg, doc/makedoc.sh, doc/reference.tex, doc/Calendar.setup.tex, doc/Calendar.setup.pdf.tex: + full documentation in LaTeX, for PDF and HTML formats + + * simple-2.html: + added demonstration of flat calendar with Calendar.setup + + * simple-1.html: + modified some links, added link to documentation, added demonstration of + disableFunc property + + * calendar-setup.js: added the ability to create flat calendar too + + * cal.html: added links to documentation and simple-[12].html pages + + * README: up-to-date... + + * calendar-setup.html: removed: the documentation is unified + +2003-07-03 Mihai Bazon <mih...@ya...> + + * cal.html: some links to newly added files + + * calendar-setup.html, calendar-setup.js, img.gif, simple-1.html: + added some files to simplify calendar creation for non-(JS)-programmers + + * lang/calendar-zh.js: added simplified chinese (thanks ATang) + +2003-07-02 Mihai Bazon <mih...@ya...> + + * calendar.js: * "yy"-related... [small fix] + + * calendar.js: + * #721833 fixed (yy format will understand years prior to 29 as 20xx) + + * calendar.js: * added refresh() function + + * calendar.js: * fixed bug when in single click mode + * added alignment options to "showAtElement" member function + +2003-06-25 Mihai Bazon <mih...@ya...> + + * lang/calendar-pt.js: + added portugese translation (thanks Nuno Barreto) + +2003-06-24 Mihai Bazon <mih...@ya...> + + * calendar.js: + call user handler when the date was changed using the keyboard + + * bugtest-hidden-selects.html: + file to test bug with hidden select-s (thanks Ying Zhang for reporting and for this test file) + + * lang/calendar-hr-utf8.js: + added croatian translation in utf8 (thanks Krunoslav Zubrinic) + +2003-06-23 Mihai Bazon <mih...@ya...> + + * lang/calendar-hu.js: added hungarian translation + + * lang/calendar-hr.js: + added croatian translation (thanks to Krunoslav Zubrinic) + +2003-06-22 Mihai Bazon <mih...@ya...> + + * calendar.js: + * #723335 fixed (clicking TODAY will not select the today date if the + disabledHandler rejects it) + + * cal.html: * new code for to work with fix for bug #703238 + * switch to new version + + * calendar.js: + * some patches to make code compatible with Opera 7 (well, almost compatible) + * bug #703238 fixed (fix breaks compatibility with older code that uses + calendar in single-click mode) + * bug #703814 fixed + +2003-04-09 Mihai Bazon <mih...@ya...> + + * lang/calendar-tr.js: added turkish lang file + +2003-03-19 Mihai Bazon <mih...@ya...> + + * lang/calendar-ru.js: russian translation added + + * lang/calendar-no.js: norwegian translation added + +2003-03-15 Mihai Bazon <mih...@ya...> + + * lang/calendar-no.js: norwegian translation + +2003-03-12 Mihai Bazon <mih...@ya...> + + * lang/calendar-pl.js: added polish translation + +2003-03-11 Mihai Bazon <mih...@ya...> + + * calendar.js: + bugfix in parseDate (added base to parseInt, thanks Alan!) + +2003-03-05 Mihai Bazon <mih...@ya...> + + * calendar.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-du.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-nl.js, lang/calendar-ro.js, lang/calendar-sp.js, lang/calendar-sw.js: + New file. + + * calendar.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-du.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-nl.js, lang/calendar-ro.js, lang/calendar-sp.js, lang/calendar-sw.js: + moved to CVS at sourceforge.net + release: 0.9.2 + new language packs + + + * README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + New file. + + * README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: + moved to CVS at sourceforge.net + release: 0.9.2 + new language packs + + Added: trunk/themes/blog/jscalendar/bugtest-hidden-selects.html =================================================================== --- trunk/themes/blog/jscalendar/bugtest-hidden-selects.html (rev 0) +++ trunk/themes/blog/jscalendar/bugtest-hidden-selects.html 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,108 @@ +<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ro" lang="ro"> + +<head> +<title>Bug</title> +<link rel="stylesheet" type="text/css" media="all" href="calendar-win2k-1.css" title="win2k-1" /> + +<!-- import the calendar script --> +<script type="text/javascript" src="calendar.js"></script> + +<!-- import the language module --> +<script type="text/javascript" src="lang/calendar-en.js"></script> + +<!-- helper script that uses the calendar --> +<script type="text/javascript"> +// This function gets called when the end-user clicks on some date. +function selected(cal, date) { + cal.sel.value = date; // just update the date in the input field. + if (cal.sel.id == "sel1" || cal.sel.id == "sel3") + // if we add this call we close the calendar on single-click. + // just to exemplify both cases, we are using this only for the 1st + // and the 3rd field, while 2nd and 4th will still require double-click. + cal.callCloseHandler(); +} + +// And this gets called when the end-user clicks on the _selected_ date, +// or clicks on the "Close" button. It just hides the calendar without +// destroying it. +function closeHandler(cal) { + cal.hide(); // hide the calendar +} + +// This function shows the calendar under the element having the given id. +// It takes care of catching "mousedown" signals on document and hiding the +// calendar if the click was outside. +function showCalendar(id, format) { + var el = document.getElementById(id); + if (calendar != null) { + // we already have some calendar created + calendar.hide(); // so we hide it first. + } else { + // first-time call, create the calendar. + var cal = new Calendar(false, null, selected, closeHandler); + // uncomment the following line to hide the week numbers + // cal.weekNumbers = false; + calendar = cal; // remember it in the global var + cal.setRange(1900, 2070); // min/max year allowed. + cal.create(); + } + calendar.setDateFormat(format); // set the specified date format + calendar.parseDate(el.value); // try to parse the text in field + calendar.sel = el; // inform it what input field we use + calendar.showAtElement(el); // show the calendar below it + + return false; +} + +var MINUTE = 60 * 1000; +var HOUR = 60 * MINUTE; +var DAY = 24 * HOUR; +var WEEK = 7 * DAY; + +// If this handler returns true then the "date" given as +// parameter will be disabled. In this example we enable +// only days within a range of 10 days from the current +// date. +// You can use the functions date.getFullYear() -- returns the year +// as 4 digit number, date.getMonth() -- returns the month as 0..11, +// and date.getDate() -- returns the date of the month as 1..31, to +// make heavy calculations here. However, beware that this function +// should be very fast, as it is called for each day in a month when +// the calendar is (re)constructed. +function isDisabled(date) { + var today = new Date(); + return (Math.abs(date.getTime() - today.getTime()) / DAY) > 10; +} +</script> +</head> + +<body> +<form> +<b>Date:</b> +<br> +<input type="text" name="date1" id="sel1" size="30"> +<input type="button" value="..." onclick="return showCalendar('sel1', 'y-m-d');"> +<p> +<br> +<br><b>Visible <select>, hides and unhides as expected</b> +<br> +<select name="foo" multiple> +<option value="1">can use the functions date.getFullYear() -- returns</option> +<option value="2">4 digit number, date.getMonth() -- returns the month</option> +<option value="3">heavy calculations here. However, beware that this</option> +</select> + +<p> +<br><b>Hidden <select>, it should stay hidden (but doesn't)</b> +<br> +<select name="foo2" multiple style="visibility: hidden"> +<option value="1">this should</option> +<option value="2">remain hidden right?</option> +</select> + +<p> +<br><b>Hidden textbox below, it stays hidden as expected</b> +<br> +<input type="text" name="foo3" value="this stays hidden just fine" style="visibility: hidden"> +</form> +</body></html> Added: trunk/themes/blog/jscalendar/calendar-blue.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-blue.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-blue.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,232 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #556; + font-size: 11px; + color: #000; + cursor: default; + background: #eef; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #778 url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #fff; + color: #000; + padding: 2px; +} + +.calendar thead .headrow { /* Row <TR> containing navigation buttons */ + background: #778; + color: #fff; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #bdf; +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #556; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #aaf; + color: #000; + border: 1px solid #04f; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #77c; + padding: 2px 0px 0px 2px; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + color: #456; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #bdf; +} + +.calendar tbody .rowhilite td { + background: #def; +} + +.calendar tbody .rowhilite td.wn { + background: #eef; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #cde; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fff; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { /* Cell showing selected date */ + font-weight: bold; + color: #00f; +} + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #556; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + background: #fff; + color: #445; + border-top: 1px solid #556; + padding: 1px; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #aaf; + border: 1px solid #04f; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #77c; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #def; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #acf; +} + +.calendar .combo .active { + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + background: #eef; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0px; + text-align: center; + background-color: #f4f0e8; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #889; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #667; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} Added: trunk/themes/blog/jscalendar/calendar-blue2.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-blue2.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-blue2.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,236 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #206A9B; + font-size: 11px; + color: #000; + cursor: default; + background: #F1F8FC; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #007ED1 url(menuarrow2.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #000; + color: #fff; + padding: 2px; +} + +.calendar thead tr { /* Row <TR> containing navigation buttons */ + background: #007ED1; + color: #fff; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #C7E1F3; +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #206A9B; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #34ABFA; + color: #000; + border: 1px solid #016DC5; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #006AA9; + border: 1px solid #008AFF; + padding: 2px 0px 0px 2px; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + color: #456; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #C7E1F3; +} + +.calendar tbody .rowhilite td { + background: #def; +} + +.calendar tbody .rowhilite td.wn { + background: #F1F8FC; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #8FC4E8; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #cde; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fff; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { /* Cell showing selected date */ + font-weight: bold; + color: #D50000; +} + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #206A9B; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + background: #000; + color: #fff; + border-top: 1px solid #206A9B; + padding: 1px; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #B8DAF0; + border: 1px solid #178AEB; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #006AA9; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #def; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #34ABFA; + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + font-weight: bold; +} + +.calendar .combo .active { + border-top: 1px solid #46a; + border-bottom: 1px solid #46a; + background: #F1F8FC; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0px; + text-align: center; + background-color: #E3F0F9; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #889; + font-weight: bold; + background-color: #F1F8FC; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #267DB7; + color: #fff; +} + +.calendar td.time span.active { + border-color: red; + background-color: #000; + color: #A5FF00; +} Added: trunk/themes/blog/jscalendar/calendar-brown.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-brown.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-brown.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,225 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #655; + font-size: 11px; + color: #000; + cursor: default; + background: #ffd; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ +} + +.calendar .nav { + background: #edc url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + background: #654; + color: #fed; + padding: 2px; +} + +.calendar thead .headrow { /* Row <TR> containing navigation buttons */ + background: #edc; + color: #000; +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #655; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #f00; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #faa; + color: #000; + border: 1px solid #f40; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #c77; + padding: 2px 0px 0px 2px; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #fed; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #000; + background: #fed; +} + +.calendar tbody .rowhilite td { + background: #ddf; +} + +.calendar tbody .rowhilite td.wn { + background: #efe; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #ffe; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #ddc; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #fea; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #f00; +} + +.calendar tbody td.today { font-weight: bold; } + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #988; + color: #000; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + border-top: 1px solid #655; + background: #dcb; + color: #840; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #faa; + border: 1px solid #f40; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #c77; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #655; + background: #ffe; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #fc8; +} + +.calendar .combo .active { + border-top: 1px solid #a64; + border-bottom: 1px solid #a64; + background: #fee; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #a88; + padding: 1px 0px; + text-align: center; + background-color: #fed; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #988; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #866; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} Added: trunk/themes/blog/jscalendar/calendar-green.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-green.css (rev 0) +++ trunk/themes/blog/jscalendar/calendar-green.css 2015-04-01 14:33:34 UTC (rev 9638) @@ -0,0 +1,229 @@ +/* The main calendar widget. DIV containing a table. */ + +div.calendar { position: relative; } + +.calendar, .calendar table { + border: 1px solid #565; + font-size: 11px; + color: #000; + cursor: default; + background: #efe; + font-family: tahoma,verdana,sans-serif; +} + +/* Header part -- contains navigation buttons and day names. */ + +.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ + background: #676; + color: #fff; + font-size: 90%; +} + +.calendar .nav { + background: #676 url(menuarrow.gif) no-repeat 100% 100%; +} + +.calendar thead .title { /* This holds the current "month, year" */ + font-weight: bold; /* Pressing it will take you to the current date */ + text-align: center; + padding: 2px; + background: #250; + color: #efa; +} + +.calendar thead .headrow { /* Row <TR> containing navigation buttons */ +} + +.calendar thead .name { /* Cells <TD> containing the day names */ + border-bottom: 1px solid #565; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #a66; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background-color: #afa; + color: #000; + border: 1px solid #084; + padding: 1px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background-color: #7c7; + padding: 2px 0px 0px 2px; +} + +.calendar thead .daynames { /* Row <TR> containing the day names */ + background: #dfb; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells <TD> containing month days dates */ + width: 2em; + color: #564; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #bbb; +} +.calendar tbody .day.othermonth.oweekend { + color: #fbb; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #8a8; + background: #dfb; +} + +.calendar tbody .rowhilite td { + background: #dfd; +} + +.calendar tbody .rowhilite td.wn { + background: #efe; +} + +.calendar tbody td.hilite { /* Hovered cells <TD> */ + background: #efd; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells <TD> */ + background: #dec; + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.selected { /* Cell showing today date */ + font-weight: bold; + border: 1px solid #000; + padding: 1px 3px 1px 1px; + background: #f8fff8; + color: #000; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #a66; +} + +.calendar tbody td.today { font-weight: bold; color: #0a0; } + +.calendar tbody .disabled { color: #999; } + +.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ + visibility: hidden; +} + +.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ + display: none; +} + +/* The footer part -- status bar and "Close" button */ + +.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ + text-align: center; + background: #565; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ + padding: 2px; + background: #250; + color: #efa; +} + +.calendar tfoot .hilite { /* Hover style for buttons in footer */ + background: #afa; + border: 1px solid #084; + color: #000; + padding: 1px; +} + +.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ + background: #7c7; + padding: 2px 0px 0px 2px; +} + +/* Combo boxes (menus that display months/years for direct selection) */ + +.calendar .combo { + position: absolute; + display: none; + top: 0px; + left: 0px; + width: 4em; + cursor: default; + border: 1px solid #565; + background: #efd; + color: #000; + font-size: 90%; + z-index: 100; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: #af8; +} + +.calendar .combo .active { + border-top: 1px solid #6a4; + border-bottom: 1px solid #6a4; + background: #efe; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #8a8; + padding: 1px 0px; + text-align: center; + background-color: #dfb; +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 3px 0px 4px; + border: 1px solid #898; + font-weight: bold; + background-color: #fff; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + border-color: #000; + background-color: #686; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} Modified: trunk/themes/blog/jscalendar/calendar-setup.js =================================================================== --- trunk/themes/blog/jscalendar/calendar-setup.js 2015-04-01 13:52:48 UTC (rev 9637) +++ trunk/themes/blog/jscalendar/calendar-setup.js 2015-04-01 14:33:34 UTC (rev 9638) @@ -198,203 +198,3 @@ return cal; }; -/* Copyright Mihai Bazon, 2002, 2003 | http://dynarch.com/mishoo/ - * --------------------------------------------------------------------------- - * - * The DHTML Calendar - * - * Details and latest version at: - * http://dynarch.com/mishoo/calendar.epl - * - * This script is distributed under the GNU Lesser General Public License. - * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html - * - * This file defines helper functions for setting up the calendar. They are - * intended to help non-programmers get a working calendar on their site - * quickly. This script should not be seen as part of the calendar. It just - * shows you what one can do with the calendar, while in the same time - * providing a quick and simple method for setting it up. If you need - * exhaustive customization of the calendar creation process feel free to - * modify this code to suit your needs (this is recommended and much better - * than modifying calendar.js itself). - */ - -// $Id$ - -/** - * This function "patches" an input field (or other element) to use a calendar - * widget for date selection. - * - * The "params" is a single object that can have the following properties: - * - * prop. name | description - * ------------------------------------------------------------------------------------------------- - * inputField | the ID of an input field to store the date - * displayArea | the ID of a DIV or other element to show the date - * button | ID of a button or other element that will trigger the calendar - * eventName | event that will trigger the calendar, without the "on" prefix (default: "click") - * ifFormat | date format that will be stored in the input field - * daFormat | the date format that will be used to display the date in displayArea - * singleClick | (true/false) wether the calendar is in single click mode or not (default: true) - * firstDay | numeric: 0 to 6. "0" means display Sunday first, "1" means display Monday first, etc. - * align | alignment (default: "Br"); if you don't know what's this see the calendar documentation - * range | array with 2 elements. Default: [1900, 2999] -- the range of years available - * weekNumbers | (true/false) if it's true (default) the calendar will display week numbers - * flat | null or element ID; if not null the calendar will be a flat calendar having the parent with the given ID - * flatCallback | function that receives a JS Date object and returns an URL to point the browser to (for flat calendar) - * disableFunc | function that receives a JS Date object and should return true if that date has to be disabled in the calendar - * onSelect | function that gets called when a date is selected. You don't _have_ to supply this (the default is generally okay) - * onClose | function that gets called when the calendar is closed. [default] - * onUpdate | function that gets called after the date is updated in the input field. Receives a reference to the calendar. - * date | the date that the calendar will be initially displayed to - * showsTime | default: false; if true the calendar will include a time selector - * timeFormat | the time format; can be "12" or "24", default is "12" - * electric | if true (default) then given fields/date areas are updated for each move; otherwise they're updated only on close - * step | configures the step of the years in drop-down boxes; default: 2 - * position | configures the calendar absolute position; default: null - * cache | ... [truncated message content] |
From: <var...@us...> - 2015-04-14 16:41:53
|
Revision: 9669 http://sourceforge.net/p/phpwiki/code/9669 Author: vargenau Date: 2015-04-14 16:41:51 +0000 (Tue, 14 Apr 2015) Log Message: ----------- jscalendar: remove useless files Removed Paths: ------------- trunk/themes/blog/jscalendar/ChangeLog trunk/themes/blog/jscalendar/calendar-system.css trunk/themes/blog/jscalendar/calendar-tas.css trunk/themes/blog/jscalendar/doc/ trunk/themes/blog/jscalendar/simple-1.html trunk/themes/blog/jscalendar/simple-2.html Deleted: trunk/themes/blog/jscalendar/ChangeLog =================================================================== --- trunk/themes/blog/jscalendar/ChangeLog 2015-04-14 16:31:05 UTC (rev 9668) +++ trunk/themes/blog/jscalendar/ChangeLog 2015-04-14 16:41:51 UTC (rev 9669) @@ -1,761 +0,0 @@ -2005-03-07 Mihai Bazon <mih...@ya...> - - * skins/aqua/theme.css: *** empty log message *** - - * release-notes.html: updated release notes - - * calendar-setup.js: - use a better approach to initialize the calendar--don't call _init twice, - it's the most time consuming function in the calendar. Instead, determine - the date beforehand if possible and pass it to the calendar at constructor. - - * calendar.js: - avoid keyboard operation when 'multiple dates' is set (very buggy for now) - - * calendar.js: - fixed keyboard handling problems: now it works fine when "showsOtherMonths" - is passed; it also seems to be fine with disabled dates (won't normally - allow selection)--however this area is still likely to be buggy, i.e. in a - month that has all the dates disabled. - - * calendar.js: - some trivial performance improvements in the _init function - Added Date.parseDate (old Calendar.prototype.parseDate now calls this one) - -2005-03-05 Mihai Bazon <mih...@ya...> - - * release-notes.html: updated release notes - - * dayinfo.html: *** empty log message *** - - * calendar-setup.js: - bugfix--update an inputField even if flat calendar is selected - - * calendar.js: - fixed bugs in parseDate function (if for some reason the input string is - totally broken, then check numbers for NaN and use values from the current - date instead) - - * make-release.pl: copy the skins subdirectory and all skins - - * index.html: added Aqua skin - - * skins/aqua/active-bg.gif, skins/aqua/dark-bg.gif, skins/aqua/hover-bg.gif, skins/aqua/menuarrow.gif, skins/aqua/normal-bg.gif, skins/aqua/rowhover-bg.gif, skins/aqua/status-bg.gif, skins/aqua/theme.css, skins/aqua/title-bg.gif, skins/aqua/today-bg.gif: - in the future, skins will go to this directory, each in a separate subdir; for now there's only Aqua, an excellent new skin - - * calendar.js: workaround IE bug, needed in the Aqua theme - don't hide select elements unless browser is IE or Opera - - * lang/calendar-bg.js, lang/calendar-big5-utf8.js, lang/calendar-big5.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-utf8.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-de.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fi.js, lang/calendar-fr.js, lang/calendar-he-utf8.js, lang/calendar-hu.js, lang/calendar-it.js, lang/calendar-ko-utf8.js, lang/calendar-ko.js, lang/calendar-lt-utf8.js, lang/calendar-lt.js, lang/calendar-lv.js, lang/calendar-nl.js, lang/calendar-no.js, lang/calendar-pl-utf8.js, lang/calendar-pl.js, lang/calendar-pt.js, lang/calendar-ro.js, lang/calendar-ru.js, lang/calendar-ru_win_.js, lang/calendar-si.js, lang/calendar-sk.js, lang/calendar-sp.js, lang/calendar-sv.js, lang/calendar-zh.js, lang/cn_utf8.js: - updated urls, copyright notices - - * doc/reference.tex: updated documentation - - * calendar.js, index.html: - renamed the global variable to _dynarch_popupCalendar to avoid name clashes - - * multiple-dates.html: start with an empty array - - * calendar.js: - fixed bugs in the time selector (12:XX pm was wrongfully understood as 12:XX am) - - * calendar.js: - using innerHTML instead of text nodes; works better in Safari and also makes - a smaller, cleaner code - -2005-03-04 Mihai Bazon <mih...@ya...> - - * calendar.js: - fixed a performance regression that occurred after adding support for multiple dates - fixed the time selection bug (now it keeps time correctly) - clicking today will close the calendar if "today" is already selected - - * lang/cn_utf8.js: new translation - -2005-02-17 Mihai Bazon <mih...@ya...> - - * lang/calendar-ar-utf8.zip: Added arabic translation - -2004-10-19 Mihai Bazon <mih...@ya...> - - * lang/calendar-zh.js: updated - -2004-09-20 Mihai Bazon <mih...@ya...> - - * lang/calendar-no.js: updated (Daniel Holmen) - -2004-09-20 Mihai Bazon <mih...@ya...> - - * lang/calendar-no.js: updated (Daniel Holmen) - -2004-08-11 Mihai Bazon <mih...@ya...> - - * lang/calendar-nl.js: updated language file (thanks to Arjen Duursma) - - * lang/calendar-sp.js: updated (thanks to Rafael Velasco) - -2004-07-21 Mihai Bazon <mih...@ya...> - - * lang/calendar-br.js: updated - - * calendar-setup.js: fixed bug (dateText) - -2004-07-21 Mihai Bazon <mih...@ya...> - - * lang/calendar-br.js: updated - - * calendar-setup.js: fixed bug (dateText) - -2004-07-04 Mihai Bazon <mih...@ya...> - - * lang/calendar-lv.js: - added LV translation (thanks to Juris Valdovskis) - -2004-06-25 Mihai Bazon <mih...@ya...> - - * calendar.js: - fixed bug in IE (el.calendar.tooltips is null or not an object) - -2004-06-24 Mihai Bazon <mih...@ya...> - - * doc/reference.tex: fixed latex compilation - - * index.html: linking other sample files - - * calendar-setup.js, calendar.js, dayinfo.html: - ability to display day info (dateText parameter) + sample file - -2004-06-23 Mihai Bazon <mih...@ya...> - - * doc/reference.tex, lang/calendar-bg.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-ko-utf8.js, lang/calendar-ko.js, lang/calendar-nl.js, lang/calendar-sv.js, README, calendar.js, index.html: - email address changed - -2004-06-14 Mihai Bazon <mih...@ya...> - - * lang/calendar-cs-utf8.js, lang/calendar-cs-win.js: - updated translations - - * calendar-system.css: added z-index to drop downs - - * lang/calendar-en.js: - first day of week can now be part of the language file - - * lang/calendar-es.js: - updated language file (thanks to Servilio Afre Puentes) - - * calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar-blue.css: - added z-index property to drop downs (fixes bug) - -2004-06-13 Mihai Bazon <mih...@ya...> - - * calendar-setup.js: fixed bug (apply showOthers to flat calendars too) - -2004-06-06 Mihai Bazon <mih...@ya...> - - * calendar-setup.js: - firstDay defaults to "null", in which case the value in the language file - will be used - - * calendar.js: - firstDayOfWeek can now default to a value specified in the language definition file - - * index.html: first day of week is now numeric - -2004-06-02 Mihai Bazon <mih...@ya...> - - * calendar.js: added date tooltip function - -2004-05-28 Mihai Bazon <mih...@ya...> - - * lang/calendar-br.js: updated (thanks to Marcos Pont) - - * calendar-setup.js: fixed small bug - -2004-05-01 Mihai Bazon <mih...@ya...> - - * calendar-setup.js: returns the calendar object - -2004-04-28 Mihai Bazon <mih...@ya...> - - * calendar-setup.js: - patch to read the date value from the inputField, according to ifFormat (if - both are passed), for flat calendars. (thanks Colin T. Hill) - -2004-04-20 Mihai Bazon <mih...@ya...> - - * calendar-setup.js, calendar.js, multiple-dates.html: - added support for multiple dates selection - - * lang/calendar-nl.js: - updated Dutch translation, thanks to Jeroen Wolsink - - * lang/calendar-big5-utf8.js, lang/calendar-big5.js: - Traditional Chinese language (thanks GaryFu) - -2004-03-26 Mihai Bazon <mih...@ya...> - - * lang/calendar-fr.js, lang/calendar-pt.js: updated - - * lang/calendar-ru_win_.js, lang/calendar-ru.js: - updated, thanks to Sly Golovanov - -2004-03-25 Mihai Bazon <mih...@ya...> - - * lang/calendar-fr.js: updated (thanks to David Duret) - -2004-03-24 Mihai Bazon <mih...@ya...> - - * lang/calendar-da.js: updated (thanks to Michael Thingmand Henriksen) - -2004-03-21 Mihai Bazon <mih...@ya...> - - * lang/calendar-ca.js: updated (thanks to David Valls) - -2004-03-17 Mihai Bazon <mih...@ya...> - - * lang/calendar-de.js: updated to UTF8 (thanks to Jack (tR)) - -2004-03-09 Mihai Bazon <mih...@ya...> - - * lang/calendar-bg.js: Bulgarian translation - -2004-03-08 Mihai Bazon <mih...@ya...> - - * lang/calendar-he-utf8.js: Hebrew translation (thanks to Idan Sofer) - - * lang/calendar-hu.js: updated (thanks to Istvan Karaszi) - -2004-02-27 Mihai Bazon <mih...@ya...> - - * lang/calendar-it.js: updated (thanks to Fabio Di Bernardini) - -2004-02-25 Mihai Bazon <mih...@ya...> - - * calendar.js: fix for Safari (thanks to Olivier Chirouze / XPWeb) - -2004-02-22 Mihai Bazon <mih...@ya...> - - * lang/calendar-al.js: Albanian language file - -2004-02-17 Mihai Bazon <mih...@ya...> - - * lang/calendar-fr.js: fixed - - * lang/calendar-fr.js: - FR translation updated (thanks to SIMON Alexandre) - - * lang/calendar-es.js: ES translation updated, thanks to David Gonzales - -2004-02-10 Mihai Bazon <mih...@ya...> - - * lang/calendar-pt.js: - updated Portugese translation, thanks to Elcio Ferreira - -2004-02-09 Mihai Bazon <mih...@ya...> - - * TODO: updated - -2004-02-06 Mihai Bazon <mih...@ya...> - - * README: describe the PHP files - - * make-release.pl: includes php files - - * make-release.pl: ChangeLog included in the distribution (if found) - - * calendar.js, doc/reference.tex, index.html: switched to version 0.9.6 - - * doc/Calendar.setup.tex, doc/reference.tex: updated documentation - - * release-notes.html: updated release notes - - * calendar.js: Fixed bug: Feb/29 and year change now keeps Feb in view - - * calendar.js: fixed the "ESC" problem (call the close handler) - - * calendar.js: fixed day of year range (1 to 366 instead of 0 to 365) - - * calendar.js: fixed week number calculations - - * doc/reference.tex: fixed (date input format) - - * calendar.php: removed comment - - * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js: - workaround for IE bug (you can't normally specify through CSS the style for - an element having two classes or more; we had to change a classname) - - * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-tas.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: - smaller fonts on days that are in neighbor months - -2004-02-04 Mihai Bazon <mih...@ya...> - - * index.html: first demo shows the "showOtherMonths" capability - - * calendar-setup.js: support new parameters in the calendar. - added: firstDay, showOthers, cache. - - * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js, lang/calendar-en.js, lang/calendar-ro.js: - new parameters: firstDayOfWeek, showsOtherMonths; removed mondayFirst. - This adds support for setting any day to be the first day of week (by just - clicking the day name in the display); also, if showsOtherMonths is enabled - then dates belonging to adjacent months that are in the current view will be - displayed and the calendar will have a fixed height. - - all themes updated. - - * test.php: test for calendar.php - - * calendar.php: fixed bug (pass numeric values as numbers) - -2004-02-01 Mihai Bazon <mih...@ya...> - - * calendar.php: added PHP wrapper - - * img.gif: icon updated - - * TODO: updated TODO list - -2004-01-27 Mihai Bazon <mih...@ya...> - - * calendar.js: - Janusz Piwowarski sent over a patch for IE5 compatibility which is much more - elegant than the atrocities that I had wrote :-D I'm gettin' old.. Thanks Janusz! - - * lang/calendar-fi.js: updated - -2004-01-15 Mihai Bazon <mih...@ya...> - - * TODO: updated TODO list - - * calendar-setup.js: default align changed to "Br" - - * doc/reference.tex: changed default value for "align" - - * calendar-setup.js: calling onchange event handler, if available - - * calendar-setup.js: added "position" option - - * simple-1.html: demonstrates "step" option - - * calendar-setup.js: added "step" option - - * calendar.js: added yearStep config parameter - - * calendar.js: - fixed parseDate routine (the NaN bug which occurred when there was a space - after the date and no time) - -2004-01-14 Mihai Bazon <mih...@ya...> - - * lang/calendar-en.js: added "Time:" - - * test-position.html: test for the new position algorithm - - * index.html: do not destroy() the calendar - avoid bug in parseDate (%p must be separated by non-word characters) - - * menuarrow2.gif: for calendar-blue2.css - - * calendar-setup.js: honor "date" parameter if passed - - * calendar.js: IE5 support is back - performance improvements in IE6 (mouseover combo boxes) - display "Time:" beside the clock area, if defined in the language file - new positioning algorithm (try to keep the calendar in page) - rewrote parseDate a little cleaner - - * lang/calendar-el.js: - updated Greek translation (thanks Alexandros Pappas) - -2004-01-13 Mihai Bazon <mih...@ya...> - - * index.html: added style blue2, using utf-8 instead of iso-8859-2 - - * calendar.js: performance under IE (which sucks, by the way) - - * doc/reference.tex: Sunny added to sponsor list - - * doc/Calendar.setup.tex: documenting parameter 'electric' - - * calendar-blue.css, calendar-blue2.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: - fixed IE text size problems - -2004-01-08 Mihai Bazon <mih...@ya...> - - * lang/calendar-pl.js: - Polish translation updated to UTF-8 (thanks to Artur Filipiak) - -2004-01-07 Mihai Bazon <mih...@ya...> - - * lang/calendar-si.js: updated (David Milost) - - * lang/calendar-si.js: Slovenian translation (thanks to David Milost) - -2003-12-21 Mihai Bazon <mih...@ya...> - - * TODO: updated TODO list - - * lang/calendar-de.js: German translation (thanks to Peter Strotmann) - -2003-12-19 Mihai Bazon <mih...@ya...> - - * doc/reference.tex: Thank you, Ian Barrak - -2003-12-18 Mihai Bazon <mih...@ya...> - - * doc/reference.tex: fixed documentation bug (thanks Mike) - -2003-12-05 Mihai Bazon <mih...@ya...> - - * lang/calendar-ko-utf8.js: - UTF8 version of the Korean language (hopefully correct) - - * lang/calendar-pl-utf8.js, lang/calendar-pl.js: - updated Polish translation (thanks to Janusz Piwowarski) - -2003-12-04 Mihai Bazon <mih...@ya...> - - * lang/calendar-fr.js: - French translation updated (thanks to Angiras Rama) - -2003-11-22 Mihai Bazon <mih...@ya...> - - * lang/calendar-da.js: updated (thanks to Jesper M. Christensen) - -2003-11-20 Mihai Bazon <mih...@ya...> - - * calendar-blue2.css, calendar-tas.css: - new styles (thanks to Wendall Mosemann for blue2, Mark Lynch for tas) - - * lang/calendar-lt-utf8.js, lang/calendar-lt.js: - Lithuanian translation (thanks to Martynas Majeris) - - * lang/calendar-sp.js: updated - -2003-11-17 Mihai Bazon <mih...@ya...> - - * TODO: added TODO list - -2003-11-14 Mihai Bazon <mih...@ya...> - - * lang/calendar-ko.js: Korean translation (thanks to Yourim Yi) - -2003-11-12 Mihai Bazon <mih...@ya...> - - * lang/calendar-jp.js: small bug fixed (thanks to TAHARA Yusei) - -2003-11-10 Mihai Bazon <mih...@ya...> - - * lang/calendar-fr.js: translation updated, thanks to Florent Ramiere - - * calendar-setup.js: - added new parameter: electric (if false then the field will not get updated on each move) - - * index.html: fixed DOCTYPE - -2003-11-07 Mihai Bazon <mih...@ya...> - - * calendar-setup.js: - fixed minor problem (maybe we're passing object reference instead of ID for - the flat calendar parent) - -2003-11-06 Mihai Bazon <mih...@ya...> - - * lang/calendar-fi.js: - added Finnish translation (thanks to Antti Tuppurainen) - -2003-11-05 Mihai Bazon <mih...@ya...> - - * release-notes.html: fixed typo - - * doc/reference.tex, index.html, calendar.js: 0.9.5 - - * README: fixed license statement - - * release-notes.html: updated release notes (0.9.5) - -2003-11-03 Mihai Bazon <mih...@ya...> - - * lang/calendar-de.js: - updated German translation (thanks to Gerhard Neiner) - - * calendar-setup.js: fixed license statement - - * calendar.js: whitespace - - * calendar.js: fixed license statement - - * calendar.js: - fixed positioning problem when input field is inside scrolled divs - -2003-11-01 Mihai Bazon <mih...@ya...> - - * lang/calendar-af.js: Afrikaan language (thanks to Derick Olivier) - -2003-10-31 Mihai Bazon <mih...@ya...> - - * lang/calendar-it.js: - updated IT translation (thanks to Christian Blaser) - - * lang/calendar-es.js: updated ES translation, thanks to Raul - -2003-10-30 Mihai Bazon <mih...@ya...> - - * lang/calendar-hu.js: updated thanks to Istvan Karaszi - - * index.html, simple-1.html, simple-2.html, simple-3.html: - switched to utf-8 all encodings - - * lang/calendar-sk.js: - added Slovak translation (thanks to Peter Valach) - - * lang/calendar-ro.js: switched to utf-8 - -2003-10-29 Mihai Bazon <mih...@ya...> - - * lang/calendar-es.js: - updated translation, thanks to Jose Ma. Martinez Miralles - - * doc/reference.tex: - fixed the footnote problem (thanks Dominique de Waleffe for the tip) - - * lang/calendar-ro.js: fixed typo - - * lang/calendar-sv.js: oops, license should be LGPL - - * lang/calendar-sw.js: new swedish translation is calendar-sv.js - - * menuarrow.gif, menuarrow.png: - oops, forgot little drop-down menu arrows - - * lang/calendar-sv.js: swedish translation thanks to Leonard Norrgard - - * index.html: oops, some other minor changes - - * index.html, release-notes.html: - latest changes in release-notes and index page for 0.9.4 - - * doc/reference.tex, calendar.js: - added %s date format (# of seconds since Epoch) - - * calendar.js: - A click on TODAY will not close the calendar, even in single-click mode - -2003-10-28 Mihai Bazon <mih...@ya...> - - * index.html: previous cal.html - - * cal.html: moved to index.html - - * README, cal.html, doc/reference.tex, lang/calendar-de.js, lang/calendar-en.js, lang/calendar-ro.js, release-notes.html: - LGPL license, forever. - - * doc/Calendar.setup.tex, simple-1.html: - doc updated for the onUpdate parameter to Calendar.setup - -2003-10-26 Mihai Bazon <mih...@ya...> - - * calendar.js: fixed bug (correct display of the dropdown menus) - - * doc/Calendar.setup.tex, doc/reference.tex, lang/calendar-de.js, lang/calendar-en.js, lang/calendar-ro.js, README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-setup.js, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css, calendar.js, release-notes.html, simple-1.html, simple-3.html: - lots of changes for the 0.9.4 release (see the release-notes.html) - -2003-10-15 Mihai Bazon <mih...@ya...> - - * doc/reference.tex: - documentation updated for 0.9.4 (not yet finished though) - -2003-10-07 Mihai Bazon <mih...@ya...> - - * calendar.js, doc/reference.tex, release-notes.html, README, cal.html, calendar-setup.js: - modified project website - -2003-10-06 Mihai Bazon <mih...@ya...> - - * calendar-setup.js: - added some properties (onSelect, onClose, date) (thanks altblue) - -2003-09-24 Mihai Bazon <mih...@ya...> - - * simple-3.html: dateIsSpecial does not need the "date" argument ;-) - -2003-09-24 fsoft <fsoft@mishoo> - - * calendar.js, simple-3.html: - added year, month, day to getDateStatus() function - -2003-09-24 Mihai Bazon <mih...@ya...> - - * simple-3.html: example on how to use special dates - - * calendar-setup.js, calendar.js, simple-1.html: - support for special dates (thanks fabio) - -2003-09-17 Mihai Bazon <mih...@ya...> - - * doc/reference.tex: fixed error in section 3. - -2003-08-01 Mihai Bazon <mih...@ya...> - - * lang/calendar-jp.js: added Japanese translation - -2003-07-16 Mihai Bazon <mih...@ya...> - - * simple-1.html: fixed problem with first example [IE,Opera] - -2003-07-09 Mihai Bazon <mih...@ya...> - - * doc/Calendar.setup.tex: fixed typo (closing parenthesis) - - * lang/calendar-de.js: - added German translation, thanks to Hartwig Weinkauf - -2003-07-08 Mihai Bazon <mih...@ya...> - - * cal.html: added link to release-notes - - * release-notes.html: 0.9.3 release notes - - * make-release.pl: - Script to create distribution archive. It needs some additional packages: - - - LaTeX - - tex2page - - jscrunch (JS compressor) - - * doc/html/makedoc.sh, doc/html/reference.css, doc/reference.tex, doc/makedoc.sh: - documentation updates... - - * calendar.js: added semicolon to make the code "compressible" - -2003-07-06 Mihai Bazon <mih...@ya...> - - * doc/reference.tex: spell checked - - * doc/reference.tex: [minor] changed credits order - - * doc/reference.tex: various improvements and additions - - * doc/html/reference.css: minor eye-candy tweaks - -2003-07-05 Mihai Bazon <mih...@ya...> - - * doc/html/Calendar.setup.html.tex, doc/html/makedoc.sh, doc/html/reference.css, doc/html/reference.t2p, doc/hyperref.cfg, doc/makedoc.sh, doc/reference.tex, doc/Calendar.setup.tex, doc/Calendar.setup.pdf.tex: - full documentation in LaTeX, for PDF and HTML formats - - * simple-2.html: - added demonstration of flat calendar with Calendar.setup - - * simple-1.html: - modified some links, added link to documentation, added demonstration of - disableFunc property - - * calendar-setup.js: added the ability to create flat calendar too - - * cal.html: added links to documentation and simple-[12].html pages - - * README: up-to-date... - - * calendar-setup.html: removed: the documentation is unified - -2003-07-03 Mihai Bazon <mih...@ya...> - - * cal.html: some links to newly added files - - * calendar-setup.html, calendar-setup.js, img.gif, simple-1.html: - added some files to simplify calendar creation for non-(JS)-programmers - - * lang/calendar-zh.js: added simplified chinese (thanks ATang) - -2003-07-02 Mihai Bazon <mih...@ya...> - - * calendar.js: * "yy"-related... [small fix] - - * calendar.js: - * #721833 fixed (yy format will understand years prior to 29 as 20xx) - - * calendar.js: * added refresh() function - - * calendar.js: * fixed bug when in single click mode - * added alignment options to "showAtElement" member function - -2003-06-25 Mihai Bazon <mih...@ya...> - - * lang/calendar-pt.js: - added portugese translation (thanks Nuno Barreto) - -2003-06-24 Mihai Bazon <mih...@ya...> - - * calendar.js: - call user handler when the date was changed using the keyboard - - * bugtest-hidden-selects.html: - file to test bug with hidden select-s (thanks Ying Zhang for reporting and for this test file) - - * lang/calendar-hr-utf8.js: - added croatian translation in utf8 (thanks Krunoslav Zubrinic) - -2003-06-23 Mihai Bazon <mih...@ya...> - - * lang/calendar-hu.js: added hungarian translation - - * lang/calendar-hr.js: - added croatian translation (thanks to Krunoslav Zubrinic) - -2003-06-22 Mihai Bazon <mih...@ya...> - - * calendar.js: - * #723335 fixed (clicking TODAY will not select the today date if the - disabledHandler rejects it) - - * cal.html: * new code for to work with fix for bug #703238 - * switch to new version - - * calendar.js: - * some patches to make code compatible with Opera 7 (well, almost compatible) - * bug #703238 fixed (fix breaks compatibility with older code that uses - calendar in single-click mode) - * bug #703814 fixed - -2003-04-09 Mihai Bazon <mih...@ya...> - - * lang/calendar-tr.js: added turkish lang file - -2003-03-19 Mihai Bazon <mih...@ya...> - - * lang/calendar-ru.js: russian translation added - - * lang/calendar-no.js: norwegian translation added - -2003-03-15 Mihai Bazon <mih...@ya...> - - * lang/calendar-no.js: norwegian translation - -2003-03-12 Mihai Bazon <mih...@ya...> - - * lang/calendar-pl.js: added polish translation - -2003-03-11 Mihai Bazon <mih...@ya...> - - * calendar.js: - bugfix in parseDate (added base to parseInt, thanks Alan!) - -2003-03-05 Mihai Bazon <mih...@ya...> - - * calendar.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-du.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-nl.js, lang/calendar-ro.js, lang/calendar-sp.js, lang/calendar-sw.js: - New file. - - * calendar.js, lang/calendar-br.js, lang/calendar-ca.js, lang/calendar-cs-win.js, lang/calendar-da.js, lang/calendar-du.js, lang/calendar-el.js, lang/calendar-en.js, lang/calendar-es.js, lang/calendar-fr.js, lang/calendar-it.js, lang/calendar-nl.js, lang/calendar-ro.js, lang/calendar-sp.js, lang/calendar-sw.js: - moved to CVS at sourceforge.net - release: 0.9.2 + new language packs - - - * README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: - New file. - - * README, cal.html, calendar-blue.css, calendar-brown.css, calendar-green.css, calendar-system.css, calendar-win2k-1.css, calendar-win2k-2.css, calendar-win2k-cold-1.css, calendar-win2k-cold-2.css: - moved to CVS at sourceforge.net - release: 0.9.2 + new language packs - - Deleted: trunk/themes/blog/jscalendar/calendar-system.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-system.css 2015-04-14 16:31:05 UTC (rev 9668) +++ trunk/themes/blog/jscalendar/calendar-system.css 2015-04-14 16:41:51 UTC (rev 9669) @@ -1,251 +0,0 @@ -/* The main calendar widget. DIV containing a table. */ - -.calendar { - position: relative; - display: none; - border: 1px solid; - border-color: #fff #000 #000 #fff; - font-size: 11px; - cursor: default; - background: Window; - color: WindowText; - font-family: tahoma,verdana,sans-serif; -} - -.calendar table { - border: 1px solid; - border-color: #fff #000 #000 #fff; - font-size: 11px; - cursor: default; - background: Window; - color: WindowText; - font-family: tahoma,verdana,sans-serif; -} - -/* Header part -- contains navigation buttons and day names. */ - -.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ - text-align: center; - padding: 1px; - border: 1px solid; - border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; - background: ButtonFace; -} - -.calendar .nav { - background: ButtonFace url(menuarrow.gif) no-repeat 100% 100%; -} - -.calendar thead .title { /* This holds the current "month, year" */ - font-weight: bold; - padding: 1px; - border: 1px solid #000; - background: ActiveCaption; - color: CaptionText; - text-align: center; -} - -.calendar thead .headrow { /* Row <TR> containing navigation buttons */ -} - -.calendar thead .daynames { /* Row <TR> containing the day names */ -} - -.calendar thead .name { /* Cells <TD> containing the day names */ - border-bottom: 1px solid ButtonShadow; - padding: 2px; - text-align: center; - background: ButtonFace; - color: ButtonText; -} - -.calendar thead .weekend { /* How a weekend day name shows in header */ - color: #f00; -} - -.calendar thead .hilite { /* How do the buttons in header appear when hover */ - border: 2px solid; - padding: 0px; - border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; -} - -.calendar thead .active { /* Active (pressed) buttons in header */ - border-width: 1px; - padding: 2px 0px 0px 2px; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; -} - -/* The body part -- contains all the days in month. */ - -.calendar tbody .day { /* Cells <TD> containing month days dates */ - width: 2em; - text-align: right; - padding: 2px 4px 2px 2px; -} -.calendar tbody .day.othermonth { - font-size: 80%; - color: #aaa; -} -.calendar tbody .day.othermonth.oweekend { - color: #faa; -} - -.calendar table .wn { - padding: 2px 3px 2px 2px; - border-right: 1px solid ButtonShadow; - background: ButtonFace; - color: ButtonText; -} - -.calendar tbody .rowhilite td { - background: Highlight; - color: HighlightText; -} - -.calendar tbody td.hilite { /* Hovered cells <TD> */ - padding: 1px 3px 1px 1px; - border-top: 1px solid #fff; - border-right: 1px solid #000; - border-bottom: 1px solid #000; - border-left: 1px solid #fff; -} - -.calendar tbody td.active { /* Active (pressed) cells <TD> */ - padding: 2px 2px 0px 2px; - border: 1px solid; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; -} - -.calendar tbody td.selected { /* Cell showing selected date */ - font-weight: bold; - border: 1px solid; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; - padding: 2px 2px 0px 2px; - background: ButtonFace; - color: ButtonText; -} - -.calendar tbody td.weekend { /* Cells showing weekend days */ - color: #f00; -} - -.calendar tbody td.today { /* Cell showing today date */ - font-weight: bold; - color: #00f; -} - -.calendar tbody td.disabled { color: GrayText; } - -.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ - visibility: hidden; -} - -.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ - display: none; -} - -/* The footer part -- status bar and "Close" button */ - -.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ -} - -.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ - background: ButtonFace; - padding: 1px; - border: 1px solid; - border-color: ButtonShadow ButtonHighlight ButtonHighlight ButtonShadow; - color: ButtonText; - text-align: center; -} - -.calendar tfoot .hilite { /* Hover style for buttons in footer */ - border-top: 1px solid #fff; - border-right: 1px solid #000; - border-bottom: 1px solid #000; - border-left: 1px solid #fff; - padding: 1px; - background: #e4e0d8; -} - -.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ - padding: 2px 0px 0px 2px; - border-top: 1px solid #000; - border-right: 1px solid #fff; - border-bottom: 1px solid #fff; - border-left: 1px solid #000; -} - -/* Combo boxes (menus that display months/years for direct selection) */ - -.calendar .combo { - position: absolute; - display: none; - width: 4em; - top: 0px; - left: 0px; - cursor: default; - border: 1px solid; - border-color: ButtonHighlight ButtonShadow ButtonShadow ButtonHighlight; - background: Menu; - color: MenuText; - font-size: 90%; - padding: 1px; - z-index: 100; -} - -.calendar .combo .label, -.calendar .combo .label-IEfix { - text-align: center; - padding: 1px; -} - -.calendar .combo .label-IEfix { - width: 4em; -} - -.calendar .combo .active { - padding: 0px; - border: 1px solid #000; -} - -.calendar .combo .hilite { - background: Highlight; - color: HighlightText; -} - -.calendar td.time { - border-top: 1px solid ButtonShadow; - padding: 1px 0px; - text-align: center; - background-color: ButtonFace; -} - -.calendar td.time .hour, -.calendar td.time .minute, -.calendar td.time .ampm { - padding: 0px 3px 0px 4px; - border: 1px solid #889; - font-weight: bold; - background-color: Menu; -} - -.calendar td.time .ampm { - text-align: center; -} - -.calendar td.time .colon { - padding: 0px 2px 0px 3px; - font-weight: bold; -} - -.calendar td.time span.hilite { - border-color: #000; - background-color: Highlight; - color: HighlightText; -} - -.calendar td.time span.active { - border-color: #f00; - background-color: #000; - color: #0f0; -} Deleted: trunk/themes/blog/jscalendar/calendar-tas.css =================================================================== --- trunk/themes/blog/jscalendar/calendar-tas.css 2015-04-14 16:31:05 UTC (rev 9668) +++ trunk/themes/blog/jscalendar/calendar-tas.css 2015-04-14 16:41:51 UTC (rev 9669) @@ -1,239 +0,0 @@ -/* The main calendar widget. DIV containing a table. */ - -div.calendar { position: relative; } - -.calendar, .calendar table { - border: 1px solid #655; - font-size: 11px; - color: #000; - cursor: default; - background: #ffd; - font-family: tahoma,verdana,sans-serif; - filter: -progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#DDDCCC,EndColorStr=#FFFFFF); -} - -/* Header part -- contains navigation buttons and day names. */ - -.calendar .button { /* "<<", "<", ">", ">>" buttons have this class */ - text-align: center; /* They are the navigation buttons */ - padding: 2px; /* Make the buttons seem like they're pressing */ - color:#363636; -} - -.calendar .nav { - background: #edc url(menuarrow.gif) no-repeat 100% 100%; -} - -.calendar thead .title { /* This holds the current "month, year" */ - font-weight: bold; /* Pressing it will take you to the current date */ - text-align: center; - background: #654; - color: #363636; - padding: 2px; - filter: -progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#dddccc); -} - -.calendar thead .headrow { /* Row <TR> containing navigation buttons */ - /*background: #3B86A0;*/ - color: #363636; - font-weight: bold; -filter: -progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#ffffff,EndColorStr=#3b86a0); -} - -.calendar thead .name { /* Cells <TD> containing the day names */ - border-bottom: 1px solid #655; - padding: 2px; - text-align: center; - color: #363636; - filter: -progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#DDDCCC,EndColorStr=#FFFFFF); -} - -.calendar thead .weekend { /* How a weekend day name shows in header */ - color: #f00; -} - -.calendar thead .hilite { /* How do the buttons in header appear when hover */ - background-color: #ffcc86; - color: #000; - border: 1px solid #b59345; - padding: 1px; -} - -.calendar thead .active { /* Active (pressed) buttons in header */ - background-color: #c77; - padding: 2px 0px 0px 2px; -} - -.calendar thead .daynames { /* Row <TR> containing the day names */ - background: #fed; -} - -/* The body part -- contains all the days in month. */ - -.calendar tbody .day { /* Cells <TD> containing month days dates */ - width: 2em; - text-align: right; - padding: 2px 4px 2px 2px; -} -.calendar tbody .day.othermonth { - font-size: 80%; - color: #aaa; -} -.calendar tbody .day.othermonth.oweekend { - color: #faa; -} - -.calendar table .wn { - padding: 2px 3px 2px 2px; - border-right: 1px solid #000; - background: #fed; -} - -.calendar tbody .rowhilite td { - background: #ddf; - -} - -.calendar tbody .rowhilite td.wn { - background: #efe; -} - -.calendar tbody td.hilite { /* Hovered cells <TD> */ - background: #ffe; - padding: 1px 3px 1px 1px; - border: 1px solid #bbb; -} - -.calendar tbody td.active { /* Active (pressed) cells <TD> */ - background: #ddc; - padding: 2px 2px 0px 2px; -} - -.calendar tbody td.selected { /* Cell showing today date */ - font-weight: bold; - border: 1px solid #000; - padding: 1px 3px 1px 1px; - background: #fea; -} - -.calendar tbody td.weekend { /* Cells showing weekend days */ - color: #f00; -} - -.calendar tbody td.today { font-weight: bold; } - -.calendar tbody .disabled { color: #999; } - -.calendar tbody .emptycell { /* Empty cells (the best is to hide them) */ - visibility: hidden; -} - -.calendar tbody .emptyrow { /* Empty row (some months need less than 6 rows) */ - display: none; -} - -/* The footer part -- status bar and "Close" button */ - -.calendar tfoot .footrow { /* The <TR> in footer (only one right now) */ - text-align: center; - background: #988; - color: #000; - -} - -.calendar tfoot .ttip { /* Tooltip (status bar) cell <TD> */ - border-top: 1px solid #655; - background: #dcb; - color: #363636; - font-weight: bold; - filter: -progid:DXImageTransform.Microsoft.Gradient(GradientType=0,StartColorStr=#FFFFFF,EndColorStr=#DDDCCC); -} -.calendar tfoot .hilite { /* Hover style for buttons in footer */ - background: #faa; - border: 1px solid #f40; - padding: 1px; -} - -.calendar tfoot .active { /* Active (pressed) style for buttons in footer */ - background: #c77; - padding: 2px 0px 0px 2px; -} - -/* Combo boxes (menus that display months/years for direct selection) */ - -.combo { - position: absolute; - display: none; - top: 0px; - left: 0px; - width: 4em; - cursor: default; - border: 1px solid #655; - background: #ffe; - color: #000; - font-size: smaller; - z-index: 100; -} - -.combo .label, -.combo .label-IEfix { - text-align: center; - padding: 1px; -} - -.combo .label-IEfix { - width: 4em; -} - -.combo .hilite { - background: #fc8; -} - -.combo .active { - border-top: 1px solid #a64; - border-bottom: 1px solid #a64; - background: #fee; - font-weight: bold; -} - -.calendar td.time { - border-top: 1px solid #a88; - padding: 1px 0px; - text-align: center; - background-color: #fed; -} - -.calendar td.time .hour, -.calendar td.time .minute, -.calendar td.time .ampm { - padding: 0px 3px 0px 4px; - border: 1px solid #988; - font-weight: bold; - background-color: #fff; -} - -.calendar td.time .ampm { - text-align: center; -} - -.calendar td.time .colon { - padding: 0px 2px 0px 3px; - font-weight: bold; -} - -.calendar td.time span.hilite { - border-color: #000; - background-color: #866; - color: #fff; -} - -.calendar td.time span.active { - border-color: #f00; - background-color: #000; - color: #0f0; -} Deleted: trunk/themes/blog/jscalendar/simple-1.html =================================================================== --- trunk/themes/blog/jscalendar/simple-1.html 2015-04-14 16:31:05 UTC (rev 9668) +++ trunk/themes/blog/jscalendar/simple-1.html 2015-04-14 16:41:51 UTC (rev 9669) @@ -1,244 +0,0 @@ -<html style="background-color: buttonface; color: buttontext;"> - -<head> -<meta http-equiv="content-type" content="text/xml; charset=utf-8" /> - -<title>Simple calendar setups [popup calendar]</title> - - <!-- calendar stylesheet --> - <link rel="stylesheet" type="text/css" media="all" href="calendar-win2k-cold-1.css" title="win2k-cold-1" /> - - <!-- main calendar program --> - <script type="text/javascript" src="calendar.js"></script> - - <!-- language for the calendar --> - <script type="text/javascript" src="lang/calendar-en.js"></script> - - <!-- the following script defines the Calendar.setup helper function, which makes - adding a calendar a matter of 1 or 2 lines of code. --> - <script type="text/javascript" src="calendar-setup.js"></script> - -</head> - -<body> - -<h2>DHTML Calendar — for the impatient</h2> - - <blockquote> - <p> - This page lists some common setups for the popup calendar. In - order to see how to do any of them please see the source of this - page. For each example it's structured like this: there's the - <form> that contains the input field, and following there is - the JavaScript snippet that setups that form. An example of - <em>flat</em> calendar is available in <a - href="simple-2.html">another page</a>. - </p> - <p> - The code in this page uses a helper function defined in - "calendar-setup.js". With it you can setup the calendar in - minutes. If you're not <em>that</em> impatient, ;-) <a - href="doc/html/reference.html">complete documenation</a> is - available. - </p> - </blockquote> - - - -<hr /> - -<p><b>Basic setup: one input per calendar.</b> Clicking in the input field -activates the calendar. The date format is "%m/%d/%Y %I:%M %p". The -calendar defaults to "single-click mode".</p> - -<p>The example below has been updated to show you how to create "linked" -fields. Basically, when some field is filled with a date, the other -is updated so that the difference between them remains one week. The -property useful here is "onUpdate".</p> - -<form action="#" method="get"> -<input type="text" name="date" id="f_date_a" /> -<input type="text" name="date" id="f_calcdate" /> -</form> - -<script type="text/javascript"> - function catcalc(cal) { - var date = cal.date; - var time = date.getTime() - // use the _other_ field - var field = document.getElementById("f_calcdate"); - if (field == cal.params.inputField) { - field = document.getElementById("f_date_a"); - time -= Date.WEEK; // substract one week - } else { - time += Date.WEEK; // add one week - } - var date2 = new Date(time); - field.value = date2.print("%Y-%m-%d %H:%M"); - } - Calendar.setup({ - inputField : "f_date_a", // id of the input field - ifFormat : "%Y-%m-%d %H:%M", // format of the input field - showsTime : true, - timeFormat : "24", - onUpdate : catcalc - }); - Calendar.setup({ - inputField : "f_calcdate", - ifFormat : "%Y-%m-%d %H:%M", - showsTime : true, - timeFormat : "24", - onUpdate : catcalc - }); -</script> - - - -<hr /> - -<p><b>Input field with a trigger button.</b> Clicking the button activates -the calendar. Note that this one needs double-click (singleClick parameter -is explicitely set to false). Also demonstrates the "step" parameter -introduced in 0.9.6 (show all years in drop-down boxes, instead of every -other year as default).</p> - -<form action="#" method="get"> -<input type="text" name="date" id="f_date_b" /><button type="reset" id="f_trigger_b">...</button> -</form> - -<script type="text/javascript"> - Calendar.setup({ - inputField : "f_date_b", // id of the input field - ifFormat : "%m/%d/%Y %I:%M %p", // format of the input field - showsTime : true, // will display a time selector - button : "f_trigger_b", // trigger for the calendar (button ID) - singleClick : false, // double-click mode - step : 1 // show all years in drop-down boxes (instead of every other year as default) - }); -</script> - - - -<hr /> - -<p><b>Input field with a trigger image.</b> Note that the Calendar.setup -function doesn't care if the trigger is a button, image, or anything else. -Also in this example we setup a different alignment, just to show how it's -done. The input field is read-only (that is set from HTML).</p> - -<form action="#" method="get"> -<table cellspacing="0" cellpadding="0" style="border-collapse: collapse"><tr> - <td><input type="text" name="date" id="f_date_c" readonly="1" /></td> - <td><img src="img.gif" id="f_trigger_c" style="cursor: pointer; border: 1px solid red;" title="Date selector" - onmouseover="this.style.background='red';" onmouseout="this.style.background=''" /></td> -</table> -</form> - -<script type="text/javascript"> - Calendar.setup({ - inputField : "f_date_c", // id of the input field - ifFormat : "%B %e, %Y", // format of the input field - button : "f_trigger_c", // trigger for the calendar (button ID) - align : "Tl", // alignment (defaults to "Bl") - singleClick : true - }); -</script> - - - -<hr /> - -<p><b>Hidden field, display area.</b> The calendar now puts the date into 2 -elements: one is an input field of type "hidden"—so that the user -can't directly see or modify it— and one is a <span> element in -which the date is displayed. Note that if the trigger is not specified the -calendar will use the displayArea (or inputField as in the first example). -The display area can have it's own format. This is useful if, for instance, -we need to store one format in the database (thus pass it in the input -field) but we wanna show a friendlier format to the end-user.</p> - -<form action="#" method="get" style="visibility: hidden"> -<input type="hidden" name="date" id="f_date_d" /> -</form> - -<p>Your birthday: - <span style="background-color: #ff8; cursor: default;" - onmouseover="this.style.backgroundColor='#ff0';" - onmouseout="this.style.backgroundColor='#ff8';" - id="show_d" - >Click to open date selector</span>.</p> - -<script type="text/javascript"> - Calendar.setup({ - inputField : "f_date_d", // id of the input field - ifFormat : "%Y/%d/%m", // format of the input field (even if hidden, this format will be honored) - displayArea : "show_d", // ID of the span where the date is to be shown - daFormat : "%A, %B %d, %Y",// format of the displayed date - align : "Tl", // alignment (defaults to "Bl") - singleClick : true - }); -</script> - - - -<hr /> - -<p><b>Hidden field, display area, trigger image.</b> Very similar to the -previous example. The difference is that we also have a trigger image.</p> - -<form action="#" method="get" style="visibility: hidden"> -<input type="hidden" name="date" id="f_date_e" /> -</form> - -<p>Your birthday: <span id="show_e">-- not entered --</span> <img -src="img.gif" id="f_trigger_e" style="cursor: pointer; border: 1px solid -red;" title="Date selector" onmouseover="this.style.background='red';" -onmouseout="this.style.background=''" />.</p> - -<script type="text/javascript"> - Calendar.setup({ - inputField : "f_date_e", // id of the input field - ifFormat : "%Y/%d/%m", // format of the input field (even if hidden, this format will be honored) - displayArea : "show_e", // ID of the span where the date is to be shown - daFormat : "%A, %B %d, %Y",// format of the displayed date - button : "f_trigger_e", // trigger button (well, IMG in our case) - align : "Tl", // alignment (defaults to "Bl") - singleClick : true - }); -</script> - - - -<hr /> - -<p><b>Hidden field, display area.</b> Very much like the previous examples, -but we now disable some dates (all weekends, that is, Saturdays and -Sundays).</p> - -<form action="#" method="get" style="visibility: hidden"> -<input type="hidden" name="date" id="f_date_f" /> -</form> - -<p>Your birthday: - <span style="background-color: #ff8; cursor: default;" - onmouseover="this.style.backgroundColor='#ff0';" - onmouseout="this.style.backgroundColor='#ff8';" - id="show_f" - >Click to open date selector</span>.</p> - -<script type="text/javascript"> - Calendar.setup({ - inputField : "f_date_f", // id of the input field - ifFormat : "%Y/%d/%m", // format of the input field (even if hidden, this format will be honored) - displayArea : "show_f", // ID of the span where the date is to be shown - daFormat : "%A, %B %d, %Y",// format of the displayed date - align : "Tl", // alignment (defaults to "Bl") - dateStatusFunc : function (date) { // disable weekend days (Saturdays == 6 and Subdays == 0) - return (date.getDay() == 6 || date.getDay() == 0) ? true : false; - } - }); -</script> - - -</body> -</html> Deleted: trunk/themes/blog/jscalendar/simple-2.html =================================================================== --- trunk/themes/blog/jscalendar/simple-2.html 2015-04-14 16:31:05 UTC (rev 9668) +++ trunk/themes/blog/jscalendar/simple-2.html 2015-04-14 16:41:51 UTC (rev 9669) @@ -1,108 +0,0 @@ -<html style="background-color: buttonface; color: buttontext;"> - -<head> -<meta http-equiv="content-type" content="text/xml; charset=utf-8" /> - -<title>Simple calendar setup [flat calendar]</title> - - <!-- calendar stylesheet --> - <link rel="stylesheet" type="text/css" media="all" href="calendar-win2k-cold-1.css" title="win2k-cold-1" /> - - <!-- main calendar program --> - <script type="text/javascript" src="calendar.js"></script> - - <!-- language for the calendar --> - <script type="text/javascript" src="lang/calendar-en.js"></script> - - <!-- the following script defines the Calendar.setup helper function, which makes - adding a calendar a matter of 1 or 2 lines of code. --> - <script type="text/javascript" src="calendar-setup.js"></script> - -</head> - -<body> - -<h2>DHTML Calendar — for the impatient</h2> - - <blockquote> - <p> - This page demonstrates how to setup a flat calendar. Examples of - <em>popup</em> calendars are available in <a - href="simple-1.html">another page</a>. - </p> - <p> - The code in this page uses a helper function defined in - "calendar-setup.js". With it you can setup the calendar in - minutes. If you're not <em>that</em> impatient, ;-) <a - href="doc/html/reference.html">complete documenation</a> is - available. - </p> - </blockquote> - - - -<hr /> - -<div style="float: right; margin-left: 1em; margin-bottom: 1em;" -id="calendar-container"></div> - -<script type="text/javascript"> - function dateChanged(calendar) { - // Beware that this function is called even if the end-user only - // changed the month/year. In order to determine if a date was - // clicked you can use the dateClicked property of the calendar: - if (calendar.dateClicked) { - // OK, a date was clicked, redirect to /yyyy/mm/dd/index.php - var y = calendar.date.getFullYear(); - var m = calendar.date.getMonth(); // integer, 0..11 - var d = calendar.date.getDate(); // integer, 1..31 - // redirect... - window.location = "/" + y + "/" + m + "/" + d + "/index.php"; - } - }; - - Calendar.setup( - { - flat : "calendar-container", // ID of the parent element - flatCallback : dateChanged // our callback function - } - ); -</script> - -<p>The positioning of the DIV that contains the calendar is entirely your -job. For instance, the "calendar-container" DIV from this page has the -following style: "float: right; margin-left: 1em; margin-bottom: 1em".</p> - -<p>Following there is the code that has been used to create this calendar. -You can find the full description of the <tt>Calendar.setup()</tt> function -in the <a href="doc/html/reference.html">calendar documenation</a>.</p> - -<pre -><div style="float: right; margin-left: 1em; margin-bottom: 1em;" -id="calendar-container"></div> - -<script type="text/javascript"> - function dateChanged(calendar) { - // Beware that this function is called even if the end-user only - // changed the month/year. In order to determine if a date was - // clicked you can use the dateClicked property of the calendar: - if (calendar.dateClicked) { - // OK, a date was clicked, redirect to /yyyy/mm/dd/index.php - var y = calendar.date.getFullYear(); - var m = calendar.date.getMonth(); // integer, 0..11 - var d = calendar.date.getDate(); // integer, 1..31 - // redirect... - window.location = "/" + y + "/" + m + "/" + d + "/index.php"; - } - }; - - Calendar.setup( - { - flat : "calendar-container", // ID of the parent element - flatCallback : dateChanged // our callback function - } - ); -</script></pre> - -</body> -</html> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |