From e2c51b0d22256892b841cc6d9daf985ab65350eb Mon Sep 17 00:00:00 2001 From: John Bintz Date: Sat, 13 Jun 2009 08:07:36 -0400 Subject: [PATCH] initial commit --- README | 25 + actions/comicpress_batch-processing.php | 282 ++ actions/comicpress_build-storyline-schema.php | 191 ++ actions/comicpress_change-dates.php | 180 ++ actions/comicpress_create-missing-posts.php | 110 + actions/comicpress_delete-comic-and-post.php | 45 + actions/comicpress_do-first-run.php | 52 + actions/comicpress_generate-thumbnails.php | 36 + actions/comicpress_manage-subcomic.php | 29 + actions/comicpress_multiple-upload-file.php | 41 + actions/comicpress_restore-backup.php | 24 + actions/comicpress_skip-first-run.php | 11 + actions/comicpress_update-config.php | 79 + actions/comicpress_update-cpm-config.php | 58 + actions/comicpress_write-comic-post.php | 38 + comicpress-icon.png | Bin 0 -> 905 bytes comicpress-manager.php | 40 + comicpress-manager.pot | 1574 +++++++++++ comicpress_manager_admin.php | 2487 +++++++++++++++++ comicpress_manager_config.php | 56 + comicpress_manager_count_missing_entries.php | 47 + comicpress_manager_library.php | 763 +++++ comicpress_script.js | 147 + comicpress_styles.css | 298 ++ cp_configuration_options.php | 68 + cpm_configuration_options.php | 158 ++ js/comicpress_dates.js | 46 + js/comicpress_script.js | 165 ++ js/comicpress_status.js | 63 + js/minified-comicpress_dates.js | 6 + js/minified-comicpress_script.js | 19 + js/minified-comicpress_status.js | 10 + jscalendar-1.0/ChangeLog | 761 +++++ jscalendar-1.0/README | 33 + jscalendar-1.0/bugtest-hidden-selects.html | 108 + jscalendar-1.0/calendar-blue.css | 232 ++ jscalendar-1.0/calendar-blue2.css | 236 ++ jscalendar-1.0/calendar-brown.css | 225 ++ jscalendar-1.0/calendar-green.css | 229 ++ jscalendar-1.0/calendar-setup.js | 200 ++ jscalendar-1.0/calendar-setup_stripped.js | 21 + jscalendar-1.0/calendar-system.css | 251 ++ jscalendar-1.0/calendar-tas.css | 239 ++ jscalendar-1.0/calendar-win2k-1.css | 271 ++ jscalendar-1.0/calendar-win2k-2.css | 271 ++ jscalendar-1.0/calendar-win2k-cold-1.css | 265 ++ jscalendar-1.0/calendar-win2k-cold-2.css | 271 ++ jscalendar-1.0/calendar.js | 1806 ++++++++++++ jscalendar-1.0/calendar.php | 119 + jscalendar-1.0/calendar_stripped.js | 14 + jscalendar-1.0/dayinfo.html | 109 + jscalendar-1.0/doc/html/field-button.jpg | Bin 0 -> 2509 bytes jscalendar-1.0/doc/html/reference-Z-S.css | 193 ++ jscalendar-1.0/doc/html/reference.css | 34 + jscalendar-1.0/doc/html/reference.html | 1738 ++++++++++++ jscalendar-1.0/doc/reference.pdf | Bin 0 -> 281155 bytes jscalendar-1.0/img.gif | Bin 0 -> 223 bytes jscalendar-1.0/index.html | 330 +++ jscalendar-1.0/lang/calendar-af.js | 39 + jscalendar-1.0/lang/calendar-al.js | 101 + jscalendar-1.0/lang/calendar-bg.js | 124 + jscalendar-1.0/lang/calendar-big5-utf8.js | 123 + jscalendar-1.0/lang/calendar-big5.js | 123 + jscalendar-1.0/lang/calendar-br.js | 108 + jscalendar-1.0/lang/calendar-ca.js | 123 + jscalendar-1.0/lang/calendar-cs-utf8.js | 65 + jscalendar-1.0/lang/calendar-cs-win.js | 65 + jscalendar-1.0/lang/calendar-da.js | 123 + jscalendar-1.0/lang/calendar-de.js | 124 + jscalendar-1.0/lang/calendar-du.js | 45 + jscalendar-1.0/lang/calendar-el.js | 89 + jscalendar-1.0/lang/calendar-en.js | 127 + jscalendar-1.0/lang/calendar-es.js | 129 + jscalendar-1.0/lang/calendar-fi.js | 98 + jscalendar-1.0/lang/calendar-fr.js | 125 + jscalendar-1.0/lang/calendar-he-utf8.js | 123 + jscalendar-1.0/lang/calendar-hr-utf8.js | 49 + jscalendar-1.0/lang/calendar-hr.js | Bin 0 -> 3088 bytes jscalendar-1.0/lang/calendar-hu.js | 124 + jscalendar-1.0/lang/calendar-it.js | 124 + jscalendar-1.0/lang/calendar-jp.js | 45 + jscalendar-1.0/lang/calendar-ko-utf8.js | 120 + jscalendar-1.0/lang/calendar-ko.js | 120 + jscalendar-1.0/lang/calendar-lt-utf8.js | 114 + jscalendar-1.0/lang/calendar-lt.js | 114 + jscalendar-1.0/lang/calendar-lv.js | 123 + jscalendar-1.0/lang/calendar-nl.js | 73 + jscalendar-1.0/lang/calendar-no.js | 114 + jscalendar-1.0/lang/calendar-pl-utf8.js | 93 + jscalendar-1.0/lang/calendar-pl.js | 56 + jscalendar-1.0/lang/calendar-pt.js | 123 + jscalendar-1.0/lang/calendar-ro.js | 66 + jscalendar-1.0/lang/calendar-ru.js | 123 + jscalendar-1.0/lang/calendar-ru_win_.js | 123 + jscalendar-1.0/lang/calendar-si.js | 94 + jscalendar-1.0/lang/calendar-sk.js | 99 + jscalendar-1.0/lang/calendar-sp.js | 110 + jscalendar-1.0/lang/calendar-sv.js | 93 + jscalendar-1.0/lang/calendar-tr.js | 58 + jscalendar-1.0/lang/calendar-zh.js | 119 + jscalendar-1.0/lang/cn_utf8.js | 123 + jscalendar-1.0/menuarrow.gif | Bin 0 -> 68 bytes jscalendar-1.0/menuarrow2.gif | Bin 0 -> 49 bytes jscalendar-1.0/multiple-dates.html | 82 + jscalendar-1.0/release-notes.html | 435 +++ jscalendar-1.0/simple-1.html | 244 ++ jscalendar-1.0/simple-2.html | 108 + jscalendar-1.0/simple-3.html | 130 + jscalendar-1.0/skins/aqua/active-bg.gif | Bin 0 -> 89 bytes jscalendar-1.0/skins/aqua/dark-bg.gif | Bin 0 -> 85 bytes jscalendar-1.0/skins/aqua/hover-bg.gif | Bin 0 -> 89 bytes jscalendar-1.0/skins/aqua/menuarrow.gif | Bin 0 -> 49 bytes jscalendar-1.0/skins/aqua/normal-bg.gif | Bin 0 -> 110 bytes jscalendar-1.0/skins/aqua/rowhover-bg.gif | Bin 0 -> 110 bytes jscalendar-1.0/skins/aqua/status-bg.gif | Bin 0 -> 116 bytes jscalendar-1.0/skins/aqua/theme.css | 236 ++ jscalendar-1.0/skins/aqua/title-bg.gif | Bin 0 -> 116 bytes jscalendar-1.0/skins/aqua/today-bg.gif | Bin 0 -> 1122 bytes jscalendar-1.0/test-position.html | 40 + jscalendar-1.0/test.php | 116 + pages/comicpress_config.php | 60 + pages/comicpress_cpm_config.php | 113 + pages/comicpress_dates.php | 141 + pages/comicpress_delete.php | 44 + pages/comicpress_first_run.php | 41 + pages/comicpress_import.php | 110 + pages/comicpress_index.php | 209 ++ pages/comicpress_status.php | 521 ++++ pages/comicpress_storyline.php | 280 ++ pages/comicpress_thumbnails.php | 75 + pages/edit_post_show_comic.php | 206 ++ pages/storyline_display.php | 27 + pages/write_comic_post.php | 102 + readme.txt | 195 ++ test_comicpress_manager.php | 104 + 135 files changed, 22977 insertions(+) create mode 100644 README create mode 100644 actions/comicpress_batch-processing.php create mode 100644 actions/comicpress_build-storyline-schema.php create mode 100644 actions/comicpress_change-dates.php create mode 100644 actions/comicpress_create-missing-posts.php create mode 100644 actions/comicpress_delete-comic-and-post.php create mode 100644 actions/comicpress_do-first-run.php create mode 100644 actions/comicpress_generate-thumbnails.php create mode 100644 actions/comicpress_manage-subcomic.php create mode 100644 actions/comicpress_multiple-upload-file.php create mode 100644 actions/comicpress_restore-backup.php create mode 100644 actions/comicpress_skip-first-run.php create mode 100644 actions/comicpress_update-config.php create mode 100644 actions/comicpress_update-cpm-config.php create mode 100644 actions/comicpress_write-comic-post.php create mode 100644 comicpress-icon.png create mode 100644 comicpress-manager.php create mode 100644 comicpress-manager.pot create mode 100644 comicpress_manager_admin.php create mode 100644 comicpress_manager_config.php create mode 100644 comicpress_manager_count_missing_entries.php create mode 100644 comicpress_manager_library.php create mode 100644 comicpress_script.js create mode 100644 comicpress_styles.css create mode 100644 cp_configuration_options.php create mode 100644 cpm_configuration_options.php create mode 100644 js/comicpress_dates.js create mode 100644 js/comicpress_script.js create mode 100644 js/comicpress_status.js create mode 100644 js/minified-comicpress_dates.js create mode 100644 js/minified-comicpress_script.js create mode 100644 js/minified-comicpress_status.js create mode 100644 jscalendar-1.0/ChangeLog create mode 100644 jscalendar-1.0/README create mode 100644 jscalendar-1.0/bugtest-hidden-selects.html create mode 100644 jscalendar-1.0/calendar-blue.css create mode 100644 jscalendar-1.0/calendar-blue2.css create mode 100644 jscalendar-1.0/calendar-brown.css create mode 100644 jscalendar-1.0/calendar-green.css create mode 100644 jscalendar-1.0/calendar-setup.js create mode 100644 jscalendar-1.0/calendar-setup_stripped.js create mode 100644 jscalendar-1.0/calendar-system.css create mode 100644 jscalendar-1.0/calendar-tas.css create mode 100644 jscalendar-1.0/calendar-win2k-1.css create mode 100644 jscalendar-1.0/calendar-win2k-2.css create mode 100644 jscalendar-1.0/calendar-win2k-cold-1.css create mode 100644 jscalendar-1.0/calendar-win2k-cold-2.css create mode 100644 jscalendar-1.0/calendar.js create mode 100644 jscalendar-1.0/calendar.php create mode 100644 jscalendar-1.0/calendar_stripped.js create mode 100644 jscalendar-1.0/dayinfo.html create mode 100644 jscalendar-1.0/doc/html/field-button.jpg create mode 100644 jscalendar-1.0/doc/html/reference-Z-S.css create mode 100644 jscalendar-1.0/doc/html/reference.css create mode 100644 jscalendar-1.0/doc/html/reference.html create mode 100644 jscalendar-1.0/doc/reference.pdf create mode 100644 jscalendar-1.0/img.gif create mode 100644 jscalendar-1.0/index.html create mode 100644 jscalendar-1.0/lang/calendar-af.js create mode 100644 jscalendar-1.0/lang/calendar-al.js create mode 100644 jscalendar-1.0/lang/calendar-bg.js create mode 100644 jscalendar-1.0/lang/calendar-big5-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-big5.js create mode 100644 jscalendar-1.0/lang/calendar-br.js create mode 100644 jscalendar-1.0/lang/calendar-ca.js create mode 100644 jscalendar-1.0/lang/calendar-cs-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-cs-win.js create mode 100644 jscalendar-1.0/lang/calendar-da.js create mode 100644 jscalendar-1.0/lang/calendar-de.js create mode 100644 jscalendar-1.0/lang/calendar-du.js create mode 100644 jscalendar-1.0/lang/calendar-el.js create mode 100644 jscalendar-1.0/lang/calendar-en.js create mode 100644 jscalendar-1.0/lang/calendar-es.js create mode 100644 jscalendar-1.0/lang/calendar-fi.js create mode 100644 jscalendar-1.0/lang/calendar-fr.js create mode 100644 jscalendar-1.0/lang/calendar-he-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-hr-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-hr.js create mode 100644 jscalendar-1.0/lang/calendar-hu.js create mode 100644 jscalendar-1.0/lang/calendar-it.js create mode 100644 jscalendar-1.0/lang/calendar-jp.js create mode 100644 jscalendar-1.0/lang/calendar-ko-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-ko.js create mode 100644 jscalendar-1.0/lang/calendar-lt-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-lt.js create mode 100644 jscalendar-1.0/lang/calendar-lv.js create mode 100644 jscalendar-1.0/lang/calendar-nl.js create mode 100644 jscalendar-1.0/lang/calendar-no.js create mode 100644 jscalendar-1.0/lang/calendar-pl-utf8.js create mode 100644 jscalendar-1.0/lang/calendar-pl.js create mode 100644 jscalendar-1.0/lang/calendar-pt.js create mode 100644 jscalendar-1.0/lang/calendar-ro.js create mode 100644 jscalendar-1.0/lang/calendar-ru.js create mode 100644 jscalendar-1.0/lang/calendar-ru_win_.js create mode 100644 jscalendar-1.0/lang/calendar-si.js create mode 100644 jscalendar-1.0/lang/calendar-sk.js create mode 100644 jscalendar-1.0/lang/calendar-sp.js create mode 100644 jscalendar-1.0/lang/calendar-sv.js create mode 100644 jscalendar-1.0/lang/calendar-tr.js create mode 100644 jscalendar-1.0/lang/calendar-zh.js create mode 100644 jscalendar-1.0/lang/cn_utf8.js create mode 100644 jscalendar-1.0/menuarrow.gif create mode 100644 jscalendar-1.0/menuarrow2.gif create mode 100644 jscalendar-1.0/multiple-dates.html create mode 100644 jscalendar-1.0/release-notes.html create mode 100644 jscalendar-1.0/simple-1.html create mode 100644 jscalendar-1.0/simple-2.html create mode 100644 jscalendar-1.0/simple-3.html create mode 100644 jscalendar-1.0/skins/aqua/active-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/dark-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/hover-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/menuarrow.gif create mode 100644 jscalendar-1.0/skins/aqua/normal-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/rowhover-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/status-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/theme.css create mode 100644 jscalendar-1.0/skins/aqua/title-bg.gif create mode 100644 jscalendar-1.0/skins/aqua/today-bg.gif create mode 100644 jscalendar-1.0/test-position.html create mode 100644 jscalendar-1.0/test.php create mode 100644 pages/comicpress_config.php create mode 100644 pages/comicpress_cpm_config.php create mode 100644 pages/comicpress_dates.php create mode 100644 pages/comicpress_delete.php create mode 100644 pages/comicpress_first_run.php create mode 100644 pages/comicpress_import.php create mode 100644 pages/comicpress_index.php create mode 100644 pages/comicpress_status.php create mode 100644 pages/comicpress_storyline.php create mode 100644 pages/comicpress_thumbnails.php create mode 100644 pages/edit_post_show_comic.php create mode 100644 pages/storyline_display.php create mode 100644 pages/write_comic_post.php create mode 100644 readme.txt create mode 100644 test_comicpress_manager.php diff --git a/README b/README new file mode 100644 index 0000000..85ffbaa --- /dev/null +++ b/README @@ -0,0 +1,25 @@ +The ComicPress Manager plugin works in conjunction with an installation of ComicPress, +the Webcomic theme for WordPress. ComicPress Manager is intended to reduce the amount +of work required to administer a site running ComicPress. + +This is the 1.4 line. Only critical bugfixes should go here. All new development and +cleanup work should go in the 1.5 line: + +http://github.com/johnbintz/comicpress-manager-1.5/tree/master + +Copyright 2008-2009 John Bintz + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + diff --git a/actions/comicpress_batch-processing.php b/actions/comicpress_batch-processing.php new file mode 100644 index 0000000..a5db98a --- /dev/null +++ b/actions/comicpress_batch-processing.php @@ -0,0 +1,282 @@ +is_cpm_managing_posts = true; + + foreach ($_POST as $field => $value) { + if (($_POST['bulk-action'] != "-1") && ($_POST['bulk-action'] != "individual")) { + $bulk_posts_updated = array(); + + if (preg_match("#^(file|post),([^\,]*),(.*)$#", $field, $matches) > 0) { + list ($all, $type, $date, $id) = $matches; + + if (isset($_POST["batch-${date}"])) { + switch ($_POST['bulk-action']) { + case "delete": + switch ($type) { + case "file": + if (($result = cpm_match_id_to_file($id)) !== false) { + $files_to_delete[] = $result; + } + break; + case "post": $posts_to_delete[] = $id; break; + } + break; + case "regen-thumbs": + if ($type == "file") { + if (($result = cpm_match_id_to_file($id)) !== false) { + $thumbnails_to_regenerate[] = $result; + } + } + break; + case "edit": + if ($type == "post") { + foreach (array('hovertext' => 'bulk-hovertext', + 'transcript' => 'bulk-transcript') as $meta_name => $post_name) { + if (isset($_POST[$post_name])) { + update_post_meta($id, $meta_name, $_POST[$post_name]); + } + } + + $post_categories = wp_get_post_categories($id); + $did_change = false; + + if (isset($_POST['bulk-storyline-in-comic-category'])) { + foreach ($comic_categories as $category_id) { + if (in_array($category_id, $_POST['bulk-storyline-in-comic-category'])) { + if (!in_array($category_id, $post_categories)) { + $did_change = true; + $post_categories[] = $category_id; + } + } else { + if (($index = array_search($category_id, $post_categories)) !== false) { + $did_change = true; + array_splice($post_categories, $index, 1); + } + } + } + } + + if ($did_change) { + wp_set_post_categories($id, $post_categories); + } + + $bulk_posts_updates[] = $id; + } + break; + case "import": + switch ($type) { + case "file": + if (($result = cpm_match_id_to_file($id)) !== false) { + $posts_to_generate[] = $result; + } + break; + case "post": + $posts_that_exist[] = $date; + break; + } + break; + } + } + } + } else { + if (preg_match('#^([0-9]+)-in-comic-category#', $field, $matches) > 0) { + if (get_post($matches[1])) { + $posts_to_recategorize[$matches[1]] = $value; + } + } + + if (preg_match("#^delete-file-(.*)$#", $field, $matches) > 0) { + if (($result = cpm_match_id_to_file($matches[1])) !== false) { + $files_to_delete[] = $result; + } + } + + if (preg_match("#^delete-post-(.*)$#", $field, $matches) > 0) { + if (get_post($matches[1])) { + $posts_to_delete[] = $matches[1]; + } + } + + if (preg_match('#^regen-(.*)$#', $field, $matches) > 0) { + if (($result = cpm_match_id_to_file($matches[1])) !== false) { + $thumbnails_to_regenerate[] = $result; + } + } + + if (preg_match("#^do-redate-file-(.*)$#", $field, $matches) > 0) { + if (($result = cpm_match_id_to_file($matches[1])) !== false) { + $files_to_redate[$result] = $value; + } + } + + if (preg_match("#^generate-post-(.*)$#", $field, $matches) > 0) { + if (($result = cpm_match_id_to_file($matches[1])) !== false) { + $posts_to_generate[] = $result; + } + } + + if (preg_match("#^delete-post-(.*)$#", $field, $matches) > 0) { + if (get_post($matches[1])) { + $posts_to_redate[$matches[1]] = $value; + } + } + } + } + + $did_generate_thumbs = array(); + + $ok_to_keep_uploading = true; + $files_created_in_operation = array(); + + if (count($thumbnails_to_regenerate) > 0) { + $thumbnails_written = array(); + $thumbnails_not_written = array(); + foreach ($thumbnails_to_regenerate as $file) { + $comic_file = pathinfo($file, PATHINFO_BASENAME); + $wrote_thumbnail = cpm_write_thumbnail($file, $comic_file, true); + + if (!is_null($wrote_thumbnail)) { + if (is_array($wrote_thumbnail)) { + $files_created_in_operation = array_merge($files_created_in_operation, $wrote_thumbnail); + + $thumbnails_written[] = $comic_file; + } else { + $thumbnails_not_written[] = $comic_file; + } + } + if (function_exists('cpm_wpmu_is_over_storage_limit')) { + if (cpm_wpmu_is_over_storage_limit()) { $ok_to_keep_uploading = false; break; } + } + } + + if (count($thumbnails_written) > 0) { + $cpm_config->messages[] = sprintf(__("The following thumbnails were written: %s", 'comicpress-manager'), implode(", ", $thumbnails_written)); + } + + if (count($thumbnails_not_written) > 0) { + $cpm_config->warnings[] = sprintf(__("The following thumbnails were not written: %s", 'comicpress-manager'), implode(", ", $thumbnails_not_written)); + } + } + + if (count($bulk_posts_updates) > 0) { + $cpm_config->messages[] = sprintf(__("The following posts were updated: %s", 'comicpress-manager'), implode(", ", $bulk_posts_updates)); + } + + if (count($files_to_delete) > 0) { + $comic_files_deleted = array(); + foreach ($files_to_delete as $file) { + $comic_file = pathinfo($file, PATHINFO_BASENAME); + $delete_targets = array($file); + foreach ($cpm_config->thumbs_folder_writable as $type => $value) { + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$type . "_comic_folder"]; + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $path .= '/' . $subdir; + } + $path .= '/' . $comic_file; + $delete_targets[] = $path;; + } + foreach ($delete_targets as $target) { + if (file_exists($target)) { + @unlink($target); + } + } + $comic_files_deleted[] = $comic_file; + } + + $cpm_config->messages[] = sprintf(__("The following comic files and their associated thumbnails were deleted: %s", 'comicpress-manager'), implode(", ", $comic_files_deleted)); + } + + if (count($posts_to_delete) > 0) { + foreach ($posts_to_delete as $post) { + wp_delete_post($post); + } + $cpm_config->messages[] = sprintf(__("The following posts were deleted: %s", 'comicpress-manager'), implode(", ", $posts_to_delete)); + } + + $master_category = end(explode("/", reset($category_tree))); + + foreach ($posts_to_generate as $file) { + $ok = false; + $comic_file = pathinfo($file, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($comic_file)) !== false) { + if (!in_array(date("Y-m-d", strtotime($result['date'])), $posts_that_exist)) { + if (($post_hash = generate_post_hash($result['date'], $result['converted_title'])) !== false) { + + $post_hash['post_category'] = array($master_category); + $ok = !is_null($post_id = wp_insert_post($post_hash)); + } + } + } + + if ($ok) { + $cpm_config->messages[] = sprintf(__('Created post %1$s for %2$s.', 'comicpress-manager'), $post_id, $comic_file); + } else { + $cpm_config->warnings[] = sprintf(__("Could not create post for %s.", 'comicpress-manager'), $comic_file); + } + } + + foreach ($posts_to_recategorize as $id => $requested_comic_categories) { + if (!in_array($id, $posts_to_delete)) { + $post_categories = wp_get_post_categories($id); + $did_change = false; + + foreach ($comic_categories as $category_id) { + if (in_array($category_id, $requested_comic_categories)) { + if (!in_array($category_id, $post_categories)) { + $did_change = true; + $post_categories[] = $category_id; + } + } else { + if (($index = array_search($category_id, $post_categories)) !== false) { + $did_change = true; + array_splice($post_categories, $index, 1); + } + } + } + + if ($did_change) { + wp_set_post_categories($id, $post_categories); + $cpm_config->messages[] = sprintf(__("Storyline for post %s updated.", 'comicpress-manager'), $id); + } + } + } + + if (!$ok_to_keep_uploading) { + $cpm_config->warnings = array($cpm_config->wpmu_disk_space_message); + + foreach ($files_created_in_operation as $file) { @unlink($file); } + } + + $cpm_config->comic_files = cpm_read_comics_folder(); +} + +function cpm_match_id_to_file($id) { + global $cpm_config; + + foreach ($cpm_config->comic_files as $file) { + $filename = str_replace(".", "_", pathinfo($file, PATHINFO_BASENAME)); + if ($filename == $id) { return $file; } + } + return false; +} + +?> \ No newline at end of file diff --git a/actions/comicpress_build-storyline-schema.php b/actions/comicpress_build-storyline-schema.php new file mode 100644 index 0000000..f2c7bf8 --- /dev/null +++ b/actions/comicpress_build-storyline-schema.php @@ -0,0 +1,191 @@ +is_cpm_modifying_categories = true; + + $categories_to_create = array(); + $categories_to_rename = array(); + $category_ids_to_clean = array(); + + extract(cpm_get_all_comic_categories()); + + $comic_posts = cpm_query_posts(); + $comic_posts_by_category_id = array(); + foreach ($comic_posts as $post) { + foreach (wp_get_post_categories($post->ID) as $category) { + if (!isset($comic_posts_by_category_id[$category])) { $comic_posts_by_category_id[$category] = array(); } + $comic_posts_by_category_id[$category][] = $post->ID; + } + } + + foreach ($_POST as $field => $value) { + $parts = explode("/", $field); + if (($parts[0] == "0") && (count($parts) > 1)) { + $category_id = end($parts); + $category = get_category($category_id, ARRAY_A); + if (!empty($category)) { + if ($category['cat_name'] != $value) { + $cpm_config->messages[] = sprintf(__('Category %1$s renamed to %2$s.', 'comicpress-manager'), $category['cat_name'], $value); + $category['cat_name'] = $value; + wp_update_category($category); + + $category_ids_to_clean[] = $category_id; + } + } else { + $categories_to_create[$field] = $value; + } + + if (($index = array_search($field, $category_tree)) !== false) { + array_splice($category_tree, $index, 1); + } + } + } + + if (isset($_POST['original-categories'])) { + foreach (explode(",", $_POST['original-categories']) as $node) { + if (!isset($_POST[$node])) { + $category_id = end(explode("/", $node)); + $category = get_category($category_id); + $original_cat_name = $category->cat_name; + + // ensure that we're not deleting a ComicPress category + $ok = true; + foreach (array('comiccat', 'blogcat') as $type) { + if ($category_id == $cpm_config->properties[$type]) { $ok = false; } + } + + // ensure that the category truly is a child of the comic category + if ($ok) { + $category = get_category($category_id); + $ok = false; + + if (!is_wp_error($category)) { + while (($category->parent != 0) && ($category->parent != $cpm_config->properties['comiccat'])) { + $category = get_category($category->parent); + } + if ($category->parent == $cpm_config->properties['comiccat']) { $ok = true; } + } + } + + if ($ok) { + wp_delete_category($category_id); + $category_ids_to_clean[] = $category_id; + + $cpm_config->messages[] = sprintf(__('Category %s deleted.', 'comicpress-manager'), $original_cat_name); + } + } + } + } + + uksort($categories_to_create, 'cpm_sort_category_keys_by_length'); + + $changed_field_ids = array(); + $removed_field_ids = array(); + + $target_category_ids = array(); + + foreach ($categories_to_create as $field => $value) { + $original_field = $field; + foreach ($changed_field_ids as $changed_field => $new_field) { + if ((strpos($field, $changed_field) === 0) && (strlen($field) > strlen($changed_field))) { + $field = str_replace($changed_field, $new_field, $field); + break; + } + } + + $parts = explode("/", $field); + $target_id = array_pop($parts); + $parent_id = array_pop($parts); + + if (!category_exists($value)) { + $category_id = wp_create_category($value, $parent_id); + $category_ids_to_clean[] = $category_id; + + array_push($parts, $parent_id); + array_push($parts, $category_id); + $changed_field_ids[$original_field] = implode("/", $parts); + + $cpm_config->messages[] = sprintf(__('Category %s created.', 'comicpress-manager'), $value); + } else { + $cpm_config->warnings[] = sprintf(__("The category %s already exists. Please enter a new name.", 'comicpress-manager'), $value); + $removed_field_ids[] = $field; + } + } + + $order = array_diff(explode(",", $_POST['order']), $removed_field_ids); + for ($i = 0; $i < count($order); ++$i) { + if (isset($changed_field_ids[$order[$i]])) { + $order[$i] = $changed_field_ids[$order[$i]]; + } + } + + // ensure we're writing sane data + $new_order = array(); + $valid_comic_categories = array(); + foreach ($order as $node) { + $parts = explode("/", $node); + if (($parts[0] == "0") && (count($parts) > 1)) { + $new_order[] = $node; + $valid_comic_categories[] = end($parts); + } + } + + $comic_categories_preserved = array(); + foreach ($comic_posts as $post) { + $categories = wp_get_post_categories($post->ID); + if (count(array_intersect($valid_comic_categories, $categories)) == 0) { + $all_parent_categories = array(); + + foreach ($comic_posts_by_category_id as $category => $post_ids) { + if (in_array($post->ID, $post_ids)) { + foreach ($new_order as $node) { + $parts = explode("/", $node); + if ($category == end($parts)) { + $parts = explode("/", $node); + array_pop($parts); + if (count($parts) > 1) { $all_parent_categories[] = implode("/", $parts); } + } + } + } + } + + if (count($all_parent_categories) > 0) { + foreach ($all_parent_categories as $category_node) { + if (in_array($category_node, $new_order)) { + $categories[] = end(explode("/", $category_node)); + } + } + } else { + $categories[] = $cpm_config->properties['comiccat']; + } + + wp_set_post_categories($post->ID, $categories); + $comic_categories_preserved[] = $post->ID; + } + } + + if (count($comic_categories_preserved) > 0) { + $cpm_config->messages[] = sprintf(__("The following orphaned comic posts were placed into their original category's parent: %s"), implode(", ", $comic_categories_preserved)); + } + + $cpm_config->messages[] = __('Storyline structure saved.', 'comicpress-manager'); + update_option("comicpress-storyline-category-order", implode(",", $new_order)); + + clean_term_cache($category_ids_to_clean, 'category'); + wp_cache_flush(); + } +} + +function cpm_sort_category_keys_by_length($a, $b) { + return strlen($a) - strlen($b); +} + +?> diff --git a/actions/comicpress_change-dates.php b/actions/comicpress_change-dates.php new file mode 100644 index 0000000..c1cb4cf --- /dev/null +++ b/actions/comicpress_change-dates.php @@ -0,0 +1,180 @@ +is_cpm_managing_posts = true; + + // find all comic files that will be shifted + foreach ($cpm_config->comic_files as $comic_file) { + $comic_filename = pathinfo($comic_file, PATHINFO_BASENAME); + $filename_info = cpm_breakdown_comic_filename($comic_filename); + $key = md5($comic_file); + + if (isset($_POST['dates'][$key])) { + if ($_POST['dates'][$key] != $filename_info['date']) { + $timestamp = strtotime($_POST['dates'][$key]); + if (($timestamp !== false) && ($timestamp !== -1)) { + $target_date = date(CPM_DATE_FORMAT, $timestamp); + + $new_comic_filename = $target_date . substr($comic_filename, $cpm_date_string_length); + + $comic_posts_to_date_shift[strtotime($filename_info['date'])] = $timestamp; + if (!isset($comic_post_target_date_counts[$timestamp])) { + $comic_post_target_date_counts[$timestamp] = 0; + } + $comic_post_target_date_counts[$timestamp]++; + + if (!isset($comic_files_to_date_shift[$timestamp])) { + $comic_files_to_date_shift[$timestamp] = array($comic_filename, $new_comic_filename); + } + } + } + } + } + + $comic_posts_to_change = array(); + + $all_posts = cpm_query_posts(); + + // get the target dates for all files to move + if (count($comic_posts_to_date_shift) > 0) { + foreach ($all_posts as $comic_post) { + $post_date_day = substr($comic_post->post_date, 0, $wp_date_string_length); + $post_date_day_timestamp = strtotime($post_date_day); + if (isset($comic_posts_to_date_shift[$post_date_day_timestamp])) { + if ($comic_post_target_date_counts[$comic_posts_to_date_shift[$post_date_day_timestamp]] == 1) { + $new_post_date = date("Y-m-d", $comic_posts_to_date_shift[$post_date_day_timestamp]) . substr($comic_post->post_date, $wp_date_string_length); + $comic_posts_to_change[$comic_post->ID] = array($comic_post, $new_post_date); + } + } + } + } + + $final_post_day_counts = array(); + + // intersect all existing and potential new posts, counting how many + // posts occur on each day + foreach ($all_posts as $comic_post) { + if (isset($comic_posts_to_change[$comic_post->ID])) { + $date_to_use = $comic_posts_to_change[$comic_post->ID][1]; + } else { + $date_to_use = $comic_post->post_date; + } + + $day_to_use = strtotime(substr($date_to_use, 0, $wp_date_string_length)); + if (!isset($final_post_day_counts[$day_to_use])) { + $final_post_day_counts[$day_to_use] = 0; + } + $final_post_day_counts[$day_to_use]++; + } + + $posts_moved = array(); + + // move what can be moved + foreach ($comic_posts_to_change as $id => $info) { + list($comic_post, $new_post_date) = $info; + $new_post_day = strtotime(substr($new_post_date, 0, $wp_date_string_length)); + if ($final_post_day_counts[$new_post_day] == 1) { + $old_post_date = $comic_post->post_date; + $comic_post->post_date = $new_post_date; + $comic_post->post_date_gmt = get_gmt_from_date($new_post_date); + wp_update_post($comic_post); + $cpm_config->messages[] = sprintf(__('Post %1$s moved to %2$s.', 'comicpress-manager'), $id, date("Y-m-d", $new_post_day)); + $posts_moved[$new_post_day] = array($comic_post, $old_post_date); + } else { + $cpm_config->warnings[] = sprintf(__('Moving post %1$s to %2$s would cause two comic posts to exist on the same day. This is not allowed in the automated process.', 'comicpress-manager'), $id, date("Y-m-d", $new_post_day)); + } + } + + // try to move all the files, and roll back any changes to files and posts that fail + foreach ($comic_post_target_date_counts as $target_date => $count) { + if (!isset($final_post_day_counts[$target_date]) || ($final_post_day_counts[$target_date] == 1)) { + if ($count > 1) { + $cpm_config->warnings[] = sprintf(__("You are moving two comics to the same date: %s. This is not allowed in the automated process.", 'comicpress-manager'), $target_date); + } else { + list($comic_filename, $new_comic_filename) = $comic_files_to_date_shift[$target_date]; + + $roll_back_change = false; + + $calculate_do_move = array(); + + foreach (array( + array(__('comic folder', 'comicpress-manager'), 'comic_folder', ""), + array(__('RSS feed folder', 'comicpress-manager'), 'rss_comic_folder', "rss"), + array(__('archive folder', 'comicpress-manager'), 'archive_comic_folder', "archive")) as $folder_info) { + list ($name, $property, $type) = $folder_info; + + $do_move = true; + if ($type != "") { + if ($cpm_config->separate_thumbs_folder_defined[$type]) { + if ($cpm_config->thumbs_folder_writable[$type]) { + $do_move = (cpm_option("${type}-generate-thumbnails") == 1); + } + } + $calculate_do_move[$type] = $do_move; + } + + if ($do_move) { + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$property]; + if (!file_exists($path)) { + $cpm_config->errors[] = sprintf(__('The %1$s %2$s does not exist.', 'comicpress-manager'), $name, $cpm_config->properties[$property]); + + $roll_back_change = true; + } else { + if (file_exists($path . '/' . $comic_filename)) { + if (@rename($path . '/' . $comic_filename, $path . '/' . $new_comic_filename)) { + $cpm_config->messages[] = sprintf(__('Rename %1$s file %2$s to %3$s.', 'comicpress-manager'), $name, $comic_filename, $new_comic_filename); + } else { + $cpm_config->warnings[] = sprintf(__('The renaming of %1$s to %2$s failed. Check the permissions on %3$s', 'comicpress-manager'), $comic_filename, $new_comic_filename, $path); + + $roll_back_change = true; + } + } + } + } + } + + if ($roll_back_change) { + foreach (array( + array(__('comic folder', 'comicpress-manager'), 'comic_folder',""), + array(__('RSS feed folder', 'comicpress-manager'), 'rss_comic_folder',"rss"), + array(__('archive folder', 'comicpress-manager'), 'archive_comic_folder',"archive")) as $folder_info) { + list ($name, $property) = $folder_info; + + $do_move = isset($calculate_do_move[$type]) ? $calculate_do_move[$type] : true; + + if ($do_move) { + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$property]; + if (file_exists($path . '/' . $new_comic_filename)) { + @rename($path . '/' . $new_comic_filename, $path . '/' . $comic_filename); + $cpm_config->messages[] = sprintf(__("Rolling back %s.", 'comicpress-manager'), $new_comic_filename); + } + } + } + + if (isset($posts_moved[$target_date])) { + list($comic_post, $old_post_date) = $posts_moved[$target_date]; + $comic_post->post_date = $old_post_date; + $comic_post->post_date_gmt = get_gmt_from_date($old_post_date); + wp_update_post($comic_post); + $cpm_config->messages[] = sprintf(__('Rename error, rolling back post %1$s to %2$s.', 'comicpress-manager'), $comic_post->ID, $old_post_date); + } + } + } + } + } + + $cpm_config->comic_files = cpm_read_comics_folder(); +} + +?> \ No newline at end of file diff --git a/actions/comicpress_create-missing-posts.php b/actions/comicpress_create-missing-posts.php new file mode 100644 index 0000000..3250d3c --- /dev/null +++ b/actions/comicpress_create-missing-posts.php @@ -0,0 +1,110 @@ +post_date)); + } + $all_post_dates = array_unique($all_post_dates); + $duplicate_posts_within_creation = array(); + + $posts_created = array(); + $thumbnails_written = array(); + $thumbnails_not_written = array(); + $invalid_filenames = array(); + $duplicate_posts = array(); + $new_thumbnails_not_needed = array(); + + $execution_time = ini_get("max_execution_time"); + $max_posts_imported = (int)($execution_time / 2); + + $imported_post_count = 0; + $safe_exit = false; + + if (strtotime($_POST['time']) === false) { + $cpm_config->warnings[] = sprintf(__('There was an error in the post time (%1$s). The time is not parseable by strtotime().', 'comicpress-manager'), $_POST['time']); + } else { + foreach ($cpm_config->comic_files as $comic_file) { + $comic_file = pathinfo($comic_file, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($comic_file)) !== false) { + extract($result, EXTR_PREFIX_ALL, 'filename'); + + $ok_to_create_post = !in_array($result['date'], $all_post_dates); + $show_duplicate_post_message = false; + $post_id = null; + + if (isset($duplicate_posts_within_creation[$result['date']])) { + $ok_to_create_post = false; + $show_duplicate_post_message = true; + $post_id = $duplicate_posts_within_creation[$result['date']]; + } + + if ($ok_to_create_post) { + if (isset($_POST['duplicate_check'])) { + $ok_to_create_post = (($post_id = post_exists($post_title, $post_content, $post_date)) == 0); + } + } else { + if (!isset($_POST['duplicate_check'])) { + $ok_to_create_post = true; + } + } + + if ($ok_to_create_post) { + if (($post_hash = generate_post_hash($filename_date, $filename_converted_title)) !== false) { + if (!is_null($post_id = wp_insert_post($post_hash))) { + $imported_post_count++; + $posts_created[] = get_post($post_id, ARRAY_A); + $date = date(CPM_DATE_FORMAT, strtotime($filename_date)); + $all_post_dates[] = $date; + $duplicate_posts_within_creation[$date] = $post_id; + + foreach (array('hovertext', 'transcript') as $field) { + if (!empty($_POST["${field}-to-use"])) { update_post_meta($post_id, $field, $_POST["${field}-to-use"]); } + } + + if (isset($_POST['thumbnails'])) { + $wrote_thumbnail = cpm_write_thumbnail($cpm_config->path . '/' . $comic_file, $comic_file); + if (!is_null($wrote_thumbnail)) { + if ($wrote_thumbnail) { + $thumbnails_written[] = $comic_file; + } else { + $thumbnails_not_written[] = $comic_file; + } + } else { + $new_thumbnails_not_needed[] = $comic_file; + } + } + } + } else { + $invalid_filenames[] = $comic_file; + } + } else { + if ($show_duplicate_post_message) { + $duplicate_posts[] = array(get_post($post_id, ARRAY_A), $comic_file); + } + } + } + if ($imported_post_count >= $max_posts_imported) { + $safe_exit = true; break; + } + } + } + + $cpm_config->import_safe_exit = $safe_exit; + + if ($safe_exit) { + $cpm_config->messages[] = __("Import safely exited before you ran out of execution time. Scroll down to continue creating missing posts.", 'comicpress-manager'); + } + + if (count($posts_created) > 0) { + cpm_display_operation_messages(compact('invalid_filenames', 'thumbnails_written', + 'thumbnails_not_written', 'posts_created', + 'duplicate_posts', 'new_thumbnails_not_needed')); + } else { + $cpm_config->messages[] = __("No new posts needed to be created.", 'comicpress-manager'); + } +} + +?> diff --git a/actions/comicpress_delete-comic-and-post.php b/actions/comicpress_delete-comic-and-post.php new file mode 100644 index 0000000..ead5644 --- /dev/null +++ b/actions/comicpress_delete-comic-and-post.php @@ -0,0 +1,45 @@ +path . '/' . $comic_file)) { + if (($result = cpm_breakdown_comic_filename($comic_file)) !== false) { + extract($result, EXTR_PREFIX_ALL, 'filename'); + + $all_possible_posts = array(); + foreach (cpm_query_posts() as $comic_post) { + if (date(CPM_DATE_FORMAT, strtotime($comic_post->post_date)) == $filename_date) { + $all_possible_posts[] = $comic_post->ID; + } + } + + if (count($all_possible_posts) > 1) { + $cpm_config->messages[] = sprintf( + __('There are multiple posts (%1$s) with the date %2$s in the comic categories. Please manually delete the posts.', 'comicpress-manager'), + implode(", ", $all_possible_posts), + $filename_date + ); + + } else { + $delete_targets = array($cpm_config->path . '/' . $comic_file); + foreach ($cpm_config->thumbs_folder_writable as $type => $value) { + $delete_targets[] = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$type . "_comic_folder"] . '/' . $comic_file; + } + foreach ($delete_targets as $target) { @unlink($target); } + + if (count($all_possible_posts) == 0) { + $cpm_config->messages[] = sprintf(__("%s deleted. No matching posts found. Any associated thumbnails were also deleted.", 'comicpress-manager'), $comic_file); + } else { + wp_delete_post($all_possible_posts[0]); + $cpm_config->messages[] = sprintf(__('%1$s and post %2$s deleted. Any associated thumbnails were also deleted.', 'comicpress-manager'), $comic_file, $all_possible_posts[0]); + } + $cpm_config->comic_files = cpm_read_comics_folder(); + } + } + } +} + +?> \ No newline at end of file diff --git a/actions/comicpress_do-first-run.php b/actions/comicpress_do-first-run.php new file mode 100644 index 0000000..c713194 --- /dev/null +++ b/actions/comicpress_do-first-run.php @@ -0,0 +1,52 @@ +messages[] = sprintf(__("Directory created: %s", 'comicpress-manager'), $dir_to_make); + } + } else { + $all_made = false; + if (!$is_wpmu) { + $cpm_config->warnings[] = sprintf(__("Unable to create directory: %s", 'comicpress-manager'), $dir_to_make); + } + } + } + } + + if (!$any_made) { + $cpm_config->messages[] = __("All the directories were already found, nothing to do!", "comicpress-manager"); + } + if ($is_wpmu) { + if ($all_made) { + $cpm_config->messages[] = sprintf(__("All directories created!", 'comicpress-manager'), $dir_to_make); + cpm_wpmu_complete_first_run(); + } else { + $cpm_config->warnings[] = sprintf(__("Unable to create directories! Contact your administrator.", 'comicpress-manager'), $dir_to_make); + } + update_option("comicpress-manager-cpm-did-first-run", 1); + } + + $cpm_config->did_first_run = true; + + cpm_read_information_and_check_config(); +} + +?> diff --git a/actions/comicpress_generate-thumbnails.php b/actions/comicpress_generate-thumbnails.php new file mode 100644 index 0000000..cf3cc04 --- /dev/null +++ b/actions/comicpress_generate-thumbnails.php @@ -0,0 +1,36 @@ +path . '/' . $comic_file, $comic_file, true); + + if (!is_null($wrote_thumbnail)) { + if (is_array($wrote_thumbnail)) { + $files_created_in_operation = array_merge($files_created_in_operation, $wrote_thumbnail); + + $cpm_config->messages[] = sprintf(__("Wrote thumbnail for %s.", 'comicpress-manager'), $comic_file); + } else { + $cpm_config->warnings[] = sprintf(__("Could not write thumbnail for %s. Check the permissions on the thumbnail directories.", 'comicpress-manager'), $comic_file); + } + } + if (function_exists('cpm_wpmu_is_over_storage_limit')) { + if (cpm_wpmu_is_over_storage_limit()) { $ok_to_keep_uploading = false; break; } + } + } + + if (!$ok_to_keep_uploading) { + $cpm_config->messages = array(); + $cpm_config->warnings = array($cpm_config->wpmu_disk_space_message); + + foreach ($files_created_in_operation as $file) { @unlink($file); } + } +} + +?> \ No newline at end of file diff --git a/actions/comicpress_manage-subcomic.php b/actions/comicpress_manage-subcomic.php new file mode 100644 index 0000000..43b0e7e --- /dev/null +++ b/actions/comicpress_manage-subcomic.php @@ -0,0 +1,29 @@ +term_id; } + + if ($target_category_id == $category->term_id) { + if (is_dir(CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['comic_folder'] . '/' . $category->slug)) { + $final_category_id = $category->term_id; break; + } + } + $first = false; + } + + update_option('comicpress-manager-manage-subcomic', $final_category_id); + cpm_read_information_and_check_config(); + + $cpm_config->messages[] = sprintf(__("Now managing %s.", 'comicpress-manager'), get_cat_name($final_category_id)); +} + +?> \ No newline at end of file diff --git a/actions/comicpress_multiple-upload-file.php b/actions/comicpress_multiple-upload-file.php new file mode 100644 index 0000000..f3b9c71 --- /dev/null +++ b/actions/comicpress_multiple-upload-file.php @@ -0,0 +1,41 @@ +warnings[] = sprintf(__('There was an error in the post time (%1$s). The time is not parseable by strtotime().', 'comicpress-manager'), $_POST['time']); + } else { + $files_to_handle = array(); + + foreach ($_FILES as $name => $info) { + if (strpos($name, "upload-") !== false) { + if (is_uploaded_file($_FILES[$name]['tmp_name'])) { + $files_to_handle[] = $name; + } else { + switch ($_FILES[$name]['error']) { + case UPLOAD_ERR_INI_SIZE: + case UPLOAD_ERR_FORM_SIZE: + $cpm_config->warnings[] = sprintf(__("The file %s was too large. The max allowed filesize for uploads to your server is %s.", 'comicpress-manager'), $_FILES[$name]['name'], ini_get('upload_max_filesize')); + break; + case UPLOAD_ERR_NO_FILE: + break; + default: + $cpm_config->warnings[] = sprintf(__("There was an error in uploading %s. The PHP upload error code was %s.", 'comicpress-manager'), $_FILES[$name]['name'], $_FILES[$name]['error']); + break; + } + } + } + } + + if (count($files_to_handle) > 0) { + cpm_handle_file_uploads($files_to_handle); + + $cpm_config->comic_files = cpm_read_comics_folder(); + } else { + $cpm_config->warnings[] = __("You didn't upload any files!", 'comicpress-manager'); + } + } +} + +?> \ No newline at end of file diff --git a/actions/comicpress_restore-backup.php b/actions/comicpress_restore-backup.php new file mode 100644 index 0000000..759b5ca --- /dev/null +++ b/actions/comicpress_restore-backup.php @@ -0,0 +1,24 @@ +config_filepath); + if (is_numeric($_POST['backup-file-time'])) { + if (file_exists($config_dirname . '/comicpress-config.php.' . $_POST['backup-file-time'])) { + if ($cpm_config->can_write_config) { + if (@copy($config_dirname . '/comicpress-config.php.' . $_POST['backup-file-time'], + $config_dirname . '/comicpress-config.php') !== false) { + + cpm_read_information_and_check_config(); + + $cpm_config->messages[] = sprintf(__("Restored %s. Check to make sure your site is functioning correctly.", 'comicpress-manager'), 'comicpress-config.php.' . $_POST['backup-file-time']); + } else { + $cpm_config->warnings[] = sprintf(__("Could not restore %s. Check the permissions of your theme folder and try again.", 'comicpress-manager'), 'comicpress-config.php.' . $_POST['backup-file-time']); + } + } + } + } +} + +?> \ No newline at end of file diff --git a/actions/comicpress_skip-first-run.php b/actions/comicpress_skip-first-run.php new file mode 100644 index 0000000..d5a6d48 --- /dev/null +++ b/actions/comicpress_skip-first-run.php @@ -0,0 +1,11 @@ +messages[] = __("No directories were created. You'll need to create directories on your own.", 'comicpress-manager'); + + cpm_read_information_and_check_config(); +} + +?> \ No newline at end of file diff --git a/actions/comicpress_update-config.php b/actions/comicpress_update-config.php new file mode 100644 index 0000000..0404722 --- /dev/null +++ b/actions/comicpress_update-config.php @@ -0,0 +1,79 @@ +is_cpm_managing_posts = true; + + $do_write = false; + $use_default_file = false; + + if ($cpm_config->config_method == "comicpress-config.php") { + $do_write = !isset($_POST['just-show-config']); + } else { + $use_default_file = true; + } + + include(realpath(dirname(__FILE__)) . '/../cp_configuration_options.php'); + + $original_properties = $cpm_config->properties; + + foreach ($comicpress_configuration_options as $field_info) { + extract($field_info); + + $config_id = (isset($field_info['variable_name'])) ? $field_info['variable_name'] : $field_info['id']; + + switch ($type) { + case "folder": + $cpm_config->properties[$config_id] = $_POST[$_POST["folder-{$config_id}"] . "-" . $config_id]; + break; + default: + if (isset($_POST[$config_id])) { + $cpm_config->properties[$config_id] = $_POST[$config_id]; + } + break; + } + } + + //if (function_exists('get_site_option')) { + // cpm_wpmu_save_options(); + // $cpm_config->is_wp_options = true; + //} + + if (!$cpm_config->is_wp_options) { + if (!$do_write) { + $file_output = write_comicpress_config_functions_php($cpm_config->config_filepath, true, $use_default_file); + $cpm_config->properties = $original_properties; + if ($use_default_file) { + $cpm_config->messages[] = __("No comicpress-config.php file was found in your theme folder. Using default configuration file.", 'comicpress-manager'); + } + $cpm_config->messages[] = __("Your configuration:", 'comicpress-manager') . "
" . htmlentities($file_output) . "
"; + } else { + if (!is_null($cpm_config->config_filepath)) { + if (is_array($file_output = write_comicpress_config_functions_php($cpm_config->config_filepath))) { + $cpm_config->config_method = read_current_theme_comicpress_config(); + $cpm_config->path = get_comic_folder_path(); + $cpm_config->plugin_path = PLUGINDIR . '/' . plugin_basename(__FILE__); + + cpm_read_information_and_check_config(); + + $backup_file = pathinfo($file_output[0], PATHINFO_BASENAME); + + $cpm_config->messages[] = sprintf(__("Configuration updated and original config backed up to %s. Rename this file to comicpress-config.php if you are having problems.", 'comicpress-manager'), $backup_file); + + } else { + $relative_path = substr(realpath($cpm_config->config_filepath), CPM_STRLEN_REALPATH_DOCUMENT_ROOT); + $cpm_config->warnings[] = sprintf(__("Configuration not updated, check the permissions of %s and the theme folder. They should be writable by the Webserver process. Alternatively, copy and paste the following code into your comicpress-config.php file:", 'comicpress-manager'), $relative_path) . "
" . htmlentities($file_output) . "
"; + + $cpm_config->properties = $original_properties; + } + } + } + } else { + cpm_read_information_and_check_config(); + + $cpm_config->messages[] = sprintf(__("Configuration updated in database.", 'comicpress-manager'), $backup_file); + } +} + +?> diff --git a/actions/comicpress_update-cpm-config.php b/actions/comicpress_update-cpm-config.php new file mode 100644 index 0000000..9f918dd --- /dev/null +++ b/actions/comicpress_update-cpm-config.php @@ -0,0 +1,58 @@ + $value) { update_option($option, $value); } + $cpm_config->messages[] = __("ComicPress Manager configuration updated.", 'comicpress-manager'); + } else { + $cpm_config->warnings[] = __("You entered invalid data into your configuration. Configuration not updated.", 'comicpress-manager'); + } +} + +function cpm_validate_cpm_option_cpm_default_post_time($value) { + return (strtotime("2008-01-01 {$value}") !== false); +} + +?> \ No newline at end of file diff --git a/actions/comicpress_write-comic-post.php b/actions/comicpress_write-comic-post.php new file mode 100644 index 0000000..e687e15 --- /dev/null +++ b/actions/comicpress_write-comic-post.php @@ -0,0 +1,38 @@ + 0) { + list($posts_created, $duplicated_posts) = cpm_handle_file_uploads($files_to_handle); + + if (count($posts_created) > 0) { + if (count($posts_created) == 1) { + ?>warnings[] = __("More than one new post was generated! Please report this error.", 'comicpress-manager'); + } + } + + if (count($duplicated_posts) > 0) { + if (count($duplicated_posts) == 1) { + ?>warnings[] = __("More than one duplicate post was found! Please report this error.", 'comicpress-manager'); + } + } + + $cpm_config->warnings[] = __("No posts were created, and no duplicate posts could be found!", 'comicpress-manager'); + } else { + $cpm_config->warnings[] = __("You didn't upload any files!", 'comicpress-manager'); + } +} + +?> \ No newline at end of file diff --git a/comicpress-icon.png b/comicpress-icon.png new file mode 100644 index 0000000000000000000000000000000000000000..a838003714237c5f6bd9651d8235d4c9abb34a14 GIT binary patch literal 905 zcmV;419tq0P)Px#32;bRa{vGh*8l(w*8xH(n|J^K00(qQO+^RU0SW^n0{Pj7hX4Qr8%ab#R5;6} zlih1ubsWY&zjM+gZTgZXwpvb{b!9DS+G(fEi@{1-sVFF;VQd$|kTI!q7ybjY;BH0P zpo1dnrdRa^5%j{BE)LnCETE94S)F#V=A`LMlBP9DljfYS7p=v6pZn+GdEoOX01;7u z6EJ`m(uqW5J{ld&o2DPYXBfGGa5x?ag}wy715BW%loGXXZUlzRWb&Oau3QP*mZd_& z!*q0a1F)V-k+^*uUDqXY`Et|<2HysL0V+yFT)?yO+1U?2o1E+$o0!077-+hV(lh|X zwh`N=kje1<^fad@Cl?1sM$Q8EepF|2c@VK zi?}=WkK+pjnEUi5nM9o3Y83>O zrcwNB84W0JtU;wrHknZAL?Ystk46VwyE`;BHPY1|BL8p+Gd9QeY8DaUUsbXu_X->A zRw`_*WRUeN^U>&_BX631m0QK_a-!)v#XpxQrT(B=$n#%`ZL|F#$r z?*Q;P6dq3#0JZ!ErNw!w#R5ucfM8oTV$}iAfMyLG`@s&MVdPA!-dRnj0BC)z3vaWV zQn8NM`x6wC(FgAWe^*9C`VXI=<&l()sE|+`WVBq*Lr}tRj^%yUV|` z{`p6g*H-xE?^Y&$`1t^&1C+md?QGvGt=ss0ZRl-&wB{D1R>Lahu(vkJZComicPress theme installation. +Version: 1.4.5 +Author: John Bintz +Author URI: http://www.coswellproductions.com/wordpress/ + +Copyright 2009 John Bintz (email : john@coswellproductions.com) + +This program is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 2 of the License, or +(at your option) any later version. + +This program is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +You should have received a copy of the GNU General Public License +along with this program; if not, write to the Free Software +Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA + +*/ + +/** + * The loader for the rest of the plugin components. + */ + +// load the config, since you can do useful things with this in your theme +require_once('comicpress_manager_config.php'); + +// only load the plugin code of we're in the administration part of WordPress. +if (WP_ADMIN === true) { + require_once('comicpress_manager_admin.php'); +} + +?> diff --git a/comicpress-manager.pot b/comicpress-manager.pot new file mode 100644 index 0000000..a13dffa --- /dev/null +++ b/comicpress-manager.pot @@ -0,0 +1,1574 @@ +# SOME DESCRIPTIVE TITLE. +# Copyright (C) YEAR John Bintz +# This file is distributed under the same license as the PACKAGE package. +# FIRST AUTHOR , YEAR. +# +#, fuzzy +msgid "" +msgstr "" +"Project-Id-Version: PACKAGE VERSION\n" +"Report-Msgid-Bugs-To: http://wordpress.org/tag/comicpress-manager\n" +"POT-Creation-Date: 2009-02-28 09:06-0500\n" +"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n" +"Last-Translator: FULL NAME \n" +"Language-Team: LANGUAGE \n" +"MIME-Version: 1.0\n" +"Content-Type: text/plain; charset=CHARSET\n" +"Content-Transfer-Encoding: 8bit\n" +"Plural-Forms: nplurals=INTEGER; plural=EXPRESSION;\n" + +#: actions/comicpress_batch-processing.php:172 +#, php-format +msgid "The following thumbnails were written: %s" +msgstr "" + +#: actions/comicpress_batch-processing.php:176 +#, php-format +msgid "The following thumbnails were not written: %s" +msgstr "" + +#: actions/comicpress_batch-processing.php:181 +#, php-format +msgid "The following posts were updated: %s" +msgstr "" + +#: actions/comicpress_batch-processing.php:205 +#, php-format +msgid "" +"The following comic files and their associated thumbnails were " +"deleted: %s" +msgstr "" + +#: actions/comicpress_batch-processing.php:212 +#, php-format +msgid "The following posts were deleted: %s" +msgstr "" + +#: actions/comicpress_batch-processing.php:231 +#, php-format +msgid "Created post %1$s for %2$s." +msgstr "" + +#: actions/comicpress_batch-processing.php:233 +#, php-format +msgid "Could not create post for %s." +msgstr "" + +#: actions/comicpress_batch-processing.php:258 +#, php-format +msgid "Storyline for post %s updated." +msgstr "" + +#: actions/comicpress_build-storyline-schema.php:36 +#, php-format +msgid "Category %1$s renamed to %2$s." +msgstr "" + +#: actions/comicpress_build-storyline-schema.php:82 +#, php-format +msgid "Category %s deleted." +msgstr "" + +#: actions/comicpress_build-storyline-schema.php:116 +#, php-format +msgid "Category %s created." +msgstr "" + +#: actions/comicpress_build-storyline-schema.php:118 +#, php-format +msgid "The category %s already exists. Please enter a new name." +msgstr "" + +#: actions/comicpress_build-storyline-schema.php:176 +#, php-format +msgid "" +"The following orphaned comic posts were placed into their original " +"category's parent: %s" +msgstr "" + +#: actions/comicpress_build-storyline-schema.php:179 +msgid "Storyline structure saved." +msgstr "" + +#: actions/comicpress_change-dates.php:92 +#, php-format +msgid "Post %1$s moved to %2$s." +msgstr "" + +#: actions/comicpress_change-dates.php:95 +#, php-format +msgid "" +"Moving post %1$s to %2$s would cause two comic posts to exist on the " +"same day. This is not allowed in the automated process." +msgstr "" + +#: actions/comicpress_change-dates.php:103 +#, php-format +msgid "" +"You are moving two comics to the same date: %s. This is " +"not allowed in the automated process." +msgstr "" + +#: actions/comicpress_change-dates.php:112 +#: actions/comicpress_change-dates.php:149 +msgid "comic folder" +msgstr "" + +#: actions/comicpress_change-dates.php:113 +#: actions/comicpress_change-dates.php:150 pages/comicpress_index.php:117 +msgid "RSS feed folder" +msgstr "" + +#: actions/comicpress_change-dates.php:114 +#: actions/comicpress_change-dates.php:151 +msgid "archive folder" +msgstr "" + +#: actions/comicpress_change-dates.php:130 +#, php-format +msgid "The %1$s %2$s does not exist." +msgstr "" + +#: actions/comicpress_change-dates.php:136 +#, php-format +msgid "Rename %1$s file %2$s to %3$s." +msgstr "" + +#: actions/comicpress_change-dates.php:138 +#, php-format +msgid "" +"The renaming of %1$s to %2$s failed. Check the permissions " +"on %3$s" +msgstr "" + +#: actions/comicpress_change-dates.php:160 +#, php-format +msgid "Rolling back %s." +msgstr "" + +#: actions/comicpress_change-dates.php:170 +#, php-format +msgid "Rename error, rolling back post %1$s to %2$s." +msgstr "" + +#: actions/comicpress_create-missing-posts.php:27 +#: actions/comicpress_multiple-upload-file.php:7 +#, php-format +msgid "" +"There was an error in the post time (%1$s). The time is " +"not parseable by strtotime()." +msgstr "" + +#: actions/comicpress_create-missing-posts.php:98 +msgid "" +"Import safely exited before you ran out of execution time. " +"Scroll down to continue creating missing posts." +msgstr "" + +#: actions/comicpress_create-missing-posts.php:106 +msgid "No new posts needed to be created." +msgstr "" + +#: actions/comicpress_delete-comic-and-post.php:21 +#, php-format +msgid "" +"There are multiple posts (%1$s) with the date %2$s in the comic categories. " +"Please manually delete the posts." +msgstr "" + +#: actions/comicpress_delete-comic-and-post.php:34 +#, php-format +msgid "" +"%s deleted. No matching posts found. Any associated " +"thumbnails were also deleted." +msgstr "" + +#: actions/comicpress_delete-comic-and-post.php:37 +#, php-format +msgid "" +"%1$s and post %2$s deleted. Any associated thumbnails were " +"also deleted." +msgstr "" + +#: actions/comicpress_do-first-run.php:23 +#, php-format +msgid "Directory created: %s" +msgstr "" + +#: actions/comicpress_do-first-run.php:28 +#, php-format +msgid "Unable to create directory: %s" +msgstr "" + +#: actions/comicpress_do-first-run.php:35 +msgid "All the directories were already found, nothing to do!" +msgstr "" + +#: actions/comicpress_do-first-run.php:39 +msgid "All directories created!" +msgstr "" + +#: actions/comicpress_do-first-run.php:42 +msgid "" +"Unable to create directories! Contact your administrator." +msgstr "" + +#: actions/comicpress_generate-thumbnails.php:18 +#, php-format +msgid "Wrote thumbnail for %s." +msgstr "" + +#: actions/comicpress_generate-thumbnails.php:20 +#, php-format +msgid "" +"Could not write thumbnail for %s. Check the permissions on " +"the thumbnail directories." +msgstr "" + +#: actions/comicpress_manage-subcomic.php:26 +#, php-format +msgid "Now managing %s." +msgstr "" + +#: actions/comicpress_multiple-upload-file.php:19 +#, php-format +msgid "" +"The file %s was too large. The max allowed filesize for " +"uploads to your server is %s." +msgstr "" + +#: actions/comicpress_multiple-upload-file.php:24 +#, php-format +msgid "" +"There was an error in uploading %s. The PHP upload error code " +"was %s." +msgstr "" + +#: actions/comicpress_multiple-upload-file.php:36 +#: actions/comicpress_write-comic-post.php:34 +msgid "You didn't upload any files!" +msgstr "" + +#: actions/comicpress_restore-backup.php:15 +#, php-format +msgid "" +"Restored %s. Check to make sure your site is functioning " +"correctly." +msgstr "" + +#: actions/comicpress_restore-backup.php:17 +#, php-format +msgid "" +"Could not restore %s. Check the permissions of your theme " +"folder and try again." +msgstr "" + +#: actions/comicpress_skip-first-run.php:6 +msgid "" +"No directories were created. You'll need to create " +"directories on your own." +msgstr "" + +#: actions/comicpress_update-config.php:48 +msgid "" +"No comicpress-config.php file was found in your theme folder. Using default configuration file." +msgstr "" + +#: actions/comicpress_update-config.php:50 +msgid "Your configuration:" +msgstr "" + +#: actions/comicpress_update-config.php:62 +#, php-format +msgid "" +"Configuration updated and original config backed up to %s. " +"Rename this file to comicpress-config.php if you are having problems." +msgstr "" + +#: actions/comicpress_update-config.php:66 +#, php-format +msgid "" +"Configuration not updated, check the permissions of %s and " +"the theme folder. They should be writable by the Webserver process. " +"Alternatively, copy and paste the following code into your comicpress-config." +"php file:" +msgstr "" + +#: actions/comicpress_update-config.php:75 +msgid "Configuration updated in database." +msgstr "" + +#: actions/comicpress_update-cpm-config.php:48 +msgid "ComicPress Manager configuration updated." +msgstr "" + +#: actions/comicpress_update-cpm-config.php:50 +msgid "" +"You entered invalid data into your configuration. " +"Configuration not updated." +msgstr "" + +#: actions/comicpress_write-comic-post.php:20 +msgid "" +"More than one new post was generated! Please report this " +"error." +msgstr "" + +#: actions/comicpress_write-comic-post.php:28 +msgid "" +"More than one duplicate post was found! Please report this " +"error." +msgstr "" + +#: actions/comicpress_write-comic-post.php:32 +msgid "" +"No posts were created, and no duplicate posts could be found!" +msgstr "" + +#: comicpress_manager_admin.php:43 +msgid "" +"Remember, you need at least two categories defined in order to use " +"ComicPress." +msgstr "" + +#: comicpress_manager_admin.php:105 +msgid "ComicPress Manager" +msgstr "" + +#: comicpress_manager_admin.php:107 +msgid "ComicPress" +msgstr "" + +#: comicpress_manager_admin.php:108 +msgid "Upload" +msgstr "" + +#: comicpress_manager_admin.php:111 +msgid "Import" +msgstr "" + +#: comicpress_manager_admin.php:114 pages/comicpress_status.php:23 +msgid "Bulk Edit" +msgstr "" + +#: comicpress_manager_admin.php:116 +msgid "Storyline Structure" +msgstr "" + +#: comicpress_manager_admin.php:118 pages/comicpress_dates.php:127 +msgid "Change Dates" +msgstr "" + +#: comicpress_manager_admin.php:119 +msgid "ComicPress Config" +msgstr "" + +#: comicpress_manager_admin.php:120 +msgid "Manager Config" +msgstr "" + +#: comicpress_manager_admin.php:124 +msgid "ComicPress News" +msgstr "" + +#: comicpress_manager_admin.php:134 +msgid "QuomicPress (Quick ComicPress)" +msgstr "" + +#: comicpress_manager_admin.php:450 +msgid "No comic files found!" +msgstr "" + +#: comicpress_manager_admin.php:563 +msgid "Storyline:" +msgstr "" + +#: comicpress_manager_admin.php:571 pages/write_comic_post.php:74 +msgid "Additional Categories:" +msgstr "" + +#: comicpress_manager_admin.php:577 +msgid "Time to post:" +msgstr "" + +#: comicpress_manager_admin.php:579 +msgid "" +" (must be in the format HH:MM am/pm or now)" +msgstr "" + +#: comicpress_manager_admin.php:583 +msgid "Publish post:" +msgstr "" + +#: comicpress_manager_admin.php:585 +msgid "" +" " +msgstr "" + +#: comicpress_manager_admin.php:590 +msgid "Check for duplicate posts:" +msgstr "" + +#: comicpress_manager_admin.php:592 +msgid "" +" " +msgstr "" + +#: comicpress_manager_admin.php:605 +msgid "You won't be generating any thumbnails." +msgstr "" + +#: comicpress_manager_admin.php:611 +msgid "Generate thumbnails:" +msgstr "" + +#: comicpress_manager_admin.php:618 +msgid "Title For All Posts:" +msgstr "" + +#: comicpress_manager_admin.php:620 +msgid " (the title to use for all posts)" +msgstr "" + +#: comicpress_manager_admin.php:624 +msgid "<img title>/Hovertext For All Posts:" +msgstr "" + +#: comicpress_manager_admin.php:626 +msgid " (the hovertext to use for all posts)" +msgstr "" + +#: comicpress_manager_admin.php:630 +msgid "Transcript For All Posts:" +msgstr "" + +#: comicpress_manager_admin.php:632 +msgid " (the transcript to use for all posts)" +msgstr "" + +#: comicpress_manager_admin.php:636 +msgid "Upload Date Format:" +msgstr "" + +#: comicpress_manager_admin.php:638 +msgid "" +" (if the files you are uploading have a different date format, specify " +"it here. ex: Ymd for a file named 20080101-my-new-" +"years-day.jpg)" +msgstr "" + +#: comicpress_manager_admin.php:642 +msgid "Tags:" +msgstr "" + +#: comicpress_manager_admin.php:644 +msgid "" +" (any tags to add to the post, separated by commas. any tags you've used " +"before will be listed below.)" +msgstr "" + +#: comicpress_manager_admin.php:656 +msgid "Quick Tags (click to add):" +msgstr "" + +#: comicpress_manager_admin.php:719 +msgid "Help!" +msgstr "" + +#: comicpress_manager_admin.php:792 +#, php-format +msgid "Managing ‘%s’" +msgstr "" + +#: comicpress_manager_admin.php:794 +msgid "Managing ComicPress" +msgstr "" + +#: comicpress_manager_admin.php:1029 +msgid "View post" +msgstr "" + +#: comicpress_manager_admin.php:1030 +msgid "Edit post" +msgstr "" + +#: comicpress_manager_admin.php:1162 +#, php-format +msgid "" +"You don't have enough memory available to PHP and GD to process this " +"file. You should set your PHP memory_size " +"to at least %sM and try again. For more " +"information, read the ComicPress Manager FAQ." +msgstr "" + +#: comicpress_manager_admin.php:1407 +#, php-format +msgid "" +"The file you uploaded was too large. The max allowed " +"filesize for uploads to your server is %s." +msgstr "" + +#: comicpress_manager_admin.php:1412 +#, php-format +msgid "" +"There was an error in uploading. The PHP upload error code was " +"%s." +msgstr "" + +#: comicpress_manager_admin.php:1442 comicpress_manager_admin.php:1542 +#: comicpress_manager_admin.php:1573 +#, php-format +msgid "Uploaded file %1$s renamed to %2$s." +msgstr "" + +#: comicpress_manager_admin.php:1491 +#, php-format +msgid "The Zip extension is not installed. %s was not processed." +msgstr "" + +#: comicpress_manager_admin.php:1526 +#, php-format +msgid "Uploaded file %1$s renamed to %2$s." +msgstr "" + +#: comicpress_manager_admin.php:1548 +#, php-format +msgid "Provided override date %s is not parseable by strtotime()." +msgstr "" + +#: comicpress_manager_admin.php:1706 +msgid "The following filenames were invalid: " +msgstr "" + +#: comicpress_manager_admin.php:1710 +msgid "" +"According to GD, the following files were invalid image files: " +msgstr "" + +#: comicpress_manager_admin.php:1714 +msgid "The following files were uploaded: " +msgstr "" + +#: comicpress_manager_admin.php:1718 +msgid "" +"The following files were not uploaded, or the permissions on the " +"uploaded file do not allow reading the file. Check the permissions " +"of both the target directory and the upload directory and try again: " +msgstr "" + +#: comicpress_manager_admin.php:1722 +msgid "Thumbnails were written for the following files: " +msgstr "" + +#: comicpress_manager_admin.php:1726 +msgid "" +"Thumbnails were not written for the following files. Check " +"the permissions on the rss & archive folders, and make sure the files " +"you're processing are valid image files: " +msgstr "" + +#: comicpress_manager_admin.php:1730 +msgid "" +"New thumbnails were not needed for the following files: " +msgstr "" + +#: comicpress_manager_admin.php:1734 +msgid "" +"GD was able to recognize the filetypes of these files and change " +"their extensions to match: " +msgstr "" + +#: comicpress_manager_admin.php:1738 +msgid "" +"The following JPEG files have been converted from CMYK to RGB: " +msgstr "" + +#: comicpress_manager_admin.php:1747 +msgid "New posts created. View them from the links below:" +msgstr "" + +#: comicpress_manager_admin.php:1751 +msgid "No new posts created." +msgstr "" + +#: comicpress_manager_admin.php:1763 +msgid "" +"The following files would have created duplicate posts. " +"View them from the links below: " +msgstr "" + +#: comicpress_manager_admin.php:1786 +msgid "Available wildcards:" +msgstr "" + +#: comicpress_manager_admin.php:1788 +msgid "The name of the category" +msgstr "" + +#: comicpress_manager_admin.php:1789 +#, php-format +msgid "The date of the comic (ex: %s)" +msgstr "" + +#: comicpress_manager_admin.php:1790 +msgid "The title of the comic" +msgstr "" + +#: comicpress_manager_admin.php:1832 pages/write_comic_post.php:68 +msgid "File:" +msgstr "" + +#: comicpress_manager_admin.php:1833 +msgid "remove" +msgstr "" + +#: comicpress_manager_admin.php:1834 +msgid "You're not missing any posts!" +msgstr "" + +#: comicpress_manager_admin.php:1835 +msgid "" +"There was a failure in counting. You may have too many comics/posts to " +"analyze before your server times out." +msgstr "" + +#: comicpress_manager_admin.php:1836 +msgid "counting" +msgstr "" + +#: comicpress_manager_admin.php:1869 +msgid "The operation you just performed returned the following:" +msgstr "" + +#: comicpress_manager_admin.php:1873 +msgid "The following warnings were generated:" +msgstr "" + +#: comicpress_manager_admin.php:1877 +msgid "The following problems were found in your configuration:" +msgstr "" + +#: comicpress_manager_admin.php:1897 +msgid "" +"

If your error is permissions-related, you may have to set some " +"Windows-specific permissions on your filesystem. Consult your " +"Webhost for more information.

" +msgstr "" + +#: comicpress_manager_admin.php:1909 +msgid "" +"You must fix the problems above before you can proceed with managing your " +"ComicPress installation." +msgstr "" + +#: comicpress_manager_admin.php:1912 +msgid "Details:" +msgstr "" + +#: comicpress_manager_admin.php:1914 +msgid "Current ComicPress theme folder:" +msgstr "" + +#: comicpress_manager_admin.php:1915 +msgid "Available categories:" +msgstr "" + +#: comicpress_manager_admin.php:1918 +msgid "Category Name" +msgstr "" + +#: comicpress_manager_admin.php:1919 +msgid "ID #" +msgstr "" + +#: comicpress_manager_admin.php:1967 +#, php-format +msgid "" +"You won't be able to update your comicpress-config.php or functions." +"php file directly through the ComicPress Manager interface. Check " +"to make sure the permissions on %s and comicpress-config.php are set so that " +"the Webserver can write to them. Once you submit, you'll be given a block " +"of code to paste into the comicpress-config.php file." +msgstr "" + +#: comicpress_manager_admin.php:1972 +msgid "" +"Some backup comicpress-config.php files were found in your theme " +"directory. You can choose to restore one of these backup files, or " +"you can go ahead and create a new configuration below." +msgstr "" + +#: comicpress_manager_admin.php:1977 +msgid "Restore from backup dated:" +msgstr "" + +#: comicpress_manager_admin.php:1985 +msgid "Restore" +msgstr "" + +#: comicpress_manager_admin.php:1999 +msgid "Debug info" +msgstr "" + +#: comicpress_manager_admin.php:1999 comicpress_manager_admin.php:2168 +msgid "this data is sanitized to protect your server's configuration" +msgstr "" + +#: comicpress_manager_admin.php:2062 +msgid "ComicPress Details" +msgstr "" + +#: comicpress_manager_admin.php:2064 +msgid "Configuration method:" +msgstr "" + +#: comicpress_manager_admin.php:2068 +msgid "(click to edit)" +msgstr "" + +#: comicpress_manager_admin.php:2070 +msgid "(click to edit, cannot update automatically)" +msgstr "" + +#: comicpress_manager_admin.php:2077 +msgid "Available disk space:" +msgstr "" + +#: comicpress_manager_admin.php:2078 +#, php-format +msgid "%0.2f MB" +msgstr "" + +#: comicpress_manager_admin.php:2080 +msgid "Comics folder:" +msgstr "" + +#: comicpress_manager_admin.php:2088 +msgid "multiple files on the same date!" +msgstr "" + +#: comicpress_manager_admin.php:2092 +#, php-format +msgid "(%d comic in folder%s)" +msgid_plural "(%d comics in folder%s)" +msgstr[0] "" +msgstr[1] "" + +#: comicpress_manager_admin.php:2095 +msgid "Archive folder:" +msgstr "" + +#: comicpress_manager_admin.php:2096 +msgid "RSS feed folder:" +msgstr "" + +#: comicpress_manager_admin.php:2105 +msgid "generating" +msgstr "" + +#: comicpress_manager_admin.php:2109 +msgid "No scaling software" +msgstr "" + +#: comicpress_manager_admin.php:2110 +msgid "Generation disabled" +msgstr "" + +#: comicpress_manager_admin.php:2111 +msgid "Same as comics folder" +msgstr "" + +#: comicpress_manager_admin.php:2112 +msgid "Not writable" +msgstr "" + +#: comicpress_manager_admin.php:2122 +msgid "Comic categories:" +msgstr "" + +#: comicpress_manager_admin.php:2124 +msgid "Comic category:" +msgstr "" + +#: comicpress_manager_admin.php:2131 comicpress_manager_admin.php:2136 +#: comicpress_manager_admin.php:2140 +#, php-format +msgid "(ID %s)" +msgstr "" + +#: comicpress_manager_admin.php:2139 +msgid "Blog category:" +msgstr "" + +#: comicpress_manager_admin.php:2143 +msgid "PHP Version:" +msgstr "" + +#: comicpress_manager_admin.php:2145 +msgid "upgrade strongly recommended" +msgstr "" + +#: comicpress_manager_admin.php:2149 +msgid "Theme folder:" +msgstr "" + +#: comicpress_manager_admin.php:2154 +msgid "Something's misconfigured with your theme..." +msgstr "" + +#: comicpress_manager_admin.php:2159 +msgid "Additional, non-fatal warnings:" +msgstr "" + +#: comicpress_manager_admin.php:2168 +msgid "Show debug info" +msgstr "" + +#: comicpress_manager_admin.php:2206 +msgid "Last Post" +msgstr "" + +#: comicpress_manager_admin.php:2207 +msgid "Current Post" +msgstr "" + +#: comicpress_manager_admin.php:2208 +msgid "Upcoming Post" +msgstr "" + +#: comicpress_manager_admin.php:2325 +#, php-format +msgid "" +"I went %s levels deep in my search for comic directories. Are you sure you " +"have your site set up correctly?" +msgstr "" + +#: comicpress_manager_admin.php:2332 +#, php-format +msgid "" +"I found over %s directories from your site root. Are you sure you have your " +"site set up correctly?" +msgstr "" + +#: comicpress_manager_admin.php:2359 +msgid "All possible WordPress categories" +msgstr "" + +#: comicpress_manager_admin.php:2376 +msgid "List of possible folders at the root of your site" +msgstr "" + +#: comicpress_manager_admin.php:2427 +msgid "" +"Create your comics, archive, or RSS folders first, then " +"reload this page and use the dropdowns to select the target folder. If " +"ComicPress Manager can't automatically find your folders, you can enter the " +"folder names into the dropdowns." +msgstr "" + +#: comicpress_manager_admin.php:2434 +msgid "Don't try to write my config out; just display it" +msgstr "" + +#: comicpress_manager_admin.php:2444 +msgid "Update Config" +msgstr "" + +#: comicpress_manager_admin.php:2462 +#, php-format +msgid "Version %s |" +msgstr "" + +#: comicpress_manager_admin.php:2480 +msgid "" +"ComicPress Manager is built for the ComicPress theme" +msgstr "" + +#: comicpress_manager_admin.php:2481 +msgid "" +"Copyright 2008-2009 John Bintz" +msgstr "" + +#: comicpress_manager_admin.php:2482 +msgid "Released under the GNU GPL" +msgstr "" + +#: comicpress_manager_admin.php:2484 +msgid "" +"Report a Bug" +msgstr "" + +#: comicpress_manager_admin.php:2485 +msgid "" +"Uses the Dynarch DHTML Calendar Widget" +msgstr "" + +#: comicpress_manager_library.php:386 +msgid "" +"The current theme isn't the ComicPress theme. If you've renamed the theme, " +"ignore this warning." +msgstr "" + +#: comicpress_manager_library.php:394 +#, php-format +msgid "" +"The comics site root %s does not exist. Check your WordPress address and address settings." +msgstr "" + +#: comicpress_manager_library.php:399 +#, php-format +msgid "" +"The comics site root %s does not contain a WordPress index." +"php file. Check your WordPress address and " +"address settings." +msgstr "" + +#: comicpress_manager_library.php:415 +#, php-format +msgid "" +"The %s folders and the comics folder are the same. You " +"won't be able to generate thumbnails until you change these folders." +msgstr "" + +#: comicpress_manager_library.php:425 +#, php-format +msgid "" +"The %1$s %2$s does not exist. Did you create it within the " +"%3$s folder?" +msgstr "" + +#: comicpress_manager_library.php:438 +#, php-format +msgid "The %1$s %2$s is not writable by the Webserver." +msgstr "" + +#: comicpress_manager_library.php:449 +#, php-format +msgid "" +"Files written to the %s directory by the Webserver cannot be read " +"again! Are you using IIS7 with FastCGI?" +msgstr "" + +#: comicpress_manager_library.php:470 +msgid "" +"No image resize methods are installed (GD or ImageMagick). You are unable " +"to generate thumbnails automatically." +msgstr "" + +#: comicpress_manager_library.php:475 +msgid "" +"You need to define at least two categories, a blog category and a comics " +"category, to use ComicPress. Visit Manage -> " +"Categories and create at least two categories, then return here to " +"continue your configuration." +msgstr "" + +#: comicpress_manager_library.php:482 +msgid "All other categories" +msgstr "" + +#: comicpress_manager_library.php:493 +msgid "" +"The comic category needs to be defined as a number, not an alphanumeric " +"string." +msgstr "" + +#: comicpress_manager_library.php:497 +#, php-format +msgid "" +"The requested category ID for your comic, %s, doesn't exist!" +msgstr "" + +#: comicpress_manager_library.php:508 +msgid "" +"The blog category needs to be defined as a number, not an alphanumeric " +"string." +msgstr "" + +#: comicpress_manager_library.php:511 +#, php-format +msgid "" +"The requested category ID for your blog, %s, doesn't exist!" +msgstr "" + +#: comicpress_manager_library.php:518 +msgid "" +"Your comic and blog categories are the same. This will cause browsing " +"problems for visitors to your site." +msgstr "" + +#: comicpress_manager_library.php:527 +msgid "Your comics folder is empty!" +msgstr "" + +#: comicpress_manager_library.php:540 +msgid "WordPress Options" +msgstr "" + +#: pages/comicpress_config.php:12 +msgid "Edit ComicPress Config" +msgstr "" + +#: pages/comicpress_config.php:16 +msgid "" +"You won't be able to automatically update your configuration. After submitting, you will be shown the code to paste into " +"comicpress-config.php. If you want to enable automatic updating, check the " +"permissions of your theme folder and comicpress-config.php file." +msgstr "" + +#: pages/comicpress_cpm_config.php:15 +msgid "Edit ComicPress Manager Config" +msgstr "" + +#: pages/comicpress_dates.php:14 +msgid "" +"Subdirectory support enabled. Change Dates may not work as " +"expected." +msgstr "" + +#: pages/comicpress_dates.php:62 +msgid "" +"

Change post & comic dates lets you change the comic " +"file names and post dates for any and every comic published. You will only " +"be able to move a comic file and its associated post if there is no comic or " +"post that exists on the destination date, as ComicPress Manager cannot " +"automatically resolve such conflicts.

" +msgstr "" + +#: pages/comicpress_dates.php:64 +msgid "" +"

This is a potentialy dangerous and resource-intensive operation. Back up your database and comics/archive/RSS folders before " +"performing large move operations. Additionally, if you experience script " +"timeouts while moving large numbers of posts, you may have to move posts & " +"comic files by hand rather than through ComicPress Manager.

" +msgstr "" + +#: pages/comicpress_dates.php:70 +msgid "Change Post & Comic Dates" +msgstr "" + +#: pages/comicpress_dates.php:71 +msgid "" +"date changes will affect comics that are associated or not associated with " +"posts" +msgstr "" + +#: pages/comicpress_dates.php:75 +#, php-format +msgid "Show comics between %1$s and %2$s" +msgstr "" + +#: pages/comicpress_dates.php:79 +msgid "Filter" +msgstr "" + +#: pages/comicpress_dates.php:85 +msgid "" +"How many days between posts? Separate multiple intervals with commas (Ex: " +"MWF is 2,2,3):" +msgstr "" + +#: pages/comicpress_dates.php:86 +msgid "is a valid interval" +msgstr "" + +#: pages/comicpress_dates.php:109 +#, php-format +msgid "Reset date to %s" +msgstr "" + +#: pages/comicpress_dates.php:109 +msgid "Re-schedule posts from this date at a daily interval" +msgstr "" + +#: pages/comicpress_dates.php:131 pages/comicpress_delete.php:34 +#: pages/comicpress_thumbnails.php:59 +msgid "You haven't uploaded any comics yet." +msgstr "" + +#: pages/comicpress_delete.php:9 +msgid "" +"

Delete a comic file and the associated post, if found " +"lets you delete a comic file and the post that goes with it. Any thumbnails " +"associated with the comic file will also be deleted.

" +msgstr "" + +#: pages/comicpress_delete.php:13 +msgid "Delete A Comic File & Post (if found)" +msgstr "" + +#: pages/comicpress_delete.php:16 +msgid "Are you sure?" +msgstr "" + +#: pages/comicpress_delete.php:19 +msgid "Comic to delete:" +msgstr "" + +#: pages/comicpress_delete.php:27 +msgid "" +"NOTE: If more than one possible post is found, neither the " +"posts nor the comic file will be deleted. ComicPress Manager cannot safely " +"resolve such a conflict." +msgstr "" + +#: pages/comicpress_delete.php:30 +msgid "Delete comic and post" +msgstr "" + +#: pages/comicpress_import.php:10 pages/comicpress_index.php:10 +#: pages/comicpress_status.php:12 +#, php-format +msgid "" +"Reminder: You are managing the %s comic " +"subdirectory." +msgstr "" + +#: pages/comicpress_import.php:15 pages/comicpress_index.php:23 +#: pages/comicpress_status.php:17 pages/edit_post_show_comic.php:170 +msgid "" +"It looks like you're running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and " +"transcripts in earlier themes by using get_post_meta($post->ID, " +"\"hovertext\", true) and get_post_meta($post->ID, \"transcript\", " +"true)." +msgstr "" + +#: pages/comicpress_import.php:21 +msgid "" +"Create missing posts for uploaded comics is for when you " +"upload a lot of comics to your comic folder and want to generate generic " +"posts for all of the new comics, or for when you're migrating from another " +"system to ComicPress." +msgstr "" + +#: pages/comicpress_import.php:26 +msgid "Bulk Edit page" +msgstr "" + +#: pages/comicpress_import.php:29 +#, php-format +msgid "" +"Generating thumbnails on an import is a slow process. Some " +"Webhosts will limit the amount of time a script can run. If your import " +"process is failing with thumbnail generation enabled, disable thumbnail " +"generation, perform your import, and then visit the %s to complete the " +"thumbnail generation process." +msgstr "" + +#: pages/comicpress_import.php:36 +msgid "Create Missing Posts For Uploaded Comics" +msgstr "" + +#: pages/comicpress_import.php:37 +msgid "acts as a batch import process" +msgstr "" + +#: pages/comicpress_import.php:42 +msgid "" +"You are in the middle of an import operation. To continue, " +"click the button below:" +msgstr "" + +#: pages/comicpress_import.php:64 +msgid "" +"Congratulations, your max_execution_time is 0. " +"You'll be able to import all of your comics in one import operation." +msgstr "" + +#: pages/comicpress_import.php:67 +msgid "Something is very wrong with your configuration!." +msgstr "" + +#: pages/comicpress_import.php:69 +#, php-format +msgid "" +"Your max_execution_time is %s. You'll be able to " +"safely import %s comics in one import operation." +msgstr "" + +#: pages/comicpress_import.php:79 +msgid "Count the number of missing posts" +msgstr "" + +#: pages/comicpress_import.php:82 +msgid "Click here to count" +msgstr "" + +#: pages/comicpress_import.php:82 +msgid "may take a while" +msgstr "" + +#: pages/comicpress_import.php:96 +msgid "Create posts" +msgstr "" + +#: pages/comicpress_index.php:28 +#, php-format +msgid "" +"Your uploaded files were larger than the post_max_size setting, which is currently %s. Either " +"upload fewer/smaller files, upload them via FTP/SFTP, or increase your " +"server's post_max_size." +msgstr "" + +#: pages/comicpress_index.php:34 +msgid "ComicPress Manager manages your comics and your time." +msgstr "" + +#: pages/comicpress_index.php:36 +msgid "" +"It makes uploading new comics, importing comics from a non-ComicPress setup, " +"and batch uploading a lot of comics at once, very fast and configurable." +msgstr "" + +#: pages/comicpress_index.php:41 +msgid "ComicPress Manager also manages yours and your Website's sanity." +msgstr "" + +#: pages/comicpress_index.php:44 +#, php-format +msgid "" +"It can check for misconfigured ComicPress setups, for incorrectly-named " +"files (remember, it's %s-single-comic-title.ext) and for when you " +"might be duplicating a post. You will also be shown which comic will appear " +"with which blog post in the Post editor." +msgstr "" + +#: pages/comicpress_index.php:48 +#, php-format +msgid "" +"Single comic titles are generated from the incoming " +"filename. If you've named your file %s-my-new-years-day.jpg and create a new post for the file, the post title will be " +"My New Years Day. This default should handle the majority " +"of cases. If a comic file does not have a title, the date in MM/DD/" +"YYYY format will be used." +msgstr "" + +#: pages/comicpress_index.php:52 +msgid "" +"Upload image files lets you upload multiple comics at a " +"time, and add a default post body for each comic." +msgstr "" + +#: pages/comicpress_index.php:54 +msgid "" +"You can upload a Zip file and create new posts from the " +"files contained within the Zip file." +msgstr "" + +#: pages/comicpress_index.php:56 +msgid "" +"You can't upload a Zip file because you do not have the PHP " +"zip extension installed." +msgstr "" + +#: pages/comicpress_index.php:61 +msgid "" +"Has ComicPress Manager saved you time and sanity? Donate a few " +"bucks to show your appreciation!" +msgstr "" + +#: pages/comicpress_index.php:78 pages/comicpress_index.php:150 +#: pages/comicpress_index.php:187 +msgid "Upload Image & Zip Files" +msgstr "" + +#: pages/comicpress_index.php:80 pages/comicpress_index.php:152 +#: pages/comicpress_index.php:189 +msgid "Upload Image Files" +msgstr "" + +#: pages/comicpress_index.php:85 +msgid "any existing files with the same name will be overwritten" +msgstr "" + +#: pages/comicpress_index.php:87 +msgid "" +"uploaded filenames will be obfuscated, therefore no old files will be " +"overwritten after uploading" +msgstr "" + +#: pages/comicpress_index.php:94 +#, php-format +msgid "" +"You do not have the Zip extension installed. Uploading a " +"Zip file will not work. Either upload files individually or " +"FTP/SFTP the files to your site and import them." +msgstr "" + +#: pages/comicpress_index.php:107 +msgid "Add file to upload" +msgstr "" + +#: pages/comicpress_index.php:112 +msgid "Destination for uploaded files:" +msgstr "" + +#: pages/comicpress_index.php:115 +msgid "Comics folder" +msgstr "" + +#: pages/comicpress_index.php:116 +msgid "Archive folder" +msgstr "" + +#: pages/comicpress_index.php:123 +msgid "Overwrite an existing file:" +msgstr "" + +#: pages/comicpress_index.php:126 +msgid "-- no --" +msgstr "" + +#: pages/comicpress_index.php:137 +msgid "Rebuild thumbnails?" +msgstr "" + +#: pages/comicpress_index.php:162 +msgid "Generate new posts for each uploaded file:" +msgstr "" + +#: pages/comicpress_index.php:173 +msgid "Date for uploaded file:" +msgstr "" + +#: pages/comicpress_index.php:175 +msgid "" +"(click to open calendar. for single file uploads only. can accept any " +"date format parseable by strtotime())" +msgstr "" + +#: pages/comicpress_status.php:122 +msgid "«" +msgstr "" + +#: pages/comicpress_status.php:123 +msgid "»" +msgstr "" + +#: pages/comicpress_status.php:139 +#, php-format +msgid "Displaying %d-%d of %d" +msgstr "" + +#: pages/comicpress_status.php:144 +msgid "No items to display" +msgstr "" + +#: pages/comicpress_status.php:193 pages/comicpress_status.php:203 +msgid "Date" +msgstr "" + +#: pages/comicpress_status.php:194 pages/comicpress_status.php:204 +msgid "Object Info" +msgstr "" + +#: pages/comicpress_status.php:195 pages/comicpress_status.php:205 +msgid "Operations" +msgstr "" + +#: pages/comicpress_status.php:499 +msgid "" +"You are about to delete the selected posts and comic files. Are you sure?" +msgstr "" + +#: pages/comicpress_storyline.php:22 +msgid "" +"

Set Up Storyline Structure lets you manage your site's " +"categories so that they can be used for storyline management. You would name " +"them with the names of the logical divisions of your story: Chapter " +"1, Volume 2, etc.

" +msgstr "" + +#: pages/comicpress_storyline.php:24 +msgid "" +"

If you want to change the parent/child relationships of " +"categories, you'll have to do that at Manage -> Categories for now.

" +msgstr "" + +#: pages/comicpress_storyline.php:26 +msgid "" +"

If you added or deleted categories, or changed parent/child " +"relationships, via Manage -> Categories, you may need to " +"rearrange your internal story structure, otherwise your " +"navigation will be incorrect.

" +msgstr "" + +#: pages/comicpress_storyline.php:29 +msgid "" +"It looks like you're running an older version of ComicPress. Storylines are only fully supported in ComicPress 2.7 or with certain theme " +"modifications." +msgstr "" + +#: pages/comicpress_storyline.php:36 +msgid "Set Up Storyline Structure" +msgstr "" + +#: pages/comicpress_storyline.php:37 +msgid "" +"remember, these are all categories and their details can be edited in Posts -" +"> Categories" +msgstr "" + +#: pages/comicpress_storyline.php:55 +msgid "Loading..." +msgstr "" + +#: pages/comicpress_storyline.php:57 +msgid "Save Structure and Modify Categories" +msgstr "" + +#: pages/comicpress_thumbnails.php:9 +msgid "" +"

Generate thumbnails lets you regenerate thumbnails for " +"comic files. This is useful if an import is not functioning because it is " +"taking too long, or if you've changed your size or quality settings for " +"thumbnails.

" +msgstr "" + +#: pages/comicpress_thumbnails.php:13 +msgid "Generate Thumbnails" +msgstr "" + +#: pages/comicpress_thumbnails.php:25 +#, php-format +msgid "" +"%1$s thumbnails that are %2$s pixels wide" +msgstr "" + +#: pages/comicpress_thumbnails.php:37 +#, php-format +msgid "You'll be generating %s." +msgstr "" + +#: pages/comicpress_thumbnails.php:37 +msgid " and " +msgstr "" + +#: pages/comicpress_thumbnails.php:39 +msgid "" +"Thumbnails to regenerate (to select multiple comics, [Ctrl]-click on " +"Windows & Linux, [Command]-click on Mac OS X):" +msgstr "" + +#: pages/comicpress_thumbnails.php:55 +msgid "Generate Thumbnails for Selected Comics" +msgstr "" + +#: pages/comicpress_thumbnails.php:63 +msgid "" +"You either aren't able to generate any thumbnails for your comics, " +"or you have disabled thumbnail generation. This may be caused by a " +"configuration error. Have you set up your RSS and archive directories and %s
comic subdirectory." +msgstr "" + +#: pages/edit_post_show_comic.php:123 +msgid "The following thumbnails for this comic were also found:" +msgstr "" + +#: pages/edit_post_show_comic.php:141 +msgid "Replace This Image" +msgstr "" + +#: pages/edit_post_show_comic.php:143 +msgid "Upload a New Single Image" +msgstr "" + +#: pages/edit_post_show_comic.php:148 +msgid "(thumbnails will be generated)" +msgstr "" + +#: pages/edit_post_show_comic.php:180 +msgid "Storyline" +msgstr "" + +#: pages/edit_post_show_comic.php:182 +msgid "Category" +msgstr "" + +#: pages/edit_post_show_comic.php:192 +msgid "<img title>/hover text" +msgstr "" + +#: pages/edit_post_show_comic.php:196 +msgid "Transcript" +msgstr "" + +#: pages/write_comic_post.php:17 +msgid "now" +msgstr "" + +#: pages/write_comic_post.php:18 +#, php-format +msgid "at %s" +msgstr "" + +#: pages/write_comic_post.php:26 +msgid "Write Comic Post" +msgstr "" + +#: pages/write_comic_post.php:37 +#, php-format +msgid "" +"Upload a single comic file and immediately start editing " +"the associated published post. Your post will be going live %s on the " +"provided date and will be posted in the %s category." +msgstr "" + +#: pages/write_comic_post.php:49 +#, php-format +msgid "%s thumbnails that are %spx wide" +msgstr "" + +#: pages/write_comic_post.php:53 +#, php-format +msgid "You'll be generating: %s." +msgstr "" + +#: pages/write_comic_post.php:79 +msgid "Post date (leave blank if already in filename):" +msgstr "" diff --git a/comicpress_manager_admin.php b/comicpress_manager_admin.php new file mode 100644 index 0000000..8cfe41a --- /dev/null +++ b/comicpress_manager_admin.php @@ -0,0 +1,2487 @@ +"; + +$default_comicpress_config_file = implode("\n", $default_comicpress_config_file_lines); + +cpm_get_cpm_document_root(); +cpm_initialize_options(); + +/** + * Show a warning at the top of Manage -> Categories if not enough categories + * are defined. + */ +function cpm_comicpress_categories_warning() { + if (count(get_all_category_ids()) < 2) { + echo '
'; + echo __("Remember, you need at least two categories defined in order to use ComicPress.", 'comicpress-manager'); + echo '
'; + } +} + +/** + * Get the path to the plugin folder. + */ +function cpm_get_plugin_path() { + return PLUGINDIR . '/' . preg_replace('#^.*/([^\/]*)#', '\\1', dirname(plugin_basename(__FILE__))); +} + +/** + * Add pages to the admin interface and load necessary JavaScript libraries. + * Also read in the configuration and handle any POST actions. + */ +function cpm_add_pages() { + global $plugin_page, $access_level, $pagenow, $cpm_config, $wp_version; + + load_plugin_textdomain('comicpress-manager', cpm_get_plugin_path()); + + $widget_options = get_option('dashboard_widget_options'); + if ( !$widget_options || !is_array($widget_options) ) + $widget_options = array(); + + cpm_read_information_and_check_config(); + + $do_enqueue_prototype = false; + + if (($pagenow == "post.php") && ($_REQUEST['action'] == "edit")) { + $do_enqueue_prototype = true; + } + + $filename = plugin_basename(__FILE__); + + if (strpos($plugin_page, $filename) !== false) { + $editor_load_pages = array($filename, $filename . '-import'); + + if (in_array($plugin_page, $editor_load_pages)) { + wp_enqueue_script('editor'); + if (!function_exists('wp_tiny_mce')) { + wp_enqueue_script('wp_tiny_mce'); + } + } + + $do_enqueue_prototype = true; + + cpm_handle_actions(); + } + + if (in_array($pagenow, array("edit.php", "post-new.php"))) { + $do_enqueue_prototype = true; + } + + if ($do_enqueue_prototype) { + wp_enqueue_script('prototype'); + wp_enqueue_script('scriptaculous-effects'); + wp_enqueue_script('scriptaculous-builder'); + } + + if (!isset($access_level)) { $access_level = 10; } + + $plugin_title = __("ComicPress Manager", 'comicpress-manager'); + + add_menu_page($plugin_title, __("ComicPress", 'comicpress-manager'), $access_level, $filename, "cpm_manager_index_caller", get_option('siteurl') . '/' . cpm_get_plugin_path() . '/comicpress-icon.png'); + add_submenu_page($filename, $plugin_title, __("Upload", 'comicpress-manager'), $access_level, $filename, 'cpm_manager_index_caller'); + + //if (!function_exists('get_site_option')) { + add_submenu_page($filename, $plugin_title, __("Import", 'comicpress-manager'), $access_level, $filename . '-import', 'cpm_manager_import_caller'); + //} + + add_submenu_page($filename, $plugin_title, __("Bulk Edit", 'comicpress-manager'), $access_level, $filename . '-status', 'cpm_manager_status_caller'); + + add_submenu_page($filename, $plugin_title, __("Storyline Structure", 'comicpress-manager'), $access_level, $filename . '-storyline', 'cpm_manager_storyline_caller'); + + add_submenu_page($filename, $plugin_title, __("Change Dates", 'comicpress-manager'), $access_level, $filename . '-dates', 'cpm_manager_dates_caller'); + add_submenu_page($filename, $plugin_title, __("ComicPress Config", 'comicpress-manager'), $access_level, $filename . '-config', 'cpm_manager_config_caller'); + add_submenu_page($filename, $plugin_title, __("Manager Config", 'comicpress-manager'), $access_level, $filename . '-cpm-config', 'cpm_manager_cpm_config_caller'); + + if ($pagenow == "index.php") { + if (cpm_option('cpm-enable-dashboard-rss-feed') == 1) { + wp_register_sidebar_widget( 'dashboard_cpm', __("ComicPress News", "comicpress-manager"), 'cpm_dashboard_widget', + array( 'all_link' => "http://mindfaucet.com/comicpress/", 'feed_link' => "http://feeds.feedburner.com/comicpress?format=xml", 'width' => 'half', 'class' => 'widget_rss' ) + ); + + add_filter('wp_dashboard_widgets', 'cpm_add_dashboard_widget'); + } + + if (($option = generate_comic_categories_options('category')) !== false) { + if (cpm_option('cpm-enable-quomicpress') == 1) { + if (count($cpm_config->errors) == 0) { + wp_register_sidebar_widget( 'dashboard_quomicpress', __("QuomicPress (Quick ComicPress)", "comicpress-manager"), 'cpm_quomicpress_widget', + array( 'width' => 'half' ) + ); + + add_filter('wp_dashboard_widgets', 'cpm_add_quomicpress_widget'); + } + } + } + } +} + +/** + * Handle updating a post. If Edit Post Integration is enabled, and the post + * date is changing, rename the file as necessary. + */ +function cpm_handle_pre_post_update($post_id) { + global $cpm_config; + + if (!$cpm_config->is_cpm_managing_posts) { + if (cpm_option("cpm-edit-post-integrate") == 1) { + $post = get_post($post_id); + if (!in_array($post->post_type, array("attachment", "revision", "page"))) { + $ok = false; + extract(cpm_get_all_comic_categories()); + $post_categories = wp_get_post_categories($post_id); + foreach ($category_tree as $node) { + $parts = explode("/", $node); + if (in_array(end($parts), $post_categories)) { + $ok = true; break; + } + } + + if ($ok) { + $original_timestamp = false; + foreach (array("post_date", "post_date_gmt") as $param) { + $result = strtotime(date("Y-m-d", strtotime($post->{$param}))); + if ($result !== false) { + $original_timestamp = $result; break; + } + } + + $new_timestamp = strtotime(implode("-", array($_POST['aa'], $_POST['mm'], $_POST['jj']))); + + if (!empty($original_timestamp) && !empty($new_timestamp)) { + $original_date = date(CPM_DATE_FORMAT, $original_timestamp); + $new_date = date(CPM_DATE_FORMAT, $new_timestamp); + + if ($original_date !== $new_date) { + if (empty($cpm_config->comic_files)) { + cpm_read_information_and_check_config(); + } + + foreach ($cpm_config->comic_files as $file) { + $filename = pathinfo($file, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($filename)) !== false) { + if ($result['date'] == $original_date) { + foreach (cpm_find_thumbnails_by_filename($file) as $thumb_file) { + @rename($thumb_file, str_replace("/${original_date}", "/${new_date}", $thumb_file)); + } + + @rename($file, str_replace("/${original_date}", "/${new_date}", $file)); + } + } + } + + $cpm_config->comic_files = null; + } + } + } + } + } + } +} + +/** + * Handle editing a post. + */ +function cpm_handle_edit_post($post_id) { + global $cpm_config; + + if (!$cpm_config->is_cpm_managing_posts) { + $ok = false; + extract(cpm_get_all_comic_categories()); + $post_categories = wp_get_post_categories($post_id); + foreach ($category_tree as $node) { + $parts = explode("/", $node); + if (in_array(end($parts), $post_categories)) { + $ok = true; break; + } + } + + if (is_uploaded_file($_FILES['comicpress-replace-image']['tmp_name']) && !$ok) { + $post_categories = wp_get_post_categories($post_id); + $post_categories[] = end(explode("/", reset($category_tree))); + wp_set_post_categories($post_id, $post_categories); + $ok = true; + } + + if ($ok) { + $new_date = date(CPM_DATE_FORMAT, strtotime(implode("-", array($_POST['aa'], $_POST['mm'], $_POST['jj'])))); + + foreach (array('hovertext' => 'comicpress-img-title', + 'transcript' => 'comicpress-transcript') as $meta_name => $post_name) { + if (isset($_POST[$post_name])) { + update_post_meta($post_id, $meta_name, $_POST[$post_name]); + } + } + + if (is_uploaded_file($_FILES['comicpress-replace-image']['tmp_name'])) { + $_POST['override-date'] = $new_date; + cpm_handle_file_uploads(array('comicpress-replace-image')); + } + } + } +} + +/** + * Handle deleting a post. If Edit Post Integration is enabled, delete any associated + * files from the comics folders. + */ +function cpm_handle_delete_post($post_id) { + global $cpm_config; + + if (!$cpm_config->is_cpm_managing_posts) { + if (cpm_option("cpm-edit-post-integrate") == 1) { + $post = get_post($post_id); + if (!in_array($post->post_type, array("attachment", "revision", "page"))) { + + $ok = false; + extract(cpm_get_all_comic_categories()); + $post_categories = wp_get_post_categories($post_id); + foreach ($category_tree as $node) { + $parts = explode("/", $node); + if (in_array(end($parts), $post_categories)) { + $ok = true; break; + } + } + + if ($ok) { + $original_date = date(CPM_DATE_FORMAT, strtotime($post->post_date)); + + if (empty($cpm_config->comic_files)) { + cpm_read_information_and_check_config(); + } + + foreach ($cpm_config->comic_files as $file) { + $filename = pathinfo($file, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($filename)) !== false) { + if ($result['date'] == $original_date) { + foreach (cpm_find_thumbnails_by_filename($file) as $thumb_file) { + $thumb_file = CPM_DOCUMENT_ROOT . $thumb_file; + @unlink($thumb_file); + } + + @unlink($file); + } + } + } + } + } + } + } +} + +/** + * Add the ComicPress News Dashboard widget. + */ +function cpm_add_dashboard_widget($widgets) { + global $wp_registered_widgets; + if (!isset($wp_registered_widgets['dashboard_cpm'])) { + return $widgets; + } + array_splice($widgets, sizeof($widgets)-1, 0, 'dashboard_cpm'); + return $widgets; +} + +/** + * Write out the ComicPress News Dashboard widget. + */ +function cpm_dashboard_widget($sidebar_args) { + if (is_array($sidebar_args)) { + extract($sidebar_args, EXTR_SKIP); + } + echo $before_widget . $before_title . $widget_name . $after_title; + wp_widget_rss_output('http://feeds.feedburner.com/comicpress?format=xml', array('items' => 2, 'show_summary' => true)); + echo $after_widget; +} + +/** + * Add the QuomicPress Dashboard widget. + */ +function cpm_add_quomicpress_widget($widgets) { + global $wp_registered_widgets; + if (!isset($wp_registered_widgets['dashboard_quomicpress'])) { + return $widgets; + } + array_splice($widgets, sizeof($widgets)-1, 0, 'dashboard_quomicpress'); + return $widgets; +} + +/** + * Write out the QuomicPress Dashboard widget. + */ +function cpm_quomicpress_widget($sidebar_args) { + if (is_array($sidebar_args)) { + extract($sidebar_args, EXTR_SKIP); + } + echo $before_widget . $before_title . $widget_name . $after_title; + include("pages/write_comic_post.php"); + cpm_manager_write_comic(plugin_basename(__FILE__), false); + echo $after_widget; +} + +/** + * Add the Comic column to Edit Posts. + */ +function cpm_manage_posts_columns($posts_columns) { + wp_enqueue_script('prototype'); + + $posts_columns['comic'] = "Comic"; + return $posts_columns; +} + +$broken_down_comic_files = null; + +/** + * Populate the Comic coulmn in Edit Posts. + */ +function cpm_manage_posts_custom_column($column_name) { + global $cpm_config, $broken_down_comic_files, $post; + + if ($column_name == "comic") { + $post_date = date(CPM_DATE_FORMAT, strtotime($post->post_date)); + + if ($is_first = empty($broken_down_comic_files)) { + $broken_down_comic_files = array(); + if (empty($cpm_config->comic_files)) { + cpm_read_information_and_check_config(); + } + + foreach ($cpm_config->comic_files as $file) { + $filename = pathinfo($file, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($filename)) !== false) { + if (!isset($broken_down_comic_files[$result['date']])) { + $broken_down_comic_files[$result['date']] = array(); + } + $broken_down_comic_files[$result['date']][] = $file; + } + } + ?> + + ID . '-' . $index; + + $thumbnails_found = cpm_find_thumbnails_by_filename($file); + + $icon_file_to_use = $file; + foreach (array('rss', 'archive') as $type) { + if (isset($thumbnails_found[$type])) { $icon_file_to_use = $thumbnails_found[$type]; } + } + + $hovertext = get_post_meta($post->ID, "hovertext", true); + + ?> +
+ + + is_cpm_modifying_categories)) { + cpm_read_information_and_check_config(); + cpm_normalize_storyline_structure(); + } +} + +/** + * Create a list of checkboxes that can be used to select additional categories. + */ +function cpm_generate_additional_categories_checkboxes($override_name = null) { + global $cpm_config; + + $additional_categories = array(); + + $invalid_ids = array($cpm_config->properties['blogcat']); + + extract(cpm_get_all_comic_categories()); + foreach ($category_tree as $node) { + $invalid_ids[] = end(explode('/', $node)); + } + + foreach (get_all_category_ids() as $cat_id) { + if (!in_array($cat_id, $invalid_ids)) { + $category = get_category($cat_id); + $additional_categories[strtolower($category->cat_name)] = $category; + } + } + + ksort($additional_categories); + + $name = (!empty($override_name)) ? $override_name : "additional-categories"; + $selected_additional_categories = explode(",", cpm_option("cpm-default-additional-categories")); + + $category_checkboxes = array(); + if (count($additional_categories) > 0) { + foreach ($additional_categories as $category) { + $checked = (in_array($category->cat_ID, $selected_additional_categories) ? "checked" : ""); + + $category_checkboxes[] = "cat_ID . "\" type=\"checkbox\" name=\"${name}[]\" value=\"" . $category->cat_ID . "\" ${checked} />
"; + } + } + return $category_checkboxes; +} + +/** + * Initialize ComicPress Manager options. + */ +function cpm_initialize_options() { + global $cpm_config; + + include('cpm_configuration_options.php'); + + foreach ($configuration_options as $option_info) { + if (is_array($option_info)) { + $result = cpm_option($option_info['id']); + + if (isset($option_info['not_blank']) && empty($result)) { $result = false; } + + if ($result === false) { + $default = (isset($option_info['default']) ? $option_info['default'] : ""); + update_option("comicpress-manager-" . $option_info['id'], $default); + } + + } + } +} + +/** + * Show the Post Editor. + * @param integer $width The width in pixels of the text editor widget. + */ +function cpm_post_editor($width = 435, $is_import = false) { + global $cpm_config; + + $form_titles_and_fields = array(); + + if (is_null(get_category($cpm_config->properties['comiccat']))) { ?> +

You don't have a comics category defined! Go to the + ComicPress Config screen and choose a category. + properties['comiccat']); + } + } + + ob_start(); + cpm_display_storyline_checkboxes($category_tree, $post_categories); + $storyline_editor = ob_get_clean(); + + $form_titles_and_fields[] = array( + __("Storyline:", 'comicpress-manager'), + $storyline_editor + ); + + // see if there are additional categories that can be set besides the comic and blog categories + + if (count($category_checkboxes = cpm_generate_additional_categories_checkboxes()) > 0) { + $form_titles_and_fields[] = array( + __("Additional Categories:", 'comicpress-manager'), + implode("\n", $category_checkboxes) + ); + } + + $form_titles_and_fields[] = array( + __("Time to post:", 'comicpress-manager'), + "" . + __(" (must be in the format HH:MM am/pm or now)", 'comicpress-manager') + ); + + $form_titles_and_fields[] = array( + '', + '' . + __(" ", "comicpress-manager") + ); + + if (!$is_import) { + $form_titles_and_fields[] = array( + '', + '' . + __(" ", "comicpress-manager") + ); + } else { + $form_titles_and_fields[] = ''; + } + + if ($cpm_config->get_scale_method() != CPM_SCALE_NONE) { + $thumbnail_writes = cpm_get_thumbnails_to_generate(); + + $thumb_write_holder = ' ('; + if (count($thumbnail_writes) > 0) { + $thumb_write_holder .= sprintf("If enabled, you'll be writing thumbnails to: %s", implode(", ", $thumbnail_writes)); + } else { + $thumb_write_holder .= __("You won't be generating any thumbnails.", 'comicpress-manager'); + } + $thumb_write_holder .= ")"; + + if (count($thumbnail_writes) > 0) { + $form_titles_and_fields[] = array( + '', + '' . '" + ); + } + } + + $form_titles_and_fields[] = array( + __("Title For All Posts:", 'comicpress-manager'), + '' . + __(" (the title to use for all posts)", 'comicpress-manager') + ); + + $form_titles_and_fields[] = array( + __("<img title>/Hovertext For All Posts:", 'comicpress-manager'), + '' . + __(" (the hovertext to use for all posts)", 'comicpress-manager') + ); + + $form_titles_and_fields[] = array( + __("Transcript For All Posts:", 'comicpress-manager'), + '' . + __(" (the transcript to use for all posts)", 'comicpress-manager') + ); + + $form_titles_and_fields[] = array( + __("Upload Date Format:", 'comicpress-manager'), + '' . + __(" (if the files you are uploading have a different date format, specify it here. ex: Ymd for a file named 20080101-my-new-years-day.jpg)", 'comicpress-manager') + ); + + $form_titles_and_fields[] = array( + __("Tags:", 'comicpress-manager'), + '' . + __(" (any tags to add to the post, separated by commas. any tags you've used before will be listed below.)", 'comicpress-manager') + ); + + $all_tags_links = array(); + foreach (get_tags() as $tag) { + $all_tags_links[] = "{$tag->name}"; + } + + sort($all_tags_links); + + if (count($all_tags_links) > 0) { + $form_titles_and_fields[] = array( + __("Quick Tags (click to add):", 'comicpress-manager'), + implode("\n", $all_tags_links) + ); + } + + ?> + > + + + + + + +
+
+ + + + +

+
> + + + + +
+
> +
+ + + +
+ + +
+ + +
+

+ +
+ +
+ +
+ + +
+
+properties["${folder_name}comic_folder"])) { $all_comic_folders_found = false; break; } + } + + $do_first_run = !$all_comic_folders_found; + if (!$do_first_run) { + //if (!function_exists('get_site_option')) { + update_option("comicpress-manager-cpm-did-first-run", 1); + //} + } + } + + if ($do_first_run) { + include("pages/comicpress_first_run.php"); + cpm_manager_first_run(plugin_basename(__FILE__)); + //if (!function_exists('get_site_option')) { + update_option("comicpress-manager-cpm-did-first-run", 1); + //} + } else { + if ($cpm_config->did_first_run) { $page = "config"; } + include("pages/comicpress_${page}.php"); + call_user_func("cpm_manager_${page}"); + } +} + +/** + * Wrappers around page calls to reduce the amount of code in _admin.php. + */ +function cpm_manager_index_caller() { cpm_manager_page_caller("index"); } +function cpm_manager_status_caller() { cpm_manager_page_caller("status"); } +function cpm_manager_dates_caller() { cpm_manager_page_caller("dates"); } +function cpm_manager_import_caller() { cpm_manager_page_caller("import"); } +function cpm_manager_config_caller() { cpm_manager_page_caller("config"); } +function cpm_manager_cpm_config_caller() { cpm_manager_page_caller("cpm_config"); } +function cpm_manager_storyline_caller() { cpm_manager_page_caller("storyline"); } + +function cpm_show_comic_caller() { + include("pages/edit_post_show_comic.php"); + cpm_show_comic(); +} + +function cpm_manager_write_comic_caller() { + include("pages/write_comic_post.php"); + cpm_manager_write_comic(plugin_basename(__FILE__)); +} + +/** + * Show the header. + */ +function cpm_show_manager_header() { + global $cpm_config; ?> +

+

+ comic_category_info)) { ?> + comic_category_info['name']) ?> + + + +

+separate_thumbs_folder_defined[$type]) { + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$type . "_comic_folder"]; + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $path .= '/' . $subdir; + } + $files = glob($path . '/' . $date_root . "*"); + if ($files === false) { $files = array(); } + + if (count($files) > 0) { + $thumbnails_found[$type] = substr(realpath(array_shift($files)), CPM_STRLEN_REALPATH_DOCUMENT_ROOT); + } + } + } + + return $thumbnails_found; +} + +/** + * Find all the thumbnails for a particular image root. + */ +function cpm_find_thumbnails_by_filename($filename) { + global $cpm_config; + + $thumbnails_found = array(); + foreach (array('rss', 'archive') as $type) { + if ($cpm_config->separate_thumbs_folder_defined[$type]) { + $thumb_filename = str_replace('/' . $cpm_config->properties["comic_folder"] . '/', '/' . $cpm_config->properties[$type . "_comic_folder"] . '/', $filename); + + if (file_exists($thumb_filename)) { + $thumbnails_found[$type] = substr(realpath($thumb_filename), CPM_STRLEN_REALPATH_DOCUMENT_ROOT); + } + } + } + + return $thumbnails_found; +} + +/** + * Find a comic file by date. + */ +function find_comic_by_date($timestamp) { + global $cpm_config; + + $files = glob(get_comic_folder_path() . '/' . date(CPM_DATE_FORMAT, $timestamp) . '*'); + if ($files === false) { $files = array(); } + foreach ($files as $file) { + if (in_array(strtolower(pathinfo($file, PATHINFO_EXTENSION)), $cpm_config->allowed_extensions)) { + return $file; + } + } + return false; +} + +function cpm_display_storyline_checkboxes($category_tree, $post_categories, $prefix = null, $root_name = "in-comic-category") { + foreach ($category_tree as $node) { + $parts = explode("/", $node); + $category_id = end($parts); + $name = (empty($prefix) ? "" : "${prefix}-") . $root_name; + ?> +
+ +
+ properties['comiccat']; + } + } + + ob_start(); + foreach (get_all_category_ids() as $cat_id) { + $ok = ($cat_id == $default_category); + + if ($ok) { + $number_of_categories++; + $category = get_category($cat_id); + if (is_null($first_category)) { $first_category = $category; } + ?> + + cat_ID}\" />"; + if ($label) { $output .= $first_category->cat_name; } + return $output; + } else { + return ""; + } + } +} + +/** + * Use file_put_contents or f-functions() as necessary. + */ +function file_write_contents($file, $data) { + //harmonious file_put_contents + if (function_exists('file_put_contents')) { + return file_put_contents($file, $data); + } else { + if (($fh = fopen($file, "w")) !== false) { + fwrite($fh, $data); + fclose($fh); + } + } + //harmonious_end +} + +/** + * Write the current ComicPress Config to disk. + */ +function write_comicpress_config_functions_php($filepath, $just_show_config = false, $use_default_file = false) { + global $cpm_config, $default_comicpress_config_file; + + $file_lines = array(); + + if ($use_default_file) { + $file_lines = $default_comicpress_config_file; + } else { + foreach (file($filepath) as $line) { + $file_lines[] = rtrim($line, "\r\n"); + } + } + + include('cp_configuration_options.php'); + + $properties_written = array(); + + $closing_line = null; + + for ($i = 0; $i < count($file_lines); $i++) { + foreach (array_keys($cpm_config->properties) as $variable) { + if (!in_array($variable, $properties_written)) { + if (preg_match("#\\$${variable}\ *\=\ *([^\;]*)\;#", $file_lines[$i], $matches) > 0) { + $value = $cpm_config->properties[$variable]; + $file_lines[$i] = '$' . $variable . ' = "' . $value . '";'; + $properties_written[] = $variable; + } + } + } + if (strpos($file_lines[$i], "?>") !== false) { $closing_line = $i; } + } + + foreach (array_keys($cpm_config->properties) as $variable) { + if (!in_array($variable, $properties_written)) { + foreach ($comicpress_configuration_options as $option_info) { + if ($option_info['id'] == $variable) { + $comicpress_lines = array(); + $comicpress_lines[] = "//{$option_info['name']} - {$option_info['description']} (default \"{$option_info['default']}\")"; + $comicpress_lines[] = "\${$option_info['id']} = \"{$cpm_config->properties[$variable]}\";"; + $comicpress_lines[] = ""; + array_splice($file_lines, $closing_line, 0, $comicpress_lines); + break; + } + } + } + } + + $file_output = implode("\n", $file_lines); + + if (!$just_show_config) { + if (can_write_comicpress_config($filepath)) { + $target_filepath = $filepath . '.' . time(); + $temp_filepath = $target_filepath . '-tmp'; + if (@file_write_contents($temp_filepath, $file_output) !== false) { + if (file_exists($temp_filepath)) { + @chmod($temp_filepath, CPM_FILE_UPLOAD_CHMOD); + if (@rename($filepath, $target_filepath)) { + if (@rename($temp_filepath, $filepath)) { + return array($target_filepath); + } else { + @unlink($temp_filepath); + @rename($target_filepath, $filepath); + } + } else { + @unlink($temp_filepath); + } + } + } + } + } + + return $file_output; +} + +/** + * Generate links to view or edit a particular post. + * @param array $post_info The post information to use. + * @return string The view & edit post links for the post. + */ +function generate_view_edit_post_links($post_info) { + $view_post_link = sprintf("%s", __("View post", 'comicpress-manager')); + $edit_post_link = sprintf("%s", __("Edit post", 'comicpress-manager')); + + return $view_post_link . ' | ' . $edit_post_link; +} + +/** + * Write a thumbnail image to the thumbnail folders. + * @param string $input The input image filename. + * @param string $target_filename The filename for the thumbnails. + * @param boolean $do_rebuild If true, force rebuilding thumbnails. + * @return mixed True if successful, false if not, null if unable to write. + */ +function cpm_write_thumbnail($input, $target_filename, $do_rebuild = false) { + global $cpm_config; + + $target_format = pathinfo($target_filename, PATHINFO_EXTENSION); + $files_created_in_operation = array(); + + $write_targets = array(); + foreach ($cpm_config->separate_thumbs_folder_defined as $type => $value) { + if ($value) { + if ($cpm_config->thumbs_folder_writable[$type]) { + + $converted_target_filename = preg_replace('#\.[^\.]+$#', '', $target_filename) . '.' . $target_format; + + $target = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$type . "_comic_folder"]; + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $target .= '/' . $subdir; + } + $target .= '/' . $converted_target_filename; + + if (!in_array($target, $write_targets)) { + $write_targets[$type] = $target; + } + } + } + } + + if (count($write_targets) > 0) { + if (!$do_rebuild) { + if (file_exists($input)) { + if (file_exists($target)) { + if (filemtime($input) > filemtime($target)) { + $do_rebuild = true; + } + } else { + $do_rebuild = true; + } + } + } + + if ($do_rebuild) { + switch ($cpm_config->get_scale_method()) { + case CPM_SCALE_NONE: + return null; + case CPM_SCALE_IMAGEMAGICK: + $unique_colors = exec("identify -format '%k' '${input}'"); + if (empty($unique_colors)) { $unique_colors = 256; } + + $ok = true; + foreach ($write_targets as $type => $target) { + $width_to_use = (isset($cpm_config->properties["${type}_comic_width"])) + ? $cpm_config->properties["${type}_comic_width"] + : $cpm_config->properties['archive_comic_width']; + + $command = array("convert", + "\"${input}\"", + "-filter Lanczos", + "-resize " . $width_to_use . "x"); + + $im_target = $target; + + switch(strtolower($target_format)) { + case "jpg": + case "jpeg": + $command[] = "-quality " . cpm_option("cpm-thumbnail-quality"); + break; + case "gif": + $command[] = "-colors ${unique_colors}"; + break; + case "png": + if ($unique_colors <= 256) { + $im_target = "png8:${im_target}"; + $command[] = "-colors ${unique_colors}"; + } + $command[] = "-quality 100"; + break; + default: + } + + $command[] = "\"${im_target}\""; + + $convert_to_thumb = escapeshellcmd(implode(" ", $command)); + + exec($convert_to_thumb); + + if (!file_exists($target)) { + $ok = false; + } else { + @chmod($target, CPM_FILE_UPLOAD_CHMOD); + $files_created_in_operation[] = $target; + } + } + + return ($ok) ? $files_created_in_operation :false ; + case CPM_SCALE_GD: + list ($width, $height) = getimagesize($input); + + if ($width > 0) { + $pixel_size_buffer = 1.25; + + $max_bytes = cpm_short_size_string_to_bytes(ini_get('memory_limit')); + if ($max_bytes > 0) { + $max_thumb_size = 0; + + foreach ($write_targets as $type => $target) { + $width_to_use = (isset($cpm_config->properties["${type}_comic_width"])) + ? $cpm_config->properties["${type}_comic_width"] + : $cpm_config->properties['archive_comic_width']; + + $archive_comic_height = (int)(($width_to_use * $height) / $width); + + $max_thumb_size = max($width_to_use * $archive_comic_height * 4, $max_thumb_size); + } + + $input_image_size = $width * $height * 4; + if (strtolower(pathinfo($input, PATHINFO_EXTENSION)) == "gif") { $input_image_size *= 2; } + + $recommended_size = ($input_image_size + $max_thumb_size) * $pixel_size_buffer; + if (function_exists('memory_get_usage')) { $recommended_size += memory_get_usage(); } + + if ($recommended_size > $max_bytes) { + $cpm_config->warnings[] = sprintf(__("You don't have enough memory available to PHP and GD to process this file. You should set your PHP memory_size to at least %sM and try again. For more information, read the ComicPress Manager FAQ.", 'comicpress-manager'), (int)($recommended_size / (1024 * 1024))); + + return false; + } + } + + foreach ($write_targets as $type => $target) { + $width_to_use = (isset($cpm_config->properties["${type}_comic_width"])) + ? $cpm_config->properties["${type}_comic_width"] + : $cpm_config->properties['archive_comic_width']; + + $archive_comic_height = (int)(($width_to_use * $height) / $width); + + $pathinfo = pathinfo($input); + + $thumb_image = imagecreatetruecolor($width_to_use, $archive_comic_height); + imagealphablending($thumb_image, true); + switch(strtolower($pathinfo['extension'])) { + case "jpg": + case "jpeg": + $comic_image = imagecreatefromjpeg($input); + break; + case "gif": + $is_gif = true; + + $temp_comic_image = imagecreatefromgif($input); + + list($width, $height) = getimagesize($input); + $comic_image = imagecreatetruecolor($width, $height); + + imagecopy($comic_image, $temp_comic_image, 0, 0, 0, 0, $width, $height); + imagedestroy($temp_comic_image); + break; + case "png": + $comic_image = imagecreatefrompng($input); + break; + default: + return false; + } + imagealphablending($comic_image, true); + + if ($is_palette = !imageistruecolor($comic_image)) { + $number_of_colors = imagecolorstotal($comic_image); + } + + imagecopyresampled($thumb_image, $comic_image, 0, 0, 0, 0, $width_to_use, $archive_comic_height, $width, $height); + + $ok = true; + + @touch($target); + if (file_exists($target)) { + @unlink($target); + switch(strtolower($target_format)) { + case "jpg": + case "jpeg": + if (imagetypes() & IMG_JPG) { + @imagejpeg($thumb_image, $target, cpm_option("cpm-thumbnail-quality")); + } else { + return false; + } + break; + case "gif": + if (imagetypes() & IMG_GIF) { + if (function_exists('imagecolormatch')) { + $temp_comic_image = imagecreate($width_to_use, $archive_comic_height); + imagecopymerge($temp_comic_image, $thumb_image, 0, 0, 0, 0, $width_to_use, $archive_comic_height, 100); + imagecolormatch($thumb_image, $temp_comic_image); + + @imagegif($temp_comic_image, $target); + imagedestroy($temp_comic_image); + } else { + @imagegif($thumb_image, $target); + } + } else { + return false; + } + break; + case "png": + if (imagetypes() & IMG_PNG) { + if ($is_palette) { + imagetruecolortopalette($thumb_image, true, $number_of_colors); + } + @imagepng($thumb_image, $target, 9); + } else { + return false; + } + break; + default: + return false; + } + } + + if (!file_exists($target)) { + $ok = false; + } else { + @chmod($target, CPM_FILE_UPLOAD_CHMOD); + $files_created_in_operation[] = $target; + } + + imagedestroy($comic_image); + imagedestroy($thumb_image); + } + } else { + $ok = false; + } + + return ($ok) ? $files_created_in_operation :false ; + } + } + } + + return null; +} + +function cpm_obfuscate_filename($filename) { + if (($result = cpm_breakdown_comic_filename($filename)) !== false) { + $md5_key = substr(md5(rand() + strlen($filename)), 0, 8); + $extension = pathinfo($filename, PATHINFO_EXTENSION); + switch (cpm_option('cpm-obfuscate-filenames-on-upload')) { + case "append": + return $result['date'] . $result['title'] . '-' . $md5_key . '.' . $extension; + case "replace": + return $result['date'] . '-' . $md5_key . '.' . $extension; + } + } + return $filename; +} + +function cpm_do_gd_file_check_on_upload($check_file_path, $target_filename) { + global $cpm_config; + + $file_ok = true; + $did_filecheck = false; + $is_cmyk = false; + + $result = cpm_breakdown_comic_filename($target_filename, true); + + if (extension_loaded("gd") && (cpm_option('cpm-perform-gd-check') == 1)) { + $file_ok = (($image_info = getimagesize($check_file_path)) !== false); + $did_filecheck = true; + + if (($image_info[2] == IMAGETYPE_JPEG) && ($image_info['channels'] == 4)) { + $is_cmyk = true; + $file_ok = false; + $temp_check_file_path = $check_file_path . md5(rand()); + switch ($cpm_config->get_scale_method()) { + case CPM_SCALE_NONE: + break; + case CPM_SCALE_IMAGEMAGICK: + exec(implode(" ", array("convert", + "\"{$check_file_path}\"", + "-colorspace rgb", + $temp_check_file_path))); + break; + case CPM_SCALE_GD: + $cmyk_data = imagecreatefromjpeg($check_file_path); + imagejpeg($cmyk_data, $temp_check_file_path, cpm_option("cpm-thumbnail-quality")); + break; + } + if (file_exists($temp_check_file_path)) { + rename($temp_check_file_path, $check_file_path); + $file_ok = true; + } + } + + if ($file_ok) { + $current_extension = strtolower(pathinfo($target_filename, PATHINFO_EXTENSION)); + if ($current_extension != "") { + $remove_extension = false; + switch($image_info[2]) { + case IMAGETYPE_GIF: + $remove_extension = !in_array($current_extension, array("gif")); + break; + case IMAGETYPE_JPEG: + $remove_extension = !in_array($current_extension, array("jpg", "jpeg")); + break; + case IMAGETYPE_PNG: + $remove_extension = !in_array($current_extension, array("png")); + break; + } + if ($remove_extension) { + $target_filename = preg_replace('#\.[^\.]+$#', '', $target_filename); + $result = cpm_breakdown_comic_filename($target_filename, true); + } + } + + $gd_did_rename = false; + if ($result === false && $file_ok) { + + if (pathinfo($target_filename, PATHINFO_EXTENSION) == "") { + $new_extension = ""; + switch($image_info[2]) { + case IMAGETYPE_GIF: $new_extension = "gif"; break; + case IMAGETYPE_JPEG: $new_extension = "jpg"; break; + case IMAGETYPE_PNG: $new_extension = "png"; break; + } + + if ($new_extension != "") { $target_filename .= '.' . $new_extension; } + $result = cpm_breakdown_comic_filename($target_filename, true); + $gd_did_rename = true; + } + } + } + } + + return compact('file_ok', 'did_filecheck', 'gd_did_rename', 'result', 'target_filename', 'is_cmyk'); +} + +/** + * Handle uploading a set of files. + * @param array $files A list of valid $_FILES keys to process. + */ +function cpm_handle_file_uploads($files) { + global $cpm_config; + + $posts_created = array(); + $duplicate_posts = array(); + $files_uploaded = array(); + $thumbnails_written = array(); + $invalid_filenames = array(); + $thumbnails_not_written = array(); + $files_not_uploaded = array(); + $invalid_image_types = array(); + $gd_rename_file = array(); + $did_convert_cmyk_jpeg = array(); + + $target_root = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$_POST['upload-destination'] . "_folder"]; + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $target_root .= '/' . $subdir; + } + + $write_thumbnails = isset($_POST['thumbnails']) && ($_POST['upload-destination'] == "comic"); + $new_post = isset($_POST['new_post']) && ($_POST['upload-destination'] == "comic"); + + $ok_to_keep_uploading = true; + $files_created_in_operation = array(); + + $filename_original_titles = array(); + + foreach ($files as $key) { + if (is_uploaded_file($_FILES[$key]['tmp_name'])) { + if ($_FILES[$key]['error'] != 0) { + switch ($_FILES[$key]['error']) { + case UPLOAD_ERR_INI_SIZE: + case UPLOAD_ERR_FORM_SIZE: + $cpm_config->warnings[] = sprintf(__("The file you uploaded was too large. The max allowed filesize for uploads to your server is %s.", 'comicpress-manager'), ini_get('upload_max_filesize')); + break; + case UPLOAD_ERR_NO_FILE: + break; + default: + $cpm_config->warnings[] = sprintf(__("There was an error in uploading. The PHP upload error code was %s.", 'comicpress-manager'), $_FILES[$key]['error']); + break; + } + } else { + if (strpos($_FILES[$key]['name'], ".zip") !== false) { + $invalid_files = array(); + + //harmonious zip_open zip_entry_name zip_read zip_entry_read zip_entry_open zip_entry_filesize zip_entry_close zip_close + if (extension_loaded("zip")) { + if (is_resource($zip = zip_open($_FILES[$key]['tmp_name']))) { + while ($zip_entry = zip_read($zip)) { + if (zip_entry_open($zip, $zip_entry, "r")) { + $temp_path = $target_root . '/' . md5(rand()); + file_write_contents($temp_path, + zip_entry_read($zip_entry, + zip_entry_filesize($zip_entry))); + + $comic_file = zip_entry_name($zip_entry); + $target_filename = pathinfo(zip_entry_name($zip_entry), PATHINFO_BASENAME); + + $result = cpm_breakdown_comic_filename($target_filename, true); + + if (file_exists($temp_path)) { + extract(cpm_do_gd_file_check_on_upload($temp_path, $target_filename)); + + if ($result !== false) { + extract($result, EXTR_PREFIX_ALL, "filename"); + + if ($file_ok) { + if (($obfuscated_filename = cpm_obfuscate_filename($target_filename)) !== $target_filename) { + $cpm_config->messages[] = sprintf(__('Uploaded file %1$s renamed to %2$s.', 'comicpress-manager'), $target_filename, $obfuscated_filename); + $filename_original_titles[$obfuscated_filename] = $result['converted_title']; + + $target_filename = $obfuscated_filename; + } + + @rename($temp_path, $target_root . '/' . $target_filename); + $files_created_in_operation[] = $target_root . '/' . $target_filename; + $files_uploaded[] = $target_filename; + if ($gd_did_rename) { $gd_rename_file[] = $comic_file; } + + if ($did_filecheck) { + if ($is_cmyk) { + $did_convert_cmyk_jpeg[] = $comic_file; + } + } + } else { + if ($did_filecheck) { + $invalid_image_types[] = $comic_file; + } else { + $invalid_filenames[] = $comic_file; + } + } + } else { + $files_not_uploaded[] = $comic_file; + } + } else { + $invalid_filenames[] = $comic_file; + } + + @unlink($temp_path); + zip_entry_close($zip_entry); + } + + if (($result = cpm_breakdown_comic_filename($target_filename, true)) !== false) { + extract($result, EXTR_PREFIX_ALL, 'filename'); + $target_path = $target_root . '/' . $target_filename; + + if (isset($_POST['upload-date-format']) && !empty($_POST['upload-date-format'])) { + $target_filename = date(CPM_DATE_FORMAT, strtotime($result['date'])) . + $result['title'] . '.' . pathinfo($_FILES[$key]['name'], PATHINFO_EXTENSION); + } + } else { + $invalid_filenames[] = $comic_file; + } + } + zip_close($zip); + } + } else { + $cpm_config->warnings[] = sprintf(__("The Zip extension is not installed. %s was not processed.", 'comicpress-manager'), $_FILES[$key]['name']); + } + //harmonious_end + } else { + $target_filename = $_FILES[$key]['name']; + if (get_magic_quotes_gpc()) { + $target_filename = stripslashes($target_filename); + } + + $tried_replace = false; + if (!empty($_POST['overwrite-existing-file-choice'])) { + $tried_replace = true; + $original_filename = $target_filename; + $target_filename = $_POST['overwrite-existing-file-choice']; + if (get_magic_quotes_gpc()) { + $target_filename = stripslashes($target_filename); + } + + $new_post = false; + + if (pathinfo($original_filename, PATHINFO_EXTENSION) != pathinfo($target_filename, PATHINFO_EXTENSION)) { + if (@unlink($target_root . '/' . $target_filename)) { + foreach (cpm_get_thumbnails_to_generate() as $type) { + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$type . "_comic_folder"]; + if (($subdir = cpm_get_thumbnails_to_generate()) !== false) { + $path .= '/' . $subdir; + } + @unlink($path . '/' . $target_filename); + } + } + + $target_filename = preg_replace('#\.[^\.]+$#', '', $target_filename) . '.' . pathinfo($original_filename, PATHINFO_EXTENSION); + } + + $result = cpm_breakdown_comic_filename($target_filename); + $cpm_config->messages[] = sprintf(__('Uploaded file %1$s renamed to %2$s.', 'comicpress-manager'), $original_filename, $target_filename); + } else { + if (count($files) == 1) { + if (!empty($_POST['override-date'])) { + $date = strtotime($_POST['override-date']); + if (($date !== false) && ($date !== -1)) { + $new_date = date(CPM_DATE_FORMAT, $date); + + $old_filename = $target_filename; + if (($target_result = cpm_breakdown_comic_filename($target_filename, true)) !== false) { + $target_filename = $new_date . $target_result['title'] . '.' . pathinfo($target_filename, PATHINFO_EXTENSION); + } else { + $target_filename = $new_date . '-' . $target_filename; + } + + if ($old_filename !== $target_filename) { + $cpm_config->messages[] = sprintf(__('Uploaded file %1$s renamed to %2$s.', 'comicpress-manager'), $_FILES[$key]['name'], $target_filename); + } + + $result = cpm_breakdown_comic_filename($target_filename); + } else { + if (preg_match('/\S/', $_POST['override-date']) > 0) { + $cpm_config->warnings[] = sprintf(__("Provided override date %s is not parseable by strtotime().", 'comicpress-manager'), $_POST['override-date']); + } + } + } + } + $result = cpm_breakdown_comic_filename($target_filename, true); + if ($result !== false) { // bad file, can we get a date attached? + if (isset($_POST['upload-date-format']) && !empty($_POST['upload-date-format'])) { + $target_filename = date(CPM_DATE_FORMAT, strtotime($result['date'])) . + $result['title'] . '.' . pathinfo($_FILES[$key]['name'], PATHINFO_EXTENSION); + } + } + } + + $comic_file = $_FILES[$key]['name']; + + extract(cpm_do_gd_file_check_on_upload($_FILES[$key]['tmp_name'], $target_filename)); + + $output_file = null; + + if ($result !== false) { + extract($result, EXTR_PREFIX_ALL, "filename"); + + if ($file_ok) { + if (($obfuscated_filename = cpm_obfuscate_filename($target_filename)) !== $target_filename) { + $cpm_config->messages[] = sprintf(__('Uploaded file %1$s renamed to %2$s.', 'comicpress-manager'), $target_filename, $obfuscated_filename); + $filename_original_titles[$obfuscated_filename] = $result['converted_title']; + $target_filename = $obfuscated_filename; + } + + $output_file = $target_root . '/' . $target_filename; + + @move_uploaded_file($_FILES[$key]['tmp_name'], $output_file); + $files_created_in_operation[] = $output_file; + + if (file_exists($output_file)) { + $files_uploaded[] = $target_filename; + if ($gd_did_rename) { $gd_rename_file[] = $comic_file; } + } else { + $files_not_uploaded[] = $target_filename; + } + if ($did_filecheck) { + if ($is_cmyk) { $did_convert_cmyk_jpeg[] = $comic_file; } + } + } else { + if ($did_filecheck) { + $invalid_image_types[] = $comic_file; + } else { + $invalid_filenames[] = $comic_file; + } + } + } else { + if (!$tried_replace) { + $invalid_filenames[] = $comic_file; + } + } + + if ( ($cpm_config->scale_method_cache == CPM_SCALE_IMAGEMAGICK) + && (cpm_option('cpm-strip-icc-profiles') == "1") + && !empty($output_file)) { + $temp_output_file = $output_file . '.' . md5(rand()); + + $command = array("convert", + "\"${output_file}\"", + "-strip", + "\"${temp_output_file}\""); + + $strip_profiles = escapeshellcmd(implode(" ", $command)); + + exec($strip_profiles); + + if (file_exists($temp_output_file)) { + @unlink($output_file); + @rename($temp_output_file, $output_file); + } + } + } + } + } + //if (function_exists('get_site_option')) { + // if (cpm_wpmu_is_over_storage_limit()) { $ok_to_keep_uploading = false; break; } + //} + } + + if ($ok_to_keep_uploading) { + foreach ($files_uploaded as $target_filename) { + $target_path = $target_root . '/' . $target_filename; + @chmod($target_path, CPM_FILE_UPLOAD_CHMOD); + if ($write_thumbnails) { + $wrote_thumbnail = cpm_write_thumbnail($target_path, $target_filename); + } + + if (!is_null($wrote_thumbnail)) { + if (is_array($wrote_thumbnail)) { + $thumbnails_written[] = $target_filename; + $files_created_in_operation = array_merge($files_created_in_operation, $wrote_thumbnail); + } else { + $thumbnails_not_written[] = $target_filename; + } + } + } + //if (function_exists('get_site_option')) { + // if (cpm_wpmu_is_over_storage_limit()) { $ok_to_keep_uploading = false; } + //} + } + + if ($ok_to_keep_uploading) { + foreach ($files_uploaded as $target_filename) { + if ($new_post) { + extract(cpm_breakdown_comic_filename($target_filename), EXTR_PREFIX_ALL, "filename"); + if (isset($filename_original_titles[$target_filename])) { + $filename_converted_title = $filename_original_titles[$target_filename]; + } + if (($post_hash = generate_post_hash($filename_date, $filename_converted_title)) !== false) { + extract($post_hash); + $ok_to_create_post = true; + if (isset($_POST['duplicate_check'])) { + $ok_to_create_post = (($post_id = post_exists($post_title, $post_content, $post_date)) == 0); + } + + if ($ok_to_create_post) { + if (!is_null($post_id = wp_insert_post($post_hash))) { + $posts_created[] = get_post($post_id, ARRAY_A); + + foreach (array('hovertext', 'transcript') as $field) { + if (!empty($_POST["${field}-to-use"])) { update_post_meta($post_id, $field, $_POST["${field}-to-use"]); } + } + } + } else { + $duplicate_posts[] = array(get_post($post_id, ARRAY_A), $target_filename); + } + } else { + $invalid_filenames[] = $target_filename; + } + } + } + cpm_display_operation_messages(compact('invalid_filenames', 'files_uploaded', 'files_not_uploaded', + 'thumbnails_written', 'thumbnails_not_written', 'posts_created', + 'duplicate_posts', 'invalid_image_types', 'gd_rename_file', + 'did_convert_cmyk_jpeg')); + } else { + $cpm_config->messages = array(); + $cpm_config->warnings = array($cpm_config->wpmu_disk_space_message); + + foreach ($files_created_in_operation as $file) { @unlink($file); } + } + + return array($posts_created, $duplicate_posts); +} + +/** + * Display messages when CPM operations are completed. + */ +function cpm_display_operation_messages($info) { + global $cpm_config; + extract($info); + + if (count($invalid_filenames) > 0) { + $cpm_config->messages[] = __("The following filenames were invalid: ", 'comicpress-manager') . implode(", ", $invalid_filenames); + } + + if (count($invalid_image_types) > 0) { + $cpm_config->warnings[] = __("According to GD, the following files were invalid image files: ", 'comicpress-manager') . implode(", ", $invalid_image_types); + } + + if (count($files_uploaded) > 0) { + $cpm_config->messages[] = __("The following files were uploaded: ", 'comicpress-manager') . implode(", ", $files_uploaded); + } + + if (count($files_not_uploaded) > 0) { + $cpm_config->messages[] = __("The following files were not uploaded, or the permissions on the uploaded file do not allow reading the file. Check the permissions of both the target directory and the upload directory and try again: ", 'comicpress-manager') . implode(", ", $files_not_uploaded); + } + + if (count($thumbnails_written) > 0) { + $cpm_config->messages[] = __("Thumbnails were written for the following files: ", 'comicpress-manager') . implode(", ", $thumbnails_written); + } + + if (count($thumbnails_not_written) > 0) { + $cpm_config->messages[] = __("Thumbnails were not written for the following files. Check the permissions on the rss & archive folders, and make sure the files you're processing are valid image files: ", 'comicpress-manager') . implode(", ", $thumbnails_not_written); + } + + if (count($new_thumbnails_not_needed) > 0) { + $cpm_config->messages[] = __("New thumbnails were not needed for the following files: ", 'comicpress-manager') . implode(", ", $new_thumbnails_not_needed); + } + + if (count($gd_rename_file) > 0) { + $cpm_config->messages[] = __("GD was able to recognize the filetypes of these files and change their extensions to match: ", 'comicpress-manager') . implode(", ", $gd_rename_file); + } + + if (count($did_convert_cmyk_jpeg) > 0) { + $cpm_config->messages[] = __("The following JPEG files have been converted from CMYK to RGB: ", 'comicpress-manager') . implode(", ", $did_convert_cmyk_jpeg); + } + + if (count($posts_created) > 0) { + $post_links = array(); + foreach ($posts_created as $comic_post) { + $post_links[] = "
  • " . $comic_post['post_title'] . " (" . $comic_post['post_date'] . ") " . generate_view_edit_post_links($comic_post) . "
  • "; + } + + $cpm_config->messages[] = __("New posts created. View them from the links below:", 'comicpress-manager') . "
      " . implode("", $post_links) . "
    "; + } else { + if (count($files_uploaded) > 0) { + if (count($duplicate_posts) == 0) { + $cpm_config->messages[] = __("No new posts created.", 'comicpress-manager'); + } + } + } + + if (count($duplicate_posts) > 0) { + $post_links = array(); + foreach ($duplicate_posts as $info) { + list($comic_post, $comic_file) = $info; + $post_links[] = "
  • " . $comic_file . " — " . $comic_post['post_title'] . " (" . $comic_post['post_date'] . ") " . generate_view_edit_post_links($comic_post) . "
  • "; + } + + $cpm_config->messages[] = __("The following files would have created duplicate posts. View them from the links below: ", 'comicpress-manager') . "
      " . implode("", $post_links) . "
    "; + } +} + +/** + * Show the Post Body Template. + * @param integer $width The width of the editor in pixels. + */ +function cpm_show_post_body_template($width = 435) { + global $cpm_config; ?> + + + + + + + +
    + Post body template: +
    +
    + +
    + +
    + () +
      +
    • {category}:
    • +
    • {date}: %s)", 'comicpress-manager'), date("F j, Y", time())) ?>
    • +
    • {title}:
    • +
    +
    + = filemtime($js_path . '/' . $regular_file)) { + $file_to_use = $minified_file; + } + } + + ?> + + + + + need_calendars) { ?> + + + + + + + + +messages, + __("The operation you just performed returned the following:", 'comicpress-manager'), + 'messages'), + array( + $cpm_config->warnings, + __("The following warnings were generated:", 'comicpress-manager'), + 'warnings'), + array( + $cpm_config->errors, + __("The following problems were found in your configuration:", 'comicpress-manager'), + 'errors') + ) as $info) { + list($messages, $header, $style) = $info; + if (count($messages) > 0) { + if (count($messages) == 1) { + $output = $messages[0]; + } else { + ob_start(); ?> + +
      + +
    • + +
    + + If your error is permissions-related, you may have to set some Windows-specific permissions on your filesystem. Consult your Webhost for more information.

    ", 'comicpress-manager'); + } + + ?> +
    + errors) > 0) { + $current_theme_info = get_theme(get_current_theme()); + ?> +

    + + show_config_editor) { ?> +

    +
      +
    • +
    • + + + + + + + + + + + +
      category_nicename ?>cat_ID ?>
      +
    • +
    + config_filepath) . '/comicpress-config.php.*'); + if ($found_backup_files === false) { $found_backup_files = array(); } + foreach ($found_backup_files as $file) { + if (preg_match('#\.([0-9]+)$#', $file, $matches) > 0) { + list($all, $time) = $matches; + $available_backup_files[] = $time; + } + } + + arsort($available_backup_files); + + //if (function_exists('get_site_option')) { + //$cpm_config->show_config_editor = true; + //} else { + if ($cpm_config->config_method == "comicpress-config.php") { + if (!$cpm_config->can_write_config) { + $update_automatically = false; + } + } else { + if (count($available_backup_files) > 0) { + if (!$cpm_config->can_write_config) { + $update_automatically = false; + } + } else { + $update_automatically = false; + } + } + + if (!$update_automatically) { ?> +

    + You won't be able to update your comicpress-config.php or functions.php file directly through the ComicPress Manager interface. Check to make sure the permissions on %s and comicpress-config.php are set so that the Webserver can write to them. Once you submit, you'll be given a block of code to paste into the comicpress-config.php file.", 'comicpress-manager'), $current_theme_info['Template Dir']) ?> +

    + 0) { ?> +

    + Some backup comicpress-config.php files were found in your theme directory. You can choose to restore one of these backup files, or you can go ahead and create a new configuration below.", 'comicpress-manager') ?> +

    + +
    + + + + " /> +
    +
    + show_config_editor) { + echo cpm_manager_edit_config(); + } ?> + + +
    + + () + + $b[1]) ? -1 : 1; +} + +/** + * Handle all ComicPress actions. + */ +function cpm_handle_actions() { + global $cpm_config; + + $valid_actions = array('multiple-upload-file', 'create-missing-posts', + 'update-config', 'restore-backup', 'change-dates', + 'write-comic-post', 'update-cpm-config', 'do-first-run', 'skip-first-run', + 'build-storyline-schema', 'batch-processing', 'manage-subcomic'); + + // + // take actions based upon $_POST['action'] + // + if (isset($_POST['action'])) { + if (in_array($_POST['action'], $valid_actions)) { + require_once('actions/comicpress_' . $_POST['action'] . '.php'); + call_user_func("cpm_action_" . str_replace("-", "_", $_POST['action'])); + } + } +} + +/** + * Show the details of the current setup in the Sidebar. + */ +function cpm_show_comicpress_details() { + global $cpm_config; + + $all_comic_dates_ok = true; + $all_comic_dates = array(); + foreach ($cpm_config->comic_files as $comic_file) { + if (($result = cpm_breakdown_comic_filename(pathinfo($comic_file, PATHINFO_BASENAME))) !== false) { + if (isset($all_comic_dates[$result['date']])) { $all_comic_dates_ok = false; break; } + $all_comic_dates[$result['date']] = true; + } + } + + $subdir_path = ''; + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $subdir_path .= '/' . $subdir; + } + + ?> + +
    +

    +
      +
    • + config_method == "comicpress-config.php") { ?> + config_method ?> + can_write_config) { ?> + + + + + + config_method ?> + +
    • +
    • + properties['comic_folder'] . $subdir_path; + ?>
      + + , + + + comic_files), 'comicpress-manager'), count($cpm_config->comic_files), $too_many_comics_message) ?> +
    • + + __('Archive folder:', 'comicpress-manager'), + 'rss' => __('RSS feed folder:', 'comicpress-manager')) + as $type => $title) { ?> +
    • properties["${type}_comic_folder"] . $subdir_path; ?> + get_scale_method() != CPM_SCALE_NONE) && + (cpm_option("cpm-${type}-generate-thumbnails") == 1) && + ($cpm_config->separate_thumbs_folder_defined[$type]) && + ($cpm_config->thumbs_folder_writable[$type]) + ) { ?> + () + get_scale_method() == CPM_SCALE_NONE) { $reasons[] = __("No scaling software", 'comicpress-manager'); } + if (cpm_option("cpm-${type}-generate-thumbnails") == 0) { $reasons[] = __("Generation disabled", 'comicpress-manager'); } + if (!$cpm_config->separate_thumbs_folder_defined[$type]) { $reasons[] = __("Same as comics folder", 'comicpress-manager'); } + if (!$cpm_config->thumbs_folder_writable[$type]) { $reasons[] = __("Not writable", 'comicpress-manager'); } + ?> + (">not generating) + +
    • + + +
    • + properties['comiccat']) && count($cpm_config->properties['comiccat']) != 1) { + _e("Comic categories:", 'comicpress-manager'); + } else { + _e("Comic category:", 'comicpress-manager'); + } + ?> + properties['comiccat'])) { ?> +
        + properties['comiccat'] as $cat_id) { ?> +
      • +
      • + +
      + + comic_category_info['name'] ?> + properties['comiccat']) ?> + +
    • +
    • + blog_category_info['name'] ?> properties['blogcat']) ?>
    • + + +
    • + + () + +
    • +
    • + + Something's misconfigured with your theme...", 'comicpress-manager'); + } ?> +
    • + detailed_warnings) != 0) { ?> +
    • + +
        + detailed_warnings as $warning) { ?> +
      • + +
      +
    • + +
    • + () + +
    • + +
    +
    + post_date); + + if ($timestamp < $current_timestamp) { + $is_current = true; + } + + if ($is_current) { + if ($is_previous) { + $previous_post = $comic_post; + break; + } + $current_post = $comic_post; + $is_previous = true; + } else { + $upcoming_post = $comic_post; + } + } + + $found_posts = compact('previous_post', 'current_post', 'upcoming_post'); + $post_titles = array('previous_post' => __("Last Post", 'comicpress-manager'), + 'current_post' => __("Current Post", 'comicpress-manager'), + 'upcoming_post' => __("Upcoming Post", 'comicpress-manager')); + ?> + +
    + + $title) { + if (!empty($found_posts[$key])) { + $timestamp = strtotime($found_posts[$key]->post_date); + $post_date = date(CPM_DATE_FORMAT, $timestamp); + + $comic_file = null; + foreach ($cpm_config->comic_files as $file) { + if (($result = cpm_breakdown_comic_filename(pathinfo($file, PATHINFO_BASENAME))) !== false) { + if ($result['date'] == $post_date) { $comic_file = $file; break; } + } + } + + ?> +
    "> +

    + +

    post_title ?> []

    + + + <?php echo $found_posts[$key]->post_title ?> + +
    Comic file not found!
    + +
    + +

    You don't have any comic posts!

    + +
    + + + >comic_files) . " comic files"; + $output_config['config_filepath'] = substr(realpath($cpm_config->config_filepath), CPM_STRLEN_REALPATH_DOCUMENT_ROOT); + $output_config['path'] = substr(realpath($cpm_config->path), CPM_STRLEN_REALPATH_DOCUMENT_ROOT); + $output_config['zip_enabled'] = extension_loaded("zip"); + + clearstatcache(); + $output_config['folder_perms'] = array(); + + $subdir = ""; + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $subdir = '/' . $subdir; + } + + foreach (array( + 'comic' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['comic_folder'] . $subdir, + 'rss' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['rss_comic_folder'] . $subdir, + 'archive' => CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['archive_comic_folder'] . $subdir, + 'config' => $cpm_config->config_filepath + ) as $key => $path) { + if (($s = @stat($path)) !== false) { + $output_config['folder_perms'][$key] = decoct($s[2]); + } else { + $output_config['folder_perms'][$key] = "folder does not exist"; + } + } + + $new_output_config = array(); + foreach ($output_config as $key => $value) { + if (is_string($value)) { + $value = htmlentities($value); + } + $new_output_config[$key] = $value; + } + + var_dump($new_output_config); + ?> + 0) { + $file = array_shift($folder_stack); + if (is_dir($file)) { + $root_file = substr($file, strlen(CPM_DOCUMENT_ROOT) + 1); + if (preg_match("#(${folders_to_ignore})$#", $root_file) == 0) { + if (count(explode("/", $root_file)) <= $max_depth) { + $found_folders[] = $root_file; + $folder_stack = array_merge($folder_stack, glob($file . "/*")); + } else { + if (!$max_depth_message) { + $cpm_config->messages[] = sprintf(__("I went %s levels deep in my search for comic directories. Are you sure you have your site set up correctly?", 'comicpress-manager'), $max_depth); + $max_depth_message = true; + } + } + } + } + if (count($found_folders) == $max_directories) { + $cpm_config->messages[] = sprintf(__("I found over %s directories from your site root. Are you sure you have your site set up correctly?", 'comicpress-manager'), $max_directories); + break; + } + } + + sort($found_folders); + + ob_start(); ?> + +
    + + + + (" . $description . ")"; + + $config_id = (isset($field_info['variable_name'])) ? $field_info['variable_name'] : $field_info['id']; + + switch($type) { + case "category": ?> + + + + + properties[$config_id], $found_folders); + ?> + + + + + + + + + + + + properties["${folder_name}comic_folder"])) { $all_comic_folders_found = false; break; } + } + + if (!$all_comic_folders_found) { ?> + + + + + is_wp_options) { ?> + + + + + + + + + +
    :
    : + />
    +
    + +
    + + />
    +
    + +
    + +
    :
    +

    Create your comics, archive, or RSS folders first, then reload this page and use the dropdowns to select the target folder. If ComicPress Manager can't automatically find your folders, you can enter the folder names into the dropdowns.", 'comicpress-manager') ?>

    +
    + + +
    + " /> +
    +
    + + + + diff --git a/comicpress_manager_config.php b/comicpress_manager_config.php new file mode 100644 index 0000000..781f251 --- /dev/null +++ b/comicpress_manager_config.php @@ -0,0 +1,56 @@ + 0) { + $requested_chmod_to_use = $requested_chmod_to_use + ($char * pow(8, $i)); + } else { + $is_ok = false; + } + } + if ($is_ok) { + $chmod_to_use = $requested_chmod_to_use; + } + } + define("CPM_FILE_UPLOAD_CHMOD", $chmod_to_use); +} + +// CPM_DOCUMENT_ROOT override + +$result = get_option("comicpress-manager-cpm-document-root"); +if (!empty($result)) { + define('CPM_DOCUMENT_ROOT', untrailingslashit($result)); +} + +?> \ No newline at end of file diff --git a/comicpress_manager_count_missing_entries.php b/comicpress_manager_count_missing_entries.php new file mode 100644 index 0000000..ba41bf4 --- /dev/null +++ b/comicpress_manager_count_missing_entries.php @@ -0,0 +1,47 @@ +post_date)); + } + $all_post_dates = array_unique($all_post_dates); + + ob_start(); + $missing_comic_count = 0; + foreach (cpm_read_comics_folder() as $comic_file) { + $comic_file = pathinfo($comic_file, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($comic_file)) !== false) { + if (!in_array($result['date'], $all_post_dates)) { + if (($post_hash = generate_post_hash($result['date'], $result['converted_title'])) !== false) { + $missing_comic_count++; + } + } + } + } + + header("X-JSON: {missing_posts: ${missing_comic_count}}"); + ob_end_flush(); + } +?> diff --git a/comicpress_manager_library.php b/comicpress_manager_library.php new file mode 100644 index 0000000..6a6825e --- /dev/null +++ b/comicpress_manager_library.php @@ -0,0 +1,763 @@ + 'comics', + 'comiccat' => '1', + 'blogcat' => '2', + 'rss_comic_folder' => 'comics', + 'archive_comic_folder' => 'comics', + 'archive_comic_width' => '380', + 'rss_comic_width' => '380', + 'blog_postcount' => '10' + ); + + var $warnings, $messages, $errors, $detailed_warnings, $show_config_editor; + var $config_method, $config_filepath, $path, $plugin_path; + var $comic_files, $blog_category_info, $comic_category_info; + var $scale_method_cache, $identify_method_cache, $can_write_config; + var $need_calendars = false; + var $is_wp_options = false; + + var $import_safe_exit = null; + var $did_first_run; + + var $is_cpm_managing_posts, $is_cpm_modifying_categories; + var $wpmu_disk_space_message; + + var $separate_thumbs_folder_defined = array('rss' => null, 'archive' => null); + var $thumbs_folder_writable = array('rss' => null, 'archive' => null); + var $allowed_extensions = array("gif", "jpg", "jpeg", "png"); + + function get_scale_method() { + if (!isset($this->scale_method_cache)) { + $this->scale_method_cache = CPM_SCALE_NONE; + $result = @shell_exec("which convert") . @shell_exec("which identify"); + if (!empty($result)) { + $this->scale_method_cache = CPM_SCALE_IMAGEMAGICK; + } else { + if (extension_loaded("gd")) { + $this->scale_method_cache = CPM_SCALE_GD; + } + } + } + return $this->scale_method_cache; + } + + function ComicPressConfig() { + if (function_exists('cpm_wpmu_config_setup')) { cpm_wpmu_config_setup($this); } + } +} + +/** + * Get a ComicPress Manager option from WP Options. + */ +function cpm_option($name) { return get_option("comicpress-manager-${name}"); } + +/** + * Calculate the document root where comics are stored. + */ +function cpm_calculate_document_root() { + global $cpm_attempted_document_roots; + $cpm_attempted_document_roots = array(); + + $document_root = null; + + $parsed_url = parse_url(get_option('home')); + + $translated_script_filename = str_replace('\\', '/', $_SERVER['SCRIPT_FILENAME']); + + foreach (array('SCRIPT_NAME', 'SCRIPT_URL') as $var_to_try) { + $root_to_try = substr($translated_script_filename, 0, -strlen($_SERVER[$var_to_try])) . $parsed_url['path']; + $cpm_attempted_document_roots[] = $root_to_try; + + if (file_exists($root_to_try . '/index.php')) { + $document_root = $root_to_try; + break; + } + } + + if (is_null($document_root)) { $document_root = $_SERVER['DOCUMENT_ROOT'] . $parsed_url['path']; } + + //if (function_exists('get_site_option')) { + // $document_root = cpm_wpmu_modify_path($document_root); + //} + + return untrailingslashit($document_root); +} + +/** + * Define the constants for the document root. + */ +function cpm_get_cpm_document_root() { + if (!defined('CPM_DOCUMENT_ROOT')) { + define('CPM_DOCUMENT_ROOT', cpm_calculate_document_root()); + define("CPM_STRLEN_REALPATH_DOCUMENT_ROOT", strlen(realpath(CPM_DOCUMENT_ROOT))); + } +} + +/** + * Transform a date()-compatible string into a human-parseable string. + * Useful for generating examples of date() usage. + */ +function cpm_transform_date_string($string, $replacements) { + if (!is_array($replacements)) { return false; } + if (!is_string($string)) { return false; } + + $transformed_string = $string; + foreach (array("Y", "m", "d") as $required_key) { + if (!isset($replacements[$required_key])) { return false; } + $transformed_string = preg_replace('#(? "YYYY", 'm' => "MM", 'd' => "DD")); +} + +/** + * Build the URI to a comic file. + */ +function cpm_build_comic_uri($filename, $base_dir = null) { + if (!is_null($base_dir)) { + if (strlen($filename) < strlen($base_dir)) { return false; } + } + if (($realpath_result = realpath($filename)) !== false) { + $filename = $realpath_result; + } + if (!is_null($base_dir)) { + $filename = substr($filename, strlen($base_dir)); + } + $parts = explode('/', str_replace('\\', '/', $filename)); + if (count($parts) < 2) { return false; } + + $parsed_url = parse_url(get_bloginfo('url')); + $path = $parsed_url['path']; + //if (function_exists('get_site_option')) { $path = cpm_wpmu_fix_admin_uri($path); } + + $count = (cpm_get_subcomic_directory() !== false) ? 3 : 2; + + return $path . '/' . implode('/', array_slice($parts, -$count, $count)); +} + +/** + * Breakdown the name of a comic file into a date and proper title. + */ +function cpm_breakdown_comic_filename($filename, $allow_override = false) { + $pattern = CPM_DATE_FORMAT; + if ($allow_override) { + if (isset($_POST['upload-date-format']) && !empty($_POST['upload-date-format'])) { $pattern = $_POST['upload-date-format']; } + } + + $pattern = cpm_transform_date_string($pattern, array("Y" => '[0-9]{4,4}', + "m" => '[0-9]{2,2}', + "d" => '[0-9]{2,2}')); + + if (preg_match("/^(${pattern})(.*)\.[^\.]+$/", $filename, $matches) > 0) { + list($all, $date, $title) = $matches; + + if (strtotime($date) === false) { return false; } + $converted_title = ucwords(trim(preg_replace('/[\-\_]/', ' ', $title))); + + return compact('date', 'title', 'converted_title'); + } else { + return false; + } +} + +/** + * Generate a hash for passing to wp_insert_post() + * @param string $filename_date The post date. + * @param string $filename_converted_title The title of the comic. + * @return array The post information or false if the date is invalid. + */ +function generate_post_hash($filename_date, $filename_converted_title) { + if (isset($_POST['time']) && !empty($_POST['time'])) { + if (strtolower($_POST['time']) == "now") { + $filename_date .= " " . strftime("%H:%M:%S"); + } else { + $filename_date .= " " . $_POST['time']; + } + } + if (($timestamp = strtotime($filename_date)) !== false) { + if ($filename_converted_title == "") { + $filename_converted_title = strftime("%m/%d/%Y", $timestamp); + } + + extract(cpm_normalize_storyline_structure()); + + $selected_categories = array(); + if (isset($_POST['in-comic-category'])) { + foreach ($category_tree as $node) { + $category_id = end(explode("/", $node)); + if (in_array($category_id, $_POST['in-comic-category'])) { + $selected_categories[$category_id] = get_cat_name($category_id); + } + } + } + + $category_name = implode(",", array_values($selected_categories)); + + $post_content = ""; + if (isset($_POST['content']) && !empty($_POST['content'])) { + $post_content = $_POST['content']; + $post_content = preg_replace('/\{date\}/', date('F j, Y', $timestamp), $post_content); + $post_content = preg_replace('/\{title\}/', $filename_converted_title, $post_content); + $post_content = preg_replace('/\{category\}/', $category_name, $post_content); + } + + $override_title = $_POST['override-title-to-use']; + $tags = $_POST['tags']; + if (get_magic_quotes_gpc()) { + $override_title = stripslashes($override_title); + $tags = stripslashes($tags); + } + + $post_title = !empty($override_title) ? $override_title : $filename_converted_title; + $post_date = date('Y-m-d H:i:s', $timestamp); + $post_date_gmt = get_gmt_from_date($post_date); + $post_category = array_keys($selected_categories); + + if (isset($_POST['additional-categories'])) { + if (is_array($_POST['additional-categories'])) { + $post_category = array_merge($post_category, array_intersect(get_all_category_ids(), $_POST['additional-categories'])); + } + } + + $publish_mode = ($timestamp > time()) ? "future" : "publish"; + $post_status = isset($_POST['publish']) ? $publish_mode : "draft"; + $tags_input = $tags; + + return compact('post_content', 'post_title', 'post_date', 'post_date_gmt', 'post_category', 'post_status', 'tags_input'); + } + + return false; +} + +/** + * Retrieve posts from the WordPress database. + */ +function cpm_query_posts() { + global $cpm_config; + $query_posts_string = "posts_per_page=999999&post_status=draft,pending,future,inherit,publish&cat="; + + $comic_categories = array(); + extract(cpm_get_all_comic_categories()); + foreach ($category_tree as $node) { + $comic_categories[] = end(explode("/", $node)); + } + + $query_posts_string .= implode(",", $comic_categories); + + $result = query_posts($query_posts_string); + if (empty($result)) { $result = array(); } + return $result; +} + +/** + * Get the absolute filepath to the comic folder. + */ +function get_comic_folder_path() { + global $cpm_config; + + $output = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties['comic_folder']; + + if (($subdir = cpm_get_subcomic_directory()) !== false) { + $output .= '/' . $subdir; + } + + return $output; +} + +function cpm_get_subcomic_directory() { + global $cpm_config; + + if (function_exists('get_option')) { + $result = get_option('comicpress-manager-manage-subcomic'); + if (!empty($result)) { + if ($result != $cpm_config->properties['comiccat']) { + if (($category= get_category($result)) !== false) { + return $category->slug; + } + } + } + } + return false; +} + +/** + * Find all the valid comics in the comics folder. + * If CPM_SKIP_CHECKS is enabled, comic file validity is not checked, improving speed. + * @return array The list of valid comic files in the comic folder. + */ +function cpm_read_comics_folder() { + global $cpm_config; + + $glob_results = glob(get_comic_folder_path() . "/*"); + if ($glob_results === false) { + //$cpm_config->messages[] = "FYI: glob({$cpm_config->path}/*) returned false. This can happen on some PHP installations if you have no files in your comic directory. This message will disappear once you upload a comic to your site."; + return array(); + } + + $filtered_glob_results = array(); + foreach ($glob_results as $result) { + if (in_array(strtolower(pathinfo($result, PATHINFO_EXTENSION)), $cpm_config->allowed_extensions)) { + $filtered_glob_results[] = $result; + } + } + + if (cpm_option("cpm-skip-checks") == 1) { + return $filtered_glob_results; + } else { + $files = array(); + foreach ($filtered_glob_results as $file) { + if (cpm_breakdown_comic_filename(pathinfo($file, PATHINFO_BASENAME)) !== false) { + $files[] = $file; + } + } + return $files; + } +} + +/** + * Read information about the current installation. + */ +function cpm_read_information_and_check_config() { + global $cpm_config, $cpm_attempted_document_roots, $blog_id; + + $cpm_config->config_method = read_current_theme_comicpress_config(); + $cpm_config->config_filepath = get_functions_php_filepath(); + $cpm_config->can_write_config = can_write_comicpress_config($cpm_config->config_filepath); + + $cpm_config->path = get_comic_folder_path(); + $cpm_config->plugin_path = PLUGINDIR . '/' . plugin_basename(__FILE__); + + foreach (array_keys($cpm_config->separate_thumbs_folder_defined) as $type) { + $cpm_config->separate_thumbs_folder_defined[$type] = ($cpm_config->properties['comic_folder'] != $cpm_config->properties[$type . '_comic_folder']); + } + + $cpm_config->errors = array(); + $cpm_config->warnings = array(); + $cpm_config->detailed_warnings = array(); + $cpm_config->messages = array(); + $cpm_config->show_config_editor = true; + + $folders = array( + array('comic folder', 'comic_folder', true, ""), + array('RSS feed folder', 'rss_comic_folder', false, 'rss'), + array('archive folder', 'archive_comic_folder', false, 'archive')); + + foreach ($folders as $folder_info) { + list ($name, $property, $is_fatal, $thumb_type) = $folder_info; + if ($thumb_type != "") { + $cpm_config->thumbs_folder_writable[$thumb_type] = null; + } + } + + if (cpm_option("cpm-skip-checks") == 1) { + // if the user knows what they're doing, disabling all of the checks improves performance + foreach ($folders as $folder_info) { + list ($name, $property, $is_fatal, $thumb_type) = $folder_info; + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$property]; + if ($thumb_type != "") { + $cpm_config->thumbs_folder_writable[$thumb_type] = true; + } + } + $cpm_config->comic_category_info = get_object_vars(get_category($cpm_config->properties['comiccat'])); + $cpm_config->blog_category_info = get_object_vars(get_category($cpm_config->properties['blogcat'])); + $cpm_config->comic_files = cpm_read_comics_folder(); + } else { + // quick check to see if the theme is ComicPress. + // this needs to be made more robust. + if (preg_match('/ComicPress/', get_current_theme()) == 0) { + $cpm_config->detailed_warnings[] = __("The current theme isn't the ComicPress theme. If you've renamed the theme, ignore this warning.", 'comicpress-manager'); + } + + $any_cpm_document_root_failures = false; + + //if (!function_exists('get_site_option')) { + // is the site root configured properly? + if (!file_exists(CPM_DOCUMENT_ROOT)) { + $cpm_config->errors[] = sprintf(__('The comics site root %s does not exist. Check your WordPress address and address settings.', 'comicpress-manager'), CPM_DOCUMENT_ROOT); + $any_cpm_document_root_failures = true; + } + + if (!file_exists(CPM_DOCUMENT_ROOT . '/index.php')) { + $cpm_config->errors[] = sprintf(__('The comics site root %s does not contain a WordPress index.php file. Check your WordPress address and address settings.', 'comicpress-manager'), CPM_DOCUMENT_ROOT); + $any_cpm_document_root_failures = true; + } + //} + + if ($any_cpm_document_root_failures) { + $cpm_config->errors[] = print_r($cpm_attempted_document_roots, true); + } + + // folders that are the same as the comics folder won't be written to + $all_the_same = array(); + foreach ($cpm_config->separate_thumbs_folder_defined as $type => $value) { + if (!$value) { $all_the_same[] = $type; } + } + + if (count($all_the_same) > 0) { + $cpm_config->detailed_warnings[] = sprintf(__("The %s folders and the comics folder are the same. You won't be able to generate thumbnails until you change these folders.", 'comicpress-manager'), implode(", ", $all_the_same)); + } + + if (cpm_option('cpm-did-first-run') == 1) { + // check the existence and writability of all image folders + foreach ($folders as $folder_info) { + list ($name, $property, $is_fatal, $thumb_type) = $folder_info; + if (($thumb_type == "") || ($cpm_config->separate_thumbs_folder_defined[$thumb_type] == true)) { + $path = CPM_DOCUMENT_ROOT . '/' . $cpm_config->properties[$property]; + if (!file_exists($path)) { + $cpm_config->errors[] = sprintf(__('The %1$s %2$s does not exist. Did you create it within the %3$s folder?' , 'comicpress-manager'), $name, $cpm_config->properties[$property], CPM_DOCUMENT_ROOT); + } else { + do { + $tmp_filename = "test-" . md5(rand()); + } while (file_exists($path . '/' . $tmp_filename)); + + $ok_to_warn = true; + if ($thumb_type != "") { + $ok_to_warn = (cpm_option("cpm-${thumb_type}-generate-thumbnails") == 1); + } + + if ($ok_to_warn) { + if (!@touch($path . '/' . $tmp_filename)) { + $message = sprintf(__('The %1$s %2$s is not writable by the Webserver.', 'comicpress-manager'), $name, $cpm_config->properties[$property]); + if ($is_fatal) { + $cpm_config->errors[] = $message; + } else { + $cpm_config->warnings[] = $message; + } + if ($thumb_type != "") { + $cpm_config->thumbs_folder_writable[$thumb_type] = false; + } + } else { + if (@stat($path . '/' . $tmp_filename) === false) { + $cpm_config->errors[] = __('Files written to the %s directory by the Webserver cannot be read again! Are you using IIS7 with FastCGI?', $cpm_config->properties[$property]); + if ($thumb_type != "") { + $cpm_config->thumbs_folder_writable[$thumb_type] = false; + } + } + } + } + + if (is_null($cpm_config->thumbs_folder_writable[$thumb_type])) { + @unlink($path . '/' . $tmp_filename); + if ($thumb_type != "") { + $cpm_config->thumbs_folder_writable[$thumb_type] = true; + } + } + } + } + } + } + + // to generate thumbnails, a supported image processor is needed + if ($cpm_config->get_scale_method() == CPM_SCALE_NONE) { + $cpm_config->detailed_warnings[] = __("No image resize methods are installed (GD or ImageMagick). You are unable to generate thumbnails automatically.", 'comicpress-manager'); + } + + // are there enough categories created? + if (count(get_all_category_ids()) < 2) { + $cpm_config->errors[] = __("You need to define at least two categories, a blog category and a comics category, to use ComicPress. Visit Manage -> Categories and create at least two categories, then return here to continue your configuration.", 'comicpress-manager'); + $cpm_config->show_config_editor = false; + } else { + // ensure the defined comic category exists + if (is_null($cpm_config->properties['comiccat'])) { + // all non-blog categories are comic categories + $cpm_config->comic_category_info = array( + 'name' => __("All other categories", 'comicpress-manager'), + ); + $cpm_config->properties['comiccat'] = array_diff(get_all_category_ids(), array($cpm_config->properties['blogcat'])); + + if (count($cpm_config->properties['comiccat']) == 1) { + $cpm_config->properties['comiccat'] = $cpm_config->properties['comiccat'][0]; + $cpm_config->comic_category_info = get_object_vars(get_category($cpm_config->properties['comiccat'])); + } + } else { + if (!is_numeric($cpm_config->properties['comiccat'])) { + // the property is non-numeric + $cpm_config->errors[] = __("The comic category needs to be defined as a number, not an alphanumeric string.", 'comicpress-manager'); + } else { + // one comic category is specified + if (is_null($cpm_config->comic_category_info = get_category($cpm_config->properties['comiccat']))) { + $cpm_config->errors[] = sprintf(__("The requested category ID for your comic, %s, doesn't exist!", 'comicpress-manager'), $cpm_config->properties['comiccat']); + } else { + $cpm_config->comic_category_info = get_object_vars($cpm_config->comic_category_info); + } + } + } + + // ensure the defined blog category exists + // TODO: multiple blog categories + if (!is_numeric($cpm_config->properties['blogcat'])) { + // the property is non-numeric + $cpm_config->errors[] = __("The blog category needs to be defined as a number, not an alphanumeric string.", 'comicpress-manager'); + } else { + if (is_null($cpm_config->blog_category_info = get_category($cpm_config->properties['blogcat']))) { + $cpm_config->errors[] = sprintf(__("The requested category ID for your blog, %s, doesn't exist!", 'comicpress-manager'), $cpm_config->properties['blogcat']); + } else { + $cpm_config->blog_category_info = get_object_vars($cpm_config->blog_category_info); + } + + if (!is_array($cpm_config->properties['blogcat']) && !is_array($cpm_config->properties['comiccat'])) { + if ($cpm_config->properties['blogcat'] == $cpm_config->properties['comiccat']) { + $cpm_config->warnings[] = __("Your comic and blog categories are the same. This will cause browsing problems for visitors to your site.", 'comicpress-manager'); + } + } + } + } + + // a quick note if you have no comics uploaded. + // could be a sign of something more serious. + if (count($cpm_config->comic_files = cpm_read_comics_folder()) == 0) { + $cpm_config->detailed_warnings[] = __("Your comics folder is empty!", 'comicpress-manager'); + } + } +} + +/** + * Read the ComicPress config from a file. + */ +function read_current_theme_comicpress_config() { + global $cpm_config; + + //if (function_exists('get_site_option')) { + // cpm_wpmu_load_options(); + // return __("WordPress Options", 'comicpress-manager'); + //} + + $current_theme_info = get_theme(get_current_theme()); + + $method = null; + + $config_json_file = ABSPATH . '/' . $current_theme_info['Template Dir'] . '/config.json'; + + // harmonious json_decode + if (function_exists("json_decode")) { + if (file_exists($config_json_file)) { + $config = json_decode(file_get_contents($config_json_file), true); + + $cpm_config->properties = array_merge($cpm_config->properties, $config); + $method = "config.json"; + } + } + //harmonious_end + + if (is_null($method)) { + if (!is_null($filepath = get_functions_php_filepath())) { + read_comicpress_config_functions_php($filepath); + $method = basename($filepath); + } + } + + return $method; +} + +/** + * Read the ComicPress config from a functions.php file. + * Note: this isn't super-robust, but should cover basic use cases. + */ +function read_comicpress_config_functions_php($filepath) { + global $cpm_config; + + if (!file_exists($filepath)) { $cpm_config->warnings[] = "file not found: ${filepath}"; return; } + + $file = file_get_contents($filepath); + + $variable_values = array(); + + foreach (array_keys($cpm_config->properties) as $variable) { + if (preg_match("#\\$${variable}\ *\=\ *([^\;]*)\;#", $file, $matches) > 0) { + $variable_values[$variable] = preg_replace('#"#', '', $matches[1]); + } + } + + $cpm_config->properties = array_merge($cpm_config->properties, $variable_values); +} + +/** + * Get the path to the currently used config. + */ +function get_functions_php_filepath() { + $template_files = glob(TEMPLATEPATH . '/*'); + if ($template_files === false) { $template_files = array(); } + + foreach (array("comicpress-config.php", "functions.php") as $possible_file) { + foreach ($template_files as $file) { + if (pathinfo($file, PATHINFO_BASENAME) == $possible_file) { + return $file; + } + } + } + return null; +} + +/** + * See if we can write to the config folder. + */ +function can_write_comicpress_config($filepath) { + $perm_check_filename = $filepath . '-' . md5(rand()); + if (@touch($perm_check_filename) === true) { + $move_check_filename = $perm_check_filename . '-' . md5(rand()); + if (@rename($perm_check_filename, $move_check_filename)) { + @unlink($move_check_filename); + return true; + } else { + @unlink($perm_check_filename); + return false; + } + } + return false; +} + +function cpm_get_thumbnails_to_generate() { + global $cpm_config; + $thumbnails_to_generate = array(); + + if ($cpm_config->get_scale_method() != CPM_SCALE_NONE) { + foreach ($cpm_config->thumbs_folder_writable as $type => $value) { + if ($value) { + if ($cpm_config->separate_thumbs_folder_defined[$type] !== false) { + if (cpm_option("cpm-${type}-generate-thumbnails") == 1) { + $thumbnails_to_generate[] = $type; + } + } + } + } + } + + return $thumbnails_to_generate; +} + +/** + * Get a tree of the categories that are children of the comic category. + */ +function cpm_get_all_comic_categories() { + global $cpm_config; + + $max_id = 0; + + foreach (get_all_category_ids() as $category_id) { + $category = get_category($category_id); + $category_tree[] = $category->parent . '/' . $category_id; + $max_id = max($max_id, $category_id); + } + + do { + $all_ok = true; + for ($i = 0; $i < count($category_tree); ++$i) { + $current_parts = explode("/", $category_tree[$i]); + if (reset($current_parts) != 0) { + + $all_ok = false; + for ($j = 0; $j < count($category_tree); ++$j) { + $j_parts = explode("/", $category_tree[$j]); + + if (end($j_parts) == reset($current_parts)) { + $category_tree[$i] = implode("/", array_merge($j_parts, array_slice($current_parts, 1))); + break; + } + } + } + } + } while (!$all_ok); + + $new_category_tree = array(); + foreach ($category_tree as $node) { + $parts = explode("/", $node); + if ($parts[1] == $cpm_config->properties['comiccat']) { $new_category_tree[] = $node; } + } + $category_tree = $new_category_tree; + + return compact('category_tree', 'max_id'); +} + +/** + * Normalize a storyline structure, merging it with category changes as necessary. + * @return array A compact()ed array with the $max_id found and the $category_tree. + */ +function cpm_normalize_storyline_structure() { + global $cpm_config; + + extract(cpm_get_all_comic_categories()); + + do { + $did_normalize = false; + + // sort it by this order as best as possible + if ($result = get_option("comicpress-storyline-category-order")) { + $sorted_tree = explode(",", $result); + + $new_sorted_tree = array(); + foreach ($sorted_tree as $node) { + if (in_array($node, $category_tree)) { + $new_sorted_tree[] = $node; + } else { + $did_normalize = true; + } + } + $sorted_tree = $new_sorted_tree; + + foreach ($category_tree as $node) { + if (!in_array($node, $sorted_tree)) { + // try to find the nearest sibling + $parts = explode("/", $node); + + while (count($parts) > 0) { + array_pop($parts); + $node_snippit = implode("/", $parts); + $last_sibling = null; + for ($i = 0; $i < count($sorted_tree); ++$i) { + if (strpos($sorted_tree[$i], $node_snippit) === 0) { + $last_sibling = $i; + } + } + if (!is_null($last_sibling)) { + $did_normalize = true; + array_splice($sorted_tree, $last_sibling + 1, 0, $node); + break; + } + } + } + } + + $category_tree = $sorted_tree; + } else { + sort($category_tree); + } + if ($did_normalize || empty($result)) { + update_option("comicpress-storyline-category-order", implode(",", $category_tree)); + } + } while ($did_normalize); + + return compact('category_tree', 'max_id'); +} + +function cpm_short_size_string_to_bytes($string) { + $max_bytes = trim($string); + + $last = strtolower(substr($max_bytes, -1, 1)); + switch($last) { + case 'g': $max_bytes *= 1024; + case 'm': $max_bytes *= 1024; + case 'k': $max_bytes *= 1024; + } + + return $max_bytes; +} + +?> diff --git a/comicpress_script.js b/comicpress_script.js new file mode 100644 index 0000000..47cd91a --- /dev/null +++ b/comicpress_script.js @@ -0,0 +1,147 @@ +/** + * hide/show the new post holder box depending on the status of the checkbox. + */ +function hide_show_checkbox_holder(which, reverse) { + if (reverse !== true) { reverse = false; } + if ($(which + '-checkbox').checked !== reverse) { + $(which + '-holder').show(); + } else { + $(which + '-holder').hide(); + } +} + +function setup_hide_show_checkbox_holder(which) { + Event.observe(which + '-checkbox', 'click', function() { hide_show_checkbox_holder(which) }); + hide_show_checkbox_holder(which); +} + +function hide_show_div_on_checkbox(div, checkbox, flip_behavior) { + if ($(checkbox) && $(div)) { + ok = (flip_behavior) ? !$(checkbox).checked : $(checkbox).checked; + (ok) ? $(div).show() : $(div).hide(); + } +} + +/** + * Show the preview image for deleting an image. + */ +function change_image_preview() { + var which = $F('delete-comic-dropdown'); + $('image-preview').innerHTML = ''; +} + +var current_file_index = 0; +var current_file_upload_count = 0; + +var on_change_file_upload_count = null; + +/** + * Add a file upload field. + */ +function add_file_upload() { + var field = "
    "; + field += messages['add_file_upload_file'] + ""; + field += " [" + messages['add_file_upload_remove'] + "]"; + field += "
    "; + Element.insert('multiple-file-upload', { bottom: field }); + current_file_index++; + current_file_upload_count++; + + if (on_change_file_upload_count) { on_change_file_upload_count(current_file_upload_count); } +} + +function remove_file_upload(which) { + Element.remove('upload-holder-' + which); + current_file_upload_count--; + + if (on_change_file_upload_count) { on_change_file_upload_count(current_file_upload_count); } +} + +// page startup code +Event.observe(window, 'load', function() { + if ($('multiple-new-post-checkbox')) { + setup_hide_show_checkbox_holder("multiple-new-post"); + add_file_upload(); + + hide_show_div_on_checkbox('override-title-holder', 'override-title'); + hide_show_div_on_checkbox('thumbnail-write-holder', 'no-thumbnails', true); + } + + if ($('upload-destination')) { + var toggle_upload_destination_holder = function() { + var show_upload_destination = true; + if ($('overwrite-existing-file-selector-checkbox')) { + show_upload_destination = !$('overwrite-existing-file-selector-checkbox').checked; + } + + if (show_upload_destination) { + if ($('upload-destination').options[$('upload-destination').selectedIndex].value == "comic") { + $('upload-destination-holder').show(); + } else { + $('upload-destination-holder').hide(); + } + } else { + $('upload-destination-holder').hide(); + } + }; + Event.observe('upload-destination', 'change', toggle_upload_destination_holder); + toggle_upload_destination_holder(); + + on_change_file_upload_count = function(count) { + if (count == 1) { + Element.show('specify-date-holder'); + Element.show('overwrite-existing-holder'); + } else { + Element.hide('specify-date-holder'); + Element.hide('overwrite-existing-holder'); + if ($('overwrite-existing-file-selector-checkbox')) { + $('overwrite-existing-file-selector-checkbox').checked = false; + } + toggle_upload_destination_holder(); + } + hide_show_checkbox_holder('overwrite-existing-file-selector'); + } + + if ($('overwrite-existing-file-selector-checkbox')) { + Event.observe('overwrite-existing-file-selector-checkbox', 'click', function() { + hide_show_checkbox_holder('overwrite-existing-file-selector'); + toggle_upload_destination_holder(); + }); + } + + if ($('overwrite-existing-file-selector-checkbox')) { + hide_show_checkbox_holder('overwrite-existing-file-selector'); + } + } + + if ($('count-missing-posts-clicker')) { + hide_show_div_on_checkbox('override-title-holder', 'override-title'); + hide_show_div_on_checkbox('thumbnail-write-holder', 'no-thumbnails', true); + + Event.observe('count-missing-posts-clicker', 'click', function() { + $('missing-posts-display').innerHTML = "..." + messages['count_missing_posts_counting'] + "..."; + + new Ajax.Request(ajax_request_uri, + { + method: 'post', + parameters: { + action: "count-missing-posts" + }, + onSuccess: function(transport) { + if (transport.responseText.match(/missing-posts>(.*)<\/missing-posts/)) { + $('missing-posts-display').innerHTML = RegExp.$1; + } else { + $('missing-posts-display').innerHTML = messages['count_missing_posts_none_missing']; + } + }, + onFailure: function(transport) { + $('missing-posts-display').innerHTML = messages['failure_in_counting_posts']; + } + } + ); + return false; + }); + } + + if ($('image-preview')) { change_image_preview(); } +}); \ No newline at end of file diff --git a/comicpress_styles.css b/comicpress_styles.css new file mode 100644 index 0000000..879402d --- /dev/null +++ b/comicpress_styles.css @@ -0,0 +1,298 @@ +div#cpm-container { + padding: 10px; + padding-bottom: 0; + width: 955px +} + +div#cpm-container.no-sidebar { + width: 100%; + padding: 0; +} + +div#cpm-container h1 { + margin-top: 0; + margin-bottom: 5px; +} + +div#cpm-container h2 { + margin-top: 0; + margin-bottom: 4px; +} + +div#cpm-container div h2 { + padding-top: 0; + font-size: 20px; + font-style: normal; + font-weight: bold; + font-family: "Lucida Grande",Verdana,Arial,"Bitstream Vera Sans",sans-serif +} + +div#cpm-container h3 { margin-top: 0 } + +div#cpm-container em { font-style: oblique } + +div#cpm-container div#cpm-sidebar-column { + float: left; + display: inline; + width: 320px; + padding-top: 10px; + margin-left: 10px; +} + +div#cpm-container div#cpm-activity-column { + float: left; + display: inline; + width: 625px; +} + +div#cpm-container div#cpm-activity-column.no-sidebar { + margin-left: 0; + float: none; + display: block; + width: 100% +} + +div#cpm-container div#comicpress-details { + border: solid #E3E3E3 1px; + background-color: #f1f1f1; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + padding: 10px; +} + +div#cpm-container div#comicpress-details ul { + list-style-type: circle +} + +div#cpm-container div#comicpress-help { + border: solid #464646 1px; + background-color: #b0b0b0; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + padding: 10px; + margin-top: 10px; +} + +div#cpm-container div#config-editor { + border: solid #abc 1px; + background-color: #fed; + padding: 10px; + margin-top: 10px; +} + +form#config-editor h3 { + margin-bottom: 5px; + margin-top: 5px; +} + +form#config-editor table.form-table { + padding-bottom: 10px; + margin-top: 5px; +} + +div#cpm-container div.activity-box { + overflow: hidden +} + +div#cpm-container div.top-activity-box { + margin-top: 0; +} + +div#cpm-container div#cpm-footer { + color: #777; + margin-top: 10px; + text-align: left; + clear: both; + overflow: hidden +} + +div#cpm-footer-paypal { + width: 100px; + float: right; + display: inline; + text-align: right +} + +div#zip-upload-warning { + border: solid red 1px; + background-color: #dcc; + margin: 5px; + padding: 5px; +} + +div#image-preview { + margin: 5px; + padding: 5px; + background-color: #777; + border: solid black 2px +} + +div#editor-toolbar { + text-align: right; + overflow: hidden +} + +div#editor-toolbar a { + padding: 5px; + display: block; + float: right; + cursor: pointer; + cursor: hand; +} + +div#editor-toolbar a.active { + background-color: #CEE1EF +} + +form#config-editor input.update-config { + clear: both; + width: 295px; +} + +.form-title { + font-weight: bold +} + +form span.form-title { + width: 280px; + display: block; + position: absolute; + height: 30px; +} + +form span.form-field { + width: 200px; + display: inline; + margin-left: 290px; + height: 30px; +} + +table td { + padding-bottom: 5px +} + +table input { + font-size: 12px; + border: solid black 1px; + padding: 1px; +} + +#cpm-container h2 { padding-right: 0; } + +#comicpress-details h3 { + color: #7f958a; + border-bottom: 1px solid #acb; +} + +#comicpress-help h2 { + color: #333333; + border-color: #333333; +} + +#categories-table { border-top: solid #aaa 1px } + +#categories-table th { padding: 0 10px } + +#categories-table td { border-top: solid #ddd 1px; } + +.code-block { + background-color: white; + border:solid black 2px; + padding: 5px; + overflow: auto; + height: 300px; + font-family: 'courier new'; + white-space: pre; + display: block +} + +div.upload-holder { + text-align: center; + padding: 3px 0; + border-top: solid #ddd 1px; +} + +div#cpm-messages, div#cpm-errors, div#cpm-warnings, div#import-count-information { + padding: 5px; + margin-bottom: 5px; + border-width: 1px; + border-style: solid +} + +div#cpm-messages, div#import-count-information { + background-color: #ffe; + border-color: #ddc; +} + +div#cpm-warnings { + background-color: #fee; + border-color: #dcc; +} + +div#cpm-errors { + background-color: #330007; + border-color: #a00; + color: white +} + +div#import-count-information { + text-align: center +} + +div#first-run-holder { + border: solid #a77 1px; + border-radius: 5px; + -moz-border-radius: 5px; + -webkit-border-radius: 5px; + background-color: #fff0f0; + padding: 5px; + text-align: center; + margin-top: 10px +} + +div#dashboard_quomicpress div.wrap { + margin: 0 +} + +div#dashboard_quomicpress div#cpm-container { + padding: 0 +} + +div#comicpress-latest-posts h3 { + text-align: center; + padding-top: 5px; +} + +div#comicpress-latest-posts div.comic-found, +div#comicpress-latest-posts div.comic-not-found { + border-top: solid #aaa 1px; + padding: 0 5px 5px; +} + +div#comicpress-latest-posts div.comic-not-found { + background-color: #ffe0e0 +} + +div#comicpress-latest-posts div.comic-not-found div.alert { + border: solid #a00 2px; + margin: 10px; + padding: 10px; + background-color: white; + text-align: center; + font-size: 18px; + font-weight: bold +} + +tr.grey { background-color: #d4d4d4 } + +table#status-table { + width: 100% +} + +table#status-table td.comic { + background-color: #f3f3f3; +} + +table#status-table td.post { + background-color: #e0e0e0; +} \ No newline at end of file diff --git a/cp_configuration_options.php b/cp_configuration_options.php new file mode 100644 index 0000000..b336859 --- /dev/null +++ b/cp_configuration_options.php @@ -0,0 +1,68 @@ + 'comiccat', + 'name' => 'Comic Category', + 'type' => 'category', + 'description' => 'The category ID of your comic category', + 'default' => 1 + ), + array( + 'id' => 'blogcat', + 'name' => 'Blog Category', + 'type' => 'category', + 'description' => 'The category ID of your blog category', + 'default' => 2 + ), + array( + 'id' => 'comics_path', + 'variable_name' => 'comic_folder', + 'name' => 'Comic Folder', + 'type' => 'folder', + 'description' => 'The folder your comics are located in', + 'default' => "comics", + 'no_wpmu' => true + ), + array( + 'id' => 'comicsrss_path', + 'variable_name' => 'rss_comic_folder', + 'name' => 'RSS Comic Folder', + 'type' => 'folder', + 'description' => 'The folder your comics are located in for the RSS feed', + 'default' => "comics-rss", + 'no_wpmu' => true + ), + array( + 'id' => 'comicsarchive_path', + 'variable_name' => 'archive_comic_folder', + 'name' => 'Archive Comic Folder', + 'type' => 'folder', + 'description' => 'The folder your comics are located in for the Archive pages', + 'default' => "comics-archive", + 'no_wpmu' => true + ), + array( + 'id' => 'archive_comic_width', + 'name' => 'Archive Comic Width', + 'type' => 'integer', + 'description' => 'The width your comics will appear on archive or search results', + 'default' => "380" + ), + array( + 'id' => 'rss_comic_width', + 'name' => 'RSS Comic Width', + 'type' => 'integer', + 'description' => 'The width your comics will appear in the RSS feed', + 'default' => "380" + ), + array( + 'id' => 'blog_postcount', + 'name' => 'Blog Post Count', + 'type' => 'integer', + 'description' => 'The number of blog entries to appear on the home page', + 'default' => "10" + ), +); + +?> \ No newline at end of file diff --git a/cpm_configuration_options.php b/cpm_configuration_options.php new file mode 100644 index 0000000..d36c199 --- /dev/null +++ b/cpm_configuration_options.php @@ -0,0 +1,158 @@ + 'cpm-default-post-time', + 'name' => "Default Post Time", + 'type' => 'text', + 'size' => 8, + 'default' => '12:00am', + 'message' => "Default time for comic posts to go live, cannot be blank. enter 'now' to always post at the current system time.", + 'not_blank' => true + ), + array( + 'id' => 'cpm-default-post-content', + 'name' => "Default Post Content", + 'type' => 'textarea', + 'message' => "Default content for comic posts" + ), + array( + 'id' => 'cpm-default-override-title', + 'name' => "Default Post Title", + 'type' => 'text', + 'size' => 40, + 'message' => "Default title for comic posts" + ), + array( + 'id' => 'cpm-default-post-tags', + 'name' => "Default Post Tags", + 'type' => 'text', + 'size' => 40, + 'message' => "Default tags for comic posts" + ), + array( + 'id' => 'cpm-default-comic-category-is-last-storyline', + 'name' => "Default Comic Category is Last Storyline Category", + 'type' => 'checkbox', + 'default' => "1", + 'message' => "If checked, the default comic cateogry for upload/import is the last category in the storyline" + ), + array( + 'id' => 'cpm-default-additional-categories', + 'name' => "Default Additional Categories", + 'type' => 'categories', + 'message' => "Additional default categories for comic posts" + ), + array( + 'id' => 'cpm-archive-generate-thumbnails', + 'name' => "Generate Archive Thumbnails?", + 'type' => 'checkbox', + 'default' => "1", + 'message' => "If checked and server is configured correctly, generate archive thumbnails" + ), + array( + 'id' => 'cpm-rss-generate-thumbnails', + 'name' => "Generate RSS Thumbnails?", + 'type' => 'checkbox', + 'default' => "1", + 'message' => "If checked and server is configured correctly, generate RSS thumbnails" + ), + array( + 'id' => 'cpm-thumbnail-quality', + 'name' => "Thumbnail Quality", + 'type' => 'text', + 'size' => 3, + 'default' => "80", + 'message' => "Quality of JPEG Thumbnails" + ), + array( + 'id' => 'cpm-strip-icc-profiles', + 'name' => "Strip ICC Profiles", + 'type' => 'checkbox', + 'default' => "1", + 'message' => "Strip ICC profiles from uploaded images. ImageMagick only.", + 'imagemagick-only' => true + ), + array( + 'id' => 'cpm-obfuscate-filenames-on-upload', + 'name' => "Obfuscate Filenames on Upload?", + 'type' => 'dropdown', + 'options' => "none:No obfuscation|append:Append code to title|replace:Replace title with code", + 'default' => "none", + 'message' => "add or replace the title of the image file with a random code to prevent nosy readers from looking ahead in your archive" + ), + "Advanced Configuration", + array( + "id" => "cpm-skip-checks", + "name" => "Skip Checks?", + "type" => "checkbox", + 'default' => "1", + "message" => "if you know your configuration is correct, enable this to improve performance. Enabling this also hides ComicPress version incompatibiity messages." + ), + array( + "id" => "cpm-edit-post-integrate", + "name" => "Allow date change/deletions in Edit Post to affect associated comic files?", + "type" => "checkbox", + 'default' => "1", + "message" => "if checked, working in Edit Post will affect your comic files" + ), + array( + "id" => "cpm-sidebar-type", + "name" => "ComicPress Manager Sidebar:", + "type" => "dropdown", + 'options' => 'standard:ComicPress Status and Help|latest:Latest Comic Posts|none:No Sidebar', + 'default' => "standard", + "message" => "change the ComicPress Manager sidebar to a different default view" + ), + array( + "id" => "cpm-date-format", + "name" => "ComicPress Manager Date Format", + "type" => "text", + "size" => 12, + 'default' => "Y-m-d", + "message" => "if you've hacked on ComicPress to support a different date format, change it here" + ), + array( + "id" => "cpm-perform-gd-check", + "name" => "Check uploaded files using GD?", + "type" => "checkbox", + 'default' => "1", + "message" => "enable this to check if uploaded files are valid images using the GD library" + ), + array( + "id" => "cpm-enable-dashboard-rss-feed", + "name" => "Enable the ComicPress RSS Feed on the Dashboard?", + "type" => "checkbox", + 'default' => "1", + "message" => "enable this to get the latest ComicPress news on your Dashboard" + ), + array( + "id" => "cpm-enable-quomicpress", + "name" => "Enable the QuomicPress (Quick ComicPress) panel on the Dashboard?", + "type" => "checkbox", + 'default' => "1", + "message" => "enable this to use the QuomicPress (Quick ComicPress) posting box on your Dashboard" + ), + array( + "id" => "cpm-upload-permissions", + "name" => "Unix chmod permissions to assign to uploaded files?", + "type" => "text", + "size" => 5, + "strip-wpmu" => true, + 'default' => "664", + "message" => "if you're on a Unix-like operating system, and need to have files uploaded with specific permissions, enter them in here. Windows systems always upload with chmod 777" + ), + array( + "id" => "cpm-document-root", + "name" => "Specify a WordPress DOCUMENT_ROOT", + "type" => "text", + "strip-wpmu" => true, + "size" => 30, + "message" => "if ComicPress Manager isn't able to automatically find the path to your index.php file and comics folders, enter in the proper absolute path here" + ), + ); + +?> diff --git a/js/comicpress_dates.js b/js/comicpress_dates.js new file mode 100644 index 0000000..94c6852 --- /dev/null +++ b/js/comicpress_dates.js @@ -0,0 +1,46 @@ +function pad(s, l) { s = "0000" + (s + ""); return s.substr(s.length - l, l); } + +function get_date_string(date) { + return date.getFullYear() + "-" + pad(date.getMonth() + 1, 2) + "-" + pad(date.getDate(), 2); +} + +function reschedule_posts(start) { + var start_processing = false; + var interval = null; + var current_date = null; + var current_interval = 0; + for (var i = 0, l = comic_files_keys.length; i < l; ++i) { + if (start_processing) { + current_date += (interval[current_interval] * 86400 * 1000); + current_interval = (current_interval + 1) % interval.length; + + date_string = get_date_string(new Date(current_date)); + + $('dates[' + comic_files_keys[i] + ']').value = date_string; + $('holder-' + comic_files_keys[i]).style.backgroundColor = "#ddd"; + } + if (comic_files_keys[i] == start) { + start_processing = true; + interval = prompt(days_between_posts_message, "7"); + + if (interval !== null) { + var all_valid = true; + var parts = interval.split(","); + for (var j = 0, jl = parts.length; j < jl; ++j) { + if (!parts[j].toString().match(/^\d+$/)) { all_valid = false; break; } + } + + if (all_valid) { + interval = parts; + date_parts = $F('dates[' + comic_files_keys[i] + ']').split("-"); + current_date = Date.UTC(date_parts[0], date_parts[1] - 1, date_parts[2], 2) + 86400 * 1000; + } else { + alert(interval + " " + valid_interval_message); + break; + } + } else { + break; + } + } + } +} \ No newline at end of file diff --git a/js/comicpress_script.js b/js/comicpress_script.js new file mode 100644 index 0000000..c882ffe --- /dev/null +++ b/js/comicpress_script.js @@ -0,0 +1,165 @@ +/** + * hide/show the new post holder box depending on the status of the checkbox. + */ +function hide_show_checkbox_holder(which, reverse) { + if (reverse !== true) { reverse = false; } + ($(which + '-checkbox').checked !== reverse) ? new Effect.Appear(which + '-holder') : new Effect.BlindUp(which + '-holder'); +} + +function setup_hide_show_checkbox_holder(which) { + Event.observe(which + '-checkbox', 'click', function() { hide_show_checkbox_holder(which) }); + hide_show_checkbox_holder(which); +} + +function hide_show_div_on_checkbox(div, checkbox, flip_behavior) { + if ($(checkbox) && $(div)) { + ok = (flip_behavior) ? !$(checkbox).checked : $(checkbox).checked; + (ok) ? new Effect.Appear(div) : new Effect.BlindUp(div); + } +} + +/** + * Show the preview image for deleting an image. + */ +function change_image_preview() { + var which = $F('delete-comic-dropdown'); + $('image-preview').innerHTML = ''; +} + +var current_file_index = 0; +var current_file_upload_count = 0; + +var on_change_file_upload_count = null; + +/** + * Add a file upload field. + */ +function add_file_upload() { + var field = "
    "; + field += messages['add_file_upload_file'] + ""; + field += " [" + messages['add_file_upload_remove'] + "]"; + field += "
    "; + Element.insert('multiple-file-upload', { bottom: field }); + current_file_index++; + current_file_upload_count++; + + if (on_change_file_upload_count) { on_change_file_upload_count(current_file_upload_count); } +} + +function remove_file_upload(which) { + Element.remove('upload-holder-' + which); + current_file_upload_count--; + + if (on_change_file_upload_count) { on_change_file_upload_count(current_file_upload_count); } +} + +// page startup code +function prepare_comicpress_manager() { + if ($('multiple-new-post-checkbox')) { + setup_hide_show_checkbox_holder("multiple-new-post"); + add_file_upload(); + + hide_show_div_on_checkbox('override-title-holder', 'override-title'); + hide_show_div_on_checkbox('thumbnail-write-holder', 'no-thumbnails', true); + + var add_to_tags = function(href) { + var all_tags = []; + if (!$F('tags').empty()) { + all_tags = $F('tags').replace(new RegExp("s*\,\s*"), ",").split(","); + } + + if (all_tags.indexOf(href.innerHTML) == -1) { + all_tags.push(href.innerHTML); + } + + $('tags').value = all_tags.join(","); + } + + $$('a.tag').each(function(href) { + Event.observe(href, 'click', function(e) { + Event.stop(e); + add_to_tags(href); + }); + }); + } + + var handle_show_rebuild_thumbnails = function(e) { + (($F('overwrite-existing-file-choice') != "") && ($F('upload-destination') == "comic")) ? $('rebuild-thumbnails').show() : $('rebuild-thumbnails').hide(); + }; + + if ($('overwrite-existing-file-choice')) { + Event.observe('overwrite-existing-file-choice', 'change', handle_show_rebuild_thumbnails); + handle_show_rebuild_thumbnails(); + } + + if ($('replace-comic-rebuild-thumbnails') && $('thumbnails')) { + Event.observe($('replace-comic-rebuild-thumbnails'), 'click', function(e) { + $('thumbnails').checked = $('replace-comic-rebuild-thumbnails').checked; + }); + } + + if ($('upload-destination')) { + var toggle_upload_destination_holder = function() { + if ($F('overwrite-existing-file-choice') == "") { + if ($('upload-destination').options[$('upload-destination').selectedIndex].value == "comic") { + new Effect.Appear('upload-destination-holder'); + } else { + new Effect.BlindUp('upload-destination-holder'); + } + } else { + new Effect.BlindUp('upload-destination-holder'); + } + handle_show_rebuild_thumbnails(); + }; + Event.observe('upload-destination', 'change', toggle_upload_destination_holder); + toggle_upload_destination_holder(); + + on_change_file_upload_count = function(count) { + if (count == 1) { + new Effect.Appear('specify-date-holder'); + new Effect.Appear('overwrite-existing-holder'); + } else { + new Effect.BlindUp('specify-date-holder'); + new Effect.BlindUp('overwrite-existing-holder'); + toggle_upload_destination_holder(); + } + } + + if ($('overwrite-existing-file-choice')) { + Event.observe('overwrite-existing-file-choice', 'change', function() { + toggle_upload_destination_holder(); + }); + } + } + + if ($('count-missing-posts-clicker')) { + hide_show_div_on_checkbox('override-title-holder', 'override-title'); + hide_show_div_on_checkbox('thumbnail-write-holder', 'no-thumbnails', true); + + Event.observe('count-missing-posts-clicker', 'click', function() { + $('missing-posts-display').innerHTML = "..." + messages['count_missing_posts_counting'] + "..."; + + new Ajax.Request(ajax_request_uri, + { + method: 'post', + parameters: { + action: "count-missing-posts" + }, + onSuccess: function(transport) { + if (transport.headerJSON) { + $('missing-posts-display').innerHTML = transport.headerJSON.missing_posts; + } else { + $('missing-posts-display').innerHTML = messages['count_missing_posts_none_missing']; + } + }, + onFailure: function(transport) { + $('missing-posts-display').innerHTML = messages['failure_in_counting_posts']; + } + } + ); + return false; + }); + } + + if ($('image-preview')) { change_image_preview(); } +} \ No newline at end of file diff --git a/js/comicpress_status.js b/js/comicpress_status.js new file mode 100644 index 0000000..90e3e34 --- /dev/null +++ b/js/comicpress_status.js @@ -0,0 +1,63 @@ +var active_filters = {}; + +function toggle_filter(id) { + if (active_filters[id] === undefined) { active_filters[id] = false; } + active_filters[id] = !active_filters[id]; + + var any_filters_active = false; + for (var key in active_filters) { + if (active_filters[key] === true) { + any_filters_active = true; break; + } + } + + if (top.console && top.console.log) { + top.console.log(active_filters); + } + + var rows = document.getElementsByClassName('data-row'); + for (var i = 0, il = rows.length; i < il; ++i) { + if (any_filters_active) { + var filter_active = false; + for (var key in active_filters) { + if (top.console && top.console.log) { + top.console.log(key); + } + if (active_filters[key] === true) { + if (rows[i].hasClassName(key)) { + filter_active = true; break; + } + } + } + if (top.console && top.console.log) { + top.console.log(i + ": " + filter_active); + } + if (filter_active) { + Element.show(rows[i]); + } else { + Element.hide(rows[i]); + } + } else { + Element.show(rows[i]); + } + } + + for (var key in active_filters) { + var target = $(key); + if (active_filters[key] === true) { + if (!Element.hasClassName(target, 'enabled')) { Element.addClassName(target, 'enabled'); } + } else { + if (Element.hasClassName(target, 'enabled')) { Element.removeClassName(target, 'enabled'); } + } + } +} + +function setup_status_togglers() { + var togglers = document.getElementsByClassName('toggler'); + for (var i = 0; i < togglers.length; ++i) { + Event.observe(togglers[i], 'click', function(e) { + var element = Event.element(e); + toggle_filter(element.id); + }); + } +} \ No newline at end of file diff --git a/js/minified-comicpress_dates.js b/js/minified-comicpress_dates.js new file mode 100644 index 0000000..996e29c --- /dev/null +++ b/js/minified-comicpress_dates.js @@ -0,0 +1,6 @@ + +function pad(s,l){s="0000"+(s+"");return s.substr(s.length-l,l);} +function get_date_string(date){return date.getFullYear()+"-"+pad(date.getMonth()+1,2)+"-"+pad(date.getDate(),2);} +function reschedule_posts(start){var start_processing=false;var interval=null;var current_date=null;var current_interval=0;for(var i=0,l=comic_files_keys.length;i';} +var current_file_index=0;var current_file_upload_count=0;var on_change_file_upload_count=null;function add_file_upload(){var field="
    ";field+=messages['add_file_upload_file']+"";field+=" ["+messages['add_file_upload_remove']+"]";field+="
    ";Element.insert('multiple-file-upload',{bottom:field});current_file_index++;current_file_upload_count++;if(on_change_file_upload_count){on_change_file_upload_count(current_file_upload_count);}} +function remove_file_upload(which){Element.remove('upload-holder-'+which);current_file_upload_count--;if(on_change_file_upload_count){on_change_file_upload_count(current_file_upload_count);}} +function prepare_comicpress_manager(){if($('multiple-new-post-checkbox')){setup_hide_show_checkbox_holder("multiple-new-post");add_file_upload();hide_show_div_on_checkbox('override-title-holder','override-title');hide_show_div_on_checkbox('thumbnail-write-holder','no-thumbnails',true);var add_to_tags=function(href){var all_tags=[];if(!$F('tags').empty()){all_tags=$F('tags').replace(new RegExp("s*\,\s*"),",").split(",");} +if(all_tags.indexOf(href.innerHTML)==-1){all_tags.push(href.innerHTML);} +$('tags').value=all_tags.join(",");} +$$('a.tag').each(function(href){Event.observe(href,'click',function(e){Event.stop(e);add_to_tags(href);});});} +var handle_show_rebuild_thumbnails=function(e){(($F('overwrite-existing-file-choice')!="")&&($F('upload-destination')=="comic"))?$('rebuild-thumbnails').show():$('rebuild-thumbnails').hide();};if($('overwrite-existing-file-choice')){Event.observe('overwrite-existing-file-choice','change',handle_show_rebuild_thumbnails);handle_show_rebuild_thumbnails();} +if($('replace-comic-rebuild-thumbnails')&&$('thumbnails')){Event.observe($('replace-comic-rebuild-thumbnails'),'click',function(e){$('thumbnails').checked=$('replace-comic-rebuild-thumbnails').checked;});} +if($('upload-destination')){var toggle_upload_destination_holder=function(){if($F('overwrite-existing-file-choice')==""){if($('upload-destination').options[$('upload-destination').selectedIndex].value=="comic"){new Effect.Appear('upload-destination-holder');}else{new Effect.BlindUp('upload-destination-holder');}}else{new Effect.BlindUp('upload-destination-holder');} +handle_show_rebuild_thumbnails();};Event.observe('upload-destination','change',toggle_upload_destination_holder);toggle_upload_destination_holder();on_change_file_upload_count=function(count){if(count==1){new Effect.Appear('specify-date-holder');new Effect.Appear('overwrite-existing-holder');}else{new Effect.BlindUp('specify-date-holder');new Effect.BlindUp('overwrite-existing-holder');toggle_upload_destination_holder();}} +if($('overwrite-existing-file-choice')){Event.observe('overwrite-existing-file-choice','change',function(){toggle_upload_destination_holder();});}} +if($('count-missing-posts-clicker')){hide_show_div_on_checkbox('override-title-holder','override-title');hide_show_div_on_checkbox('thumbnail-write-holder','no-thumbnails',true);Event.observe('count-missing-posts-clicker','click',function(){$('missing-posts-display').innerHTML="..."+messages['count_missing_posts_counting']+"...";new Ajax.Request(ajax_request_uri,{method:'post',parameters:{action:"count-missing-posts"},onSuccess:function(transport){if(transport.headerJSON){$('missing-posts-display').innerHTML=transport.headerJSON.missing_posts;}else{$('missing-posts-display').innerHTML=messages['count_missing_posts_none_missing'];}},onFailure:function(transport){$('missing-posts-display').innerHTML=messages['failure_in_counting_posts'];}});return false;});} +if($('image-preview')){change_image_preview();}} \ No newline at end of file diff --git a/js/minified-comicpress_status.js b/js/minified-comicpress_status.js new file mode 100644 index 0000000..2f9baa3 --- /dev/null +++ b/js/minified-comicpress_status.js @@ -0,0 +1,10 @@ + +var active_filters={};function toggle_filter(id){if(active_filters[id]===undefined){active_filters[id]=false;} +active_filters[id]=!active_filters[id];var any_filters_active=false;for(var key in active_filters){if(active_filters[key]===true){any_filters_active=true;break;}} +if(top.console&&top.console.log){top.console.log(active_filters);} +var rows=document.getElementsByClassName('data-row');for(var i=0,il=rows.length;i + + * 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 + + * 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 + + * 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 + + * lang/calendar-ar-utf8.zip: Added arabic translation + +2004-10-19 Mihai Bazon + + * lang/calendar-zh.js: updated + +2004-09-20 Mihai Bazon + + * lang/calendar-no.js: updated (Daniel Holmen) + +2004-09-20 Mihai Bazon + + * lang/calendar-no.js: updated (Daniel Holmen) + +2004-08-11 Mihai Bazon + + * 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 + + * lang/calendar-br.js: updated + + * calendar-setup.js: fixed bug (dateText) + +2004-07-21 Mihai Bazon + + * lang/calendar-br.js: updated + + * calendar-setup.js: fixed bug (dateText) + +2004-07-04 Mihai Bazon + + * lang/calendar-lv.js: + added LV translation (thanks to Juris Valdovskis) + +2004-06-25 Mihai Bazon + + * calendar.js: + fixed bug in IE (el.calendar.tooltips is null or not an object) + +2004-06-24 Mihai Bazon + + * 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 + + * 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 + + * 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 + + * calendar-setup.js: fixed bug (apply showOthers to flat calendars too) + +2004-06-06 Mihai Bazon + + * 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 + + * calendar.js: added date tooltip function + +2004-05-28 Mihai Bazon + + * lang/calendar-br.js: updated (thanks to Marcos Pont) + + * calendar-setup.js: fixed small bug + +2004-05-01 Mihai Bazon + + * calendar-setup.js: returns the calendar object + +2004-04-28 Mihai Bazon + + * 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 + + * 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 + + * 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 + + * lang/calendar-fr.js: updated (thanks to David Duret) + +2004-03-24 Mihai Bazon + + * lang/calendar-da.js: updated (thanks to Michael Thingmand Henriksen) + +2004-03-21 Mihai Bazon + + * lang/calendar-ca.js: updated (thanks to David Valls) + +2004-03-17 Mihai Bazon + + * lang/calendar-de.js: updated to UTF8 (thanks to Jack (tR)) + +2004-03-09 Mihai Bazon + + * lang/calendar-bg.js: Bulgarian translation + +2004-03-08 Mihai Bazon + + * 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 + + * lang/calendar-it.js: updated (thanks to Fabio Di Bernardini) + +2004-02-25 Mihai Bazon + + * calendar.js: fix for Safari (thanks to Olivier Chirouze / XPWeb) + +2004-02-22 Mihai Bazon + + * lang/calendar-al.js: Albanian language file + +2004-02-17 Mihai Bazon + + * 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 + + * lang/calendar-pt.js: + updated Portugese translation, thanks to Elcio Ferreira + +2004-02-09 Mihai Bazon + + * TODO: updated + +2004-02-06 Mihai Bazon + + * 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 + + * 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 + + * calendar.php: added PHP wrapper + + * img.gif: icon updated + + * TODO: updated TODO list + +2004-01-27 Mihai Bazon + + * 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 + + * 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 + + * 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 + + * 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 + + * lang/calendar-pl.js: + Polish translation updated to UTF-8 (thanks to Artur Filipiak) + +2004-01-07 Mihai Bazon + + * lang/calendar-si.js: updated (David Milost) + + * lang/calendar-si.js: Slovenian translation (thanks to David Milost) + +2003-12-21 Mihai Bazon + + * TODO: updated TODO list + + * lang/calendar-de.js: German translation (thanks to Peter Strotmann) + +2003-12-19 Mihai Bazon + + * doc/reference.tex: Thank you, Ian Barrak + +2003-12-18 Mihai Bazon + + * doc/reference.tex: fixed documentation bug (thanks Mike) + +2003-12-05 Mihai Bazon + + * 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 + + * lang/calendar-fr.js: + French translation updated (thanks to Angiras Rama) + +2003-11-22 Mihai Bazon + + * lang/calendar-da.js: updated (thanks to Jesper M. Christensen) + +2003-11-20 Mihai Bazon + + * 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 + + * TODO: added TODO list + +2003-11-14 Mihai Bazon + + * lang/calendar-ko.js: Korean translation (thanks to Yourim Yi) + +2003-11-12 Mihai Bazon + + * lang/calendar-jp.js: small bug fixed (thanks to TAHARA Yusei) + +2003-11-10 Mihai Bazon + + * 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 + + * 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 + + * lang/calendar-fi.js: + added Finnish translation (thanks to Antti Tuppurainen) + +2003-11-05 Mihai Bazon + + * 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 + + * 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 + + * lang/calendar-af.js: Afrikaan language (thanks to Derick Olivier) + +2003-10-31 Mihai Bazon + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * doc/reference.tex: + documentation updated for 0.9.4 (not yet finished though) + +2003-10-07 Mihai Bazon + + * calendar.js, doc/reference.tex, release-notes.html, README, cal.html, calendar-setup.js: + modified project website + +2003-10-06 Mihai Bazon + + * calendar-setup.js: + added some properties (onSelect, onClose, date) (thanks altblue) + +2003-09-24 Mihai Bazon + + * simple-3.html: dateIsSpecial does not need the "date" argument ;-) + +2003-09-24 fsoft + + * calendar.js, simple-3.html: + added year, month, day to getDateStatus() function + +2003-09-24 Mihai Bazon + + * 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 + + * doc/reference.tex: fixed error in section 3. + +2003-08-01 Mihai Bazon + + * lang/calendar-jp.js: added Japanese translation + +2003-07-16 Mihai Bazon + + * simple-1.html: fixed problem with first example [IE,Opera] + +2003-07-09 Mihai Bazon + + * doc/Calendar.setup.tex: fixed typo (closing parenthesis) + + * lang/calendar-de.js: + added German translation, thanks to Hartwig Weinkauf + +2003-07-08 Mihai Bazon + + * 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 + + * 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 + + * 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 + + * 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 + + * 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 + + * lang/calendar-pt.js: + added portugese translation (thanks Nuno Barreto) + +2003-06-24 Mihai Bazon + + * 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 + + * lang/calendar-hu.js: added hungarian translation + + * lang/calendar-hr.js: + added croatian translation (thanks to Krunoslav Zubrinic) + +2003-06-22 Mihai Bazon + + * 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 + + * lang/calendar-tr.js: added turkish lang file + +2003-03-19 Mihai Bazon + + * lang/calendar-ru.js: russian translation added + + * lang/calendar-no.js: norwegian translation added + +2003-03-15 Mihai Bazon + + * lang/calendar-no.js: norwegian translation + +2003-03-12 Mihai Bazon + + * lang/calendar-pl.js: added polish translation + +2003-03-11 Mihai Bazon + + * calendar.js: + bugfix in parseDate (added base to parseInt, thanks Alan!) + +2003-03-05 Mihai Bazon + + * 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 + + diff --git a/jscalendar-1.0/README b/jscalendar-1.0/README new file mode 100644 index 0000000..455ab3d --- /dev/null +++ b/jscalendar-1.0/README @@ -0,0 +1,33 @@ +The DHTML Calendar +------------------- + + Author: Mihai Bazon, + http://dynarch.com/mishoo/ + + This program is free software published under the + terms of the GNU Lesser General Public License. + + For the entire license text please refer to + http://www.gnu.org/licenses/lgpl.html + +Contents +--------- + + calendar.js -- the main program file + lang/*.js -- internalization files + *.css -- color themes + cal.html -- example usage file + doc/ -- documentation, in PDF and HTML + simple-1.html -- quick setup examples [popup calendars] + simple-2.html -- quick setup example for flat calendar + calendar.php -- PHP wrapper + test.php -- test file for the PHP wrapper + +Homepage +--------- + + For details and latest versions please refer to calendar + homepage, located on my website: + + http://dynarch.com/mishoo/calendar.epl + diff --git a/jscalendar-1.0/bugtest-hidden-selects.html b/jscalendar-1.0/bugtest-hidden-selects.html new file mode 100644 index 0000000..900bc17 --- /dev/null +++ b/jscalendar-1.0/bugtest-hidden-selects.html @@ -0,0 +1,108 @@ + + + +Bug + + + + + + + + + + + + + +
    +Date: +
    + + +

    +
    +
    Visible <select>, hides and unhides as expected +
    + + +

    +
    Hidden <select>, it should stay hidden (but doesn't) +
    + + +

    +
    Hidden textbox below, it stays hidden as expected +
    + +

    + diff --git a/jscalendar-1.0/calendar-blue.css b/jscalendar-1.0/calendar-blue.css new file mode 100644 index 0000000..ca33cde --- /dev/null +++ b/jscalendar-1.0/calendar-blue.css @@ -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 containing navigation buttons */ + background: #778; + color: #fff; +} + +.calendar thead .daynames { /* Row containing the day names */ + background: #bdf; +} + +.calendar thead .name { /* Cells 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 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 */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + 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 in footer (only one right now) */ + text-align: center; + background: #556; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + 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; +} diff --git a/jscalendar-1.0/calendar-blue2.css b/jscalendar-1.0/calendar-blue2.css new file mode 100644 index 0000000..47128ec --- /dev/null +++ b/jscalendar-1.0/calendar-blue2.css @@ -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 containing navigation buttons */ + background: #007ED1; + color: #fff; +} + +.calendar thead .daynames { /* Row containing the day names */ + background: #C7E1F3; +} + +.calendar thead .name { /* Cells 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 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 */ + background: #def; + padding: 1px 3px 1px 1px; + border: 1px solid #8FC4E8; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + 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 in footer (only one right now) */ + text-align: center; + background: #206A9B; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + 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; +} diff --git a/jscalendar-1.0/calendar-brown.css b/jscalendar-1.0/calendar-brown.css new file mode 100644 index 0000000..c42da5e --- /dev/null +++ b/jscalendar-1.0/calendar-brown.css @@ -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 containing navigation buttons */ + background: #edc; + color: #000; +} + +.calendar thead .name { /* Cells 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 containing the day names */ + background: #fed; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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 */ + background: #ffe; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + 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 in footer (only one right now) */ + text-align: center; + background: #988; + color: #000; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + 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; +} diff --git a/jscalendar-1.0/calendar-green.css b/jscalendar-1.0/calendar-green.css new file mode 100644 index 0000000..2e1867a --- /dev/null +++ b/jscalendar-1.0/calendar-green.css @@ -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 containing navigation buttons */ +} + +.calendar thead .name { /* Cells 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 containing the day names */ + background: #dfb; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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 */ + background: #efd; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + 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 in footer (only one right now) */ + text-align: center; + background: #565; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + 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; +} diff --git a/jscalendar-1.0/calendar-setup.js b/jscalendar-1.0/calendar-setup.js new file mode 100644 index 0000000..f2b4854 --- /dev/null +++ b/jscalendar-1.0/calendar-setup.js @@ -0,0 +1,200 @@ +/* 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: calendar-setup.js,v 1.25 2005/03/07 09:51:33 mishoo Exp $ + +/** + * 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 | if "true" (but default: "false") it will reuse the same calendar object, where possible + * showOthers | if "true" (but default: "false") it will show days from other months too + * + * None of them is required, they all have default values. However, if you + * pass none of "inputField", "displayArea" or "button" you'll get a warning + * saying "nothing to setup". + */ +Calendar.setup = function (params) { + function param_default(pname, def) { if (typeof params[pname] == "undefined") { params[pname] = def; } }; + + param_default("inputField", null); + param_default("displayArea", null); + param_default("button", null); + param_default("eventName", "click"); + param_default("ifFormat", "%Y/%m/%d"); + param_default("daFormat", "%Y/%m/%d"); + param_default("singleClick", true); + param_default("disableFunc", null); + param_default("dateStatusFunc", params["disableFunc"]); // takes precedence if both are defined + param_default("dateText", null); + param_default("firstDay", null); + param_default("align", "Br"); + param_default("range", [1900, 2999]); + param_default("weekNumbers", true); + param_default("flat", null); + param_default("flatCallback", null); + param_default("onSelect", null); + param_default("onClose", null); + param_default("onUpdate", null); + param_default("date", null); + param_default("showsTime", false); + param_default("timeFormat", "24"); + param_default("electric", true); + param_default("step", 2); + param_default("position", null); + param_default("cache", false); + param_default("showOthers", false); + param_default("multiple", null); + + var tmp = ["inputField", "displayArea", "button"]; + for (var i in tmp) { + if (typeof params[tmp[i]] == "string") { + params[tmp[i]] = document.getElementById(params[tmp[i]]); + } + } + if (!(params.flat || params.multiple || params.inputField || params.displayArea || params.button)) { + alert("Calendar.setup:\n Nothing to setup (no fields found). Please check your code"); + return false; + } + + function onSelect(cal) { + var p = cal.params; + var update = (cal.dateClicked || p.electric); + if (update && p.inputField) { + p.inputField.value = cal.date.print(p.ifFormat); + if (typeof p.inputField.onchange == "function") + p.inputField.onchange(); + } + if (update && p.displayArea) + p.displayArea.innerHTML = cal.date.print(p.daFormat); + if (update && typeof p.onUpdate == "function") + p.onUpdate(cal); + if (update && p.flat) { + if (typeof p.flatCallback == "function") + p.flatCallback(cal); + } + if (update && p.singleClick && cal.dateClicked) + cal.callCloseHandler(); + }; + + if (params.flat != null) { + if (typeof params.flat == "string") + params.flat = document.getElementById(params.flat); + if (!params.flat) { + alert("Calendar.setup:\n Flat specified but can't find parent."); + return false; + } + var cal = new Calendar(params.firstDay, params.date, params.onSelect || onSelect); + cal.showsOtherMonths = params.showOthers; + cal.showsTime = params.showsTime; + cal.time24 = (params.timeFormat == "24"); + cal.params = params; + cal.weekNumbers = params.weekNumbers; + cal.setRange(params.range[0], params.range[1]); + cal.setDateStatusHandler(params.dateStatusFunc); + cal.getDateText = params.dateText; + if (params.ifFormat) { + cal.setDateFormat(params.ifFormat); + } + if (params.inputField && typeof params.inputField.value == "string") { + cal.parseDate(params.inputField.value); + } + cal.create(params.flat); + cal.show(); + return false; + } + + var triggerEl = params.button || params.displayArea || params.inputField; + triggerEl["on" + params.eventName] = function() { + var dateEl = params.inputField || params.displayArea; + var dateFmt = params.inputField ? params.ifFormat : params.daFormat; + var mustCreate = false; + var cal = window.calendar; + if (dateEl) + params.date = Date.parseDate(dateEl.value || dateEl.innerHTML, dateFmt); + if (!(cal && params.cache)) { + window.calendar = cal = new Calendar(params.firstDay, + params.date, + params.onSelect || onSelect, + params.onClose || function(cal) { cal.hide(); }); + cal.showsTime = params.showsTime; + cal.time24 = (params.timeFormat == "24"); + cal.weekNumbers = params.weekNumbers; + mustCreate = true; + } else { + if (params.date) + cal.setDate(params.date); + cal.hide(); + } + if (params.multiple) { + cal.multiple = {}; + for (var i = params.multiple.length; --i >= 0;) { + var d = params.multiple[i]; + var ds = d.print("%Y%m%d"); + cal.multiple[ds] = d; + } + } + cal.showsOtherMonths = params.showOthers; + cal.yearStep = params.step; + cal.setRange(params.range[0], params.range[1]); + cal.params = params; + cal.setDateStatusHandler(params.dateStatusFunc); + cal.getDateText = params.dateText; + cal.setDateFormat(dateFmt); + if (mustCreate) + cal.create(); + cal.refresh(); + if (!params.position) + cal.showAtElement(params.button || params.displayArea || params.inputField, params.align); + else + cal.showAt(params.position[0], params.position[1]); + return false; + }; + + return cal; +}; diff --git a/jscalendar-1.0/calendar-setup_stripped.js b/jscalendar-1.0/calendar-setup_stripped.js new file mode 100644 index 0000000..91c927f --- /dev/null +++ b/jscalendar-1.0/calendar-setup_stripped.js @@ -0,0 +1,21 @@ +/* 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). + */ + Calendar.setup=function(params){function param_default(pname,def){if(typeof params[pname]=="undefined"){params[pname]=def;}};param_default("inputField",null);param_default("displayArea",null);param_default("button",null);param_default("eventName","click");param_default("ifFormat","%Y/%m/%d");param_default("daFormat","%Y/%m/%d");param_default("singleClick",true);param_default("disableFunc",null);param_default("dateStatusFunc",params["disableFunc"]);param_default("dateText",null);param_default("firstDay",null);param_default("align","Br");param_default("range",[1900,2999]);param_default("weekNumbers",true);param_default("flat",null);param_default("flatCallback",null);param_default("onSelect",null);param_default("onClose",null);param_default("onUpdate",null);param_default("date",null);param_default("showsTime",false);param_default("timeFormat","24");param_default("electric",true);param_default("step",2);param_default("position",null);param_default("cache",false);param_default("showOthers",false);param_default("multiple",null);var tmp=["inputField","displayArea","button"];for(var i in tmp){if(typeof params[tmp[i]]=="string"){params[tmp[i]]=document.getElementById(params[tmp[i]]);}}if(!(params.flat||params.multiple||params.inputField||params.displayArea||params.button)){alert("Calendar.setup:\n Nothing to setup (no fields found). Please check your code");return false;}function onSelect(cal){var p=cal.params;var update=(cal.dateClicked||p.electric);if(update&&p.inputField){p.inputField.value=cal.date.print(p.ifFormat);if(typeof p.inputField.onchange=="function")p.inputField.onchange();}if(update&&p.displayArea)p.displayArea.innerHTML=cal.date.print(p.daFormat);if(update&&typeof p.onUpdate=="function")p.onUpdate(cal);if(update&&p.flat){if(typeof p.flatCallback=="function")p.flatCallback(cal);}if(update&&p.singleClick&&cal.dateClicked)cal.callCloseHandler();};if(params.flat!=null){if(typeof params.flat=="string")params.flat=document.getElementById(params.flat);if(!params.flat){alert("Calendar.setup:\n Flat specified but can't find parent.");return false;}var cal=new Calendar(params.firstDay,params.date,params.onSelect||onSelect);cal.showsOtherMonths=params.showOthers;cal.showsTime=params.showsTime;cal.time24=(params.timeFormat=="24");cal.params=params;cal.weekNumbers=params.weekNumbers;cal.setRange(params.range[0],params.range[1]);cal.setDateStatusHandler(params.dateStatusFunc);cal.getDateText=params.dateText;if(params.ifFormat){cal.setDateFormat(params.ifFormat);}if(params.inputField&&typeof params.inputField.value=="string"){cal.parseDate(params.inputField.value);}cal.create(params.flat);cal.show();return false;}var triggerEl=params.button||params.displayArea||params.inputField;triggerEl["on"+params.eventName]=function(){var dateEl=params.inputField||params.displayArea;var dateFmt=params.inputField?params.ifFormat:params.daFormat;var mustCreate=false;var cal=window.calendar;if(dateEl)params.date=Date.parseDate(dateEl.value||dateEl.innerHTML,dateFmt);if(!(cal&¶ms.cache)){window.calendar=cal=new Calendar(params.firstDay,params.date,params.onSelect||onSelect,params.onClose||function(cal){cal.hide();});cal.showsTime=params.showsTime;cal.time24=(params.timeFormat=="24");cal.weekNumbers=params.weekNumbers;mustCreate=true;}else{if(params.date)cal.setDate(params.date);cal.hide();}if(params.multiple){cal.multiple={};for(var i=params.multiple.length;--i>=0;){var d=params.multiple[i];var ds=d.print("%Y%m%d");cal.multiple[ds]=d;}}cal.showsOtherMonths=params.showOthers;cal.yearStep=params.step;cal.setRange(params.range[0],params.range[1]);cal.params=params;cal.setDateStatusHandler(params.dateStatusFunc);cal.getDateText=params.dateText;cal.setDateFormat(dateFmt);if(mustCreate)cal.create();cal.refresh();if(!params.position)cal.showAtElement(params.button||params.displayArea||params.inputField,params.align);else cal.showAt(params.position[0],params.position[1]);return false;};return cal;}; \ No newline at end of file diff --git a/jscalendar-1.0/calendar-system.css b/jscalendar-1.0/calendar-system.css new file mode 100644 index 0000000..b224885 --- /dev/null +++ b/jscalendar-1.0/calendar-system.css @@ -0,0 +1,251 @@ +/* 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 containing navigation buttons */ +} + +.calendar thead .daynames { /* Row containing the day names */ +} + +.calendar thead .name { /* Cells 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 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 */ + 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 */ + 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 in footer (only one right now) */ +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + 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; +} diff --git a/jscalendar-1.0/calendar-tas.css b/jscalendar-1.0/calendar-tas.css new file mode 100644 index 0000000..c2f8721 --- /dev/null +++ b/jscalendar-1.0/calendar-tas.css @@ -0,0 +1,239 @@ +/* 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 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 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 containing the day names */ + background: #fed; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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 */ + background: #ffe; + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + 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 in footer (only one right now) */ + text-align: center; + background: #988; + color: #000; + +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + 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; +} diff --git a/jscalendar-1.0/calendar-win2k-1.css b/jscalendar-1.0/calendar-win2k-1.css new file mode 100644 index 0000000..8c5d026 --- /dev/null +++ b/jscalendar-1.0/calendar-win2k-1.css @@ -0,0 +1,271 @@ +/* The main calendar widget. DIV containing a table. */ + +.calendar { + position: relative; + display: none; + border-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + font-size: 11px; + color: #000; + cursor: default; + background: #d4d0c8; + font-family: tahoma,verdana,sans-serif; +} + +.calendar table { + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + font-size: 11px; + color: #000; + cursor: default; + background: #d4d0c8; + 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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; +} + +.calendar .nav { + background: transparent 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: #848078; + color: #fff; + text-align: center; +} + +.calendar thead .headrow { /* Row containing navigation buttons */ +} + +.calendar thead .daynames { /* Row containing the day names */ +} + +.calendar thead .name { /* Cells containing the day names */ + border-bottom: 1px solid #000; + padding: 2px; + text-align: center; + background: #f4f0e8; +} + +.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-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + padding: 0px; + background-color: #e4e0d8; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + 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; + background-color: #c4c0b8; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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: #f4f0e8; +} + +.calendar tbody .rowhilite td { + background: #e4e0d8; +} + +.calendar tbody .rowhilite td.wn { + background: #d4d0c8; +} + +.calendar tbody td.hilite { /* Hovered cells */ + 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 */ + padding: 2px 2px 0px 2px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar tbody td.selected { /* Cell showing selected date */ + font-weight: bold; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + padding: 2px 2px 0px 2px; + background: #e4e0d8; +} + +.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 .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 in footer (only one right now) */ +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + background: #f4f0e8; + padding: 1px; + border: 1px solid #000; + background: #848078; + color: #fff; + 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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; + background: #e4e0d8; + 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 { + background: #c4c0b8; + padding: 0px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar .combo .hilite { + background: #048; + color: #fea; +} + +.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: #766; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} diff --git a/jscalendar-1.0/calendar-win2k-2.css b/jscalendar-1.0/calendar-win2k-2.css new file mode 100644 index 0000000..6f37b7d --- /dev/null +++ b/jscalendar-1.0/calendar-win2k-2.css @@ -0,0 +1,271 @@ +/* The main calendar widget. DIV containing a table. */ + +.calendar { + position: relative; + display: none; + border-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + font-size: 11px; + color: #000; + cursor: default; + background: #d4c8d0; + font-family: tahoma,verdana,sans-serif; +} + +.calendar table { + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + font-size: 11px; + color: #000; + cursor: default; + background: #d4c8d0; + 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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; +} + +.calendar .nav { + background: transparent 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: #847880; + color: #fff; + text-align: center; +} + +.calendar thead .headrow { /* Row containing navigation buttons */ +} + +.calendar thead .daynames { /* Row containing the day names */ +} + +.calendar thead .name { /* Cells containing the day names */ + border-bottom: 1px solid #000; + padding: 2px; + text-align: center; + background: #f4e8f0; +} + +.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-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + padding: 0px; + background-color: #e4d8e0; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + 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; + background-color: #c4b8c0; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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: #f4e8f0; +} + +.calendar tbody .rowhilite td { + background: #e4d8e0; +} + +.calendar tbody .rowhilite td.wn { + background: #d4c8d0; +} + +.calendar tbody td.hilite { /* Hovered cells */ + 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 */ + padding: 2px 2px 0px 2px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar tbody td.selected { /* Cell showing selected date */ + font-weight: bold; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + padding: 2px 2px 0px 2px; + background: #e4d8e0; +} + +.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 .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 in footer (only one right now) */ +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + background: #f4e8f0; + padding: 1px; + border: 1px solid #000; + background: #847880; + color: #fff; + 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: #e4d8e0; +} + +.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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; + background: #e4d8e0; + 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 { + background: #d4c8d0; + padding: 0px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar .combo .hilite { + background: #408; + color: #fea; +} + +.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: #766; + color: #fff; +} + +.calendar td.time span.active { + border-color: #f00; + background-color: #000; + color: #0f0; +} diff --git a/jscalendar-1.0/calendar-win2k-cold-1.css b/jscalendar-1.0/calendar-win2k-cold-1.css new file mode 100644 index 0000000..fa5c093 --- /dev/null +++ b/jscalendar-1.0/calendar-win2k-cold-1.css @@ -0,0 +1,265 @@ +/* The main calendar widget. DIV containing a table. */ + +.calendar { + position: relative; + display: none; + border-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + font-size: 11px; + color: #000; + cursor: default; + background: #c8d0d4; + font-family: tahoma,verdana,sans-serif; +} + +.calendar table { + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + font-size: 11px; + color: #000; + cursor: default; + background: #c8d0d4; + 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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; +} + +.calendar .nav { + background: transparent 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: #788084; + color: #fff; + text-align: center; +} + +.calendar thead .headrow { /* Row containing navigation buttons */ +} + +.calendar thead .daynames { /* Row containing the day names */ +} + +.calendar thead .name { /* Cells containing the day names */ + border-bottom: 1px solid #000; + padding: 2px; + text-align: center; + background: #e8f0f4; +} + +.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-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + padding: 0px; + background-color: #d8e0e4; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + 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; + background-color: #b8c0c4; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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: #e8f4f0; +} + +.calendar tbody .rowhilite td { + background: #d8e4e0; +} + +.calendar tbody .rowhilite td.wn { + background: #c8d4d0; +} + +.calendar tbody td.hilite { /* Hovered cells */ + padding: 1px 3px 1px 1px; + border: 1px solid; + border-color: #fff #000 #000 #fff; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + padding: 2px 2px 0px 2px; + border: 1px solid; + border-color: #000 #fff #fff #000; +} + +.calendar tbody td.selected { /* Cell showing selected date */ + font-weight: bold; + padding: 2px 2px 0px 2px; + border: 1px solid; + border-color: #000 #fff #fff #000; + background: #d8e0e4; +} + +.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 .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 in footer (only one right now) */ +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + background: #e8f0f4; + padding: 1px; + border: 1px solid #000; + background: #788084; + color: #fff; + 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: #d8e0e4; +} + +.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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; + background: #d8e0e4; + 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 { + background: #c8d0d4; + padding: 0px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar .combo .hilite { + background: #048; + color: #aef; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0px; + text-align: center; + background-color: #e8f0f4; +} + +.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; +} diff --git a/jscalendar-1.0/calendar-win2k-cold-2.css b/jscalendar-1.0/calendar-win2k-cold-2.css new file mode 100644 index 0000000..8e930c8 --- /dev/null +++ b/jscalendar-1.0/calendar-win2k-cold-2.css @@ -0,0 +1,271 @@ +/* The main calendar widget. DIV containing a table. */ + +.calendar { + position: relative; + display: none; + border-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + font-size: 11px; + color: #000; + cursor: default; + background: #c8d4d0; + font-family: tahoma,verdana,sans-serif; +} + +.calendar table { + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + font-size: 11px; + color: #000; + cursor: default; + background: #c8d4d0; + 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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; +} + +.calendar .nav { + background: transparent 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: #788480; + color: #fff; + text-align: center; +} + +.calendar thead .headrow { /* Row containing navigation buttons */ +} + +.calendar thead .daynames { /* Row containing the day names */ +} + +.calendar thead .name { /* Cells containing the day names */ + border-bottom: 1px solid #000; + padding: 2px; + text-align: center; + background: #e8f4f0; +} + +.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-top: 2px solid #fff; + border-right: 2px solid #000; + border-bottom: 2px solid #000; + border-left: 2px solid #fff; + padding: 0px; + background-color: #d8e4e0; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + 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; + background-color: #b8c4c0; +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells 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: #e8f4f0; +} + +.calendar tbody .rowhilite td { + background: #d8e4e0; +} + +.calendar tbody .rowhilite td.wn { + background: #c8d4d0; +} + +.calendar tbody td.hilite { /* Hovered cells */ + 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 */ + padding: 2px 2px 0px 2px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar tbody td.selected { /* Cell showing selected date */ + font-weight: bold; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; + padding: 2px 2px 0px 2px; + background: #d8e4e0; +} + +.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 .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 in footer (only one right now) */ +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + background: #e8f4f0; + padding: 1px; + border: 1px solid #000; + background: #788480; + color: #fff; + 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: #d8e4e0; +} + +.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-top: 1px solid #fff; + border-right: 1px solid #000; + border-bottom: 1px solid #000; + border-left: 1px solid #fff; + background: #d8e4e0; + 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 { + background: #c8d4d0; + padding: 0px; + border-top: 1px solid #000; + border-right: 1px solid #fff; + border-bottom: 1px solid #fff; + border-left: 1px solid #000; +} + +.calendar .combo .hilite { + background: #048; + color: #aef; +} + +.calendar td.time { + border-top: 1px solid #000; + padding: 1px 0px; + text-align: center; + background-color: #e8f0f4; +} + +.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; +} diff --git a/jscalendar-1.0/calendar.js b/jscalendar-1.0/calendar.js new file mode 100644 index 0000000..9088e0e --- /dev/null +++ b/jscalendar-1.0/calendar.js @@ -0,0 +1,1806 @@ +/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo + * ----------------------------------------------------------- + * + * The DHTML Calendar, version 1.0 "It is happening again" + * + * Details and latest version at: + * www.dynarch.com/projects/calendar + * + * This script is developed by Dynarch.com. Visit us at www.dynarch.com. + * + * This script is distributed under the GNU Lesser General Public License. + * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html + */ + +// $Id: calendar.js,v 1.51 2005/03/07 16:44:31 mishoo Exp $ + +/** The Calendar object constructor. */ +Calendar = function (firstDayOfWeek, dateStr, onSelected, onClose) { + // member variables + this.activeDiv = null; + this.currentDateEl = null; + this.getDateStatus = null; + this.getDateToolTip = null; + this.getDateText = null; + this.timeout = null; + this.onSelected = onSelected || null; + this.onClose = onClose || null; + this.dragging = false; + this.hidden = false; + this.minYear = 1970; + this.maxYear = 2050; + this.dateFormat = Calendar._TT["DEF_DATE_FORMAT"]; + this.ttDateFormat = Calendar._TT["TT_DATE_FORMAT"]; + this.isPopup = true; + this.weekNumbers = true; + this.firstDayOfWeek = typeof firstDayOfWeek == "number" ? firstDayOfWeek : Calendar._FD; // 0 for Sunday, 1 for Monday, etc. + this.showsOtherMonths = false; + this.dateStr = dateStr; + this.ar_days = null; + this.showsTime = false; + this.time24 = true; + this.yearStep = 2; + this.hiliteToday = true; + this.multiple = null; + // HTML elements + this.table = null; + this.element = null; + this.tbody = null; + this.firstdayname = null; + // Combo boxes + this.monthsCombo = null; + this.yearsCombo = null; + this.hilitedMonth = null; + this.activeMonth = null; + this.hilitedYear = null; + this.activeYear = null; + // Information + this.dateClicked = false; + + // one-time initializations + if (typeof Calendar._SDN == "undefined") { + // table of short day names + if (typeof Calendar._SDN_len == "undefined") + Calendar._SDN_len = 3; + var ar = new Array(); + for (var i = 8; i > 0;) { + ar[--i] = Calendar._DN[i].substr(0, Calendar._SDN_len); + } + Calendar._SDN = ar; + // table of short month names + if (typeof Calendar._SMN_len == "undefined") + Calendar._SMN_len = 3; + ar = new Array(); + for (var i = 12; i > 0;) { + ar[--i] = Calendar._MN[i].substr(0, Calendar._SMN_len); + } + Calendar._SMN = ar; + } +}; + +// ** constants + +/// "static", needed for event handlers. +Calendar._C = null; + +/// detect a special case of "web browser" +Calendar.is_ie = ( /msie/i.test(navigator.userAgent) && + !/opera/i.test(navigator.userAgent) ); + +Calendar.is_ie5 = ( Calendar.is_ie && /msie 5\.0/i.test(navigator.userAgent) ); + +/// detect Opera browser +Calendar.is_opera = /opera/i.test(navigator.userAgent); + +/// detect KHTML-based browsers +Calendar.is_khtml = /Konqueror|Safari|KHTML/i.test(navigator.userAgent); + +// BEGIN: UTILITY FUNCTIONS; beware that these might be moved into a separate +// library, at some point. + +Calendar.getAbsolutePos = function(el) { + var SL = 0, ST = 0; + var is_div = /^div$/i.test(el.tagName); + if (is_div && el.scrollLeft) + SL = el.scrollLeft; + if (is_div && el.scrollTop) + ST = el.scrollTop; + var r = { x: el.offsetLeft - SL, y: el.offsetTop - ST }; + if (el.offsetParent) { + var tmp = this.getAbsolutePos(el.offsetParent); + r.x += tmp.x; + r.y += tmp.y; + } + return r; +}; + +Calendar.isRelated = function (el, evt) { + var related = evt.relatedTarget; + if (!related) { + var type = evt.type; + if (type == "mouseover") { + related = evt.fromElement; + } else if (type == "mouseout") { + related = evt.toElement; + } + } + while (related) { + if (related == el) { + return true; + } + related = related.parentNode; + } + return false; +}; + +Calendar.removeClass = function(el, className) { + if (!(el && el.className)) { + return; + } + var cls = el.className.split(" "); + var ar = new Array(); + for (var i = cls.length; i > 0;) { + if (cls[--i] != className) { + ar[ar.length] = cls[i]; + } + } + el.className = ar.join(" "); +}; + +Calendar.addClass = function(el, className) { + Calendar.removeClass(el, className); + el.className += " " + className; +}; + +// FIXME: the following 2 functions totally suck, are useless and should be replaced immediately. +Calendar.getElement = function(ev) { + var f = Calendar.is_ie ? window.event.srcElement : ev.currentTarget; + while (f.nodeType != 1 || /^div$/i.test(f.tagName)) + f = f.parentNode; + return f; +}; + +Calendar.getTargetElement = function(ev) { + var f = Calendar.is_ie ? window.event.srcElement : ev.target; + while (f.nodeType != 1) + f = f.parentNode; + return f; +}; + +Calendar.stopEvent = function(ev) { + ev || (ev = window.event); + if (Calendar.is_ie) { + ev.cancelBubble = true; + ev.returnValue = false; + } else { + ev.preventDefault(); + ev.stopPropagation(); + } + return false; +}; + +Calendar.addEvent = function(el, evname, func) { + if (el.attachEvent) { // IE + el.attachEvent("on" + evname, func); + } else if (el.addEventListener) { // Gecko / W3C + el.addEventListener(evname, func, true); + } else { + el["on" + evname] = func; + } +}; + +Calendar.removeEvent = function(el, evname, func) { + if (el.detachEvent) { // IE + el.detachEvent("on" + evname, func); + } else if (el.removeEventListener) { // Gecko / W3C + el.removeEventListener(evname, func, true); + } else { + el["on" + evname] = null; + } +}; + +Calendar.createElement = function(type, parent) { + var el = null; + if (document.createElementNS) { + // use the XHTML namespace; IE won't normally get here unless + // _they_ "fix" the DOM2 implementation. + el = document.createElementNS("http://www.w3.org/1999/xhtml", type); + } else { + el = document.createElement(type); + } + if (typeof parent != "undefined") { + parent.appendChild(el); + } + return el; +}; + +// END: UTILITY FUNCTIONS + +// BEGIN: CALENDAR STATIC FUNCTIONS + +/** Internal -- adds a set of events to make some element behave like a button. */ +Calendar._add_evs = function(el) { + with (Calendar) { + addEvent(el, "mouseover", dayMouseOver); + addEvent(el, "mousedown", dayMouseDown); + addEvent(el, "mouseout", dayMouseOut); + if (is_ie) { + addEvent(el, "dblclick", dayMouseDblClick); + el.setAttribute("unselectable", true); + } + } +}; + +Calendar.findMonth = function(el) { + if (typeof el.month != "undefined") { + return el; + } else if (typeof el.parentNode.month != "undefined") { + return el.parentNode; + } + return null; +}; + +Calendar.findYear = function(el) { + if (typeof el.year != "undefined") { + return el; + } else if (typeof el.parentNode.year != "undefined") { + return el.parentNode; + } + return null; +}; + +Calendar.showMonthsCombo = function () { + var cal = Calendar._C; + if (!cal) { + return false; + } + var cal = cal; + var cd = cal.activeDiv; + var mc = cal.monthsCombo; + if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + if (cal.activeMonth) { + Calendar.removeClass(cal.activeMonth, "active"); + } + var mon = cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()]; + Calendar.addClass(mon, "active"); + cal.activeMonth = mon; + var s = mc.style; + s.display = "block"; + if (cd.navtype < 0) + s.left = cd.offsetLeft + "px"; + else { + var mcw = mc.offsetWidth; + if (typeof mcw == "undefined") + // Konqueror brain-dead techniques + mcw = 50; + s.left = (cd.offsetLeft + cd.offsetWidth - mcw) + "px"; + } + s.top = (cd.offsetTop + cd.offsetHeight) + "px"; +}; + +Calendar.showYearsCombo = function (fwd) { + var cal = Calendar._C; + if (!cal) { + return false; + } + var cal = cal; + var cd = cal.activeDiv; + var yc = cal.yearsCombo; + if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + if (cal.activeYear) { + Calendar.removeClass(cal.activeYear, "active"); + } + cal.activeYear = null; + var Y = cal.date.getFullYear() + (fwd ? 1 : -1); + var yr = yc.firstChild; + var show = false; + for (var i = 12; i > 0; --i) { + if (Y >= cal.minYear && Y <= cal.maxYear) { + yr.innerHTML = Y; + yr.year = Y; + yr.style.display = "block"; + show = true; + } else { + yr.style.display = "none"; + } + yr = yr.nextSibling; + Y += fwd ? cal.yearStep : -cal.yearStep; + } + if (show) { + var s = yc.style; + s.display = "block"; + if (cd.navtype < 0) + s.left = cd.offsetLeft + "px"; + else { + var ycw = yc.offsetWidth; + if (typeof ycw == "undefined") + // Konqueror brain-dead techniques + ycw = 50; + s.left = (cd.offsetLeft + cd.offsetWidth - ycw) + "px"; + } + s.top = (cd.offsetTop + cd.offsetHeight) + "px"; + } +}; + +// event handlers + +Calendar.tableMouseUp = function(ev) { + var cal = Calendar._C; + if (!cal) { + return false; + } + if (cal.timeout) { + clearTimeout(cal.timeout); + } + var el = cal.activeDiv; + if (!el) { + return false; + } + var target = Calendar.getTargetElement(ev); + ev || (ev = window.event); + Calendar.removeClass(el, "active"); + if (target == el || target.parentNode == el) { + Calendar.cellClick(el, ev); + } + var mon = Calendar.findMonth(target); + var date = null; + if (mon) { + date = new Date(cal.date); + if (mon.month != date.getMonth()) { + date.setMonth(mon.month); + cal.setDate(date); + cal.dateClicked = false; + cal.callHandler(); + } + } else { + var year = Calendar.findYear(target); + if (year) { + date = new Date(cal.date); + if (year.year != date.getFullYear()) { + date.setFullYear(year.year); + cal.setDate(date); + cal.dateClicked = false; + cal.callHandler(); + } + } + } + with (Calendar) { + removeEvent(document, "mouseup", tableMouseUp); + removeEvent(document, "mouseover", tableMouseOver); + removeEvent(document, "mousemove", tableMouseOver); + cal._hideCombos(); + _C = null; + return stopEvent(ev); + } +}; + +Calendar.tableMouseOver = function (ev) { + var cal = Calendar._C; + if (!cal) { + return; + } + var el = cal.activeDiv; + var target = Calendar.getTargetElement(ev); + if (target == el || target.parentNode == el) { + Calendar.addClass(el, "hilite active"); + Calendar.addClass(el.parentNode, "rowhilite"); + } else { + if (typeof el.navtype == "undefined" || (el.navtype != 50 && (el.navtype == 0 || Math.abs(el.navtype) > 2))) + Calendar.removeClass(el, "active"); + Calendar.removeClass(el, "hilite"); + Calendar.removeClass(el.parentNode, "rowhilite"); + } + ev || (ev = window.event); + if (el.navtype == 50 && target != el) { + var pos = Calendar.getAbsolutePos(el); + var w = el.offsetWidth; + var x = ev.clientX; + var dx; + var decrease = true; + if (x > pos.x + w) { + dx = x - pos.x - w; + decrease = false; + } else + dx = pos.x - x; + + if (dx < 0) dx = 0; + var range = el._range; + var current = el._current; + var count = Math.floor(dx / 10) % range.length; + for (var i = range.length; --i >= 0;) + if (range[i] == current) + break; + while (count-- > 0) + if (decrease) { + if (--i < 0) + i = range.length - 1; + } else if ( ++i >= range.length ) + i = 0; + var newval = range[i]; + el.innerHTML = newval; + + cal.onUpdateTime(); + } + var mon = Calendar.findMonth(target); + if (mon) { + if (mon.month != cal.date.getMonth()) { + if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + Calendar.addClass(mon, "hilite"); + cal.hilitedMonth = mon; + } else if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + } else { + if (cal.hilitedMonth) { + Calendar.removeClass(cal.hilitedMonth, "hilite"); + } + var year = Calendar.findYear(target); + if (year) { + if (year.year != cal.date.getFullYear()) { + if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + Calendar.addClass(year, "hilite"); + cal.hilitedYear = year; + } else if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + } else if (cal.hilitedYear) { + Calendar.removeClass(cal.hilitedYear, "hilite"); + } + } + return Calendar.stopEvent(ev); +}; + +Calendar.tableMouseDown = function (ev) { + if (Calendar.getTargetElement(ev) == Calendar.getElement(ev)) { + return Calendar.stopEvent(ev); + } +}; + +Calendar.calDragIt = function (ev) { + var cal = Calendar._C; + if (!(cal && cal.dragging)) { + return false; + } + var posX; + var posY; + if (Calendar.is_ie) { + posY = window.event.clientY + document.body.scrollTop; + posX = window.event.clientX + document.body.scrollLeft; + } else { + posX = ev.pageX; + posY = ev.pageY; + } + cal.hideShowCovered(); + var st = cal.element.style; + st.left = (posX - cal.xOffs) + "px"; + st.top = (posY - cal.yOffs) + "px"; + return Calendar.stopEvent(ev); +}; + +Calendar.calDragEnd = function (ev) { + var cal = Calendar._C; + if (!cal) { + return false; + } + cal.dragging = false; + with (Calendar) { + removeEvent(document, "mousemove", calDragIt); + removeEvent(document, "mouseup", calDragEnd); + tableMouseUp(ev); + } + cal.hideShowCovered(); +}; + +Calendar.dayMouseDown = function(ev) { + var el = Calendar.getElement(ev); + if (el.disabled) { + return false; + } + var cal = el.calendar; + cal.activeDiv = el; + Calendar._C = cal; + if (el.navtype != 300) with (Calendar) { + if (el.navtype == 50) { + el._current = el.innerHTML; + addEvent(document, "mousemove", tableMouseOver); + } else + addEvent(document, Calendar.is_ie5 ? "mousemove" : "mouseover", tableMouseOver); + addClass(el, "hilite active"); + addEvent(document, "mouseup", tableMouseUp); + } else if (cal.isPopup) { + cal._dragStart(ev); + } + if (el.navtype == -1 || el.navtype == 1) { + if (cal.timeout) clearTimeout(cal.timeout); + cal.timeout = setTimeout("Calendar.showMonthsCombo()", 250); + } else if (el.navtype == -2 || el.navtype == 2) { + if (cal.timeout) clearTimeout(cal.timeout); + cal.timeout = setTimeout((el.navtype > 0) ? "Calendar.showYearsCombo(true)" : "Calendar.showYearsCombo(false)", 250); + } else { + cal.timeout = null; + } + return Calendar.stopEvent(ev); +}; + +Calendar.dayMouseDblClick = function(ev) { + Calendar.cellClick(Calendar.getElement(ev), ev || window.event); + if (Calendar.is_ie) { + document.selection.empty(); + } +}; + +Calendar.dayMouseOver = function(ev) { + var el = Calendar.getElement(ev); + if (Calendar.isRelated(el, ev) || Calendar._C || el.disabled) { + return false; + } + if (el.ttip) { + if (el.ttip.substr(0, 1) == "_") { + el.ttip = el.caldate.print(el.calendar.ttDateFormat) + el.ttip.substr(1); + } + el.calendar.tooltips.innerHTML = el.ttip; + } + if (el.navtype != 300) { + Calendar.addClass(el, "hilite"); + if (el.caldate) { + Calendar.addClass(el.parentNode, "rowhilite"); + } + } + return Calendar.stopEvent(ev); +}; + +Calendar.dayMouseOut = function(ev) { + with (Calendar) { + var el = getElement(ev); + if (isRelated(el, ev) || _C || el.disabled) + return false; + removeClass(el, "hilite"); + if (el.caldate) + removeClass(el.parentNode, "rowhilite"); + if (el.calendar) + el.calendar.tooltips.innerHTML = _TT["SEL_DATE"]; + return stopEvent(ev); + } +}; + +/** + * A generic "click" handler :) handles all types of buttons defined in this + * calendar. + */ +Calendar.cellClick = function(el, ev) { + var cal = el.calendar; + var closing = false; + var newdate = false; + var date = null; + if (typeof el.navtype == "undefined") { + if (cal.currentDateEl) { + Calendar.removeClass(cal.currentDateEl, "selected"); + Calendar.addClass(el, "selected"); + closing = (cal.currentDateEl == el); + if (!closing) { + cal.currentDateEl = el; + } + } + cal.date.setDateOnly(el.caldate); + date = cal.date; + var other_month = !(cal.dateClicked = !el.otherMonth); + if (!other_month && !cal.currentDateEl) + cal._toggleMultipleDate(new Date(date)); + else + newdate = !el.disabled; + // a date was clicked + if (other_month) + cal._init(cal.firstDayOfWeek, date); + } else { + if (el.navtype == 200) { + Calendar.removeClass(el, "hilite"); + cal.callCloseHandler(); + return; + } + date = new Date(cal.date); + if (el.navtype == 0) + date.setDateOnly(new Date()); // TODAY + // unless "today" was clicked, we assume no date was clicked so + // the selected handler will know not to close the calenar when + // in single-click mode. + // cal.dateClicked = (el.navtype == 0); + cal.dateClicked = false; + var year = date.getFullYear(); + var mon = date.getMonth(); + function setMonth(m) { + var day = date.getDate(); + var max = date.getMonthDays(m); + if (day > max) { + date.setDate(max); + } + date.setMonth(m); + }; + switch (el.navtype) { + case 400: + Calendar.removeClass(el, "hilite"); + var text = Calendar._TT["ABOUT"]; + if (typeof text != "undefined") { + text += cal.showsTime ? Calendar._TT["ABOUT_TIME"] : ""; + } else { + // FIXME: this should be removed as soon as lang files get updated! + text = "Help and about box text is not translated into this language.\n" + + "If you know this language and you feel generous please update\n" + + "the corresponding file in \"lang\" subdir to match calendar-en.js\n" + + "and send it back to to get it into the distribution ;-)\n\n" + + "Thank you!\n" + + "http://dynarch.com/mishoo/calendar.epl\n"; + } + alert(text); + return; + case -2: + if (year > cal.minYear) { + date.setFullYear(year - 1); + } + break; + case -1: + if (mon > 0) { + setMonth(mon - 1); + } else if (year-- > cal.minYear) { + date.setFullYear(year); + setMonth(11); + } + break; + case 1: + if (mon < 11) { + setMonth(mon + 1); + } else if (year < cal.maxYear) { + date.setFullYear(year + 1); + setMonth(0); + } + break; + case 2: + if (year < cal.maxYear) { + date.setFullYear(year + 1); + } + break; + case 100: + cal.setFirstDayOfWeek(el.fdow); + return; + case 50: + var range = el._range; + var current = el.innerHTML; + for (var i = range.length; --i >= 0;) + if (range[i] == current) + break; + if (ev && ev.shiftKey) { + if (--i < 0) + i = range.length - 1; + } else if ( ++i >= range.length ) + i = 0; + var newval = range[i]; + el.innerHTML = newval; + cal.onUpdateTime(); + return; + case 0: + // TODAY will bring us here + if ((typeof cal.getDateStatus == "function") && + cal.getDateStatus(date, date.getFullYear(), date.getMonth(), date.getDate())) { + return false; + } + break; + } + if (!date.equalsTo(cal.date)) { + cal.setDate(date); + newdate = true; + } else if (el.navtype == 0) + newdate = closing = true; + } + if (newdate) { + ev && cal.callHandler(); + } + if (closing) { + Calendar.removeClass(el, "hilite"); + ev && cal.callCloseHandler(); + } +}; + +// END: CALENDAR STATIC FUNCTIONS + +// BEGIN: CALENDAR OBJECT FUNCTIONS + +/** + * This function creates the calendar inside the given parent. If _par is + * null than it creates a popup calendar inside the BODY element. If _par is + * an element, be it BODY, then it creates a non-popup calendar (still + * hidden). Some properties need to be set before calling this function. + */ +Calendar.prototype.create = function (_par) { + var parent = null; + if (! _par) { + // default parent is the document body, in which case we create + // a popup calendar. + parent = document.getElementsByTagName("body")[0]; + this.isPopup = true; + } else { + parent = _par; + this.isPopup = false; + } + this.date = this.dateStr ? new Date(this.dateStr) : new Date(); + + var table = Calendar.createElement("table"); + this.table = table; + table.cellSpacing = 0; + table.cellPadding = 0; + table.calendar = this; + Calendar.addEvent(table, "mousedown", Calendar.tableMouseDown); + + var div = Calendar.createElement("div"); + this.element = div; + div.className = "calendar"; + if (this.isPopup) { + div.style.position = "absolute"; + div.style.display = "none"; + } + div.appendChild(table); + + var thead = Calendar.createElement("thead", table); + var cell = null; + var row = null; + + var cal = this; + var hh = function (text, cs, navtype) { + cell = Calendar.createElement("td", row); + cell.colSpan = cs; + cell.className = "button"; + if (navtype != 0 && Math.abs(navtype) <= 2) + cell.className += " nav"; + Calendar._add_evs(cell); + cell.calendar = cal; + cell.navtype = navtype; + cell.innerHTML = "
    " + text + "
    "; + return cell; + }; + + row = Calendar.createElement("tr", thead); + var title_length = 6; + (this.isPopup) && --title_length; + (this.weekNumbers) && ++title_length; + + hh("?", 1, 400).ttip = Calendar._TT["INFO"]; + this.title = hh("", title_length, 300); + this.title.className = "title"; + if (this.isPopup) { + this.title.ttip = Calendar._TT["DRAG_TO_MOVE"]; + this.title.style.cursor = "move"; + hh("×", 1, 200).ttip = Calendar._TT["CLOSE"]; + } + + row = Calendar.createElement("tr", thead); + row.className = "headrow"; + + this._nav_py = hh("«", 1, -2); + this._nav_py.ttip = Calendar._TT["PREV_YEAR"]; + + this._nav_pm = hh("‹", 1, -1); + this._nav_pm.ttip = Calendar._TT["PREV_MONTH"]; + + this._nav_now = hh(Calendar._TT["TODAY"], this.weekNumbers ? 4 : 3, 0); + this._nav_now.ttip = Calendar._TT["GO_TODAY"]; + + this._nav_nm = hh("›", 1, 1); + this._nav_nm.ttip = Calendar._TT["NEXT_MONTH"]; + + this._nav_ny = hh("»", 1, 2); + this._nav_ny.ttip = Calendar._TT["NEXT_YEAR"]; + + // day names + row = Calendar.createElement("tr", thead); + row.className = "daynames"; + if (this.weekNumbers) { + cell = Calendar.createElement("td", row); + cell.className = "name wn"; + cell.innerHTML = Calendar._TT["WK"]; + } + for (var i = 7; i > 0; --i) { + cell = Calendar.createElement("td", row); + if (!i) { + cell.navtype = 100; + cell.calendar = this; + Calendar._add_evs(cell); + } + } + this.firstdayname = (this.weekNumbers) ? row.firstChild.nextSibling : row.firstChild; + this._displayWeekdays(); + + var tbody = Calendar.createElement("tbody", table); + this.tbody = tbody; + + for (i = 6; i > 0; --i) { + row = Calendar.createElement("tr", tbody); + if (this.weekNumbers) { + cell = Calendar.createElement("td", row); + } + for (var j = 7; j > 0; --j) { + cell = Calendar.createElement("td", row); + cell.calendar = this; + Calendar._add_evs(cell); + } + } + + if (this.showsTime) { + row = Calendar.createElement("tr", tbody); + row.className = "time"; + + cell = Calendar.createElement("td", row); + cell.className = "time"; + cell.colSpan = 2; + cell.innerHTML = Calendar._TT["TIME"] || " "; + + cell = Calendar.createElement("td", row); + cell.className = "time"; + cell.colSpan = this.weekNumbers ? 4 : 3; + + (function(){ + function makeTimePart(className, init, range_start, range_end) { + var part = Calendar.createElement("span", cell); + part.className = className; + part.innerHTML = init; + part.calendar = cal; + part.ttip = Calendar._TT["TIME_PART"]; + part.navtype = 50; + part._range = []; + if (typeof range_start != "number") + part._range = range_start; + else { + for (var i = range_start; i <= range_end; ++i) { + var txt; + if (i < 10 && range_end >= 10) txt = '0' + i; + else txt = '' + i; + part._range[part._range.length] = txt; + } + } + Calendar._add_evs(part); + return part; + }; + var hrs = cal.date.getHours(); + var mins = cal.date.getMinutes(); + var t12 = !cal.time24; + var pm = (hrs > 12); + if (t12 && pm) hrs -= 12; + var H = makeTimePart("hour", hrs, t12 ? 1 : 0, t12 ? 12 : 23); + var span = Calendar.createElement("span", cell); + span.innerHTML = ":"; + span.className = "colon"; + var M = makeTimePart("minute", mins, 0, 59); + var AP = null; + cell = Calendar.createElement("td", row); + cell.className = "time"; + cell.colSpan = 2; + if (t12) + AP = makeTimePart("ampm", pm ? "pm" : "am", ["am", "pm"]); + else + cell.innerHTML = " "; + + cal.onSetTime = function() { + var pm, hrs = this.date.getHours(), + mins = this.date.getMinutes(); + if (t12) { + pm = (hrs >= 12); + if (pm) hrs -= 12; + if (hrs == 0) hrs = 12; + AP.innerHTML = pm ? "pm" : "am"; + } + H.innerHTML = (hrs < 10) ? ("0" + hrs) : hrs; + M.innerHTML = (mins < 10) ? ("0" + mins) : mins; + }; + + cal.onUpdateTime = function() { + var date = this.date; + var h = parseInt(H.innerHTML, 10); + if (t12) { + if (/pm/i.test(AP.innerHTML) && h < 12) + h += 12; + else if (/am/i.test(AP.innerHTML) && h == 12) + h = 0; + } + var d = date.getDate(); + var m = date.getMonth(); + var y = date.getFullYear(); + date.setHours(h); + date.setMinutes(parseInt(M.innerHTML, 10)); + date.setFullYear(y); + date.setMonth(m); + date.setDate(d); + this.dateClicked = false; + this.callHandler(); + }; + })(); + } else { + this.onSetTime = this.onUpdateTime = function() {}; + } + + var tfoot = Calendar.createElement("tfoot", table); + + row = Calendar.createElement("tr", tfoot); + row.className = "footrow"; + + cell = hh(Calendar._TT["SEL_DATE"], this.weekNumbers ? 8 : 7, 300); + cell.className = "ttip"; + if (this.isPopup) { + cell.ttip = Calendar._TT["DRAG_TO_MOVE"]; + cell.style.cursor = "move"; + } + this.tooltips = cell; + + div = Calendar.createElement("div", this.element); + this.monthsCombo = div; + div.className = "combo"; + for (i = 0; i < Calendar._MN.length; ++i) { + var mn = Calendar.createElement("div"); + mn.className = Calendar.is_ie ? "label-IEfix" : "label"; + mn.month = i; + mn.innerHTML = Calendar._SMN[i]; + div.appendChild(mn); + } + + div = Calendar.createElement("div", this.element); + this.yearsCombo = div; + div.className = "combo"; + for (i = 12; i > 0; --i) { + var yr = Calendar.createElement("div"); + yr.className = Calendar.is_ie ? "label-IEfix" : "label"; + div.appendChild(yr); + } + + this._init(this.firstDayOfWeek, this.date); + parent.appendChild(this.element); +}; + +/** keyboard navigation, only for popup calendars */ +Calendar._keyEvent = function(ev) { + var cal = window._dynarch_popupCalendar; + if (!cal || cal.multiple) + return false; + (Calendar.is_ie) && (ev = window.event); + var act = (Calendar.is_ie || ev.type == "keypress"), + K = ev.keyCode; + if (ev.ctrlKey) { + switch (K) { + case 37: // KEY left + act && Calendar.cellClick(cal._nav_pm); + break; + case 38: // KEY up + act && Calendar.cellClick(cal._nav_py); + break; + case 39: // KEY right + act && Calendar.cellClick(cal._nav_nm); + break; + case 40: // KEY down + act && Calendar.cellClick(cal._nav_ny); + break; + default: + return false; + } + } else switch (K) { + case 32: // KEY space (now) + Calendar.cellClick(cal._nav_now); + break; + case 27: // KEY esc + act && cal.callCloseHandler(); + break; + case 37: // KEY left + case 38: // KEY up + case 39: // KEY right + case 40: // KEY down + if (act) { + var prev, x, y, ne, el, step; + prev = K == 37 || K == 38; + step = (K == 37 || K == 39) ? 1 : 7; + function setVars() { + el = cal.currentDateEl; + var p = el.pos; + x = p & 15; + y = p >> 4; + ne = cal.ar_days[y][x]; + };setVars(); + function prevMonth() { + var date = new Date(cal.date); + date.setDate(date.getDate() - step); + cal.setDate(date); + }; + function nextMonth() { + var date = new Date(cal.date); + date.setDate(date.getDate() + step); + cal.setDate(date); + }; + while (1) { + switch (K) { + case 37: // KEY left + if (--x >= 0) + ne = cal.ar_days[y][x]; + else { + x = 6; + K = 38; + continue; + } + break; + case 38: // KEY up + if (--y >= 0) + ne = cal.ar_days[y][x]; + else { + prevMonth(); + setVars(); + } + break; + case 39: // KEY right + if (++x < 7) + ne = cal.ar_days[y][x]; + else { + x = 0; + K = 40; + continue; + } + break; + case 40: // KEY down + if (++y < cal.ar_days.length) + ne = cal.ar_days[y][x]; + else { + nextMonth(); + setVars(); + } + break; + } + break; + } + if (ne) { + if (!ne.disabled) + Calendar.cellClick(ne); + else if (prev) + prevMonth(); + else + nextMonth(); + } + } + break; + case 13: // KEY enter + if (act) + Calendar.cellClick(cal.currentDateEl, ev); + break; + default: + return false; + } + return Calendar.stopEvent(ev); +}; + +/** + * (RE)Initializes the calendar to the given date and firstDayOfWeek + */ +Calendar.prototype._init = function (firstDayOfWeek, date) { + var today = new Date(), + TY = today.getFullYear(), + TM = today.getMonth(), + TD = today.getDate(); + this.table.style.visibility = "hidden"; + var year = date.getFullYear(); + if (year < this.minYear) { + year = this.minYear; + date.setFullYear(year); + } else if (year > this.maxYear) { + year = this.maxYear; + date.setFullYear(year); + } + this.firstDayOfWeek = firstDayOfWeek; + this.date = new Date(date); + var month = date.getMonth(); + var mday = date.getDate(); + var no_days = date.getMonthDays(); + + // calendar voodoo for computing the first day that would actually be + // displayed in the calendar, even if it's from the previous month. + // WARNING: this is magic. ;-) + date.setDate(1); + var day1 = (date.getDay() - this.firstDayOfWeek) % 7; + if (day1 < 0) + day1 += 7; + date.setDate(-day1); + date.setDate(date.getDate() + 1); + + var row = this.tbody.firstChild; + var MN = Calendar._SMN[month]; + var ar_days = this.ar_days = new Array(); + var weekend = Calendar._TT["WEEKEND"]; + var dates = this.multiple ? (this.datesCells = {}) : null; + for (var i = 0; i < 6; ++i, row = row.nextSibling) { + var cell = row.firstChild; + if (this.weekNumbers) { + cell.className = "day wn"; + cell.innerHTML = date.getWeekNumber(); + cell = cell.nextSibling; + } + row.className = "daysrow"; + var hasdays = false, iday, dpos = ar_days[i] = []; + for (var j = 0; j < 7; ++j, cell = cell.nextSibling, date.setDate(iday + 1)) { + iday = date.getDate(); + var wday = date.getDay(); + cell.className = "day"; + cell.pos = i << 4 | j; + dpos[j] = cell; + var current_month = (date.getMonth() == month); + if (!current_month) { + if (this.showsOtherMonths) { + cell.className += " othermonth"; + cell.otherMonth = true; + } else { + cell.className = "emptycell"; + cell.innerHTML = " "; + cell.disabled = true; + continue; + } + } else { + cell.otherMonth = false; + hasdays = true; + } + cell.disabled = false; + cell.innerHTML = this.getDateText ? this.getDateText(date, iday) : iday; + if (dates) + dates[date.print("%Y%m%d")] = cell; + if (this.getDateStatus) { + var status = this.getDateStatus(date, year, month, iday); + if (this.getDateToolTip) { + var toolTip = this.getDateToolTip(date, year, month, iday); + if (toolTip) + cell.title = toolTip; + } + if (status === true) { + cell.className += " disabled"; + cell.disabled = true; + } else { + if (/disabled/i.test(status)) + cell.disabled = true; + cell.className += " " + status; + } + } + if (!cell.disabled) { + cell.caldate = new Date(date); + cell.ttip = "_"; + if (!this.multiple && current_month + && iday == mday && this.hiliteToday) { + cell.className += " selected"; + this.currentDateEl = cell; + } + if (date.getFullYear() == TY && + date.getMonth() == TM && + iday == TD) { + cell.className += " today"; + cell.ttip += Calendar._TT["PART_TODAY"]; + } + if (weekend.indexOf(wday.toString()) != -1) + cell.className += cell.otherMonth ? " oweekend" : " weekend"; + } + } + if (!(hasdays || this.showsOtherMonths)) + row.className = "emptyrow"; + } + this.title.innerHTML = Calendar._MN[month] + ", " + year; + this.onSetTime(); + this.table.style.visibility = "visible"; + this._initMultipleDates(); + // PROFILE + // this.tooltips.innerHTML = "Generated in " + ((new Date()) - today) + " ms"; +}; + +Calendar.prototype._initMultipleDates = function() { + if (this.multiple) { + for (var i in this.multiple) { + var cell = this.datesCells[i]; + var d = this.multiple[i]; + if (!d) + continue; + if (cell) + cell.className += " selected"; + } + } +}; + +Calendar.prototype._toggleMultipleDate = function(date) { + if (this.multiple) { + var ds = date.print("%Y%m%d"); + var cell = this.datesCells[ds]; + if (cell) { + var d = this.multiple[ds]; + if (!d) { + Calendar.addClass(cell, "selected"); + this.multiple[ds] = date; + } else { + Calendar.removeClass(cell, "selected"); + delete this.multiple[ds]; + } + } + } +}; + +Calendar.prototype.setDateToolTipHandler = function (unaryFunction) { + this.getDateToolTip = unaryFunction; +}; + +/** + * Calls _init function above for going to a certain date (but only if the + * date is different than the currently selected one). + */ +Calendar.prototype.setDate = function (date) { + if (!date.equalsTo(this.date)) { + this._init(this.firstDayOfWeek, date); + } +}; + +/** + * Refreshes the calendar. Useful if the "disabledHandler" function is + * dynamic, meaning that the list of disabled date can change at runtime. + * Just * call this function if you think that the list of disabled dates + * should * change. + */ +Calendar.prototype.refresh = function () { + this._init(this.firstDayOfWeek, this.date); +}; + +/** Modifies the "firstDayOfWeek" parameter (pass 0 for Synday, 1 for Monday, etc.). */ +Calendar.prototype.setFirstDayOfWeek = function (firstDayOfWeek) { + this._init(firstDayOfWeek, this.date); + this._displayWeekdays(); +}; + +/** + * Allows customization of what dates are enabled. The "unaryFunction" + * parameter must be a function object that receives the date (as a JS Date + * object) and returns a boolean value. If the returned value is true then + * the passed date will be marked as disabled. + */ +Calendar.prototype.setDateStatusHandler = Calendar.prototype.setDisabledHandler = function (unaryFunction) { + this.getDateStatus = unaryFunction; +}; + +/** Customization of allowed year range for the calendar. */ +Calendar.prototype.setRange = function (a, z) { + this.minYear = a; + this.maxYear = z; +}; + +/** Calls the first user handler (selectedHandler). */ +Calendar.prototype.callHandler = function () { + if (this.onSelected) { + this.onSelected(this, this.date.print(this.dateFormat)); + } +}; + +/** Calls the second user handler (closeHandler). */ +Calendar.prototype.callCloseHandler = function () { + if (this.onClose) { + this.onClose(this); + } + this.hideShowCovered(); +}; + +/** Removes the calendar object from the DOM tree and destroys it. */ +Calendar.prototype.destroy = function () { + var el = this.element.parentNode; + el.removeChild(this.element); + Calendar._C = null; + window._dynarch_popupCalendar = null; +}; + +/** + * Moves the calendar element to a different section in the DOM tree (changes + * its parent). + */ +Calendar.prototype.reparent = function (new_parent) { + var el = this.element; + el.parentNode.removeChild(el); + new_parent.appendChild(el); +}; + +// This gets called when the user presses a mouse button anywhere in the +// document, if the calendar is shown. If the click was outside the open +// calendar this function closes it. +Calendar._checkCalendar = function(ev) { + var calendar = window._dynarch_popupCalendar; + if (!calendar) { + return false; + } + var el = Calendar.is_ie ? Calendar.getElement(ev) : Calendar.getTargetElement(ev); + for (; el != null && el != calendar.element; el = el.parentNode); + if (el == null) { + // calls closeHandler which should hide the calendar. + window._dynarch_popupCalendar.callCloseHandler(); + return Calendar.stopEvent(ev); + } +}; + +/** Shows the calendar. */ +Calendar.prototype.show = function () { + var rows = this.table.getElementsByTagName("tr"); + for (var i = rows.length; i > 0;) { + var row = rows[--i]; + Calendar.removeClass(row, "rowhilite"); + var cells = row.getElementsByTagName("td"); + for (var j = cells.length; j > 0;) { + var cell = cells[--j]; + Calendar.removeClass(cell, "hilite"); + Calendar.removeClass(cell, "active"); + } + } + this.element.style.display = "block"; + this.hidden = false; + if (this.isPopup) { + window._dynarch_popupCalendar = this; + Calendar.addEvent(document, "keydown", Calendar._keyEvent); + Calendar.addEvent(document, "keypress", Calendar._keyEvent); + Calendar.addEvent(document, "mousedown", Calendar._checkCalendar); + } + this.hideShowCovered(); +}; + +/** + * Hides the calendar. Also removes any "hilite" from the class of any TD + * element. + */ +Calendar.prototype.hide = function () { + if (this.isPopup) { + Calendar.removeEvent(document, "keydown", Calendar._keyEvent); + Calendar.removeEvent(document, "keypress", Calendar._keyEvent); + Calendar.removeEvent(document, "mousedown", Calendar._checkCalendar); + } + this.element.style.display = "none"; + this.hidden = true; + this.hideShowCovered(); +}; + +/** + * Shows the calendar at a given absolute position (beware that, depending on + * the calendar element style -- position property -- this might be relative + * to the parent's containing rectangle). + */ +Calendar.prototype.showAt = function (x, y) { + var s = this.element.style; + s.left = x + "px"; + s.top = y + "px"; + this.show(); +}; + +/** Shows the calendar near a given element. */ +Calendar.prototype.showAtElement = function (el, opts) { + var self = this; + var p = Calendar.getAbsolutePos(el); + if (!opts || typeof opts != "string") { + this.showAt(p.x, p.y + el.offsetHeight); + return true; + } + function fixPosition(box) { + if (box.x < 0) + box.x = 0; + if (box.y < 0) + box.y = 0; + var cp = document.createElement("div"); + var s = cp.style; + s.position = "absolute"; + s.right = s.bottom = s.width = s.height = "0px"; + document.body.appendChild(cp); + var br = Calendar.getAbsolutePos(cp); + document.body.removeChild(cp); + if (Calendar.is_ie) { + br.y += document.body.scrollTop; + br.x += document.body.scrollLeft; + } else { + br.y += window.scrollY; + br.x += window.scrollX; + } + var tmp = box.x + box.width - br.x; + if (tmp > 0) box.x -= tmp; + tmp = box.y + box.height - br.y; + if (tmp > 0) box.y -= tmp; + }; + this.element.style.display = "block"; + Calendar.continuation_for_the_fucking_khtml_browser = function() { + var w = self.element.offsetWidth; + var h = self.element.offsetHeight; + self.element.style.display = "none"; + var valign = opts.substr(0, 1); + var halign = "l"; + if (opts.length > 1) { + halign = opts.substr(1, 1); + } + // vertical alignment + switch (valign) { + case "T": p.y -= h; break; + case "B": p.y += el.offsetHeight; break; + case "C": p.y += (el.offsetHeight - h) / 2; break; + case "t": p.y += el.offsetHeight - h; break; + case "b": break; // already there + } + // horizontal alignment + switch (halign) { + case "L": p.x -= w; break; + case "R": p.x += el.offsetWidth; break; + case "C": p.x += (el.offsetWidth - w) / 2; break; + case "l": p.x += el.offsetWidth - w; break; + case "r": break; // already there + } + p.width = w; + p.height = h + 40; + self.monthsCombo.style.display = "none"; + fixPosition(p); + self.showAt(p.x, p.y); + }; + if (Calendar.is_khtml) + setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()", 10); + else + Calendar.continuation_for_the_fucking_khtml_browser(); +}; + +/** Customizes the date format. */ +Calendar.prototype.setDateFormat = function (str) { + this.dateFormat = str; +}; + +/** Customizes the tooltip date format. */ +Calendar.prototype.setTtDateFormat = function (str) { + this.ttDateFormat = str; +}; + +/** + * Tries to identify the date represented in a string. If successful it also + * calls this.setDate which moves the calendar to the given date. + */ +Calendar.prototype.parseDate = function(str, fmt) { + if (!fmt) + fmt = this.dateFormat; + this.setDate(Date.parseDate(str, fmt)); +}; + +Calendar.prototype.hideShowCovered = function () { + if (!Calendar.is_ie && !Calendar.is_opera) + return; + function getVisib(obj){ + var value = obj.style.visibility; + if (!value) { + if (document.defaultView && typeof (document.defaultView.getComputedStyle) == "function") { // Gecko, W3C + if (!Calendar.is_khtml) + value = document.defaultView. + getComputedStyle(obj, "").getPropertyValue("visibility"); + else + value = ''; + } else if (obj.currentStyle) { // IE + value = obj.currentStyle.visibility; + } else + value = ''; + } + return value; + }; + + var tags = new Array("applet", "iframe", "select"); + var el = this.element; + + var p = Calendar.getAbsolutePos(el); + var EX1 = p.x; + var EX2 = el.offsetWidth + EX1; + var EY1 = p.y; + var EY2 = el.offsetHeight + EY1; + + for (var k = tags.length; k > 0; ) { + var ar = document.getElementsByTagName(tags[--k]); + var cc = null; + + for (var i = ar.length; i > 0;) { + cc = ar[--i]; + + p = Calendar.getAbsolutePos(cc); + var CX1 = p.x; + var CX2 = cc.offsetWidth + CX1; + var CY1 = p.y; + var CY2 = cc.offsetHeight + CY1; + + if (this.hidden || (CX1 > EX2) || (CX2 < EX1) || (CY1 > EY2) || (CY2 < EY1)) { + if (!cc.__msh_save_visibility) { + cc.__msh_save_visibility = getVisib(cc); + } + cc.style.visibility = cc.__msh_save_visibility; + } else { + if (!cc.__msh_save_visibility) { + cc.__msh_save_visibility = getVisib(cc); + } + cc.style.visibility = "hidden"; + } + } + } +}; + +/** Internal function; it displays the bar with the names of the weekday. */ +Calendar.prototype._displayWeekdays = function () { + var fdow = this.firstDayOfWeek; + var cell = this.firstdayname; + var weekend = Calendar._TT["WEEKEND"]; + for (var i = 0; i < 7; ++i) { + cell.className = "day name"; + var realday = (i + fdow) % 7; + if (i) { + cell.ttip = Calendar._TT["DAY_FIRST"].replace("%s", Calendar._DN[realday]); + cell.navtype = 100; + cell.calendar = this; + cell.fdow = realday; + Calendar._add_evs(cell); + } + if (weekend.indexOf(realday.toString()) != -1) { + Calendar.addClass(cell, "weekend"); + } + cell.innerHTML = Calendar._SDN[(i + fdow) % 7]; + cell = cell.nextSibling; + } +}; + +/** Internal function. Hides all combo boxes that might be displayed. */ +Calendar.prototype._hideCombos = function () { + this.monthsCombo.style.display = "none"; + this.yearsCombo.style.display = "none"; +}; + +/** Internal function. Starts dragging the element. */ +Calendar.prototype._dragStart = function (ev) { + if (this.dragging) { + return; + } + this.dragging = true; + var posX; + var posY; + if (Calendar.is_ie) { + posY = window.event.clientY + document.body.scrollTop; + posX = window.event.clientX + document.body.scrollLeft; + } else { + posY = ev.clientY + window.scrollY; + posX = ev.clientX + window.scrollX; + } + var st = this.element.style; + this.xOffs = posX - parseInt(st.left); + this.yOffs = posY - parseInt(st.top); + with (Calendar) { + addEvent(document, "mousemove", calDragIt); + addEvent(document, "mouseup", calDragEnd); + } +}; + +// BEGIN: DATE OBJECT PATCHES + +/** Adds the number of days array to the Date object. */ +Date._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31); + +/** Constants used for time computations */ +Date.SECOND = 1000 /* milliseconds */; +Date.MINUTE = 60 * Date.SECOND; +Date.HOUR = 60 * Date.MINUTE; +Date.DAY = 24 * Date.HOUR; +Date.WEEK = 7 * Date.DAY; + +Date.parseDate = function(str, fmt) { + var today = new Date(); + var y = 0; + var m = -1; + var d = 0; + var a = str.split(/\W+/); + var b = fmt.match(/%./g); + var i = 0, j = 0; + var hr = 0; + var min = 0; + for (i = 0; i < a.length; ++i) { + if (!a[i]) + continue; + switch (b[i]) { + case "%d": + case "%e": + d = parseInt(a[i], 10); + break; + + case "%m": + m = parseInt(a[i], 10) - 1; + break; + + case "%Y": + case "%y": + y = parseInt(a[i], 10); + (y < 100) && (y += (y > 29) ? 1900 : 2000); + break; + + case "%b": + case "%B": + for (j = 0; j < 12; ++j) { + if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { m = j; break; } + } + break; + + case "%H": + case "%I": + case "%k": + case "%l": + hr = parseInt(a[i], 10); + break; + + case "%P": + case "%p": + if (/pm/i.test(a[i]) && hr < 12) + hr += 12; + else if (/am/i.test(a[i]) && hr >= 12) + hr -= 12; + break; + + case "%M": + min = parseInt(a[i], 10); + break; + } + } + if (isNaN(y)) y = today.getFullYear(); + if (isNaN(m)) m = today.getMonth(); + if (isNaN(d)) d = today.getDate(); + if (isNaN(hr)) hr = today.getHours(); + if (isNaN(min)) min = today.getMinutes(); + if (y != 0 && m != -1 && d != 0) + return new Date(y, m, d, hr, min, 0); + y = 0; m = -1; d = 0; + for (i = 0; i < a.length; ++i) { + if (a[i].search(/[a-zA-Z]+/) != -1) { + var t = -1; + for (j = 0; j < 12; ++j) { + if (Calendar._MN[j].substr(0, a[i].length).toLowerCase() == a[i].toLowerCase()) { t = j; break; } + } + if (t != -1) { + if (m != -1) { + d = m+1; + } + m = t; + } + } else if (parseInt(a[i], 10) <= 12 && m == -1) { + m = a[i]-1; + } else if (parseInt(a[i], 10) > 31 && y == 0) { + y = parseInt(a[i], 10); + (y < 100) && (y += (y > 29) ? 1900 : 2000); + } else if (d == 0) { + d = a[i]; + } + } + if (y == 0) + y = today.getFullYear(); + if (m != -1 && d != 0) + return new Date(y, m, d, hr, min, 0); + return today; +}; + +/** Returns the number of days in the current month */ +Date.prototype.getMonthDays = function(month) { + var year = this.getFullYear(); + if (typeof month == "undefined") { + month = this.getMonth(); + } + if (((0 == (year%4)) && ( (0 != (year%100)) || (0 == (year%400)))) && month == 1) { + return 29; + } else { + return Date._MD[month]; + } +}; + +/** Returns the number of day in the year. */ +Date.prototype.getDayOfYear = function() { + var now = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0); + var then = new Date(this.getFullYear(), 0, 0, 0, 0, 0); + var time = now - then; + return Math.floor(time / Date.DAY); +}; + +/** Returns the number of the week in year, as defined in ISO 8601. */ +Date.prototype.getWeekNumber = function() { + var d = new Date(this.getFullYear(), this.getMonth(), this.getDate(), 0, 0, 0); + var DoW = d.getDay(); + d.setDate(d.getDate() - (DoW + 6) % 7 + 3); // Nearest Thu + var ms = d.valueOf(); // GMT + d.setMonth(0); + d.setDate(4); // Thu in Week 1 + return Math.round((ms - d.valueOf()) / (7 * 864e5)) + 1; +}; + +/** Checks date and time equality */ +Date.prototype.equalsTo = function(date) { + return ((this.getFullYear() == date.getFullYear()) && + (this.getMonth() == date.getMonth()) && + (this.getDate() == date.getDate()) && + (this.getHours() == date.getHours()) && + (this.getMinutes() == date.getMinutes())); +}; + +/** Set only the year, month, date parts (keep existing time) */ +Date.prototype.setDateOnly = function(date) { + var tmp = new Date(date); + this.setDate(1); + this.setFullYear(tmp.getFullYear()); + this.setMonth(tmp.getMonth()); + this.setDate(tmp.getDate()); +}; + +/** Prints the date in a string according to the given format. */ +Date.prototype.print = function (str) { + var m = this.getMonth(); + var d = this.getDate(); + var y = this.getFullYear(); + var wn = this.getWeekNumber(); + var w = this.getDay(); + var s = {}; + var hr = this.getHours(); + var pm = (hr >= 12); + var ir = (pm) ? (hr - 12) : hr; + var dy = this.getDayOfYear(); + if (ir == 0) + ir = 12; + var min = this.getMinutes(); + var sec = this.getSeconds(); + s["%a"] = Calendar._SDN[w]; // abbreviated weekday name [FIXME: I18N] + s["%A"] = Calendar._DN[w]; // full weekday name + s["%b"] = Calendar._SMN[m]; // abbreviated month name [FIXME: I18N] + s["%B"] = Calendar._MN[m]; // full month name + // FIXME: %c : preferred date and time representation for the current locale + s["%C"] = 1 + Math.floor(y / 100); // the century number + s["%d"] = (d < 10) ? ("0" + d) : d; // the day of the month (range 01 to 31) + s["%e"] = d; // the day of the month (range 1 to 31) + // FIXME: %D : american date style: %m/%d/%y + // FIXME: %E, %F, %G, %g, %h (man strftime) + s["%H"] = (hr < 10) ? ("0" + hr) : hr; // hour, range 00 to 23 (24h format) + s["%I"] = (ir < 10) ? ("0" + ir) : ir; // hour, range 01 to 12 (12h format) + s["%j"] = (dy < 100) ? ((dy < 10) ? ("00" + dy) : ("0" + dy)) : dy; // day of the year (range 001 to 366) + s["%k"] = hr; // hour, range 0 to 23 (24h format) + s["%l"] = ir; // hour, range 1 to 12 (12h format) + s["%m"] = (m < 9) ? ("0" + (1+m)) : (1+m); // month, range 01 to 12 + s["%M"] = (min < 10) ? ("0" + min) : min; // minute, range 00 to 59 + s["%n"] = "\n"; // a newline character + s["%p"] = pm ? "PM" : "AM"; + s["%P"] = pm ? "pm" : "am"; + // FIXME: %r : the time in am/pm notation %I:%M:%S %p + // FIXME: %R : the time in 24-hour notation %H:%M + s["%s"] = Math.floor(this.getTime() / 1000); + s["%S"] = (sec < 10) ? ("0" + sec) : sec; // seconds, range 00 to 59 + s["%t"] = "\t"; // a tab character + // FIXME: %T : the time in 24-hour notation (%H:%M:%S) + s["%U"] = s["%W"] = s["%V"] = (wn < 10) ? ("0" + wn) : wn; + s["%u"] = w + 1; // the day of the week (range 1 to 7, 1 = MON) + s["%w"] = w; // the day of the week (range 0 to 6, 0 = SUN) + // FIXME: %x : preferred date representation for the current locale without the time + // FIXME: %X : preferred time representation for the current locale without the date + s["%y"] = ('' + y).substr(2, 2); // year without the century (range 00 to 99) + s["%Y"] = y; // year with the century + s["%%"] = "%"; // a literal '%' character + + var re = /%./g; + if (!Calendar.is_ie5 && !Calendar.is_khtml) + return str.replace(re, function (par) { return s[par] || par; }); + + var a = str.match(re); + for (var i = 0; i < a.length; i++) { + var tmp = s[a[i]]; + if (tmp) { + re = new RegExp(a[i], 'g'); + str = str.replace(re, tmp); + } + } + + return str; +}; + +Date.prototype.__msh_oldSetFullYear = Date.prototype.setFullYear; +Date.prototype.setFullYear = function(y) { + var d = new Date(this); + d.__msh_oldSetFullYear(y); + if (d.getMonth() != this.getMonth()) + this.setDate(28); + this.__msh_oldSetFullYear(y); +}; + +// END: DATE OBJECT PATCHES + + +// global object that remembers the calendar +window._dynarch_popupCalendar = null; diff --git a/jscalendar-1.0/calendar.php b/jscalendar-1.0/calendar.php new file mode 100644 index 0000000..5b9120d --- /dev/null +++ b/jscalendar-1.0/calendar.php @@ -0,0 +1,119 @@ +calendar_file = 'calendar_stripped.js'; + $this->calendar_setup_file = 'calendar-setup_stripped.js'; + } else { + $this->calendar_file = 'calendar.js'; + $this->calendar_setup_file = 'calendar-setup.js'; + } + $this->calendar_lang_file = 'lang/calendar-' . $lang . '.js'; + $this->calendar_theme_file = $theme.'.css'; + $this->calendar_lib_path = preg_replace('/\/+$/', '/', $calendar_lib_path); + $this->calendar_options = array('ifFormat' => '%Y/%m/%d', + 'daFormat' => '%Y/%m/%d'); + } + + function set_option($name, $value) { + $this->calendar_options[$name] = $value; + } + + function load_files() { + echo $this->get_load_files_code(); + } + + function get_load_files_code() { + $code = ( '' . NEWLINE ); + $code .= ( '' . NEWLINE ); + $code .= ( '' . NEWLINE ); + $code .= ( '' ); + return $code; + } + + function _make_calendar($other_options = array()) { + $js_options = $this->_make_js_hash(array_merge($this->calendar_options, $other_options)); + $code = ( '' ); + return $code; + } + + function make_input_field($cal_options = array(), $field_attributes = array()) { + $id = $this->_gen_id(); + $attrstr = $this->_make_html_attr(array_merge($field_attributes, + array('id' => $this->_field_id($id), + 'type' => 'text'))); + echo ''; + echo '' . + ''; + + $options = array_merge($cal_options, + array('inputField' => $this->_field_id($id), + 'button' => $this->_trigger_id($id))); + echo $this->_make_calendar($options); + } + + /// PRIVATE SECTION + + function _field_id($id) { return 'f-calendar-field-' . $id; } + function _trigger_id($id) { return 'f-calendar-trigger-' . $id; } + function _gen_id() { static $id = 0; return ++$id; } + + function _make_js_hash($array) { + $jstr = ''; + reset($array); + while (list($key, $val) = each($array)) { + if (is_bool($val)) + $val = $val ? 'true' : 'false'; + else if (!is_numeric($val)) + $val = '"'.$val.'"'; + if ($jstr) $jstr .= ','; + $jstr .= '"' . $key . '":' . $val; + } + return $jstr; + } + + function _make_html_attr($array) { + $attrstr = ''; + reset($array); + while (list($key, $val) = each($array)) { + $attrstr .= $key . '="' . $val . '" '; + } + return $attrstr; + } +}; + +?> \ No newline at end of file diff --git a/jscalendar-1.0/calendar_stripped.js b/jscalendar-1.0/calendar_stripped.js new file mode 100644 index 0000000..4fe03f1 --- /dev/null +++ b/jscalendar-1.0/calendar_stripped.js @@ -0,0 +1,14 @@ +/* Copyright Mihai Bazon, 2002-2005 | www.bazon.net/mishoo + * ----------------------------------------------------------- + * + * The DHTML Calendar, version 1.0 "It is happening again" + * + * Details and latest version at: + * www.dynarch.com/projects/calendar + * + * This script is developed by Dynarch.com. Visit us at www.dynarch.com. + * + * This script is distributed under the GNU Lesser General Public License. + * Read the entire license text here: http://www.gnu.org/licenses/lgpl.html + */ + Calendar=function(firstDayOfWeek,dateStr,onSelected,onClose){this.activeDiv=null;this.currentDateEl=null;this.getDateStatus=null;this.getDateToolTip=null;this.getDateText=null;this.timeout=null;this.onSelected=onSelected||null;this.onClose=onClose||null;this.dragging=false;this.hidden=false;this.minYear=1970;this.maxYear=2050;this.dateFormat=Calendar._TT["DEF_DATE_FORMAT"];this.ttDateFormat=Calendar._TT["TT_DATE_FORMAT"];this.isPopup=true;this.weekNumbers=true;this.firstDayOfWeek=typeof firstDayOfWeek=="number"?firstDayOfWeek:Calendar._FD;this.showsOtherMonths=false;this.dateStr=dateStr;this.ar_days=null;this.showsTime=false;this.time24=true;this.yearStep=2;this.hiliteToday=true;this.multiple=null;this.table=null;this.element=null;this.tbody=null;this.firstdayname=null;this.monthsCombo=null;this.yearsCombo=null;this.hilitedMonth=null;this.activeMonth=null;this.hilitedYear=null;this.activeYear=null;this.dateClicked=false;if(typeof Calendar._SDN=="undefined"){if(typeof Calendar._SDN_len=="undefined")Calendar._SDN_len=3;var ar=new Array();for(var i=8;i>0;){ar[--i]=Calendar._DN[i].substr(0,Calendar._SDN_len);}Calendar._SDN=ar;if(typeof Calendar._SMN_len=="undefined")Calendar._SMN_len=3;ar=new Array();for(var i=12;i>0;){ar[--i]=Calendar._MN[i].substr(0,Calendar._SMN_len);}Calendar._SMN=ar;}};Calendar._C=null;Calendar.is_ie=(/msie/i.test(navigator.userAgent)&&!/opera/i.test(navigator.userAgent));Calendar.is_ie5=(Calendar.is_ie&&/msie 5\.0/i.test(navigator.userAgent));Calendar.is_opera=/opera/i.test(navigator.userAgent);Calendar.is_khtml=/Konqueror|Safari|KHTML/i.test(navigator.userAgent);Calendar.getAbsolutePos=function(el){var SL=0,ST=0;var is_div=/^div$/i.test(el.tagName);if(is_div&&el.scrollLeft)SL=el.scrollLeft;if(is_div&&el.scrollTop)ST=el.scrollTop;var r={x:el.offsetLeft-SL,y:el.offsetTop-ST};if(el.offsetParent){var tmp=this.getAbsolutePos(el.offsetParent);r.x+=tmp.x;r.y+=tmp.y;}return r;};Calendar.isRelated=function(el,evt){var related=evt.relatedTarget;if(!related){var type=evt.type;if(type=="mouseover"){related=evt.fromElement;}else if(type=="mouseout"){related=evt.toElement;}}while(related){if(related==el){return true;}related=related.parentNode;}return false;};Calendar.removeClass=function(el,className){if(!(el&&el.className)){return;}var cls=el.className.split(" ");var ar=new Array();for(var i=cls.length;i>0;){if(cls[--i]!=className){ar[ar.length]=cls[i];}}el.className=ar.join(" ");};Calendar.addClass=function(el,className){Calendar.removeClass(el,className);el.className+=" "+className;};Calendar.getElement=function(ev){var f=Calendar.is_ie?window.event.srcElement:ev.currentTarget;while(f.nodeType!=1||/^div$/i.test(f.tagName))f=f.parentNode;return f;};Calendar.getTargetElement=function(ev){var f=Calendar.is_ie?window.event.srcElement:ev.target;while(f.nodeType!=1)f=f.parentNode;return f;};Calendar.stopEvent=function(ev){ev||(ev=window.event);if(Calendar.is_ie){ev.cancelBubble=true;ev.returnValue=false;}else{ev.preventDefault();ev.stopPropagation();}return false;};Calendar.addEvent=function(el,evname,func){if(el.attachEvent){el.attachEvent("on"+evname,func);}else if(el.addEventListener){el.addEventListener(evname,func,true);}else{el["on"+evname]=func;}};Calendar.removeEvent=function(el,evname,func){if(el.detachEvent){el.detachEvent("on"+evname,func);}else if(el.removeEventListener){el.removeEventListener(evname,func,true);}else{el["on"+evname]=null;}};Calendar.createElement=function(type,parent){var el=null;if(document.createElementNS){el=document.createElementNS("http://www.w3.org/1999/xhtml",type);}else{el=document.createElement(type);}if(typeof parent!="undefined"){parent.appendChild(el);}return el;};Calendar._add_evs=function(el){with(Calendar){addEvent(el,"mouseover",dayMouseOver);addEvent(el,"mousedown",dayMouseDown);addEvent(el,"mouseout",dayMouseOut);if(is_ie){addEvent(el,"dblclick",dayMouseDblClick);el.setAttribute("unselectable",true);}}};Calendar.findMonth=function(el){if(typeof el.month!="undefined"){return el;}else if(typeof el.parentNode.month!="undefined"){return el.parentNode;}return null;};Calendar.findYear=function(el){if(typeof el.year!="undefined"){return el;}else if(typeof el.parentNode.year!="undefined"){return el.parentNode;}return null;};Calendar.showMonthsCombo=function(){var cal=Calendar._C;if(!cal){return false;}var cal=cal;var cd=cal.activeDiv;var mc=cal.monthsCombo;if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}if(cal.activeMonth){Calendar.removeClass(cal.activeMonth,"active");}var mon=cal.monthsCombo.getElementsByTagName("div")[cal.date.getMonth()];Calendar.addClass(mon,"active");cal.activeMonth=mon;var s=mc.style;s.display="block";if(cd.navtype<0)s.left=cd.offsetLeft+"px";else{var mcw=mc.offsetWidth;if(typeof mcw=="undefined")mcw=50;s.left=(cd.offsetLeft+cd.offsetWidth-mcw)+"px";}s.top=(cd.offsetTop+cd.offsetHeight)+"px";};Calendar.showYearsCombo=function(fwd){var cal=Calendar._C;if(!cal){return false;}var cal=cal;var cd=cal.activeDiv;var yc=cal.yearsCombo;if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}if(cal.activeYear){Calendar.removeClass(cal.activeYear,"active");}cal.activeYear=null;var Y=cal.date.getFullYear()+(fwd?1:-1);var yr=yc.firstChild;var show=false;for(var i=12;i>0;--i){if(Y>=cal.minYear&&Y<=cal.maxYear){yr.innerHTML=Y;yr.year=Y;yr.style.display="block";show=true;}else{yr.style.display="none";}yr=yr.nextSibling;Y+=fwd?cal.yearStep:-cal.yearStep;}if(show){var s=yc.style;s.display="block";if(cd.navtype<0)s.left=cd.offsetLeft+"px";else{var ycw=yc.offsetWidth;if(typeof ycw=="undefined")ycw=50;s.left=(cd.offsetLeft+cd.offsetWidth-ycw)+"px";}s.top=(cd.offsetTop+cd.offsetHeight)+"px";}};Calendar.tableMouseUp=function(ev){var cal=Calendar._C;if(!cal){return false;}if(cal.timeout){clearTimeout(cal.timeout);}var el=cal.activeDiv;if(!el){return false;}var target=Calendar.getTargetElement(ev);ev||(ev=window.event);Calendar.removeClass(el,"active");if(target==el||target.parentNode==el){Calendar.cellClick(el,ev);}var mon=Calendar.findMonth(target);var date=null;if(mon){date=new Date(cal.date);if(mon.month!=date.getMonth()){date.setMonth(mon.month);cal.setDate(date);cal.dateClicked=false;cal.callHandler();}}else{var year=Calendar.findYear(target);if(year){date=new Date(cal.date);if(year.year!=date.getFullYear()){date.setFullYear(year.year);cal.setDate(date);cal.dateClicked=false;cal.callHandler();}}}with(Calendar){removeEvent(document,"mouseup",tableMouseUp);removeEvent(document,"mouseover",tableMouseOver);removeEvent(document,"mousemove",tableMouseOver);cal._hideCombos();_C=null;return stopEvent(ev);}};Calendar.tableMouseOver=function(ev){var cal=Calendar._C;if(!cal){return;}var el=cal.activeDiv;var target=Calendar.getTargetElement(ev);if(target==el||target.parentNode==el){Calendar.addClass(el,"hilite active");Calendar.addClass(el.parentNode,"rowhilite");}else{if(typeof el.navtype=="undefined"||(el.navtype!=50&&(el.navtype==0||Math.abs(el.navtype)>2)))Calendar.removeClass(el,"active");Calendar.removeClass(el,"hilite");Calendar.removeClass(el.parentNode,"rowhilite");}ev||(ev=window.event);if(el.navtype==50&&target!=el){var pos=Calendar.getAbsolutePos(el);var w=el.offsetWidth;var x=ev.clientX;var dx;var decrease=true;if(x>pos.x+w){dx=x-pos.x-w;decrease=false;}else dx=pos.x-x;if(dx<0)dx=0;var range=el._range;var current=el._current;var count=Math.floor(dx/10)%range.length;for(var i=range.length;--i>=0;)if(range[i]==current)break;while(count-->0)if(decrease){if(--i<0)i=range.length-1;}else if(++i>=range.length)i=0;var newval=range[i];el.innerHTML=newval;cal.onUpdateTime();}var mon=Calendar.findMonth(target);if(mon){if(mon.month!=cal.date.getMonth()){if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}Calendar.addClass(mon,"hilite");cal.hilitedMonth=mon;}else if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}}else{if(cal.hilitedMonth){Calendar.removeClass(cal.hilitedMonth,"hilite");}var year=Calendar.findYear(target);if(year){if(year.year!=cal.date.getFullYear()){if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}Calendar.addClass(year,"hilite");cal.hilitedYear=year;}else if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}}else if(cal.hilitedYear){Calendar.removeClass(cal.hilitedYear,"hilite");}}return Calendar.stopEvent(ev);};Calendar.tableMouseDown=function(ev){if(Calendar.getTargetElement(ev)==Calendar.getElement(ev)){return Calendar.stopEvent(ev);}};Calendar.calDragIt=function(ev){var cal=Calendar._C;if(!(cal&&cal.dragging)){return false;}var posX;var posY;if(Calendar.is_ie){posY=window.event.clientY+document.body.scrollTop;posX=window.event.clientX+document.body.scrollLeft;}else{posX=ev.pageX;posY=ev.pageY;}cal.hideShowCovered();var st=cal.element.style;st.left=(posX-cal.xOffs)+"px";st.top=(posY-cal.yOffs)+"px";return Calendar.stopEvent(ev);};Calendar.calDragEnd=function(ev){var cal=Calendar._C;if(!cal){return false;}cal.dragging=false;with(Calendar){removeEvent(document,"mousemove",calDragIt);removeEvent(document,"mouseup",calDragEnd);tableMouseUp(ev);}cal.hideShowCovered();};Calendar.dayMouseDown=function(ev){var el=Calendar.getElement(ev);if(el.disabled){return false;}var cal=el.calendar;cal.activeDiv=el;Calendar._C=cal;if(el.navtype!=300)with(Calendar){if(el.navtype==50){el._current=el.innerHTML;addEvent(document,"mousemove",tableMouseOver);}else addEvent(document,Calendar.is_ie5?"mousemove":"mouseover",tableMouseOver);addClass(el,"hilite active");addEvent(document,"mouseup",tableMouseUp);}else if(cal.isPopup){cal._dragStart(ev);}if(el.navtype==-1||el.navtype==1){if(cal.timeout)clearTimeout(cal.timeout);cal.timeout=setTimeout("Calendar.showMonthsCombo()",250);}else if(el.navtype==-2||el.navtype==2){if(cal.timeout)clearTimeout(cal.timeout);cal.timeout=setTimeout((el.navtype>0)?"Calendar.showYearsCombo(true)":"Calendar.showYearsCombo(false)",250);}else{cal.timeout=null;}return Calendar.stopEvent(ev);};Calendar.dayMouseDblClick=function(ev){Calendar.cellClick(Calendar.getElement(ev),ev||window.event);if(Calendar.is_ie){document.selection.empty();}};Calendar.dayMouseOver=function(ev){var el=Calendar.getElement(ev);if(Calendar.isRelated(el,ev)||Calendar._C||el.disabled){return false;}if(el.ttip){if(el.ttip.substr(0,1)=="_"){el.ttip=el.caldate.print(el.calendar.ttDateFormat)+el.ttip.substr(1);}el.calendar.tooltips.innerHTML=el.ttip;}if(el.navtype!=300){Calendar.addClass(el,"hilite");if(el.caldate){Calendar.addClass(el.parentNode,"rowhilite");}}return Calendar.stopEvent(ev);};Calendar.dayMouseOut=function(ev){with(Calendar){var el=getElement(ev);if(isRelated(el,ev)||_C||el.disabled)return false;removeClass(el,"hilite");if(el.caldate)removeClass(el.parentNode,"rowhilite");if(el.calendar)el.calendar.tooltips.innerHTML=_TT["SEL_DATE"];return stopEvent(ev);}};Calendar.cellClick=function(el,ev){var cal=el.calendar;var closing=false;var newdate=false;var date=null;if(typeof el.navtype=="undefined"){if(cal.currentDateEl){Calendar.removeClass(cal.currentDateEl,"selected");Calendar.addClass(el,"selected");closing=(cal.currentDateEl==el);if(!closing){cal.currentDateEl=el;}}cal.date.setDateOnly(el.caldate);date=cal.date;var other_month=!(cal.dateClicked=!el.otherMonth);if(!other_month&&!cal.currentDateEl)cal._toggleMultipleDate(new Date(date));else newdate=!el.disabled;if(other_month)cal._init(cal.firstDayOfWeek,date);}else{if(el.navtype==200){Calendar.removeClass(el,"hilite");cal.callCloseHandler();return;}date=new Date(cal.date);if(el.navtype==0)date.setDateOnly(new Date());cal.dateClicked=false;var year=date.getFullYear();var mon=date.getMonth();function setMonth(m){var day=date.getDate();var max=date.getMonthDays(m);if(day>max){date.setDate(max);}date.setMonth(m);};switch(el.navtype){case 400:Calendar.removeClass(el,"hilite");var text=Calendar._TT["ABOUT"];if(typeof text!="undefined"){text+=cal.showsTime?Calendar._TT["ABOUT_TIME"]:"";}else{text="Help and about box text is not translated into this language.\n"+"If you know this language and you feel generous please update\n"+"the corresponding file in \"lang\" subdir to match calendar-en.js\n"+"and send it back to to get it into the distribution ;-)\n\n"+"Thank you!\n"+"http://dynarch.com/mishoo/calendar.epl\n";}alert(text);return;case-2:if(year>cal.minYear){date.setFullYear(year-1);}break;case-1:if(mon>0){setMonth(mon-1);}else if(year-->cal.minYear){date.setFullYear(year);setMonth(11);}break;case 1:if(mon<11){setMonth(mon+1);}else if(year=0;)if(range[i]==current)break;if(ev&&ev.shiftKey){if(--i<0)i=range.length-1;}else if(++i>=range.length)i=0;var newval=range[i];el.innerHTML=newval;cal.onUpdateTime();return;case 0:if((typeof cal.getDateStatus=="function")&&cal.getDateStatus(date,date.getFullYear(),date.getMonth(),date.getDate())){return false;}break;}if(!date.equalsTo(cal.date)){cal.setDate(date);newdate=true;}else if(el.navtype==0)newdate=closing=true;}if(newdate){ev&&cal.callHandler();}if(closing){Calendar.removeClass(el,"hilite");ev&&cal.callCloseHandler();}};Calendar.prototype.create=function(_par){var parent=null;if(!_par){parent=document.getElementsByTagName("body")[0];this.isPopup=true;}else{parent=_par;this.isPopup=false;}this.date=this.dateStr?new Date(this.dateStr):new Date();var table=Calendar.createElement("table");this.table=table;table.cellSpacing=0;table.cellPadding=0;table.calendar=this;Calendar.addEvent(table,"mousedown",Calendar.tableMouseDown);var div=Calendar.createElement("div");this.element=div;div.className="calendar";if(this.isPopup){div.style.position="absolute";div.style.display="none";}div.appendChild(table);var thead=Calendar.createElement("thead",table);var cell=null;var row=null;var cal=this;var hh=function(text,cs,navtype){cell=Calendar.createElement("td",row);cell.colSpan=cs;cell.className="button";if(navtype!=0&&Math.abs(navtype)<=2)cell.className+=" nav";Calendar._add_evs(cell);cell.calendar=cal;cell.navtype=navtype;cell.innerHTML="
    "+text+"
    ";return cell;};row=Calendar.createElement("tr",thead);var title_length=6;(this.isPopup)&&--title_length;(this.weekNumbers)&&++title_length;hh("?",1,400).ttip=Calendar._TT["INFO"];this.title=hh("",title_length,300);this.title.className="title";if(this.isPopup){this.title.ttip=Calendar._TT["DRAG_TO_MOVE"];this.title.style.cursor="move";hh("×",1,200).ttip=Calendar._TT["CLOSE"];}row=Calendar.createElement("tr",thead);row.className="headrow";this._nav_py=hh("«",1,-2);this._nav_py.ttip=Calendar._TT["PREV_YEAR"];this._nav_pm=hh("‹",1,-1);this._nav_pm.ttip=Calendar._TT["PREV_MONTH"];this._nav_now=hh(Calendar._TT["TODAY"],this.weekNumbers?4:3,0);this._nav_now.ttip=Calendar._TT["GO_TODAY"];this._nav_nm=hh("›",1,1);this._nav_nm.ttip=Calendar._TT["NEXT_MONTH"];this._nav_ny=hh("»",1,2);this._nav_ny.ttip=Calendar._TT["NEXT_YEAR"];row=Calendar.createElement("tr",thead);row.className="daynames";if(this.weekNumbers){cell=Calendar.createElement("td",row);cell.className="name wn";cell.innerHTML=Calendar._TT["WK"];}for(var i=7;i>0;--i){cell=Calendar.createElement("td",row);if(!i){cell.navtype=100;cell.calendar=this;Calendar._add_evs(cell);}}this.firstdayname=(this.weekNumbers)?row.firstChild.nextSibling:row.firstChild;this._displayWeekdays();var tbody=Calendar.createElement("tbody",table);this.tbody=tbody;for(i=6;i>0;--i){row=Calendar.createElement("tr",tbody);if(this.weekNumbers){cell=Calendar.createElement("td",row);}for(var j=7;j>0;--j){cell=Calendar.createElement("td",row);cell.calendar=this;Calendar._add_evs(cell);}}if(this.showsTime){row=Calendar.createElement("tr",tbody);row.className="time";cell=Calendar.createElement("td",row);cell.className="time";cell.colSpan=2;cell.innerHTML=Calendar._TT["TIME"]||" ";cell=Calendar.createElement("td",row);cell.className="time";cell.colSpan=this.weekNumbers?4:3;(function(){function makeTimePart(className,init,range_start,range_end){var part=Calendar.createElement("span",cell);part.className=className;part.innerHTML=init;part.calendar=cal;part.ttip=Calendar._TT["TIME_PART"];part.navtype=50;part._range=[];if(typeof range_start!="number")part._range=range_start;else{for(var i=range_start;i<=range_end;++i){var txt;if(i<10&&range_end>=10)txt='0'+i;else txt=''+i;part._range[part._range.length]=txt;}}Calendar._add_evs(part);return part;};var hrs=cal.date.getHours();var mins=cal.date.getMinutes();var t12=!cal.time24;var pm=(hrs>12);if(t12&&pm)hrs-=12;var H=makeTimePart("hour",hrs,t12?1:0,t12?12:23);var span=Calendar.createElement("span",cell);span.innerHTML=":";span.className="colon";var M=makeTimePart("minute",mins,0,59);var AP=null;cell=Calendar.createElement("td",row);cell.className="time";cell.colSpan=2;if(t12)AP=makeTimePart("ampm",pm?"pm":"am",["am","pm"]);else cell.innerHTML=" ";cal.onSetTime=function(){var pm,hrs=this.date.getHours(),mins=this.date.getMinutes();if(t12){pm=(hrs>=12);if(pm)hrs-=12;if(hrs==0)hrs=12;AP.innerHTML=pm?"pm":"am";}H.innerHTML=(hrs<10)?("0"+hrs):hrs;M.innerHTML=(mins<10)?("0"+mins):mins;};cal.onUpdateTime=function(){var date=this.date;var h=parseInt(H.innerHTML,10);if(t12){if(/pm/i.test(AP.innerHTML)&&h<12)h+=12;else if(/am/i.test(AP.innerHTML)&&h==12)h=0;}var d=date.getDate();var m=date.getMonth();var y=date.getFullYear();date.setHours(h);date.setMinutes(parseInt(M.innerHTML,10));date.setFullYear(y);date.setMonth(m);date.setDate(d);this.dateClicked=false;this.callHandler();};})();}else{this.onSetTime=this.onUpdateTime=function(){};}var tfoot=Calendar.createElement("tfoot",table);row=Calendar.createElement("tr",tfoot);row.className="footrow";cell=hh(Calendar._TT["SEL_DATE"],this.weekNumbers?8:7,300);cell.className="ttip";if(this.isPopup){cell.ttip=Calendar._TT["DRAG_TO_MOVE"];cell.style.cursor="move";}this.tooltips=cell;div=Calendar.createElement("div",this.element);this.monthsCombo=div;div.className="combo";for(i=0;i0;--i){var yr=Calendar.createElement("div");yr.className=Calendar.is_ie?"label-IEfix":"label";div.appendChild(yr);}this._init(this.firstDayOfWeek,this.date);parent.appendChild(this.element);};Calendar._keyEvent=function(ev){var cal=window._dynarch_popupCalendar;if(!cal||cal.multiple)return false;(Calendar.is_ie)&&(ev=window.event);var act=(Calendar.is_ie||ev.type=="keypress"),K=ev.keyCode;if(ev.ctrlKey){switch(K){case 37:act&&Calendar.cellClick(cal._nav_pm);break;case 38:act&&Calendar.cellClick(cal._nav_py);break;case 39:act&&Calendar.cellClick(cal._nav_nm);break;case 40:act&&Calendar.cellClick(cal._nav_ny);break;default:return false;}}else switch(K){case 32:Calendar.cellClick(cal._nav_now);break;case 27:act&&cal.callCloseHandler();break;case 37:case 38:case 39:case 40:if(act){var prev,x,y,ne,el,step;prev=K==37||K==38;step=(K==37||K==39)?1:7;function setVars(){el=cal.currentDateEl;var p=el.pos;x=p&15;y=p>>4;ne=cal.ar_days[y][x];};setVars();function prevMonth(){var date=new Date(cal.date);date.setDate(date.getDate()-step);cal.setDate(date);};function nextMonth(){var date=new Date(cal.date);date.setDate(date.getDate()+step);cal.setDate(date);};while(1){switch(K){case 37:if(--x>=0)ne=cal.ar_days[y][x];else{x=6;K=38;continue;}break;case 38:if(--y>=0)ne=cal.ar_days[y][x];else{prevMonth();setVars();}break;case 39:if(++x<7)ne=cal.ar_days[y][x];else{x=0;K=40;continue;}break;case 40:if(++ythis.maxYear){year=this.maxYear;date.setFullYear(year);}this.firstDayOfWeek=firstDayOfWeek;this.date=new Date(date);var month=date.getMonth();var mday=date.getDate();var no_days=date.getMonthDays();date.setDate(1);var day1=(date.getDay()-this.firstDayOfWeek)%7;if(day1<0)day1+=7;date.setDate(-day1);date.setDate(date.getDate()+1);var row=this.tbody.firstChild;var MN=Calendar._SMN[month];var ar_days=this.ar_days=new Array();var weekend=Calendar._TT["WEEKEND"];var dates=this.multiple?(this.datesCells={}):null;for(var i=0;i<6;++i,row=row.nextSibling){var cell=row.firstChild;if(this.weekNumbers){cell.className="day wn";cell.innerHTML=date.getWeekNumber();cell=cell.nextSibling;}row.className="daysrow";var hasdays=false,iday,dpos=ar_days[i]=[];for(var j=0;j<7;++j,cell=cell.nextSibling,date.setDate(iday+1)){iday=date.getDate();var wday=date.getDay();cell.className="day";cell.pos=i<<4|j;dpos[j]=cell;var current_month=(date.getMonth()==month);if(!current_month){if(this.showsOtherMonths){cell.className+=" othermonth";cell.otherMonth=true;}else{cell.className="emptycell";cell.innerHTML=" ";cell.disabled=true;continue;}}else{cell.otherMonth=false;hasdays=true;}cell.disabled=false;cell.innerHTML=this.getDateText?this.getDateText(date,iday):iday;if(dates)dates[date.print("%Y%m%d")]=cell;if(this.getDateStatus){var status=this.getDateStatus(date,year,month,iday);if(this.getDateToolTip){var toolTip=this.getDateToolTip(date,year,month,iday);if(toolTip)cell.title=toolTip;}if(status===true){cell.className+=" disabled";cell.disabled=true;}else{if(/disabled/i.test(status))cell.disabled=true;cell.className+=" "+status;}}if(!cell.disabled){cell.caldate=new Date(date);cell.ttip="_";if(!this.multiple&¤t_month&&iday==mday&&this.hiliteToday){cell.className+=" selected";this.currentDateEl=cell;}if(date.getFullYear()==TY&&date.getMonth()==TM&&iday==TD){cell.className+=" today";cell.ttip+=Calendar._TT["PART_TODAY"];}if(weekend.indexOf(wday.toString())!=-1)cell.className+=cell.otherMonth?" oweekend":" weekend";}}if(!(hasdays||this.showsOtherMonths))row.className="emptyrow";}this.title.innerHTML=Calendar._MN[month]+", "+year;this.onSetTime();this.table.style.visibility="visible";this._initMultipleDates();};Calendar.prototype._initMultipleDates=function(){if(this.multiple){for(var i in this.multiple){var cell=this.datesCells[i];var d=this.multiple[i];if(!d)continue;if(cell)cell.className+=" selected";}}};Calendar.prototype._toggleMultipleDate=function(date){if(this.multiple){var ds=date.print("%Y%m%d");var cell=this.datesCells[ds];if(cell){var d=this.multiple[ds];if(!d){Calendar.addClass(cell,"selected");this.multiple[ds]=date;}else{Calendar.removeClass(cell,"selected");delete this.multiple[ds];}}}};Calendar.prototype.setDateToolTipHandler=function(unaryFunction){this.getDateToolTip=unaryFunction;};Calendar.prototype.setDate=function(date){if(!date.equalsTo(this.date)){this._init(this.firstDayOfWeek,date);}};Calendar.prototype.refresh=function(){this._init(this.firstDayOfWeek,this.date);};Calendar.prototype.setFirstDayOfWeek=function(firstDayOfWeek){this._init(firstDayOfWeek,this.date);this._displayWeekdays();};Calendar.prototype.setDateStatusHandler=Calendar.prototype.setDisabledHandler=function(unaryFunction){this.getDateStatus=unaryFunction;};Calendar.prototype.setRange=function(a,z){this.minYear=a;this.maxYear=z;};Calendar.prototype.callHandler=function(){if(this.onSelected){this.onSelected(this,this.date.print(this.dateFormat));}};Calendar.prototype.callCloseHandler=function(){if(this.onClose){this.onClose(this);}this.hideShowCovered();};Calendar.prototype.destroy=function(){var el=this.element.parentNode;el.removeChild(this.element);Calendar._C=null;window._dynarch_popupCalendar=null;};Calendar.prototype.reparent=function(new_parent){var el=this.element;el.parentNode.removeChild(el);new_parent.appendChild(el);};Calendar._checkCalendar=function(ev){var calendar=window._dynarch_popupCalendar;if(!calendar){return false;}var el=Calendar.is_ie?Calendar.getElement(ev):Calendar.getTargetElement(ev);for(;el!=null&&el!=calendar.element;el=el.parentNode);if(el==null){window._dynarch_popupCalendar.callCloseHandler();return Calendar.stopEvent(ev);}};Calendar.prototype.show=function(){var rows=this.table.getElementsByTagName("tr");for(var i=rows.length;i>0;){var row=rows[--i];Calendar.removeClass(row,"rowhilite");var cells=row.getElementsByTagName("td");for(var j=cells.length;j>0;){var cell=cells[--j];Calendar.removeClass(cell,"hilite");Calendar.removeClass(cell,"active");}}this.element.style.display="block";this.hidden=false;if(this.isPopup){window._dynarch_popupCalendar=this;Calendar.addEvent(document,"keydown",Calendar._keyEvent);Calendar.addEvent(document,"keypress",Calendar._keyEvent);Calendar.addEvent(document,"mousedown",Calendar._checkCalendar);}this.hideShowCovered();};Calendar.prototype.hide=function(){if(this.isPopup){Calendar.removeEvent(document,"keydown",Calendar._keyEvent);Calendar.removeEvent(document,"keypress",Calendar._keyEvent);Calendar.removeEvent(document,"mousedown",Calendar._checkCalendar);}this.element.style.display="none";this.hidden=true;this.hideShowCovered();};Calendar.prototype.showAt=function(x,y){var s=this.element.style;s.left=x+"px";s.top=y+"px";this.show();};Calendar.prototype.showAtElement=function(el,opts){var self=this;var p=Calendar.getAbsolutePos(el);if(!opts||typeof opts!="string"){this.showAt(p.x,p.y+el.offsetHeight);return true;}function fixPosition(box){if(box.x<0)box.x=0;if(box.y<0)box.y=0;var cp=document.createElement("div");var s=cp.style;s.position="absolute";s.right=s.bottom=s.width=s.height="0px";document.body.appendChild(cp);var br=Calendar.getAbsolutePos(cp);document.body.removeChild(cp);if(Calendar.is_ie){br.y+=document.body.scrollTop;br.x+=document.body.scrollLeft;}else{br.y+=window.scrollY;br.x+=window.scrollX;}var tmp=box.x+box.width-br.x;if(tmp>0)box.x-=tmp;tmp=box.y+box.height-br.y;if(tmp>0)box.y-=tmp;};this.element.style.display="block";Calendar.continuation_for_the_fucking_khtml_browser=function(){var w=self.element.offsetWidth;var h=self.element.offsetHeight;self.element.style.display="none";var valign=opts.substr(0,1);var halign="l";if(opts.length>1){halign=opts.substr(1,1);}switch(valign){case "T":p.y-=h;break;case "B":p.y+=el.offsetHeight;break;case "C":p.y+=(el.offsetHeight-h)/2;break;case "t":p.y+=el.offsetHeight-h;break;case "b":break;}switch(halign){case "L":p.x-=w;break;case "R":p.x+=el.offsetWidth;break;case "C":p.x+=(el.offsetWidth-w)/2;break;case "l":p.x+=el.offsetWidth-w;break;case "r":break;}p.width=w;p.height=h+40;self.monthsCombo.style.display="none";fixPosition(p);self.showAt(p.x,p.y);};if(Calendar.is_khtml)setTimeout("Calendar.continuation_for_the_fucking_khtml_browser()",10);else Calendar.continuation_for_the_fucking_khtml_browser();};Calendar.prototype.setDateFormat=function(str){this.dateFormat=str;};Calendar.prototype.setTtDateFormat=function(str){this.ttDateFormat=str;};Calendar.prototype.parseDate=function(str,fmt){if(!fmt)fmt=this.dateFormat;this.setDate(Date.parseDate(str,fmt));};Calendar.prototype.hideShowCovered=function(){if(!Calendar.is_ie&&!Calendar.is_opera)return;function getVisib(obj){var value=obj.style.visibility;if(!value){if(document.defaultView&&typeof(document.defaultView.getComputedStyle)=="function"){if(!Calendar.is_khtml)value=document.defaultView. getComputedStyle(obj,"").getPropertyValue("visibility");else value='';}else if(obj.currentStyle){value=obj.currentStyle.visibility;}else value='';}return value;};var tags=new Array("applet","iframe","select");var el=this.element;var p=Calendar.getAbsolutePos(el);var EX1=p.x;var EX2=el.offsetWidth+EX1;var EY1=p.y;var EY2=el.offsetHeight+EY1;for(var k=tags.length;k>0;){var ar=document.getElementsByTagName(tags[--k]);var cc=null;for(var i=ar.length;i>0;){cc=ar[--i];p=Calendar.getAbsolutePos(cc);var CX1=p.x;var CX2=cc.offsetWidth+CX1;var CY1=p.y;var CY2=cc.offsetHeight+CY1;if(this.hidden||(CX1>EX2)||(CX2EY2)||(CY229)?1900:2000);break;case "%b":case "%B":for(j=0;j<12;++j){if(Calendar._MN[j].substr(0,a[i].length).toLowerCase()==a[i].toLowerCase()){m=j;break;}}break;case "%H":case "%I":case "%k":case "%l":hr=parseInt(a[i],10);break;case "%P":case "%p":if(/pm/i.test(a[i])&&hr<12)hr+=12;else if(/am/i.test(a[i])&&hr>=12)hr-=12;break;case "%M":min=parseInt(a[i],10);break;}}if(isNaN(y))y=today.getFullYear();if(isNaN(m))m=today.getMonth();if(isNaN(d))d=today.getDate();if(isNaN(hr))hr=today.getHours();if(isNaN(min))min=today.getMinutes();if(y!=0&&m!=-1&&d!=0)return new Date(y,m,d,hr,min,0);y=0;m=-1;d=0;for(i=0;i31&&y==0){y=parseInt(a[i],10);(y<100)&&(y+=(y>29)?1900:2000);}else if(d==0){d=a[i];}}if(y==0)y=today.getFullYear();if(m!=-1&&d!=0)return new Date(y,m,d,hr,min,0);return today;};Date.prototype.getMonthDays=function(month){var year=this.getFullYear();if(typeof month=="undefined"){month=this.getMonth();}if(((0==(year%4))&&((0!=(year%100))||(0==(year%400))))&&month==1){return 29;}else{return Date._MD[month];}};Date.prototype.getDayOfYear=function(){var now=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0);var then=new Date(this.getFullYear(),0,0,0,0,0);var time=now-then;return Math.floor(time/Date.DAY);};Date.prototype.getWeekNumber=function(){var d=new Date(this.getFullYear(),this.getMonth(),this.getDate(),0,0,0);var DoW=d.getDay();d.setDate(d.getDate()-(DoW+6)%7+3);var ms=d.valueOf();d.setMonth(0);d.setDate(4);return Math.round((ms-d.valueOf())/(7*864e5))+1;};Date.prototype.equalsTo=function(date){return((this.getFullYear()==date.getFullYear())&&(this.getMonth()==date.getMonth())&&(this.getDate()==date.getDate())&&(this.getHours()==date.getHours())&&(this.getMinutes()==date.getMinutes()));};Date.prototype.setDateOnly=function(date){var tmp=new Date(date);this.setDate(1);this.setFullYear(tmp.getFullYear());this.setMonth(tmp.getMonth());this.setDate(tmp.getDate());};Date.prototype.print=function(str){var m=this.getMonth();var d=this.getDate();var y=this.getFullYear();var wn=this.getWeekNumber();var w=this.getDay();var s={};var hr=this.getHours();var pm=(hr>=12);var ir=(pm)?(hr-12):hr;var dy=this.getDayOfYear();if(ir==0)ir=12;var min=this.getMinutes();var sec=this.getSeconds();s["%a"]=Calendar._SDN[w];s["%A"]=Calendar._DN[w];s["%b"]=Calendar._SMN[m];s["%B"]=Calendar._MN[m];s["%C"]=1+Math.floor(y/100);s["%d"]=(d<10)?("0"+d):d;s["%e"]=d;s["%H"]=(hr<10)?("0"+hr):hr;s["%I"]=(ir<10)?("0"+ir):ir;s["%j"]=(dy<100)?((dy<10)?("00"+dy):("0"+dy)):dy;s["%k"]=hr;s["%l"]=ir;s["%m"]=(m<9)?("0"+(1+m)):(1+m);s["%M"]=(min<10)?("0"+min):min;s["%n"]="\n";s["%p"]=pm?"PM":"AM";s["%P"]=pm?"pm":"am";s["%s"]=Math.floor(this.getTime()/1000);s["%S"]=(sec<10)?("0"+sec):sec;s["%t"]="\t";s["%U"]=s["%W"]=s["%V"]=(wn<10)?("0"+wn):wn;s["%u"]=w+1;s["%w"]=w;s["%y"]=(''+y).substr(2,2);s["%Y"]=y;s["%%"]="%";var re=/%./g;if(!Calendar.is_ie5&&!Calendar.is_khtml)return str.replace(re,function(par){return s[par]||par;});var a=str.match(re);for(var i=0;i + +How to include additional info in day cells + + + + + + + + +

    How to include additional info in day cells

    + +
    + + + +

    The idea is simple:

    + +
      +
    1. +

      Define a callback that takes two parameters like this:

      +
      function getDateText(date, d)
      +

      + This function will receive the date object as the first + parameter and the current date number (1..31) as the second (you + can get it as well by calling date.getDate() but since it's very + probably useful I thought I'd pass it too so that we can avoid a + function call). +

      +

      + This function must return the text to be inserted in + the cell of the passed date. That is, one should at least + "return d;". +

      +
    2. +
    3. + Pass the above function as the "dateText" parameter to + Calendar.setup. +
    4. +
    + +

    + The function could simply look like: +

    + +
      function getDateText(date, d) {
    +    if (d == 12) {
    +      return "12th";
    +    } else if (d == 13) {
    +      return "bad luck";
    +    } /* ... etc ... */
    +  }
    + +

    + but it's easy to imagine that this approach sucks. For a better + way, see the source of this page and note the usage of an externally + defined "dateText" object which maps "date" to "date info", also + taking into account the year and month. This object can be easily + generated from a database, and the getDateText function becomes + extremely simple (and static). +

    + +

    + Cheers! +

    + +
    +
    mishoo
    + Last modified: Sat Mar 5 17:18:06 EET 2005 + diff --git a/jscalendar-1.0/doc/html/field-button.jpg b/jscalendar-1.0/doc/html/field-button.jpg new file mode 100644 index 0000000000000000000000000000000000000000..ecbe9d8d45a7a4657baad518781aa4599555f112 GIT binary patch literal 2509 zcmb7EdpOkT7yr(cTt+jD%Y>K=MO1Esl@?<#2C+j~myNB=Xl=$Nx~Qbwr(B!HC7FiI zsIcxM3AvlqxMvJqTq;DC`fZAxZR__uzu)h#-+7<+Jn!?K=X}ojoaghtn`4{LfUP8= zGZ6rRK)^Z40ydum$__EK;{f353g`m>AT8Mv+Y|xz01N_!LLo4TgTY{MDLH8=i7Cj+ zZjnPOpioE!BvMgXT}4p|gGM4%wN)`18r!#TS5(33U^R8rHMeX24FZy+O2MTN($WY` zC8Uz(|81L(0Hida1w4a*umBhdf*?Vgj{$W6fJjLE&EuOv;V>`=A|)+}+H3_t5HJ)1 z2g78fzQiRFC=3oDQHp5oKq>4#?_!~nvWczd@f;mvQ@ou=d{Nbl9XK=lAbOl6U->_P zzW{*1l6wuLq#gtSL%!7n01#4p*&~pi(Xu%X$U#7o4k1Y30IOyHaoA(z{mcfDbDQcTE=4ejlGlhR&a1{gj_jNy{OY*jy}_fw#2n z=1&_ilA?NZ3x2%S-oPpj9nH5`xU5Y_sK*6%zVAxP(a?}EB2>*z2!f!unvNz8O*YOU4k4OR2rgxMkxQGlkLGwHVC1>}rSqvksd zl%|-}a9r)DXkdhrz*fWKT1<7edgzJ=WN>A6$L-4+%kT-uM%?IUr@Cw^`fCw;&i*Mi zqV~Qu%4L8rKs3d)2j#6SA_%opSD#^e(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S5`C>i{^je7M>hepu-nZ}_46?wgMzprId->J z+Zx^y(F6S<){jFg+_}($r?Gk)pF?;LmN83oH@r&lvwt0G+yBn0=H$|w6TyxPuLhgT zY)&uE^m?N>=Y$*X?e+MNH2Q@r6QA*)G`_<$KmEL8f9%rjP2jqTjq|$r)cGBs>;HX_ z>2rQ>|FN-n6WI2#Gk&_TX*Br70TH7yJOdL?49bz4G*=zw6i__<37m%Mq?`K9-jL0w Fe*qKRb9w*( literal 0 HcmV?d00001 diff --git a/jscalendar-1.0/doc/html/reference-Z-S.css b/jscalendar-1.0/doc/html/reference-Z-S.css new file mode 100644 index 0000000..02a6f88 --- /dev/null +++ b/jscalendar-1.0/doc/html/reference-Z-S.css @@ -0,0 +1,193 @@ + + body { + color: black; + /* background-color: #e5e5e5;*/ + background-color: #ffffff; + /*background-color: beige;*/ + margin-top: 2em; + margin-left: 8%; + margin-right: 8%; + } + + h1,h2,h3,h4,h5,h6 { + margin-top: .5em; + } + + .title { + font-size: 200%; + font-weight: normal; + } + + .partheading { + font-size: 100%; + } + + .chapterheading { + font-size: 100%; + } + + .beginsection { + font-size: 110%; + } + + .tiny { + font-size: 40%; + } + + .scriptsize { + font-size: 60%; + } + + .footnotesize { + font-size: 75%; + } + + .small { + font-size: 90%; + } + + .normalsize { + font-size: 100%; + } + + .large { + font-size: 120%; + } + + .largecap { + font-size: 150%; + } + + .largeup { + font-size: 200%; + } + + .huge { + font-size: 300%; + } + + .hugecap { + font-size: 350%; + } + + pre { + margin-left: 2em; + } + + blockquote { + margin-left: 2em; + } + + ol { + list-style-type: decimal; + } + + ol ol { + list-style-type: lower-alpha; + } + + ol ol ol { + list-style-type: lower-roman; + } + + ol ol ol ol { + list-style-type: upper-alpha; + } + + /* + .verbatim { + color: #4d0000; + } + */ + + tt i { + font-family: serif; + } + + .verbatim em { + font-family: serif; + } + + .scheme em { + font-family: serif; + color: black; + } + + .scheme { + color: brown; + } + + .scheme .keyword { + color: #990000; + font-weight: bold; + } + + .scheme .builtin { + color: #990000; + } + + .scheme .variable { + color: navy; + } + + .scheme .global { + color: purple; + } + + .scheme .selfeval { + color: green; + } + + .scheme .comment { + color: teal; + } + + .schemeresponse { + color: green; + } + + .navigation { + color: red; + text-align: right; + font-size: medium; + font-style: italic; + } + + .disable { + /* color: #e5e5e5; */ + color: gray; + } + + .smallcaps { + font-size: 75%; + } + + .smallprint { + color: gray; + font-size: 75%; + text-align: right; + } + + /* + .smallprint hr { + text-align: left; + width: 40%; + } + */ + + .footnoterule { + text-align: left; + width: 40%; + } + + .colophon { + color: gray; + font-size: 80%; + text-align: right; + } + + .colophon a { + color: gray; + } + + \ No newline at end of file diff --git a/jscalendar-1.0/doc/html/reference.css b/jscalendar-1.0/doc/html/reference.css new file mode 100644 index 0000000..42e9283 --- /dev/null +++ b/jscalendar-1.0/doc/html/reference.css @@ -0,0 +1,34 @@ +html { margin: 0px; padding: 0px; background-color: #08f; color: #444; font-family: georgia,serif; } +body { margin: 2em 8%; background-color: #fff; padding: 1em; border: 2px ridge #048; } + +a:link, a:visited { text-decoration: none; color: #00f; } +a:hover { color: #f00; text-decoration: underline; } +a:active { color: #f84; } + +h1, h2, h3, h4, h5, h6 { font-family: tahoma,verdana,sans-serif; } + +h2, h3 { font-weight: normal; } + +h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { text-decoration: none; } + +h1 { font-size: 170%; border: 2px ridge #048; letter-spacing: 2px; color: #000; margin-left: -2em; margin-right: -2em; +background-color: #fff; padding: 2px 1em; background-color: #def; } +h2 { font-size: 140%; color: #222; } +h3 { font-size: 120%; color: #444; } + +h1.title { font-size: 300%; font-family: georgia,serif; font-weight: normal; color: #846; letter-spacing: -1px; +border: none; +padding: none; +background-color: #fff; +border-bottom: 3px double #624; padding-bottom: 2px; margin-left: 8%; margin-right: 8%; } + +.colophon { padding-top: 2em; color: #999; font-size: 90%; font-family: georgia,"times new roman",serif; } +.colophon a:link, .colophon a:visited { color: #755; } +.colophon a:hover { color: #422; text-decoration: underline; } + +.footnote { font-size: 90%; font-style: italic; font-family: georgia,"times new roman",serif; margin: 0px 3em; } +.footnote sup { font-size: 120%; padding: 0px 0.3em; position: relative; top: -0.2em; } + +.small { font-size: 90%; } + +.verbatim { background-color: #eee; padding: 0.2em 1em; border: 1px solid #aaa; } diff --git a/jscalendar-1.0/doc/html/reference.html b/jscalendar-1.0/doc/html/reference.html new file mode 100644 index 0000000..4bf6380 --- /dev/null +++ b/jscalendar-1.0/doc/html/reference.html @@ -0,0 +1,1738 @@ + + + + + +DHTML Calendar Widget + + + + + + +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    +

    + + + + +

    +

    + + +

    +

    +

    +

    +

    +



    DHTML Calendar Widget

    +

    +
    +Mihai Bazon, <mihai_bazon@yahoo.com>
    +© Dynarch.com 2002-2005, www.dynarch.com

    March 7, 2005

    +

    +

    +calendar version: 1.0 ``It is happening again'' +

    +
    +

    +

    +$Id: reference.tex,v 1.23 2005/03/05 11:37:14 mishoo Exp $ +

    +
    +
    + +
    + +
    + +

    Contents

    +

    +

    +    1  Overview
    +        1.1  How does this thing work?
    +        1.2  Project files
    +        1.3  License
    +

    +

    +    2  Quick startup
    +        2.1  Installing a popup calendar
    +        2.2  Installing a flat calendar
    +        2.3  Calendar.setup in detail
    +

    +

    +    3  Recipes
    +        3.1  Popup calendars
    +            3.1.1  Simple text field with calendar attached to a button
    +            3.1.2  Simple field with calendar attached to an image
    +            3.1.3  Hidden field, plain text triggers
    +            3.1.4  2 Linked fields, no trigger buttons
    +        3.2  Flat calendars
    +        3.3  Highlight special dates
    +        3.4  Select multiple dates
    +

    +

    +    4  The Calendar object overview
    +        4.1  Creating a calendar
    +        4.2  Order does matter ;-)
    +        4.3  Caching the object
    +        4.4  Callback functions
    +

    +

    +    5  The Calendar object API reference
    +        5.1  Calendar constructor
    +        5.2  Useful member variables (properties)
    +        5.3  Public methods
    +            5.3.1  Calendar.create
    +            5.3.2  Calendar.callHandler
    +            5.3.3  Calendar.callCloseHandler
    +            5.3.4  Calendar.hide
    +            5.3.5  Calendar.setDateFormat
    +            5.3.6  Calendar.setTtDateFormat
    +            5.3.7  Calendar.setDisabledHandler
    +            5.3.8  Calendar.setDateStatusHandler
    +            5.3.9  Calendar.show
    +            5.3.10  Calendar.showAt
    +            5.3.11  Calendar.showAtElement
    +            5.3.12  Calendar.setDate
    +            5.3.13  Calendar.setFirstDayOfWeek
    +            5.3.14  Calendar.parseDate
    +            5.3.15  Calendar.setRange
    +

    +

    +    6  Side effects
    +

    +

    +    7  Credits
    +

    +

    +

    +

    +

    + +

    1  Overview

    +

    The DHTML Calendar widget1 +is an (HTML) user interface element that gives end-users a friendly way to +select date and time. It works in a web browser. The first versions only provided +support for popup calendars, while starting with version 0.9 it also supports +``flat'' display. A ``flat'' calendar is a calendar that stays visible in the +page all the time. In this mode it could be very useful for ``blog'' pages and +other pages that require the calendar to be always present.

    +

    +The calendar is compatible with most popular browsers nowadays. While it's +created using web standards and it should generally work with any compliant +browser, the following browsers were found to work: Mozilla/Firefox (the +development platform), Netscape 6.0 or better, all other Gecko-based browsers, +Internet Explorer 5.0 or better for Windows2, Opera 73, Konqueror 3.1.2 and Apple Safari for +MacOSX.

    +

    +You can find the latest info and version at the calendar homepage:

    +

    +

    + +

    +

    + +

    1.1  How does this thing work?

    +

    DHTML is not ``another kind of HTML''. It's merely a naming convention. DHTML +refers to the combination of HTML, CSS, JavaScript and DOM. DOM (Document +Object Model) is a set of interfaces that glues the other three together. In +other words, DOM allows dynamic modification of an HTML page through a program. +JavaScript is our programming language, since that's what browsers like. CSS +is a way to make it look good ;-). So all this soup is generically known as +DHTML.

    +

    +Using DOM calls, the program dynamically creates a <table> element +that contains a calendar for the given date and then inserts it in the document +body. Then it shows this table at a specified position. Usually the position +is related to some element in which the date needs to be displayed/entered, +such as an input field.

    +

    +By assigning a certain CSS class to the table we can control the look of the +calendar through an external CSS file; therefore, in order to change the +colors, backgrounds, rollover effects and other stuff, you can only change a +CSS file -- modification of the program itself is not necessary.

    +

    +

    + +

    1.2  Project files

    +

    Here's a description of the project files, excluding documentation and example +files.

    +

    +

    +

      +

      +
    • the main program file (calendar.js). This defines all the logic +behind the calendar widget.

      +

      +

      +
    • the CSS files (calendar-*.css). Loading one of them is +necessary in order to see the calendar as intended.

      +

      +

      +
    • the language definition files (lang/calendar-*.js). They are +plain JavaScript files that contain all texts that are displayed by the +calendar. Loading one of them is necessary.

      +

      +

      +
    • helper functions for quick setup of the calendar +(calendar-setup.js). You can do fine without it, but starting with +version 0.9.3 this is the recommended way to setup a calendar.

      +

      +

      +

    +

    +

    + +

    1.3  License

    +

    +
    + +© Dynarch.com 2002-2005, +www.dynarch.com +Author: Mihai Bazon +
    +

    +The calendar is released under the +GNU Lesser General Public License.

    +

    +

    + +

    2  Quick startup

    +

    +

    +Installing the calendar used to be quite a task until version 0.9.3. Starting +with 0.9.3 I have included the file calendar-setup.js whose goal is to +assist you to setup a popup or flat calendar in minutes. You are +encouraged to modify this file and not calendar.js if you need +extra customization, but you're on your own.

    +

    +First you have to include the needed scripts and style-sheet. Make sure you do +this in your document's <head> section, also make sure you put the +correct paths to the scripts.

    +

    +

    +
    <style type="text/css">@import url(calendar-win2k-1.css);</style>
    +<script type="text/javascript" src="calendar.js"></script>
    +<script type="text/javascript" src="lang/calendar-en.js"></script>
    +<script type="text/javascript" src="calendar-setup.js"></script>
    +

    +

    +

    + +

    2.1  Installing a popup calendar

    +

    +

    +Now suppose you have the following HTML:

    +

    +

    +
    <form ...>
    +  <input type="text" id="data" name="data" />
    +  <button id="trigger">...</button>
    +</form>
    +

    +

    +You want the button to popup a calendar widget when clicked? Just +insert the following code immediately after the HTML form:

    +

    +

    +
    <script type="text/javascript">
    +  Calendar.setup(
    +    {
    +      inputField  : "data",         // ID of the input field
    +      ifFormat    : "%m %d, %Y",    // the date format
    +      button      : "trigger"       // ID of the button
    +    }
    +  );
    +</script>
    +

    +

    +The Calendar.setup function, defined in calendar-setup.js +takes care of ``patching'' the button to display a calendar when clicked. The +calendar is by default in single-click mode and linked with the given input +field, so that when the end-user selects a date it will update the input field +with the date in the given format and close the calendar. If you are a +long-term user of the calendar you probably remember that for doing this you +needed to write a couple functions and add an ``onclick'' handler for the +button by hand.

    +

    +By looking at the example above we can see that the function +Calendar.setup receives only one parameter: a JavaScript object. +Further, that object can have lots of properties that tell to the setup +function how would we like to have the calendar. For instance, if we would +like a calendar that closes at double-click instead of single-click we would +also include the following: singleClick:false.

    +

    +For a list of all supported parameters please see the section +2.3.

    +

    +

    + +

    2.2  Installing a flat calendar

    +

    +

    +Here's how to configure a flat calendar, using the same Calendar.setup +function. First, you should have an empty element with an ID. This element +will act as a container for the calendar. It can be any block-level element, +such as DIV, TABLE, etc. We will use a DIV in this example.

    +

    +

    +
    <div id="calendar-container"></div>
    +

    +

    +Then there is the JavaScript code that sets up the calendar into the +``calendar-container'' DIV. The code can occur anywhere in HTML +after the DIV element.

    +

    +

    +
    <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>
    +

    +

    +

    + +

    2.3  Calendar.setup in detail

    +

    +

    +Following there is the complete list of properties interpreted by +Calendar.setup. All of them have default values, so you can pass only those +which you would like to customize. Anyway, you must pass at least one +of inputField, displayArea or button, for a popup +calendar, or flat for a flat calendar. Otherwise you will get a +warning message saying that there's nothing to setup.

    +

    +

    + + + + + + + + + + + + + + + + + + + + + + + + + +
    property type description default +
    inputField +string The ID of your input field. +null +
    displayArea +string This is the ID of a <span>, <div>, or any other element that you would like to use to display the current date. This is generally useful only if the input field is hidden, as an area to display the date. +null +
    button +string The ID of the calendar ``trigger''. This is an element (ordinarily a button or an image) that will dispatch a certain event (usually ``click'') to the function that creates and displays the calendar. +null +
    eventName +string The name of the event that will trigger the calendar. The name should be without the ``on'' prefix, such as ``click'' instead of ``onclick''. Virtually all users will want to let this have the default value (``click''). Anyway, it could be useful if, say, you want the calendar to appear when the input field is focused and have no trigger button (in this case use ``focus'' as the event name). +``click'' +
    ifFormat +string The format string that will be used to enter the date in the input field. This format will be honored even if the input field is hidden. +``%Y/%m/%d'' +
    daFormat +string Format of the date displayed in the displayArea (if specified). +``%Y/%m/%d'' +
    singleClick +boolean Wether the calendar is in ``single-click mode'' or ``double-click mode''. If true (the default) the calendar will be created in single-click mode. +true +
    disableFunc +function A function that receives a JS Date object. It should return +true if that date has to be disabled, false otherwise. +DEPRECATED (see below). +null +
    dateStatusFunc +function A function that receives a JS Date object and returns a boolean +or a string. This function allows one to set a certain CSS class to some +date, therefore making it look different. If it returns true then +the date will be disabled. If it returns false nothing special +happens with the given date. If it returns a string then that will be taken +as a CSS class and appended to the date element. If this string is +``disabled'' then the date is also disabled (therefore is like returning +true). For more information please also refer to section +5.3.8. +null +
    firstDay +integer Specifies which day is to be displayed as the first day of +week. Possible values are 0 to 6; 0 means Sunday, 1 means Monday, ..., 6 +means Saturday. The end user can easily change this too, by clicking on the +day name in the calendar header. +0 +
    weekNumbers +boolean If ``true'' then the calendar will display week numbers. +true +
    align +string Alignment of the calendar, relative to the reference element. The +reference element is dynamically chosen like this: if a displayArea is +specified then it will be the reference element. Otherwise, the input field +is the reference element. For the meaning of the alignment characters +please section 5.3.11. +``Bl'' +
    range +array An array having exactly 2 elements, integers. (!) The first [0] element is the minimum year that is available, and the second [1] element is the maximum year that the calendar will allow. +[1900, 2999] +
    flat +string If you want a flat calendar, pass the ID of the parent object in +this property. If not, pass null here (or nothing at all as +null is the default value). +null +
    flatCallback +function You should provide this function if the calendar is flat. It +will be called when the date in the calendar is changed with a reference to +the calendar object. See section 2.2 for an example +of how to setup a flat calendar. +null +
    onSelect +function If you provide a function handler here then you have to manage +the ``click-on-date'' event by yourself. Look in the calendar-setup.js and +take as an example the onSelect handler that you can see there. +null +
    onClose +function This handler will be called when the calendar needs to close. +You don't need to provide one, but if you do it's your responsibility to +hide/destroy the calendar. You're on your own. Check the calendar-setup.js +file for an example. +null +
    onUpdate +function If you supply a function handler here, it will be called right +after the target field is updated with a new date. You can use this to +chain 2 calendars, for instance to setup a default date in the second just +after a date was selected in the first. +null +
    date +date This allows you to setup an initial date where the calendar will be +positioned to. If absent then the calendar will open to the today date. +null +
    showsTime +boolean If this is set to true then the calendar will also +allow time selection. +false +
    timeFormat +string Set this to ``12'' or ``24'' to configure the way that the +calendar will display time. +``24'' +
    electric +boolean Set this to ``false'' if you want the calendar to update the +field only when closed (by default it updates the field at each date change, +even if the calendar is not closed) true +
    position +array Specifies the [x, y] position, relative to page's top-left corner, +where the calendar will be displayed. If not passed then the position will +be computed based on the ``align'' parameter. Defaults to ``null'' (not +used). null +
    cache +boolean Set this to ``true'' if you want to cache the calendar object. +This means that a single calendar object will be used for all fields that +require a popup calendar false +
    showOthers +boolean If set to ``true'' then days belonging to months overlapping +with the currently displayed month will also be displayed in the calendar +(but in a ``faded-out'' color) false + +
    + +

    +

    + +

    3  Recipes

    +

    This section presents some common ways to setup a calendar using the +Calendar.setup function detailed in the previous section.

    +

    +We don't discuss here about loading the JS or CSS code -- so make sure you +add the proper <script> and <style> or <link> elements in your +HTML code. Also, when we present input fields, please note that they should +be embedded in some form in order for data to be actually sent to server; we +don't discuss these things here because they are not related to our +calendar.

    +

    +

    + +

    3.1  Popup calendars

    +

    These samples can be found in the file “simple-1.html†from the +calendar package.

    +

    +

    + +

    3.1.1  Simple text field with calendar attached to a button

    +

    +

    +This piece of code will create a calendar for a simple input field with a +button that will open the calendar when clicked.

    +

    +

    +
    <input type="text" name="date" id="f_date_b"
    +       /><button type="reset" id="f_trigger_b"
    +       >...</button>
    +<script type="text/javascript">
    +    Calendar.setup({
    +        inputField     :    "f_date_b",           //*
    +        ifFormat       :    "%m/%d/%Y %I:%M %p",
    +        showsTime      :    true,
    +        button         :    "f_trigger_b",        //*
    +        step           :    1
    +    });
    +</script>
    +

    +

    +Note that this code does more actually; the only required fields are +those marked with “//*†-- that is, the ID of the input field and the ID of +the button need to be passed to Calendar.setup in order for the +calendar to be properly assigned to this input field. As one can easily +guess from the argument names, the other arguments configure a certain date +format, instruct the calendar to also include a time selector and display +every year in the drop-down boxes (the “step†parameter) -- instead of showing +every other year as the default calendar does.

    +

    +

    + +

    3.1.2  Simple field with calendar attached to an image

    +

    Same as the above, but the element that triggers the calendar is this time +an image, not a button.

    +

    +

    +
    <input type="text" name="date" id="f_date_c" readonly="1" />
    +<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=''" />
    +<script type="text/javascript">
    +    Calendar.setup({
    +        inputField     :    "f_date_c",
    +        ifFormat       :    "%B %e, %Y",
    +        button         :    "f_trigger_c",
    +        align          :    "Tl",
    +        singleClick    :    false
    +    });
    +</script>
    +

    +

    +Note that the same 2 parameters are required as in the previous case; the +difference is that the 'button' parameter now gets the ID of the image +instead of the ID of the button. But the event is the same: at 'onclick' on +the element that is passed as 'button', the calendar will be shown.

    +

    +The above code additionally sets an alignment mode -- the parameters are +described in 5.3.11.

    +

    +

    + +

    3.1.3  Hidden field, plain text triggers

    +

    Sometimes, to assure that the date is well formatted, you might want not to +allow the end user to write a date manually. This can easily be achieved +with an input field by setting its readonly attribute, which is +defined by the HTML4 standard; however, here's an even nicer approach: our +calendar widget allows you to use a hidden field as the way to pass data to +server, and a “display area†to show the end user the selected date. The +“display area†can be any HTML element, such as a DIV or a SPAN or +whatever -- we will use a SPAN in our sample.

    +

    +

    +
    <input type="hidden" name="date" id="f_date_d" />
    +
    +<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",
    +        ifFormat       :    "%Y/%d/%m",
    +        displayArea    :    "show_d",
    +        daFormat       :    "%A, %B %d, %Y",
    +    });
    +</script>
    +

    +

    +The above code will configure a calendar attached to the hidden field and to +the SPAN having the id=“show_dâ€. When the SPAN element is clicked, the +calendar opens and allows the end user to chose a date. When the date is +chosen, the input field will be updated with the value in the format +“%Y/%d/%mâ€, and the SPAN element will display the date in a +friendlier format (defined by “daFormatâ€).

    +

    +Beware that using this approach will make your page unfunctional in browsers +that do not support JavaScript or our calendar.

    +

    +

    + +

    3.1.4  2 Linked fields, no trigger buttons

    +

    Supposing you want to create 2 fields that hold an interval of exactly one +week. The first is the starting date, and the second is the ending date. +You want the fields to be automatically updated when some date is clicked in +one or the other, in order to keep exactly one week difference between them.

    +

    +

    +
    <input type="text" name="date" id="f_date_a" />
    +<input type="text" name="date" id="f_calcdate" />
    +
    +<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",
    +        ifFormat       :    "%Y-%m-%d %H:%M",
    +        showsTime      :    true,
    +        timeFormat     :    "24",
    +        onUpdate       :    catcalc
    +    });
    +    Calendar.setup({
    +        inputField     :    "f_calcdate",
    +        ifFormat       :    "%Y-%m-%d %H:%M",
    +        showsTime      :    true,
    +        timeFormat     :    "24",
    +        onUpdate       :    catcalc
    +    });
    +</script>
    +

    +

    +The above code will configure 2 input fields with calendars attached, as +usual. The first thing to note is that there's no trigger button -- in such +case, the calendar will popup when one clicks into the input field. Using +the onUpdate parameter, we pass a reference to a function of ours +that will get called after a date was selected. In that function we +determine what field was updated and we compute the date in the other input +field such that it keeps a one week difference between the two. Enjoy! :-)

    +

    +

    + +

    3.2  Flat calendars

    +

    This sample can be found in “simple-2.htmlâ€. It will configure a +flat calendar that is always displayed in the page, in the DIV having the +id=“calendar-containerâ€. When a date is clicked our function hander gets +called (dateChanged) and it will compute an URL to jump to based on +the selected date, then use window.location to visit the new link.

    +

    +

    +
    <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>
    +

    +

    +

    + +

    3.3  Highlight special dates

    +

    So you want to display certain dates in a different color, or with bold +font, or whatever, right? Well, no problem -- our calendar can do this as +well. It doesn't matter if it's a flat or popup calendar -- we'll use a flat +one for this sample. The idea, however, is that you need to have the dates +in an array or a JavaScript object -- whatever is suitable for your way of +thinking -- and use it from a function that returns a value, telling the +calendar what kind of date is the passed one.

    +

    +Too much talking, here's the code ;-)

    +

    +

    +
    <!-- this goes into the <head> tag -->
    +<style type="text/css">
    +  .special { background-color: #000; color: #fff; }
    +</style>
    +
    +<!-- and the rest inside the <body> -->
    +<div style="float: right; margin-left: 1em; margin-bottom: 1em;"
    +id="calendar-container"></div>
    +
    +<script type="text/javascript">
    +  var SPECIAL_DAYS = {
    +    0 : [ 13, 24 ],		// special days in January
    +    2 : [ 1, 6, 8, 12, 18 ],	// special days in March
    +    8 : [ 21, 11 ]		// special days in September
    +  };
    +
    +  function dateIsSpecial(year, month, day) {
    +    var m = SPECIAL_DAYS[month];
    +    if (!m) return false;
    +    for (var i in m) if (m[i] == day) return true;
    +    return false;
    +  };
    +
    +  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";
    +    }
    +  };
    +
    +  function ourDateStatusFunc(date, y, m, d) {
    +    if (dateIsSpecial(y, m, d))
    +      return "special";
    +    else
    +      return false; // other dates are enabled
    +      // return true if you want to disable other dates
    +  };
    +
    +  Calendar.setup(
    +    {
    +      flat         : "calendar-container", // ID of the parent element
    +      flatCallback : dateChanged,          // our callback function
    +      dateStatusFunc : ourDateStatusFunc
    +    }
    +  );
    +</script>
    +

    +

    +So the above code creates a normal flat calendar, like in the previous +sample. We hook into it with the function “ourDateStatusFuncâ€, +which receives a date object as the first argument, and also the year, +month, date as the next 3 arguments (normally, you can extract year, month, +date from the first parameter too, but we pass them separately for +convenience, as it's very likely that they are going to be used in this +function).

    +

    +So, this function receives a date. It can return false if you want +no special action to be taken on that date, true if that date +should be disabled (unselectable), or a string if you want to assign a +special CSS class to that date. We return “special†for the dates that we +want to highlight -- and note that we defined a “special†look for them in +the CSS section.

    +

    +I used a simple approach here to define what dates are special. There's a +JavaScript object (the SPECIAL_DAYS global variable) which holds an array +of dates for each month. Month numbers start at zero (January). Months +that don't contain special dates can be absent from this object. Note that +the way to implement this is completely separated from the calendar +code -- therefore, feel free to use your imagination if you have better +ideas. :-)

    +

    +

    + +

    3.4  Select multiple dates

    +

    Starting version 1.0, the calendar is able to handle multiple dates +selection. You just need to pass the “multiple†parameter to +Calendar.setup and add some special code that interprets the +selection once the calendar is closed.

    +

    +

    +
    <a id="trigger" href="#">[open calendar...]</a>
    +<div id="output"></div>
    +<script type="text/javascript">//<![CDATA[
    +    // the default multiple dates selected,
    +    // first time the calendar is displayed
    +    var MA = [];
    +
    +    function closed(cal) {
    +
    +      // here we'll write the output; this is only for example.  You
    +      // will normally fill an input field or something with the dates.
    +      var el = document.getElementById("output");
    +
    +      // reset initial content.
    +      el.innerHTML = "";
    +
    +      // Reset the "MA", in case one triggers the calendar again.
    +      // CAREFUL!  You don't want to do "MA = [];".  We need to modify
    +      // the value of the current array, instead of creating a new one.
    +      // Calendar.setup is called only once! :-)  So be careful.
    +      MA.length = 0;
    +
    +      // walk the calendar's multiple dates selection hash
    +      for (var i in cal.multiple) {
    +        var d = cal.multiple[i];
    +        // sometimes the date is not actually selected,
    +        // so let's check
    +        if (d) {
    +          // OK, selected.  Fill an input field or something.
    +          el.innerHTML += d.print("%A, %Y %B %d") + "<br />";
    +          // and push it in the "MA", in case one triggers the calendar again.
    +          MA[MA.length] = d;
    +        }
    +      }
    +      cal.hide();
    +      return true;
    +    };
    +
    +    Calendar.setup({
    +      align      : "BR",
    +      showOthers : true,
    +      multiple   : MA, // pass the initial or computed array of multiple dates
    +      onClose    : closed,
    +      button     : "trigger"
    +    });
    +//]]></script>
    +

    +

    +The above code creates a popup calendar and passes to it an array of dates, +which is initially empty, in the “multiple†argument. When the calendar is +closed it will call our “closed†function handler; in this handler +we determine what dates were actually selected, inspecting the +“cal.multiple†property, we display them in a DIV element right +next to the <a> element that opens the calendar, and we reinitialize the +global array of selected dates (which will be used if the end user opens the +calendar again). I guess the code speaks for itself, right? :-)

    +

    +

    + +

    4  The Calendar object overview

    +

    +

    +Basically you should be able to setup the calendar with the function presented +in the previous section. However, if for some reason Calendar.setup +doesn't provide all the functionality that you need and you want to tweak into +the process of creating and configuring the calendar ``by hand'', then this +section is the way to go.

    +

    +The file calendar.js implements the functionality of the calendar. +All (well, almost all) functions and variables are embedded in the JavaScript +object ``Calendar''.

    +

    +You can instantiate a Calendar object by calling the constructor, like +this: var cal = new Calendar(...). We will discuss the parameters +later. After creating the object, the variable cal will contain a +reference to it. You can use this reference to access further options of the +calendar, for instance:

    +

    +

    +
    cal.weekNumbers = false; // do not display week numbers
    +cal.showsTime = true;    // include a time selector
    +cal.setDateFormat("%Y.%m.%d %H:%M"); // set this format: 2003.12.31 23:59
    +cal.setDisabledHandler(function(date, year, month, day) {
    +  // verify date and return true if it has to be disabled
    +  // ``date'' is a JS Date object, but if you only need the
    +  // year, month and/or day you can get them separately as
    +  // next 3 parameters, as you can see in the declaration
    +  if (year == 2004) {
    +    // disable all dates from 2004
    +    return true;
    +  }
    +  return false;
    +});
    +

    +

    +etc. Prior to version +0.9.3 this was the only way to configure it. The Calendar.setup +function, documented in section 2, basically does the same +things (actually more) in order to setup the calendar, based on the parameters +that you provided.

    +

    +

    + +

    4.1  Creating a calendar

    +

    The calendar is created by following some steps (even the function +Calendar.setup, described in section 2, does the +same). While you can skip optional (marked ``opt'') steps if you're happy with +the defaults, please respect the order below.

    +

    +

    +

      +

      +
    1. Instantiate a Calendar object. Details about this in +section 5.1.

      +

      +

      +
    2. opt   Set the weekNumbers property to false if you don't want +the calendar to display week numbers.

      +

      +

      +
    3. opt   Set the showsTime property to true if you +want the calendar to also provide a time selector.

      +

      +

      +
    4. opt   Set the time24 property to false if you want +the time selector to be in 12-hour format. Default is 24-hour format. This +property only has effect if you also set showsTime to +true.

      +

      +

      +
    5. opt   Set the range of years available for selection (see section +5.3.15). The default range is [1970..2050].

      +

      +

      +
    6. opt   Set the getDateStatus property. You should pass +here a function that receives a JavaScript Date object and returns +true if the given date should be disabled, false otherwise (details in +section 5.3.7).

      +

      +

      +
    7. opt   Set a date format. Your handler function, passed to the +calendar constructor, will be called when a date is selected with a reference +to the calendar and a date string in this format.

      +

      +

      +
    8. Create the HTML elements related to the calendar. This step +practically puts the calendar in your HTML page. You simply call +Calendar.create(). You can give an optional parameter if you wanna +create a flat calendar (details in section 5.3.1).

      +

      +

      +
    9. opt   Initialize the calendar to a certain date, for instance from +the input field.

      +

      +

      +
    10. Show the calendar (details in section 5.3.9).

      +

      +

      +

    +

    +

    + +

    4.2  Order does matter ;-)

    +

    As you could see in the previous section, there are more steps to be followed +in order to setup the calendar. This happens because there are two different +things that need to be accomplished: first there is the JavaScript object, that +is created with new Calendar(...). Secondly there are the HTML +elements that actually lets you see and manipulate the calendar.

    +

    +

    +[ Those that did UI4 programming, no matter in what +language and on what platform, may be familiar with this concept. First there +is the object in memory that lets you manipulate the UI element, and secondly +there is the UI element (known as ``control'', ``window'', ``widget'', etc.), +also in memory but you don't usually access it directly. ] +

    +By instantiating the calendar we create the JavaScript object. It lets us +configure some properties and it also knows how to create the UI element (the +HTML elements actually) that will eventually be what the end-user sees on +screen. Creation of the HTML element is accomplished by the function +Calendar.create. It knows how to create popup or flat calendars. +This function is described in section 5.3.1.

    +

    +Some properties need to be set prior to creating the HTML elements, because +otherwise they wouldn't have any effect. Such a property is +weekNumbers -- it has the default value ``true'', and if you don't +want the calendar to display the week numbers you have to set it to false. If, +however, you do that after calling Calendar.create the calendar +would still display the week numbers, because the HTML elements are already +created (including the <td>-s in the <table> element that +should contain the week numbers). For this reason the order of the steps above +is important.

    +

    +Another example is when you want to show the calendar. The ``create'' function +does create the HTML elements, but they are initially hidden (have the style +``display: none'') unless the calendar is a flat calendar that should be always +visible in the page. Obviously, the Calendar.show function should be +called after calling Calendar.create.

    +

    +

    + +

    4.3  Caching the object

    +

    Suppose the end-user has popped up a calendar and selects a date. The calendar +then closes. What really happens now?

    +

    +There are two approaches. The first (used in very old versions of the +calendar) was to drop completely the Calendar object and when the end-user pops +up the calendar again to create another one. This approach is bad for more +reasons:

    +

    +

    +

      +

      +
    • creating the JavaScript object and HTML elements is time-consuming

      +

      +

      +
    • we may loose some end-user preferences (i.e. he might prefer to have +Monday for the first day of week and probably already clicked it the first time +when the calendar was opened, but now he has to do it again)

      +

      +

      +

    +

    +The second approach, implemented by the Calendar.setup function, is to +cache the JavaScript object. It does this by checking the global variable +window.calendar and if it is not null it assumes it is the created +Calendar object. When the end-user closes the calendar, our code will only +call ``hide'' on it, therefore keeping the JavaScript object and the +HTML elements in place.

    +

    +CAVEAT:     Since time selection support was introduced, this +``object caching'' mechanism has the following drawback: if you once created +the calendar with the time selection support, then other items that may not +require this functionality will still get a calendar with the time selection +support enabled. And reciprocal. ;-) Hopefully this will be corrected in a +later version, but for now it doesn't seem such a big problem.

    +

    +

    + +

    4.4  Callback functions

    +

    You might rightfully wonder how is the calendar related to the input field? +Who tells it that it has to update that input field when a date is +selected, or that it has to jump to that URL when a date is clicked in +flat mode?

    +

    +All this magic is done through callback functions. The calendar doesn't know +anything about the existence of an input field, nor does it know where to +redirect the browser when a date is clicked in flat mode. It just calls your +callback when a particular event is happening, and you're responsible to handle +it from there. For a general purpose library I think this is the best model of +making a truly reusable thing.

    +

    +The calendar supports the following user callbacks:

    +

    +

    +

      +

      +
    • onSelect   -- this gets called when the end-user changes the date in the +calendar. Documented in section 5.1.

      +

      +

      +
    • onClose   -- this gets called when the calendar should close. It's +user's responsibility to close the calendar. Details in section +5.1.

      +

      +

      +
    • getDateStatus   -- this function gets called for any day in a month, +just before displaying the month. It is called with a JavaScript Date +object and should return true if that date should be disabled, false +if it's an ordinary date and no action should be taken, or it can return a +string in which case the returned value will be appended to the element's CSS +class (this way it provides a powerful way to make some dates ``special'', +i.e. highlight them differently). Details in section +5.3.8.

      +

      +

      +

    +

    +

    + +

    5  The Calendar object API reference

    +

    +

    +

    + +

    5.1  Calendar constructor

    +

    +

    +Synopsis:

    +

    +

    +
    var calendar = Calendar(firstDayOfWeek, date, onSelect, onClose);
    +

    +

    +Parameters are as follows:

    +

    +

    +

      +

      +
    • firstDayOfWeek   -- specifies which day is to be displayed as the first +day of week. Possible values are 0 to 6; 0 means Sunday, 1 means Monday, +..., 6 means Saturday.

      +

      +

      +
    • date   -- a JavaScript Date object or null. If null +is passed then the calendar will default to today date. Otherwise it will +initialize on the given date.

      +

      +

      +
    • onSelect   -- your callback for the ``onChange'' event. See above.

      +

      +

      +
    • onClose   -- your callback for the ``onClose'' event. See above.

      +

      +

      +

    +

    +

    + +

    The onSelect event

    +

    +

    +Here is a typical implementation of this function:

    +

    +

    +
    function onSelect(calendar, date) {
    +  var input_field = document.getElementById("date");
    +  input_field.value = date;
    +};
    +

    +

    +date is in the format selected with calendar.setDateFormat +(see section 5.3.5). This code simply updates the +input field. If you want the calendar to be in single-click mode then you +should also close the calendar after you updated the input field, so we come to +the following version:

    +

    +

    +
    function onSelect(calendar, date) {
    +  var input_field = document.getElementById("date");
    +  input_field.value = date;
    +  if (calendar.dateClicked) {
    +    calendar.callCloseHandler(); // this calls "onClose" (see above)
    +  }
    +};
    +

    +

    +Note that we checked the member variable dateClicked and +only hide the calendar if it's true. If this variable is false it +means that no date was actually selected, but the user only changed the +month/year using the navigation buttons or the menus. We don't want to hide +the calendar in that case.

    +

    +

    + +

    The onClose event

    +

    +

    +This event is triggered when the calendar should close. It should hide or +destroy the calendar object -- the calendar itself just triggers the event, but +it won't close itself.

    +

    +A typical implementation of this function is the following:

    +

    +

    +
    function onClose(calendar) {
    +  calendar.hide();
    +  // or calendar.destroy();
    +};
    +

    +

    +

    + +

    5.2  Useful member variables (properties)

    +

    +

    +After creating the Calendar object you can access the following properties:

    +

    +

    +

      +

      +
    • date -- is a JavaScript Date object. It will always +reflect the date shown in the calendar (yes, even if the calendar is hidden).

      +

      +

      +
    • isPopup -- if this is true then the current Calendar object is +a popup calendar. Otherwise (false) we have a flat calendar. This variable is +set from Calendar.create and has no meaning before this function was +called.

      +

      +

      +
    • dateClicked -- particularly useful in the onSelect +handler, this variable tells us if a date was really clicked. That's because +the onSelect handler is called even if the end-user only changed the +month/year but did not select a date. We don't want to close the calendar in +that case.

      +

      +

      +
    • weekNumbers -- if true (default) then the calendar +displays week numbers. If you don't want week numbers you have to set this +variable to false before calling Calendar.create.

      +

      +

      +
    • showsTime - if you set this to true (it is +false by default) then the calendar will also include a time selector.

      +

      +

      +
    • time24 - if you set this to false then the time +selector will be in 12-hour format. It is in 24-hour format by default.

      +

      +

      +
    • firstDayOfWeek -- specifies the first day of week (0 to 6, pass +0 for Sunday, 1 for Monday, ..., 6 for Saturday). This variable is set from +constructor, but you still have a chance to modify it before calling +Calendar.create.

      +

      +

      +

    +

    +There are lots of other member variables, but one should access them only +through member functions so I won't document them here.

    +

    +

    + +

    5.3  Public methods

    +

    + +

    5.3.1  Calendar.create

    +

    +

    +This function creates the afferent HTML elements that are needed to display the +calendar. You should call it after setting the calendar properties. Synopsis: +

    +
    calendar.create(); // creates a popup calendar
    +  // -- or --
    +calendar.create(document.getElementById(parent_id)); // makes a flat calendar
    +

    +

    +It can create a popup calendar or a flat calendar. If the ``parent'' argument +is present (it should be a reference -- not ID -- to an HTML element) then +a flat calendar is created and it is inserted in the given element.

    +

    +At any moment, given a reference to a calendar object, we can inspect if it's a +popup or a flat calendar by checking the boolean member variable +isPopup:

    +

    +

    +
    if (calendar.isPopup) {
    +   // this is a popup calendar
    +} else {
    +   // this is a flat calendar
    +}
    +

    +

    +

    + +

    5.3.2  Calendar.callHandler

    +

    +

    +This function calls the first user callback (the +onSelect handler) with the required parameters.

    +

    +

    + +

    5.3.3  Calendar.callCloseHandler

    +

    +

    +This function calls the second user callback (the +onClose handler). It's useful when you want to have a +``single-click'' calendar -- just call this in your onSelect handler, +if a date was clicked.

    +

    +

    + +

    5.3.4  Calendar.hide

    +

    +

    +Call this function to hide the calendar. The calendar object and HTML elements +will not be destroyed, thus you can later call one of the show +functions on the same element.

    +

    +

    + +

    5.3.5  Calendar.setDateFormat

    +

    +

    +This function configures the format in which the calendar reports the date to +your ``onSelect'' handler. Call it like this:

    +

    +

    +
    calendar.setDateFormat("%y/%m/%d");
    +

    +

    +As you can see, it receives only one parameter, the required format. The magic +characters are the following:

    +

    +

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    %a abbreviated weekday name
    %A full weekday name
    %b abbreviated month name
    %B full month name
    %C century number
    %d the day of the month ( 00 .. 31 )
    %e the day of the month ( 0 .. 31 )
    %H hour ( 00 .. 23 )
    %I hour ( 01 .. 12 )
    %j day of the year ( 000 .. 366 )
    %k hour ( 0 .. 23 )
    %l hour ( 1 .. 12 )
    %m month ( 01 .. 12 )
    %M minute ( 00 .. 59 )
    %n a newline character
    %p ``PM'' or ``AM''
    %P ``pm'' or ``am''
    %S second ( 00 .. 59 )
    %s number of seconds since Epoch (since Jan 01 1970 00:00:00 UTC)
    %t a tab character
    %U, %W, %V the week number
    %u the day of the week ( 1 .. 7, 1 = MON )
    %w the day of the week ( 0 .. 6, 0 = SUN )
    %y year without the century ( 00 .. 99 )
    %Y year including the century ( ex. 1979 )
    %% a literal % character +

    +There are more algorithms for computing the week number. All +three specifiers currently implement the same one, as defined by ISO 8601: +``the week 01 is the week that has the Thursday in the current year, which is +equivalent to the week that contains the fourth day of January. Weeks start on +Monday.''

    +

    +

    + +

    5.3.6  Calendar.setTtDateFormat

    +

    +

    +Has the same prototype as Calendar.setDateFormat, but refers to the +format of the date displayed in the ``status bar'' when the mouse is over some +date.

    +

    +

    + +

    5.3.7  Calendar.setDisabledHandler

    +

    +

    +This function allows you to specify a callback function that checks if a +certain date must be disabled by the calendar. You are responsible to write +the callback function. Synopsis:

    +

    +

    +
    function disallowDate(date) {
    +  // date is a JS Date object
    +  if (  date.getFullYear() == 2003 &&
    +        date.getMonth()    == 6 /* July, it's zero-based */ &&
    +        date.getDate()     == 5  ) {
    +    return true; // disable July 5 2003
    +  }
    +  return false; // enable other dates
    +};
    +
    +calendar.setDisabledHandler(disallowDate);
    +

    +

    +If you change this function in ``real-time'', meaning, without creating a new +calendar, then you have to call calendar.refresh() to make it +redisplay the month and take into account the new disabledHandler. +Calendar.setup does this, so you have no such trouble with it.

    +

    +Note that disallowDate should be very fast, as it is called for each +date in the month. Thus, it gets called, say, 30 times before displaying the +calendar, and 30 times when the month is changed. Tests I've done so far show +that it's still good, but in the future I might switch it to a different design +(for instance, to call it once per month and to return an array of dates that +must be disabled).

    +

    +This function should be considered deprecated in the favor of +Calendar.setDateStatusHandler, described below.

    +

    +

    + +

    5.3.8  Calendar.setDateStatusHandler

    +

    +

    +This function obsoletes Calendar.setDisabledHandler. You call it with +a function parameter, but this function can return a boolean +or a string. If the return value is a boolean (true or +false) then it behaves just like setDisabledHandler, +therefore disabling the date if the return value is true.

    +

    +If the returned value is a string then the given date will gain an additional +CSS class, namely the returned value. You can use this to highlight some dates +in some way. Note that you are responsible for defining the CSS class that you +return. If you return the string ``disabled'' then that date will be disabled, +just as if you returned true.

    +

    +Here is a simple scenario that shows what you can do with this function. The +following should be present in some of your styles, or in the document head in +a STYLE tag (but put it after the place where the calendar styles were +loaded):

    +

    +

    +
    .special { background-color: #000; color: #fff; }
    +

    +

    +And you would use the following code before calling Calendar.create():

    +

    +

    +
    // this table holds your special days, so that we can automatize
    +// things a bit:
    +var SPECIAL_DAYS = {
    +    0 : [ 13, 24 ],             // special days in January
    +    2 : [ 1, 6, 8, 12, 18 ],    // special days in March
    +    8 : [ 21, 11 ],             // special days in September
    +   11 : [ 25, 28 ]              // special days in December
    +};
    +
    +// this function returns true if the passed date is special
    +function dateIsSpecial(year, month, day) {
    +    var m = SPECIAL_DAYS[month];
    +    if (!m) return false;
    +    for (var i in m) if (m[i] == day) return true;
    +    return false;
    +}
    +
    +// this is the actual date status handler.  Note that it receives the
    +// date object as well as separate values of year, month and date, for
    +// your confort.
    +function dateStatusHandler(date, y, m, d) {
    +    if (dateIsSpecial(y, m, d)) return ``special'';
    +    else return false;
    +    // return true above if you want to disable other dates
    +}
    +
    +// configure it to the calendar
    +calendar.setDateStatusHandler(dateStatusHandler);
    +

    +

    +The above code adds the ``special'' class name to some dates that are defined +in the SPECIAL_DAYS table. Other dates will simply be displayed as default, +enabled.

    +

    +

    + +

    5.3.9  Calendar.show

    +

    +

    +Call this function do show the calendar. It basically sets the CSS ``display'' +property to ``block''. It doesn't modify the calendar position.

    +

    +This function only makes sense when the calendar is in popup mode.

    +

    +

    + +

    5.3.10  Calendar.showAt

    +

    +

    +Call this to show the calendar at a certain (x, y) position. Prototype:

    +

    +

    +
    calendar.showAt(x, y);
    +

    +

    +The parameters are absolute coordinates relative to the top left +corner of the page, thus they are page coordinates not screen +coordinates.

    +

    +After setting the given coordinates it calls Calendar.show. This function only +makes sense when the calendar is in popup mode.

    +

    +

    + +

    5.3.11  Calendar.showAtElement

    +

    +

    +This function is useful if you want to display the calendar near some element. +You call it like this:

    +

    +

    +
    calendar.showAtElement(element, align);
    +

    +

    +where element is a reference to your element (for instance it can be the input +field that displays the date) and align is an optional parameter, of type string, +containing one or two characters. For instance, if you pass "Br" as +align, the calendar will appear below the element and with its right +margin continuing the element's right margin.

    +

    +As stated above, align may contain one or two characters. The first character +dictates the vertical alignment, relative to the element, and the second +character dictates the horizontal alignment. If the second character is +missing it will be assumed "l" (the left margin of the calendar will +be at the same horizontal position as the left margin of the element).

    +

    +The characters given for the align parameters are case sensitive. This +function only makes sense when the calendar is in popup mode. After computing +the position it uses Calendar.showAt to display the calendar there.

    +

    +

    + +

    Vertical alignment

    +

    The first character in ``align'' can take one of the following values:

    +

    +

    +

      +

      +
    • T -- completely above the reference element (bottom margin of +the calendar aligned to the top margin of the element).

      +

      +

      +
    • t -- above the element but may overlap it (bottom margin of the calendar aligned to +the bottom margin of the element).

      +

      +

      +
    • c -- the calendar displays vertically centered to the reference +element. It might overlap it (that depends on the horizontal alignment).

      +

      +

      +
    • b -- below the element but may overlap it (top margin of the calendar aligned to +the top margin of the element).

      +

      +

      +
    • B -- completely below the element (top margin of the calendar +aligned to the bottom margin of the element).

      +

      +

      +

    +

    +

    + +

    Horizontal alignment

    +

    The second character in ``align'' can take one of the following values:

    +

    +

    +

      +

      +
    • L -- completely to the left of the reference element (right +margin of the calendar aligned to the left margin of the element).

      +

      +

      +
    • l -- to the left of the element but may overlap it (left margin +of the calendar aligned to the left margin of the element).

      +

      +

      +
    • c -- horizontally centered to the element. Might overlap it, +depending on the vertical alignment.

      +

      +

      +
    • r -- to the right of the element but may overlap it (right +margin of the calendar aligned to the right margin of the element).

      +

      +

      +
    • R -- completely to the right of the element (left margin of the +calendar aligned to the right margin of the element).

      +

      +

      +

    +

    +

    + +

    Default values

    +

    If the ``align'' parameter is missing the calendar will choose +``Br''.

    +

    +

    + +

    5.3.12  Calendar.setDate

    +

    +

    +Receives a JavaScript Date object. Sets the given date in the +calendar. If the calendar is visible the new date is displayed immediately.

    +

    +

    +
    calendar.setDate(new Date()); // go today
    +

    +

    +

    + +

    5.3.13  Calendar.setFirstDayOfWeek

    +

    +

    +Changes the first day of week. The parameter has to be a numeric value ranging +from 0 to 6. Pass 0 for Sunday, 1 for Monday, ..., 6 for Saturday.

    +

    +

    +
    calendar.setFirstDayOfWeek(5); // start weeks on Friday
    +

    +

    +

    + +

    5.3.14  Calendar.parseDate

    +

    +

    +Use this function to parse a date given as string and to move the calendar to +that date.

    +

    +The algorithm tries to parse the date according to the format that was +previously set with Calendar.setDateFormat; if that fails, it still +tries to get some valid date out of it (it doesn't read your thoughts, though).

    +

    +

    +
    calendar.parseDate("2003/07/06");
    +

    +

    +

    + +

    5.3.15  Calendar.setRange

    +

    +

    +Sets the range of years that are allowed in the calendar. Synopsis:

    +

    +

    +
    calendar.setRange(1970, 2050);
    +

    +

    +

    + +

    6  Side effects

    +

    The calendar code was intentionally embedded in an object to make it have as +less as possible side effects. However, there are some -- not harmful, after +all. Here is a list of side effects; you can count they already happened after +calendar.js was loaded.

    +

    +

    +

      +

      +
    1. The global variable window.calendar will be set to null. This +variable is used by the calendar code, especially when doing drag & drop for +moving the calendar. In the future I might get rid of it, but for now it +didn't harm anyone.

      +

      +

      +
    2. The JavaScript Date object is modified. We add some properties +and functions that are very useful to our calendar. It made more sense to add +them directly to the Date object than to the calendar itself. +Complete list:

      +

      +

      +

        +

        +
      1. Date._MD = new Array(31,28,31,30,31,30,31,31,30,31,30,31); +

        +
      2. Date.SECOND = 1000 /* milliseconds */; +

        +
      3. Date.MINUTE = 60 * Date.SECOND; +

        +
      4. Date.HOUR = 60 * Date.MINUTE; +

        +
      5. Date.DAY = 24 * Date.HOUR; +

        +
      6. Date.WEEK = 7 * Date.DAY;

        +

        +

        +
      7. Date.prototype.getMonthDays(month) -- returns the number of days +of the given month, or of the current date object if no month was given.

        +

        +

        +
      8. Date.prototype.getWeekNumber() -- returns the week number of the +date in the current object.

        +

        +

        +
      9. Date.prototype.equalsTo(other_date) -- compare the current date +object with other_date and returns true if the dates are +equal. It ignores time.

        +

        +

        +
      10. Date.prototype.print(format) -- returns a string with the +current date object represented in the given format. It implements the format +specified in section 5.3.5.

        +

        +

        +

      +

      +

      +

    +

    +

    + +

    7  Credits

    +

    The following people either sponsored, donated money to the project or bought +commercial licenses (listed in reverse chronological order). Your name could +be here too! If you wish to sponsor the project (for instance request a +feature and pay me for implementing it) or donate some money please +please contact me at mihai_bazon@yahoo.com.

    +

    +

    +

    +

    +

    +
    + +Thank you!
    + -- mihai_bazon@yahoo.com +
    +

    +

    +

    +

    1 +by the term ``widget'' I understand a single element of user interface. +But that's in Linux world. For those that did lots of Windows +programming the term ``control'' might be more familiar +

    +

    2 people report that the calendar does +not work with IE5/Mac. However, this browser was discontinued and we +believe that supporting it doesn't worth the efforts, given the fact that +it has the worst, buggiest implementation for DOM I've ever seen.

    +

    3 under Opera 7 the calendar still lacks some functionality, such as +keyboard navigation; also Opera doesn't seem to allow disabling text +selection when one drags the mouse on the page; despite all that, the +calendar is still highly functional under Opera 7 and looks as good as +in other supported browsers.

    +

    4 user interface

    +
    +
    +Last modified: Saturday, March 5th, 2005
    +HTML conversion by TeX2page 2004-09-11
    +
    + + diff --git a/jscalendar-1.0/doc/reference.pdf b/jscalendar-1.0/doc/reference.pdf new file mode 100644 index 0000000000000000000000000000000000000000..a09497f57998d0bfd23d391f4d624b960f08a883 GIT binary patch literal 281155 zcmb?@1z1$u_cmS9CC$(wF*Cq0lt?4p-7u7NBcTXNgLI03AfhOUN{C1+B`GB+NT(8l zMSN!v1g^h(|K96|j~<6}&f05M@3r5(*)(M3c_Dm)ctRjB$koabPh1?tuMOf?aMf`I z@ymiZJrUMk4z4bI5H8T!vv>#>8{|XqgNHfQeGnc#4hUba!#g5>N56(z!o?HulNc28cf<~)c!D*k;2|ANZwKoOAWtt#4=-=GBWi!ElOth5 zPYM(IQ#0pX0CG-F4uA|TL2j;Y-fkdkOD8~omL5j~{D!umd?$Do_^GWE1K2uQdi_dY z;5XC-Nj7BeN3xC*7T(`xnYT6{zjt?B;|3c_I9eCW~;g0r@(3+5Z$W z$kNNp(%K$j1M+eOG;HPV<>l(~Q#OMCq}h|hpHQ#RPxT%Q|9_6`0&;M+v^#PEp?}i( z$&pX!N9d>G6&-AB5H3HyGY`nk$r4cgz7)JX9PI269!EkJ`dbSC20A&G;Bg0r{j>!r zNX5bB0wBcw@9D_{a&ZM6409mTqtRf$WhW=Z3Hxa$^2Z(I7|nk&lS4B;=^?P67NY22 zXYU03^#Xai0XA*v1hTR8I%e3ge=>rf#7{^@_(=ZKsu&VcU${}!c}Um6rT?lB_&s6i=>^B@m|Ey4rgVto_|M1Dh!LMPP- z0Uzn{ApC=@U4cyI;ce~ZdX%^z;NQ@s&`C`~z&}-~>xr=Sb^3U2D|Aw~5b#gsYIs{YIamXudD*+#94P<-{wK{IMK6Hx zUxaj2F&(-RpEc6zk3y7Y6AJqnrz?Uz$Z!n zbmkMJrH*O)H!H4v;wR=(kfWOGFT~}X5Y7mfV`KbgZM8qfNw+?#u8zj|VYNs0`kU3% zKJ}A6eN;~!r!Mc{;R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km)cAwH8cKr(6;C#Wy)ecBFY~1o&5SluYgEt)6V^Nt>M3tda!ym0?%ZGRgxcL%H z#%3qnsGze1ifPM%$>3(q|G@K{VW7lTd!sC~8j(EP>W?r5(Y1t>HTO@YOpfDZRAHQQuQzKbb0mT@G@IW8F{b0`sXnYUG$F*l;zo2ubuhGCSpg4wt(tT zBHK0j(Js+C06g#iacY*Aj0?_PdFJi$YDeRWmry)x+OBu)%$H1g(YQsQnrLS9$Rq?t zC8_a^wOG30`TU4UpxIIM{%viK+g5svsML2-+1nX0+tGe!Vt!>5{^W$AC{!$I9 zKc&DXsK^=dAUW-?VdqwZMR{&^G}9MVxy)nv*=*w@m@Jy!)3LPP`n=B8lb+Yr$IWj6yA zIX5D_*)Qf{zKN1u`##WH;+De zzK=ZU;Cbx_Ol=xGuixk)TkcIKS93z-G9AI=;*>wao5_AIcfi$l$%U1> zdj)3mb9g3N$R6}~)Go<8=`t!F!BP1ORWm&Ac~H+-JjW8O4ghAe6KYtdO2P|wt*MWQ z9)Q(;BlU;!hf11#0MmSkUQ4zbVnHsdyX%^@7N;LOsjlG-I;|y9G^=arc+kObua{za z)jWdUI@5Q-BU)-r!i<2xAb1l+j_3jYfDVV^5qw1Uc}@gx!JC=AORNBI(wqxebAQD1 zSiCGYUM`|q~gBzN%(KZW2nMf5&?0{_GP?F0XVdU*=R$y5AtqTEv#`RcTu MeD&3LKYf4lKcmwFs{jB1 literal 0 HcmV?d00001 diff --git a/jscalendar-1.0/img.gif b/jscalendar-1.0/img.gif new file mode 100644 index 0000000000000000000000000000000000000000..cd2c4a521774c70473f11c88642543751a812d6f GIT binary patch literal 223 zcmY+8F$w}P5Jmsu1X2mY7Pj^lfoWE3A`H5AX$H3SCIQzYcmogOL2?Q^tGEd(=x;uM z{$plN=VQ0Kv{>RraL#2QrIhnCSD|Y2rlx_xwxq&h@fcKZs#?v!0&(grG%|C?d}R)U zD^^qZLqwz(8AZb2F@n7Ht1*~)C_QN;j~*1;!-N#FcEOM(A3fUjg#2vzUPlb`OU3Tk Fe*i=yIHv#r literal 0 HcmV?d00001 diff --git a/jscalendar-1.0/index.html b/jscalendar-1.0/index.html new file mode 100644 index 0000000..0cf4241 --- /dev/null +++ b/jscalendar-1.0/index.html @@ -0,0 +1,330 @@ + + + + + + + +The Coolest DHTML Calendar - Online Demo + + + + + + + + + + + + + + + + + + + + + + + + + + + +

    jscalendar-1.0 +"It is happening again"

    + +

    +

    +Theme:
    +Aqua +| +winter +| +blue +| +summer +| +green +
    +win2k-1 +| +win2k-2 +| +win2k-cold-1 +| +win2k-cold-2 +
    +system + +
    +Release notes. +
    +Set it up in minutes: + popup calendar, + flat calendar. +Other samples: + special days, + day info, + multiple dates selection +
    +Documentation: + HTML, + PDF. +
    +

    + +
    + +
    + + + + + + + + +
    + +
    +
    +Popup examples +
    + +
    + +Date #1: %Y-%m-%d [%W] %H:%M -- single +click
    + +Date #2: %a, %b %e, %Y [%I:%M %p] +-- double click + +

    + + +this select should hide when the calendar is above it. +

    + +Date #3: %d/%m/%Y +-- single click +
    + +Date #4: %A, %B %e, %Y -- +double click + +
    + +

    This is release 1.0. Works on MSIE/Win 5.0 or better (really), +Opera 7+, Mozilla, Firefox, Netscape 6.x, 7.0 and all other Gecko-s, +Konqueror and Safari.

    + +

    Keyboard navigation

    + +

    Starting with version 0.9.2, you can also use the keyboard to select +dates (only for popup calendars; does not work with Opera +7 or Konqueror/Safari). The following keys are available:

    + +
      + +
    • , , + , -- select date
    • +
    • CTRL + , + -- select month
    • +
    • CTRL + , + -- select year
    • +
    • SPACE -- go to today date
    • +
    • ENTER -- accept the currently selected date
    • +
    • ESC -- cancel selection
    • + +
    + +
    + +
    + Flat calendar +
    + +

    A non-popup version will appear below as soon + as the page is loaded. Note that it doesn't show the week number.

    + + +
    +
     
    + +

    + The example above uses the setDisabledHandler() member function + to setup a handler that would only enable days withing a range of 10 days, + forward or backward, from the current date. +

    + + + +
    + +
    dynarch.com 2002-2005
    +Author: Mihai +Bazon
    Distributed under the GNU LGPL.
    + +

    If you use this script on a public page we +would love it if you would let us +know.

    + + diff --git a/jscalendar-1.0/lang/calendar-af.js b/jscalendar-1.0/lang/calendar-af.js new file mode 100644 index 0000000..aeda581 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-af.js @@ -0,0 +1,39 @@ +// ** I18N Afrikaans +Calendar._DN = new Array +("Sondag", + "Maandag", + "Dinsdag", + "Woensdag", + "Donderdag", + "Vrydag", + "Saterdag", + "Sondag"); +Calendar._MN = new Array +("Januarie", + "Februarie", + "Maart", + "April", + "Mei", + "Junie", + "Julie", + "Augustus", + "September", + "Oktober", + "November", + "Desember"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["TOGGLE"] = "Verander eerste dag van die week"; +Calendar._TT["PREV_YEAR"] = "Vorige jaar (hou vir keuselys)"; +Calendar._TT["PREV_MONTH"] = "Vorige maand (hou vir keuselys)"; +Calendar._TT["GO_TODAY"] = "Gaan na vandag"; +Calendar._TT["NEXT_MONTH"] = "Volgende maand (hou vir keuselys)"; +Calendar._TT["NEXT_YEAR"] = "Volgende jaar (hou vir keuselys)"; +Calendar._TT["SEL_DATE"] = "Kies datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Sleep om te skuif"; +Calendar._TT["PART_TODAY"] = " (vandag)"; +Calendar._TT["MON_FIRST"] = "Vertoon Maandag eerste"; +Calendar._TT["SUN_FIRST"] = "Display Sunday first"; +Calendar._TT["CLOSE"] = "Close"; +Calendar._TT["TODAY"] = "Today"; diff --git a/jscalendar-1.0/lang/calendar-al.js b/jscalendar-1.0/lang/calendar-al.js new file mode 100644 index 0000000..4f701cf --- /dev/null +++ b/jscalendar-1.0/lang/calendar-al.js @@ -0,0 +1,101 @@ +// Calendar ALBANIAN language +//author Rigels Gordani rige@hotmail.com + +// ditet +Calendar._DN = new Array +("E Diele", +"E Hene", +"E Marte", +"E Merkure", +"E Enjte", +"E Premte", +"E Shtune", +"E Diele"); + +//ditet shkurt +Calendar._SDN = new Array +("Die", +"Hen", +"Mar", +"Mer", +"Enj", +"Pre", +"Sht", +"Die"); + +// muajt +Calendar._MN = new Array +("Janar", +"Shkurt", +"Mars", +"Prill", +"Maj", +"Qeshor", +"Korrik", +"Gusht", +"Shtator", +"Tetor", +"Nentor", +"Dhjetor"); + +// muajte shkurt +Calendar._SMN = new Array +("Jan", +"Shk", +"Mar", +"Pri", +"Maj", +"Qes", +"Kor", +"Gus", +"Sht", +"Tet", +"Nen", +"Dhj"); + +// ndihmesa +Calendar._TT = {}; +Calendar._TT["INFO"] = "Per kalendarin"; + +Calendar._TT["ABOUT"] = +"Zgjedhes i ores/dates ne DHTML \n" + +"\n\n" +"Zgjedhja e Dates:\n" + +"- Perdor butonat \xab, \xbb per te zgjedhur vitin\n" + +"- Perdor butonat" + String.fromCharCode(0x2039) + ", " + +String.fromCharCode(0x203a) + +" per te zgjedhur muajin\n" + +"- Mbani shtypur butonin e mousit per nje zgjedje me te shpejte."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Zgjedhja e kohes:\n" + +"- Kliko tek ndonje nga pjeset e ores per ta rritur ate\n" + +"- ose kliko me Shift per ta zvogeluar ate\n" + +"- ose cliko dhe terhiq per zgjedhje me te shpejte."; + +Calendar._TT["PREV_YEAR"] = "Viti i shkuar (prit per menune)"; +Calendar._TT["PREV_MONTH"] = "Muaji i shkuar (prit per menune)"; +Calendar._TT["GO_TODAY"] = "Sot"; +Calendar._TT["NEXT_MONTH"] = "Muaji i ardhshem (prit per menune)"; +Calendar._TT["NEXT_YEAR"] = "Viti i ardhshem (prit per menune)"; +Calendar._TT["SEL_DATE"] = "Zgjidh daten"; +Calendar._TT["DRAG_TO_MOVE"] = "Terhiqe per te levizur"; +Calendar._TT["PART_TODAY"] = " (sot)"; + +// "%s" eshte dita e pare e javes +// %s do te zevendesohet me emrin e dite +Calendar._TT["DAY_FIRST"] = "Trego te %s te paren"; + + +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Mbyll"; +Calendar._TT["TODAY"] = "Sot"; +Calendar._TT["TIME_PART"] = "Kliko me (Shift-)ose terhiqe per te ndryshuar +vleren"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "Java"; +Calendar._TT["TIME"] = "Koha:"; + diff --git a/jscalendar-1.0/lang/calendar-bg.js b/jscalendar-1.0/lang/calendar-bg.js new file mode 100644 index 0000000..5eb73ec --- /dev/null +++ b/jscalendar-1.0/lang/calendar-bg.js @@ -0,0 +1,124 @@ +// ** I18N + +// Calendar BG language +// Author: Mihai Bazon, +// Translator: Valentin Sheiretsky, +// Encoding: Windows-1251 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Íåäåëÿ", + "Ïîíåäåëíèê", + "Âòîðíèê", + "Ñðÿäà", + "×åòâúðòúê", + "Ïåòúê", + "Ñúáîòà", + "Íåäåëÿ"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Íåä", + "Ïîí", + "Âòî", + "Ñðÿ", + "×åò", + "Ïåò", + "Ñúá", + "Íåä"); + +// full month names +Calendar._MN = new Array +("ßíóàðè", + "Ôåâðóàðè", + "Ìàðò", + "Àïðèë", + "Ìàé", + "Þíè", + "Þëè", + "Àâãóñò", + "Ñåïòåìâðè", + "Îêòîìâðè", + "Íîåìâðè", + "Äåêåìâðè"); + +// short month names +Calendar._SMN = new Array +("ßíó", + "Ôåâ", + "Ìàð", + "Àïð", + "Ìàé", + "Þíè", + "Þëè", + "Àâã", + "Ñåï", + "Îêò", + "Íîå", + "Äåê"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Èíôîðìàöèÿ çà êàëåíäàðà"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Date selection:\n" + +"- Use the \xab, \xbb buttons to select year\n" + +"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" + +"- Hold mouse button on any of the above buttons for faster selection."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Time selection:\n" + +"- Click on any of the time parts to increase it\n" + +"- or Shift-click to decrease it\n" + +"- or click and drag for faster selection."; + +Calendar._TT["PREV_YEAR"] = "Ïðåäíà ãîäèíà (çàäðúæòå çà ìåíþ)"; +Calendar._TT["PREV_MONTH"] = "Ïðåäåí ìåñåö (çàäðúæòå çà ìåíþ)"; +Calendar._TT["GO_TODAY"] = "Èçáåðåòå äíåñ"; +Calendar._TT["NEXT_MONTH"] = "Ñëåäâàù ìåñåö (çàäðúæòå çà ìåíþ)"; +Calendar._TT["NEXT_YEAR"] = "Ñëåäâàùà ãîäèíà (çàäðúæòå çà ìåíþ)"; +Calendar._TT["SEL_DATE"] = "Èçáåðåòå äàòà"; +Calendar._TT["DRAG_TO_MOVE"] = "Ïðåìåñòâàíå"; +Calendar._TT["PART_TODAY"] = " (äíåñ)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "%s êàòî ïúðâè äåí"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Çàòâîðåòå"; +Calendar._TT["TODAY"] = "Äíåñ"; +Calendar._TT["TIME_PART"] = "(Shift-)Click èëè drag çà äà ïðîìåíèòå ñòîéíîñòòà"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%A - %e %B %Y"; + +Calendar._TT["WK"] = "Ñåäì"; +Calendar._TT["TIME"] = "×àñ:"; diff --git a/jscalendar-1.0/lang/calendar-big5-utf8.js b/jscalendar-1.0/lang/calendar-big5-utf8.js new file mode 100644 index 0000000..14e0d5d --- /dev/null +++ b/jscalendar-1.0/lang/calendar-big5-utf8.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar big5-utf8 language +// Author: Gary Fu, +// Encoding: utf8 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("星期日", + "星期一", + "星期二", + "星期三", + "星期四", + "星期五", + "星期六", + "星期日"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("æ—¥", + "一", + "二", + "三", + "å››", + "五", + "å…­", + "æ—¥"); + +// full month names +Calendar._MN = new Array +("一月", + "二月", + "三月", + "四月", + "五月", + "六月", + "七月", + "八月", + "ä¹æœˆ", + "å月", + "å一月", + "å二月"); + +// short month names +Calendar._SMN = new Array +("一月", + "二月", + "三月", + "四月", + "五月", + "六月", + "七月", + "八月", + "ä¹æœˆ", + "å月", + "å一月", + "å二月"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "關於"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"日期é¸æ“‡æ–¹æ³•:\n" + +"- 使用 \xab, \xbb 按鈕å¯é¸æ“‡å¹´ä»½\n" + +"- 使用 " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " 按鈕å¯é¸æ“‡æœˆä»½\n" + +"- 按ä½ä¸Šé¢çš„按鈕å¯ä»¥åŠ å¿«é¸å–"; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"時間é¸æ“‡æ–¹æ³•:\n" + +"- 點擊任何的時間部份å¯å¢žåŠ å…¶å€¼\n" + +"- åŒæ™‚按Shiftéµå†é»žæ“Šå¯æ¸›å°‘其值\n" + +"- 點擊並拖曳å¯åŠ å¿«æ”¹è®Šçš„值"; + +Calendar._TT["PREV_YEAR"] = "上一年 (按ä½é¸å–®)"; +Calendar._TT["PREV_MONTH"] = "下一年 (按ä½é¸å–®)"; +Calendar._TT["GO_TODAY"] = "到今日"; +Calendar._TT["NEXT_MONTH"] = "上一月 (按ä½é¸å–®)"; +Calendar._TT["NEXT_YEAR"] = "下一月 (按ä½é¸å–®)"; +Calendar._TT["SEL_DATE"] = "é¸æ“‡æ—¥æœŸ"; +Calendar._TT["DRAG_TO_MOVE"] = "拖曳"; +Calendar._TT["PART_TODAY"] = " (今日)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "å°‡ %s 顯示在å‰"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "關閉"; +Calendar._TT["TODAY"] = "今日"; +Calendar._TT["TIME_PART"] = "點擊or拖曳å¯æ”¹è®Šæ™‚é–“(åŒæ™‚按Shift為減)"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "週"; +Calendar._TT["TIME"] = "Time:"; diff --git a/jscalendar-1.0/lang/calendar-big5.js b/jscalendar-1.0/lang/calendar-big5.js new file mode 100644 index 0000000..a589358 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-big5.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar big5 language +// Author: Gary Fu, +// Encoding: big5 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("¬P´Á¤é", + "¬P´Á¤@", + "¬P´Á¤G", + "¬P´Á¤T", + "¬P´Á¥|", + "¬P´Á¤­", + "¬P´Á¤»", + "¬P´Á¤é"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("¤é", + "¤@", + "¤G", + "¤T", + "¥|", + "¤­", + "¤»", + "¤é"); + +// full month names +Calendar._MN = new Array +("¤@¤ë", + "¤G¤ë", + "¤T¤ë", + "¥|¤ë", + "¤­¤ë", + "¤»¤ë", + "¤C¤ë", + "¤K¤ë", + "¤E¤ë", + "¤Q¤ë", + "¤Q¤@¤ë", + "¤Q¤G¤ë"); + +// short month names +Calendar._SMN = new Array +("¤@¤ë", + "¤G¤ë", + "¤T¤ë", + "¥|¤ë", + "¤­¤ë", + "¤»¤ë", + "¤C¤ë", + "¤K¤ë", + "¤E¤ë", + "¤Q¤ë", + "¤Q¤@¤ë", + "¤Q¤G¤ë"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Ãö©ó"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"¤é´Á¿ï¾Ü¤èªk:\n" + +"- ¨Ï¥Î \xab, \xbb «ö¶s¥i¿ï¾Ü¦~¥÷\n" + +"- ¨Ï¥Î " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " «ö¶s¥i¿ï¾Ü¤ë¥÷\n" + +"- «ö¦í¤W­±ªº«ö¶s¥i¥H¥[§Ö¿ï¨ú"; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"®É¶¡¿ï¾Ü¤èªk:\n" + +"- ÂIÀ»¥ô¦óªº®É¶¡³¡¥÷¥i¼W¥[¨ä­È\n" + +"- ¦P®É«öShiftÁä¦AÂIÀ»¥i´î¤Ö¨ä­È\n" + +"- ÂIÀ»¨Ã©ì¦²¥i¥[§Ö§ïÅܪº­È"; + +Calendar._TT["PREV_YEAR"] = "¤W¤@¦~ («ö¦í¿ï³æ)"; +Calendar._TT["PREV_MONTH"] = "¤U¤@¦~ («ö¦í¿ï³æ)"; +Calendar._TT["GO_TODAY"] = "¨ì¤µ¤é"; +Calendar._TT["NEXT_MONTH"] = "¤W¤@¤ë («ö¦í¿ï³æ)"; +Calendar._TT["NEXT_YEAR"] = "¤U¤@¤ë («ö¦í¿ï³æ)"; +Calendar._TT["SEL_DATE"] = "¿ï¾Ü¤é´Á"; +Calendar._TT["DRAG_TO_MOVE"] = "©ì¦²"; +Calendar._TT["PART_TODAY"] = " (¤µ¤é)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "±N %s Åã¥Ü¦b«e"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Ãö³¬"; +Calendar._TT["TODAY"] = "¤µ¤é"; +Calendar._TT["TIME_PART"] = "ÂIÀ»or©ì¦²¥i§ïÅܮɶ¡(¦P®É«öShift¬°´î)"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "¶g"; +Calendar._TT["TIME"] = "Time:"; diff --git a/jscalendar-1.0/lang/calendar-br.js b/jscalendar-1.0/lang/calendar-br.js new file mode 100644 index 0000000..bfb0747 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-br.js @@ -0,0 +1,108 @@ +// ** I18N + +// Calendar pt-BR language +// Author: Fernando Dourado, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Domingo", + "Segunda", + "Terça", + "Quarta", + "Quinta", + "Sexta", + "Sabádo", + "Domingo"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +// [No changes using default values] + +// full month names +Calendar._MN = new Array +("Janeiro", + "Fevereiro", + "Março", + "Abril", + "Maio", + "Junho", + "Julho", + "Agosto", + "Setembro", + "Outubro", + "Novembro", + "Dezembro"); + +// short month names +// [No changes using default values] + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Sobre o calendário"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Translate to portuguese Brazil (pt-BR) by Fernando Dourado (fernando.dourado@ig.com.br)\n" + +"Tradução para o português Brasil (pt-BR) por Fernando Dourado (fernando.dourado@ig.com.br)" + +"\n\n" + +"Selecionar data:\n" + +"- Use as teclas \xab, \xbb para selecionar o ano\n" + +"- Use as teclas " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para selecionar o mês\n" + +"- Clique e segure com o mouse em qualquer botão para selecionar rapidamente."; + +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Selecionar hora:\n" + +"- Clique em qualquer uma das partes da hora para aumentar\n" + +"- ou Shift-clique para diminuir\n" + +"- ou clique e arraste para selecionar rapidamente."; + +Calendar._TT["PREV_YEAR"] = "Ano anterior (clique e segure para menu)"; +Calendar._TT["PREV_MONTH"] = "Mês anterior (clique e segure para menu)"; +Calendar._TT["GO_TODAY"] = "Ir para a data atual"; +Calendar._TT["NEXT_MONTH"] = "Próximo mês (clique e segure para menu)"; +Calendar._TT["NEXT_YEAR"] = "Próximo ano (clique e segure para menu)"; +Calendar._TT["SEL_DATE"] = "Selecione uma data"; +Calendar._TT["DRAG_TO_MOVE"] = "Clique e segure para mover"; +Calendar._TT["PART_TODAY"] = " (hoje)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Exibir %s primeiro"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Fechar"; +Calendar._TT["TODAY"] = "Hoje"; +Calendar._TT["TIME_PART"] = "(Shift-)Clique ou arraste para mudar o valor"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%d de %B de %Y"; + +Calendar._TT["WK"] = "sem"; +Calendar._TT["TIME"] = "Hora:"; + diff --git a/jscalendar-1.0/lang/calendar-ca.js b/jscalendar-1.0/lang/calendar-ca.js new file mode 100644 index 0000000..a2121bc --- /dev/null +++ b/jscalendar-1.0/lang/calendar-ca.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar CA language +// Author: Mihai Bazon, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Diumenge", + "Dilluns", + "Dimarts", + "Dimecres", + "Dijous", + "Divendres", + "Dissabte", + "Diumenge"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Diu", + "Dil", + "Dmt", + "Dmc", + "Dij", + "Div", + "Dis", + "Diu"); + +// full month names +Calendar._MN = new Array +("Gener", + "Febrer", + "Març", + "Abril", + "Maig", + "Juny", + "Juliol", + "Agost", + "Setembre", + "Octubre", + "Novembre", + "Desembre"); + +// short month names +Calendar._SMN = new Array +("Gen", + "Feb", + "Mar", + "Abr", + "Mai", + "Jun", + "Jul", + "Ago", + "Set", + "Oct", + "Nov", + "Des"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Sobre el calendari"; + +Calendar._TT["ABOUT"] = +"DHTML Selector de Data/Hora\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Sel.lecció de Dates:\n" + +"- Fes servir els botons \xab, \xbb per sel.leccionar l'any\n" + +"- Fes servir els botons " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " per se.lecciconar el mes\n" + +"- Manté el ratolí apretat en qualsevol dels anteriors per sel.lecció ràpida."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Time selection:\n" + +"- claca en qualsevol de les parts de la hora per augmentar-les\n" + +"- o Shift-click per decrementar-la\n" + +"- or click and arrastra per sel.lecció ràpida."; + +Calendar._TT["PREV_YEAR"] = "Any anterior (Mantenir per menu)"; +Calendar._TT["PREV_MONTH"] = "Mes anterior (Mantenir per menu)"; +Calendar._TT["GO_TODAY"] = "Anar a avui"; +Calendar._TT["NEXT_MONTH"] = "Mes següent (Mantenir per menu)"; +Calendar._TT["NEXT_YEAR"] = "Any següent (Mantenir per menu)"; +Calendar._TT["SEL_DATE"] = "Sel.leccionar data"; +Calendar._TT["DRAG_TO_MOVE"] = "Arrastrar per moure"; +Calendar._TT["PART_TODAY"] = " (avui)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Mostra %s primer"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Tanca"; +Calendar._TT["TODAY"] = "Avui"; +Calendar._TT["TIME_PART"] = "(Shift-)Click a arrastra per canviar el valor"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "st"; +Calendar._TT["TIME"] = "Hora:"; diff --git a/jscalendar-1.0/lang/calendar-cs-utf8.js b/jscalendar-1.0/lang/calendar-cs-utf8.js new file mode 100644 index 0000000..f6bbbeb --- /dev/null +++ b/jscalendar-1.0/lang/calendar-cs-utf8.js @@ -0,0 +1,65 @@ +/* + calendar-cs-win.js + language: Czech + encoding: windows-1250 + author: Lubos Jerabek (xnet@seznam.cz) + Jan Uhlir (espinosa@centrum.cz) +*/ + +// ** I18N +Calendar._DN = new Array('NedÄ›le','PondÄ›lí','Úterý','StÅ™eda','ÄŒtvrtek','Pátek','Sobota','NedÄ›le'); +Calendar._SDN = new Array('Ne','Po','Út','St','ÄŒt','Pá','So','Ne'); +Calendar._MN = new Array('Leden','Únor','BÅ™ezen','Duben','KvÄ›ten','ÄŒerven','ÄŒervenec','Srpen','Září','Říjen','Listopad','Prosinec'); +Calendar._SMN = new Array('Led','Úno','BÅ™e','Dub','KvÄ›','ÄŒrv','ÄŒvc','Srp','Zář','Říj','Lis','Pro'); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "O komponentÄ› kalendář"; +Calendar._TT["TOGGLE"] = "ZmÄ›na prvního dne v týdnu"; +Calendar._TT["PREV_YEAR"] = "PÅ™edchozí rok (pÅ™idrž pro menu)"; +Calendar._TT["PREV_MONTH"] = "PÅ™edchozí mÄ›síc (pÅ™idrž pro menu)"; +Calendar._TT["GO_TODAY"] = "DneÅ¡ní datum"; +Calendar._TT["NEXT_MONTH"] = "Další mÄ›síc (pÅ™idrž pro menu)"; +Calendar._TT["NEXT_YEAR"] = "Další rok (pÅ™idrž pro menu)"; +Calendar._TT["SEL_DATE"] = "Vyber datum"; +Calendar._TT["DRAG_TO_MOVE"] = "ChyÅ¥ a táhni, pro pÅ™esun"; +Calendar._TT["PART_TODAY"] = " (dnes)"; +Calendar._TT["MON_FIRST"] = "Ukaž jako první PondÄ›lí"; +//Calendar._TT["SUN_FIRST"] = "Ukaž jako první NedÄ›li"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"VýbÄ›r datumu:\n" + +"- Use the \xab, \xbb buttons to select year\n" + +"- Použijte tlaÄítka " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " k výbÄ›ru mÄ›síce\n" + +"- Podržte tlaÄítko myÅ¡i na jakémkoliv z tÄ›ch tlaÄítek pro rychlejší výbÄ›r."; + +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"VýbÄ›r Äasu:\n" + +"- KliknÄ›te na jakoukoliv z Äástí výbÄ›ru Äasu pro zvýšení.\n" + +"- nebo Shift-click pro snížení\n" + +"- nebo kliknÄ›te a táhnÄ›te pro rychlejší výbÄ›r."; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Zobraz %s první"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Zavřít"; +Calendar._TT["TODAY"] = "Dnes"; +Calendar._TT["TIME_PART"] = "(Shift-)Klikni nebo táhni pro zmÄ›nu hodnoty"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "d.m.yy"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "ÄŒas:"; diff --git a/jscalendar-1.0/lang/calendar-cs-win.js b/jscalendar-1.0/lang/calendar-cs-win.js new file mode 100644 index 0000000..140dff3 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-cs-win.js @@ -0,0 +1,65 @@ +/* + calendar-cs-win.js + language: Czech + encoding: windows-1250 + author: Lubos Jerabek (xnet@seznam.cz) + Jan Uhlir (espinosa@centrum.cz) +*/ + +// ** I18N +Calendar._DN = new Array('Nedìle','Pondìlí','Úterý','Støeda','Ètvrtek','Pátek','Sobota','Nedìle'); +Calendar._SDN = new Array('Ne','Po','Út','St','Èt','Pá','So','Ne'); +Calendar._MN = new Array('Leden','Únor','Bøezen','Duben','Kvìten','Èerven','Èervenec','Srpen','Záøí','Øíjen','Listopad','Prosinec'); +Calendar._SMN = new Array('Led','Úno','Bøe','Dub','Kvì','Èrv','Èvc','Srp','Záø','Øíj','Lis','Pro'); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "O komponentì kalendáø"; +Calendar._TT["TOGGLE"] = "Zmìna prvního dne v týdnu"; +Calendar._TT["PREV_YEAR"] = "Pøedchozí rok (pøidrž pro menu)"; +Calendar._TT["PREV_MONTH"] = "Pøedchozí mìsíc (pøidrž pro menu)"; +Calendar._TT["GO_TODAY"] = "Dnešní datum"; +Calendar._TT["NEXT_MONTH"] = "Další mìsíc (pøidrž pro menu)"; +Calendar._TT["NEXT_YEAR"] = "Další rok (pøidrž pro menu)"; +Calendar._TT["SEL_DATE"] = "Vyber datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Chy a táhni, pro pøesun"; +Calendar._TT["PART_TODAY"] = " (dnes)"; +Calendar._TT["MON_FIRST"] = "Ukaž jako první Pondìlí"; +//Calendar._TT["SUN_FIRST"] = "Ukaž jako první Nedìli"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Výbìr datumu:\n" + +"- Use the \xab, \xbb buttons to select year\n" + +"- Použijte tlaèítka " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " k výbìru mìsíce\n" + +"- Podržte tlaèítko myši na jakémkoliv z tìch tlaèítek pro rychlejší výbìr."; + +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Výbìr èasu:\n" + +"- Kliknìte na jakoukoliv z èástí výbìru èasu pro zvýšení.\n" + +"- nebo Shift-click pro snížení\n" + +"- nebo kliknìte a táhnìte pro rychlejší výbìr."; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Zobraz %s první"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Zavøít"; +Calendar._TT["TODAY"] = "Dnes"; +Calendar._TT["TIME_PART"] = "(Shift-)Klikni nebo táhni pro zmìnu hodnoty"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "d.m.yy"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "Èas:"; diff --git a/jscalendar-1.0/lang/calendar-da.js b/jscalendar-1.0/lang/calendar-da.js new file mode 100644 index 0000000..a99b598 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-da.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar DA language +// Author: Michael Thingmand Henriksen, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Søndag", +"Mandag", +"Tirsdag", +"Onsdag", +"Torsdag", +"Fredag", +"Lørdag", +"Søndag"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Søn", +"Man", +"Tir", +"Ons", +"Tor", +"Fre", +"Lør", +"Søn"); + +// full month names +Calendar._MN = new Array +("Januar", +"Februar", +"Marts", +"April", +"Maj", +"Juni", +"Juli", +"August", +"September", +"Oktober", +"November", +"December"); + +// short month names +Calendar._SMN = new Array +("Jan", +"Feb", +"Mar", +"Apr", +"Maj", +"Jun", +"Jul", +"Aug", +"Sep", +"Okt", +"Nov", +"Dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Om Kalenderen"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For den seneste version besøg: http://www.dynarch.com/projects/calendar/\n"; + +"Distribueret under GNU LGPL. Se http://gnu.org/licenses/lgpl.html for detajler." + +"\n\n" + +"Valg af dato:\n" + +"- Brug \xab, \xbb knapperne for at vælge Ã¥r\n" + +"- Brug " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " knapperne for at vælge mÃ¥ned\n" + +"- Hold knappen pÃ¥ musen nede pÃ¥ knapperne ovenfor for hurtigere valg."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Valg af tid:\n" + +"- Klik pÃ¥ en vilkÃ¥rlig del for større værdi\n" + +"- eller Shift-klik for for mindre værdi\n" + +"- eller klik og træk for hurtigere valg."; + +Calendar._TT["PREV_YEAR"] = "Ét Ã¥r tilbage (hold for menu)"; +Calendar._TT["PREV_MONTH"] = "Én mÃ¥ned tilbage (hold for menu)"; +Calendar._TT["GO_TODAY"] = "GÃ¥ til i dag"; +Calendar._TT["NEXT_MONTH"] = "Én mÃ¥ned frem (hold for menu)"; +Calendar._TT["NEXT_YEAR"] = "Ét Ã¥r frem (hold for menu)"; +Calendar._TT["SEL_DATE"] = "Vælg dag"; +Calendar._TT["DRAG_TO_MOVE"] = "Træk vinduet"; +Calendar._TT["PART_TODAY"] = " (i dag)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Vis %s først"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Luk"; +Calendar._TT["TODAY"] = "I dag"; +Calendar._TT["TIME_PART"] = "(Shift-)klik eller træk for at ændre værdi"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "Uge"; +Calendar._TT["TIME"] = "Tid:"; diff --git a/jscalendar-1.0/lang/calendar-de.js b/jscalendar-1.0/lang/calendar-de.js new file mode 100644 index 0000000..4bc1137 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-de.js @@ -0,0 +1,124 @@ +// ** I18N + +// Calendar DE language +// Author: Jack (tR), +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Sonntag", + "Montag", + "Dienstag", + "Mittwoch", + "Donnerstag", + "Freitag", + "Samstag", + "Sonntag"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("So", + "Mo", + "Di", + "Mi", + "Do", + "Fr", + "Sa", + "So"); + +// full month names +Calendar._MN = new Array +("Januar", + "Februar", + "M\u00e4rz", + "April", + "Mai", + "Juni", + "Juli", + "August", + "September", + "Oktober", + "November", + "Dezember"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "M\u00e4r", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Okt", + "Nov", + "Dez"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "\u00DCber dieses Kalendarmodul"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Datum ausw\u00e4hlen:\n" + +"- Benutzen Sie die \xab, \xbb Buttons um das Jahr zu w\u00e4hlen\n" + +"- Benutzen Sie die " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " Buttons um den Monat zu w\u00e4hlen\n" + +"- F\u00fcr eine Schnellauswahl halten Sie die Maustaste \u00fcber diesen Buttons fest."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Zeit ausw\u00e4hlen:\n" + +"- Klicken Sie auf die Teile der Uhrzeit, um diese zu erh\u00F6hen\n" + +"- oder klicken Sie mit festgehaltener Shift-Taste um diese zu verringern\n" + +"- oder klicken und festhalten f\u00fcr Schnellauswahl."; + +Calendar._TT["TOGGLE"] = "Ersten Tag der Woche w\u00e4hlen"; +Calendar._TT["PREV_YEAR"] = "Voriges Jahr (Festhalten f\u00fcr Schnellauswahl)"; +Calendar._TT["PREV_MONTH"] = "Voriger Monat (Festhalten f\u00fcr Schnellauswahl)"; +Calendar._TT["GO_TODAY"] = "Heute ausw\u00e4hlen"; +Calendar._TT["NEXT_MONTH"] = "N\u00e4chst. Monat (Festhalten f\u00fcr Schnellauswahl)"; +Calendar._TT["NEXT_YEAR"] = "N\u00e4chst. Jahr (Festhalten f\u00fcr Schnellauswahl)"; +Calendar._TT["SEL_DATE"] = "Datum ausw\u00e4hlen"; +Calendar._TT["DRAG_TO_MOVE"] = "Zum Bewegen festhalten"; +Calendar._TT["PART_TODAY"] = " (Heute)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Woche beginnt mit %s "; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Schlie\u00dfen"; +Calendar._TT["TODAY"] = "Heute"; +Calendar._TT["TIME_PART"] = "(Shift-)Klick oder Festhalten und Ziehen um den Wert zu \u00e4ndern"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "Zeit:"; diff --git a/jscalendar-1.0/lang/calendar-du.js b/jscalendar-1.0/lang/calendar-du.js new file mode 100644 index 0000000..2200448 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-du.js @@ -0,0 +1,45 @@ +// ** I18N +Calendar._DN = new Array +("Zondag", + "Maandag", + "Dinsdag", + "Woensdag", + "Donderdag", + "Vrijdag", + "Zaterdag", + "Zondag"); +Calendar._MN = new Array +("Januari", + "Februari", + "Maart", + "April", + "Mei", + "Juni", + "Juli", + "Augustus", + "September", + "Oktober", + "November", + "December"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["TOGGLE"] = "Toggle startdag van de week"; +Calendar._TT["PREV_YEAR"] = "Vorig jaar (indrukken voor menu)"; +Calendar._TT["PREV_MONTH"] = "Vorige month (indrukken voor menu)"; +Calendar._TT["GO_TODAY"] = "Naar Vandaag"; +Calendar._TT["NEXT_MONTH"] = "Volgende Maand (indrukken voor menu)"; +Calendar._TT["NEXT_YEAR"] = "Volgend jaar (indrukken voor menu)"; +Calendar._TT["SEL_DATE"] = "Selecteer datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Sleep om te verplaatsen"; +Calendar._TT["PART_TODAY"] = " (vandaag)"; +Calendar._TT["MON_FIRST"] = "Toon Maandag eerst"; +Calendar._TT["SUN_FIRST"] = "Toon Zondag eerst"; +Calendar._TT["CLOSE"] = "Sluiten"; +Calendar._TT["TODAY"] = "Vandaag"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd"; +Calendar._TT["TT_DATE_FORMAT"] = "D, M d"; + +Calendar._TT["WK"] = "wk"; diff --git a/jscalendar-1.0/lang/calendar-el.js b/jscalendar-1.0/lang/calendar-el.js new file mode 100644 index 0000000..43a9b2c --- /dev/null +++ b/jscalendar-1.0/lang/calendar-el.js @@ -0,0 +1,89 @@ +// ** I18N +Calendar._DN = new Array +("ΚυÏιακή", + "ΔευτέÏα", + "ΤÏίτη", + "ΤετάÏτη", + "Πέμπτη", + "ΠαÏασκευή", + "Σάββατο", + "ΚυÏιακή"); + +Calendar._SDN = new Array +("Κυ", + "Δε", + "TÏ", + "Τε", + "Πε", + "Πα", + "Σα", + "Κυ"); + +Calendar._MN = new Array +("ΙανουάÏιος", + "ΦεβÏουάÏιος", + "ΜάÏτιος", + "ΑπÏίλιος", + "Μάϊος", + "ΙοÏνιος", + "ΙοÏλιος", + "ΑÏγουστος", + "ΣεπτέμβÏιος", + "ΟκτώβÏιος", + "ÎοέμβÏιος", + "ΔεκέμβÏιος"); + +Calendar._SMN = new Array +("Ιαν", + "Φεβ", + "ΜαÏ", + "ΑπÏ", + "Μαι", + "Ιουν", + "Ιουλ", + "Αυγ", + "Σεπ", + "Οκτ", + "Îοε", + "Δεκ"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Για το ημεÏολόγιο"; + +Calendar._TT["ABOUT"] = +"Επιλογέας ημεÏομηνίας/ÏŽÏας σε DHTML\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Για τελευταία έκδοση: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Επιλογή ημεÏομηνίας:\n" + +"- ΧÏησιμοποιείστε τα κουμπιά \xab, \xbb για επιλογή έτους\n" + +"- ΧÏησιμοποιείστε τα κουμπιά " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " για επιλογή μήνα\n" + +"- ΚÏατήστε κουμπί Ï€Î¿Î½Ï„Î¹ÎºÎ¿Ï Ï€Î±Ï„Î·Î¼Î­Î½Î¿ στα παÏαπάνω κουμπιά για πιο γÏήγοÏη επιλογή."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Επιλογή ÏŽÏας:\n" + +"- Κάντε κλικ σε ένα από τα μέÏη της ÏŽÏας για αÏξηση\n" + +"- ή Shift-κλικ για μείωση\n" + +"- ή κλικ και μετακίνηση για πιο γÏήγοÏη επιλογή."; +Calendar._TT["TOGGLE"] = "ΜπάÏα Ï€Ïώτης ημέÏας της εβδομάδας"; +Calendar._TT["PREV_YEAR"] = "ΠÏοηγ. έτος (κÏατήστε για το μενοÏ)"; +Calendar._TT["PREV_MONTH"] = "ΠÏοηγ. μήνας (κÏατήστε για το μενοÏ)"; +Calendar._TT["GO_TODAY"] = "ΣήμεÏα"; +Calendar._TT["NEXT_MONTH"] = "Επόμενος μήνας (κÏατήστε για το μενοÏ)"; +Calendar._TT["NEXT_YEAR"] = "Επόμενο έτος (κÏατήστε για το μενοÏ)"; +Calendar._TT["SEL_DATE"] = "Επιλέξτε ημεÏομηνία"; +Calendar._TT["DRAG_TO_MOVE"] = "ΣÏÏτε για να μετακινήσετε"; +Calendar._TT["PART_TODAY"] = " (σήμεÏα)"; +Calendar._TT["MON_FIRST"] = "Εμφάνιση ΔευτέÏας Ï€Ïώτα"; +Calendar._TT["SUN_FIRST"] = "Εμφάνιση ΚυÏιακής Ï€Ïώτα"; +Calendar._TT["CLOSE"] = "Κλείσιμο"; +Calendar._TT["TODAY"] = "ΣήμεÏα"; +Calendar._TT["TIME_PART"] = "(Shift-)κλικ ή μετακίνηση για αλλαγή"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y"; +Calendar._TT["TT_DATE_FORMAT"] = "D, d M"; + +Calendar._TT["WK"] = "εβδ"; + diff --git a/jscalendar-1.0/lang/calendar-en.js b/jscalendar-1.0/lang/calendar-en.js new file mode 100644 index 0000000..0dbde79 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-en.js @@ -0,0 +1,127 @@ +// ** I18N + +// Calendar EN language +// Author: Mihai Bazon, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Sunday", + "Monday", + "Tuesday", + "Wednesday", + "Thursday", + "Friday", + "Saturday", + "Sunday"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Sun", + "Mon", + "Tue", + "Wed", + "Thu", + "Fri", + "Sat", + "Sun"); + +// First day of the week. "0" means display Sunday first, "1" means display +// Monday first, etc. +Calendar._FD = 0; + +// full month names +Calendar._MN = new Array +("January", + "February", + "March", + "April", + "May", + "June", + "July", + "August", + "September", + "October", + "November", + "December"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "Mar", + "Apr", + "May", + "Jun", + "Jul", + "Aug", + "Sep", + "Oct", + "Nov", + "Dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "About the calendar"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Date selection:\n" + +"- Use the \xab, \xbb buttons to select year\n" + +"- Use the " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " buttons to select month\n" + +"- Hold mouse button on any of the above buttons for faster selection."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Time selection:\n" + +"- Click on any of the time parts to increase it\n" + +"- or Shift-click to decrease it\n" + +"- or click and drag for faster selection."; + +Calendar._TT["PREV_YEAR"] = "Prev. year (hold for menu)"; +Calendar._TT["PREV_MONTH"] = "Prev. month (hold for menu)"; +Calendar._TT["GO_TODAY"] = "Go Today"; +Calendar._TT["NEXT_MONTH"] = "Next month (hold for menu)"; +Calendar._TT["NEXT_YEAR"] = "Next year (hold for menu)"; +Calendar._TT["SEL_DATE"] = "Select date"; +Calendar._TT["DRAG_TO_MOVE"] = "Drag to move"; +Calendar._TT["PART_TODAY"] = " (today)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Display %s first"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Close"; +Calendar._TT["TODAY"] = "Today"; +Calendar._TT["TIME_PART"] = "(Shift-)Click or drag to change value"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "Time:"; diff --git a/jscalendar-1.0/lang/calendar-es.js b/jscalendar-1.0/lang/calendar-es.js new file mode 100644 index 0000000..19c1b30 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-es.js @@ -0,0 +1,129 @@ +// ** I18N + +// Calendar ES (spanish) language +// Author: Mihai Bazon, +// Updater: Servilio Afre Puentes +// Updated: 2004-06-03 +// Encoding: utf-8 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Domingo", + "Lunes", + "Martes", + "Miércoles", + "Jueves", + "Viernes", + "Sábado", + "Domingo"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Dom", + "Lun", + "Mar", + "Mié", + "Jue", + "Vie", + "Sáb", + "Dom"); + +// First day of the week. "0" means display Sunday first, "1" means display +// Monday first, etc. +Calendar._FD = 1; + +// full month names +Calendar._MN = new Array +("Enero", + "Febrero", + "Marzo", + "Abril", + "Mayo", + "Junio", + "Julio", + "Agosto", + "Septiembre", + "Octubre", + "Noviembre", + "Diciembre"); + +// short month names +Calendar._SMN = new Array +("Ene", + "Feb", + "Mar", + "Abr", + "May", + "Jun", + "Jul", + "Ago", + "Sep", + "Oct", + "Nov", + "Dic"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Acerca del calendario"; + +Calendar._TT["ABOUT"] = +"Selector DHTML de Fecha/Hora\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Para conseguir la última versión visite: http://www.dynarch.com/projects/calendar/\n" + +"Distribuido bajo licencia GNU LGPL. Visite http://gnu.org/licenses/lgpl.html para más detalles." + +"\n\n" + +"Selección de fecha:\n" + +"- Use los botones \xab, \xbb para seleccionar el año\n" + +"- Use los botones " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para seleccionar el mes\n" + +"- Mantenga pulsado el ratón en cualquiera de estos botones para una selección rápida."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Selección de hora:\n" + +"- Pulse en cualquiera de las partes de la hora para incrementarla\n" + +"- o pulse las mayúsculas mientras hace clic para decrementarla\n" + +"- o haga clic y arrastre el ratón para una selección más rápida."; + +Calendar._TT["PREV_YEAR"] = "Año anterior (mantener para menú)"; +Calendar._TT["PREV_MONTH"] = "Mes anterior (mantener para menú)"; +Calendar._TT["GO_TODAY"] = "Ir a hoy"; +Calendar._TT["NEXT_MONTH"] = "Mes siguiente (mantener para menú)"; +Calendar._TT["NEXT_YEAR"] = "Año siguiente (mantener para menú)"; +Calendar._TT["SEL_DATE"] = "Seleccionar fecha"; +Calendar._TT["DRAG_TO_MOVE"] = "Arrastrar para mover"; +Calendar._TT["PART_TODAY"] = " (hoy)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Hacer %s primer día de la semana"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Cerrar"; +Calendar._TT["TODAY"] = "Hoy"; +Calendar._TT["TIME_PART"] = "(Mayúscula-)Clic o arrastre para cambiar valor"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%A, %e de %B de %Y"; + +Calendar._TT["WK"] = "sem"; +Calendar._TT["TIME"] = "Hora:"; diff --git a/jscalendar-1.0/lang/calendar-fi.js b/jscalendar-1.0/lang/calendar-fi.js new file mode 100644 index 0000000..328eabb --- /dev/null +++ b/jscalendar-1.0/lang/calendar-fi.js @@ -0,0 +1,98 @@ +// ** I18N + +// Calendar FI language (Finnish, Suomi) +// Author: Jarno Käyhkö, +// Encoding: UTF-8 +// Distributed under the same terms as the calendar itself. + +// full day names +Calendar._DN = new Array +("Sunnuntai", + "Maanantai", + "Tiistai", + "Keskiviikko", + "Torstai", + "Perjantai", + "Lauantai", + "Sunnuntai"); + +// short day names +Calendar._SDN = new Array +("Su", + "Ma", + "Ti", + "Ke", + "To", + "Pe", + "La", + "Su"); + +// full month names +Calendar._MN = new Array +("Tammikuu", + "Helmikuu", + "Maaliskuu", + "Huhtikuu", + "Toukokuu", + "Kesäkuu", + "Heinäkuu", + "Elokuu", + "Syyskuu", + "Lokakuu", + "Marraskuu", + "Joulukuu"); + +// short month names +Calendar._SMN = new Array +("Tam", + "Hel", + "Maa", + "Huh", + "Tou", + "Kes", + "Hei", + "Elo", + "Syy", + "Lok", + "Mar", + "Jou"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Tietoja kalenterista"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Uusin versio osoitteessa: http://www.dynarch.com/projects/calendar/\n" + +"Julkaistu GNU LGPL lisenssin alaisuudessa. Lisätietoja osoitteessa http://gnu.org/licenses/lgpl.html" + +"\n\n" + +"Päivämäärä valinta:\n" + +"- Käytä \xab, \xbb painikkeita valitaksesi vuosi\n" + +"- Käytä " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " painikkeita valitaksesi kuukausi\n" + +"- Pitämällä hiiren painiketta minkä tahansa yllä olevan painikkeen kohdalla, saat näkyviin valikon nopeampaan siirtymiseen."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Ajan valinta:\n" + +"- Klikkaa kellonajan numeroita lisätäksesi aikaa\n" + +"- tai pitämällä Shift-näppäintä pohjassa saat aikaa taaksepäin\n" + +"- tai klikkaa ja pidä hiiren painike pohjassa sekä liikuta hiirtä muuttaaksesi aikaa nopeasti eteen- ja taaksepäin."; + +Calendar._TT["PREV_YEAR"] = "Edell. vuosi (paina hetki, näet valikon)"; +Calendar._TT["PREV_MONTH"] = "Edell. kuukausi (paina hetki, näet valikon)"; +Calendar._TT["GO_TODAY"] = "Siirry tähän päivään"; +Calendar._TT["NEXT_MONTH"] = "Seur. kuukausi (paina hetki, näet valikon)"; +Calendar._TT["NEXT_YEAR"] = "Seur. vuosi (paina hetki, näet valikon)"; +Calendar._TT["SEL_DATE"] = "Valitse päivämäärä"; +Calendar._TT["DRAG_TO_MOVE"] = "Siirrä kalenterin paikkaa"; +Calendar._TT["PART_TODAY"] = " (tänään)"; +Calendar._TT["MON_FIRST"] = "Näytä maanantai ensimmäisenä"; +Calendar._TT["SUN_FIRST"] = "Näytä sunnuntai ensimmäisenä"; +Calendar._TT["CLOSE"] = "Sulje"; +Calendar._TT["TODAY"] = "Tänään"; +Calendar._TT["TIME_PART"] = "(Shift-) Klikkaa tai liikuta muuttaaksesi aikaa"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%d.%m.%Y"; + +Calendar._TT["WK"] = "Vko"; diff --git a/jscalendar-1.0/lang/calendar-fr.js b/jscalendar-1.0/lang/calendar-fr.js new file mode 100644 index 0000000..2a9e0b2 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-fr.js @@ -0,0 +1,125 @@ +// ** I18N + +// Calendar EN language +// Author: Mihai Bazon, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// Translator: David Duret, from previous french version + +// full day names +Calendar._DN = new Array +("Dimanche", + "Lundi", + "Mardi", + "Mercredi", + "Jeudi", + "Vendredi", + "Samedi", + "Dimanche"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Dim", + "Lun", + "Mar", + "Mar", + "Jeu", + "Ven", + "Sam", + "Dim"); + +// full month names +Calendar._MN = new Array +("Janvier", + "Février", + "Mars", + "Avril", + "Mai", + "Juin", + "Juillet", + "Août", + "Septembre", + "Octobre", + "Novembre", + "Décembre"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Fev", + "Mar", + "Avr", + "Mai", + "Juin", + "Juil", + "Aout", + "Sep", + "Oct", + "Nov", + "Dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "A propos du calendrier"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Heure Selecteur\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Pour la derniere version visitez : http://www.dynarch.com/projects/calendar/\n" + +"Distribué par GNU LGPL. Voir http://gnu.org/licenses/lgpl.html pour les details." + +"\n\n" + +"Selection de la date :\n" + +"- Utiliser les bouttons \xab, \xbb pour selectionner l\'annee\n" + +"- Utiliser les bouttons " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " pour selectionner les mois\n" + +"- Garder la souris sur n'importe quels boutons pour une selection plus rapide"; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Selection de l\'heure :\n" + +"- Cliquer sur heures ou minutes pour incrementer\n" + +"- ou Maj-clic pour decrementer\n" + +"- ou clic et glisser-deplacer pour une selection plus rapide"; + +Calendar._TT["PREV_YEAR"] = "Année préc. (maintenir pour menu)"; +Calendar._TT["PREV_MONTH"] = "Mois préc. (maintenir pour menu)"; +Calendar._TT["GO_TODAY"] = "Atteindre la date du jour"; +Calendar._TT["NEXT_MONTH"] = "Mois suiv. (maintenir pour menu)"; +Calendar._TT["NEXT_YEAR"] = "Année suiv. (maintenir pour menu)"; +Calendar._TT["SEL_DATE"] = "Sélectionner une date"; +Calendar._TT["DRAG_TO_MOVE"] = "Déplacer"; +Calendar._TT["PART_TODAY"] = " (Aujourd'hui)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Afficher %s en premier"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Fermer"; +Calendar._TT["TODAY"] = "Aujourd'hui"; +Calendar._TT["TIME_PART"] = "(Maj-)Clic ou glisser pour modifier la valeur"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "Sem."; +Calendar._TT["TIME"] = "Heure :"; diff --git a/jscalendar-1.0/lang/calendar-he-utf8.js b/jscalendar-1.0/lang/calendar-he-utf8.js new file mode 100644 index 0000000..7861217 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-he-utf8.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar EN language +// Author: Idan Sofer, +// Encoding: UTF-8 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("ר×שון", + "שני", + "שלישי", + "רביעי", + "חמישי", + "שישי", + "שבת", + "ר×שון"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("×", + "ב", + "×’", + "ד", + "×”", + "ו", + "ש", + "×"); + +// full month names +Calendar._MN = new Array +("ינו×ר", + "פברו×ר", + "מרץ", + "×פריל", + "מ××™", + "יוני", + "יולי", + "×וגוסט", + "ספטמבר", + "×וקטובר", + "נובמבר", + "דצמבר"); + +// short month names +Calendar._SMN = new Array +("×™× ×", + "פבר", + "מרץ", + "×פר", + "מ××™", + "יונ", + "יול", + "×וג", + "ספט", + "×וק", + "נוב", + "דצמ"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "×ודות השנתון"; + +Calendar._TT["ABOUT"] = +"בחרן ת×ריך/שעה DHTML\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"×”×’×™×¨×¡× ×”×חרונה זמינה ב: http://www.dynarch.com/projects/calendar/\n" + +"מופץ תחת זיכיון ×” GNU LGPL. עיין ב http://gnu.org/licenses/lgpl.html ×œ×¤×¨×˜×™× × ×•×¡×¤×™×." + +"\n\n" + +בחירת ת×ריך:\n" + +"- השתמש ×‘×›×¤×ª×•×¨×™× \xab, \xbb לבחירת שנה\n" + +"- השתמש ×‘×›×¤×ª×•×¨×™× " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " לבחירת חודש\n" + +"- החזק העכבר לחוץ מעל ×”×›×¤×ª×•×¨×™× ×”×ž×•×–×›×¨×™× ×œ×¢×™×œ לבחירה מהירה יותר."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"בחירת זמן:\n" + +"- לחץ על כל ×חד מחלקי הזמן כדי להוסיף\n" + +"- ×ו shift בשילוב ×¢× ×œ×—×™×¦×” כדי להחסיר\n" + +"- ×ו לחץ וגרור לפעולה מהירה יותר."; + +Calendar._TT["PREV_YEAR"] = "שנה קודמת - החזק לקבלת תפריט"; +Calendar._TT["PREV_MONTH"] = "חודש ×§×•×“× - החזק לקבלת תפריט"; +Calendar._TT["GO_TODAY"] = "עבור להיו×"; +Calendar._TT["NEXT_MONTH"] = "חודש ×”×‘× - החזק לתפריט"; +Calendar._TT["NEXT_YEAR"] = "שנה הב××” - החזק לתפריט"; +Calendar._TT["SEL_DATE"] = "בחר ת×ריך"; +Calendar._TT["DRAG_TO_MOVE"] = "גרור להזזה"; +Calendar._TT["PART_TODAY"] = " )היו×("; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "הצג %s קוד×"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "6"; + +Calendar._TT["CLOSE"] = "סגור"; +Calendar._TT["TODAY"] = "היו×"; +Calendar._TT["TIME_PART"] = "(שיפט-)לחץ וגרור כדי לשנות ערך"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "שעה::"; diff --git a/jscalendar-1.0/lang/calendar-hr-utf8.js b/jscalendar-1.0/lang/calendar-hr-utf8.js new file mode 100644 index 0000000..d569cfd --- /dev/null +++ b/jscalendar-1.0/lang/calendar-hr-utf8.js @@ -0,0 +1,49 @@ +/* Croatian language file for the DHTML Calendar version 0.9.2 +* Author Krunoslav Zubrinic , June 2003. +* Feel free to use this script under the terms of the GNU Lesser General +* Public License, as long as you do not remove or alter this notice. +*/ +Calendar._DN = new Array +("Nedjelja", + "Ponedjeljak", + "Utorak", + "Srijeda", + "ÄŒetvrtak", + "Petak", + "Subota", + "Nedjelja"); +Calendar._MN = new Array +("SijeÄanj", + "VeljaÄa", + "Ožujak", + "Travanj", + "Svibanj", + "Lipanj", + "Srpanj", + "Kolovoz", + "Rujan", + "Listopad", + "Studeni", + "Prosinac"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["TOGGLE"] = "Promjeni dan s kojim poÄinje tjedan"; +Calendar._TT["PREV_YEAR"] = "Prethodna godina (dugi pritisak za meni)"; +Calendar._TT["PREV_MONTH"] = "Prethodni mjesec (dugi pritisak za meni)"; +Calendar._TT["GO_TODAY"] = "Idi na tekući dan"; +Calendar._TT["NEXT_MONTH"] = "Slijedeći mjesec (dugi pritisak za meni)"; +Calendar._TT["NEXT_YEAR"] = "Slijedeća godina (dugi pritisak za meni)"; +Calendar._TT["SEL_DATE"] = "Izaberite datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Pritisni i povuci za promjenu pozicije"; +Calendar._TT["PART_TODAY"] = " (today)"; +Calendar._TT["MON_FIRST"] = "Prikaži ponedjeljak kao prvi dan"; +Calendar._TT["SUN_FIRST"] = "Prikaži nedjelju kao prvi dan"; +Calendar._TT["CLOSE"] = "Zatvori"; +Calendar._TT["TODAY"] = "Danas"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y"; +Calendar._TT["TT_DATE_FORMAT"] = "DD, dd.mm.y"; + +Calendar._TT["WK"] = "Tje"; \ No newline at end of file diff --git a/jscalendar-1.0/lang/calendar-hr.js b/jscalendar-1.0/lang/calendar-hr.js new file mode 100644 index 0000000000000000000000000000000000000000..6c27f60c4f8d416145e316bdb92e455a04a26fc4 GIT binary patch literal 3088 zcmcJRZEq4$5QV3oOpN^xn|@MLX``QvFOd|BwX`K&TD8VBv|!x=g_MG!Mt{2coVhHp zKpTvj4cxc6GiS~{b9aCJT(gH3*@j(O+p2bD3I7+&G`&5u9_^Xcnfc6GbJ%NRA7TB) z#|3+172C0rd#bwCh1J+8t3EcD)@66wJ+E8Np7MLl+OpmC_<7>UTkyM$eGl6lj3p>PheZ0=Ww2=H?b(l|o^zMwpyIsrK|Sp&cKx5sS&@!9bLPe8y!ma|m&W@1t~03i zVNK_Gk(rhME=;!FTP?E|GvDK^rJ*FVQYO0UUUgnYdn=YQt!h}~kw)7*(yTJ*-gpib zZl$2fZ}$C`^OD_1B2{e9iaaHI&FIr`ue2#lE!UXvs;0s%sav4I+Bvf=`W^bqOTsRd z3#r;*y|Ms;vh5T5kb3$+n`bnQL#ow1S#y3O?q>A^Tan$T-(yY~JD^USqb_J0%v{q( z;0&xk!1v7>PB|GP+JT*2IC^s{CPfZR>2^A0^zShhL2~S;Re+-p89ZCghHfF{s#~oA zBX>BH^wbu~dKdQJ6XBS*+Pth|)R*2l^`ZCwo%I;gJZ(%PQuhB_8!;@E{O-@gRkmif zTx}=tA5^GnP#vi5TMH?#fco=PV>sz>5{FY!RGF#9LuCf#>z3-FK8=FvRSn}B)_YO4 zdX0swRHcjPqU<#(UFfcuRiD(Z+ew)YxVaYb85DMGo3=&9F`lPuK0(7(ZvHg4+4rPw zp(=4h)$5DrPt+dsC9+FSiy_EH7n6SzdjkdSk#$x*N3ImTX>`7eusHub3i#1Y&>i_0 zzeR!?rOVGAr{ytkf1BtnQ2^`agzClH9w)bhHnL||LkEvgdyD_U2*JFsr}VZ}t8b}L hPd9rmV52WTMaX%C+(ZQBcw3Zrwhfx``>it4|8LNz+ +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Vasárnap", + "Hétfõ", + "Kedd", + "Szerda", + "Csütörtök", + "Péntek", + "Szombat", + "Vasárnap"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("v", + "h", + "k", + "sze", + "cs", + "p", + "szo", + "v"); + +// full month names +Calendar._MN = new Array +("január", + "február", + "március", + "április", + "május", + "június", + "július", + "augusztus", + "szeptember", + "október", + "november", + "december"); + +// short month names +Calendar._SMN = new Array +("jan", + "feb", + "már", + "ápr", + "máj", + "jún", + "júl", + "aug", + "sze", + "okt", + "nov", + "dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "A kalendáriumról"; + +Calendar._TT["ABOUT"] = +"DHTML dátum/idõ kiválasztó\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"a legfrissebb verzió megtalálható: http://www.dynarch.com/projects/calendar/\n" + +"GNU LGPL alatt terjesztve. Lásd a http://gnu.org/licenses/lgpl.html oldalt a részletekhez." + +"\n\n" + +"Dátum választás:\n" + +"- használja a \xab, \xbb gombokat az év kiválasztásához\n" + +"- használja a " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " gombokat a hónap kiválasztásához\n" + +"- tartsa lenyomva az egérgombot a gyors választáshoz."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Idõ választás:\n" + +"- kattintva növelheti az idõt\n" + +"- shift-tel kattintva csökkentheti\n" + +"- lenyomva tartva és húzva gyorsabban kiválaszthatja."; + +Calendar._TT["PREV_YEAR"] = "Elõzõ év (tartsa nyomva a menühöz)"; +Calendar._TT["PREV_MONTH"] = "Elõzõ hónap (tartsa nyomva a menühöz)"; +Calendar._TT["GO_TODAY"] = "Mai napra ugrás"; +Calendar._TT["NEXT_MONTH"] = "Köv. hónap (tartsa nyomva a menühöz)"; +Calendar._TT["NEXT_YEAR"] = "Köv. év (tartsa nyomva a menühöz)"; +Calendar._TT["SEL_DATE"] = "Válasszon dátumot"; +Calendar._TT["DRAG_TO_MOVE"] = "Húzza a mozgatáshoz"; +Calendar._TT["PART_TODAY"] = " (ma)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "%s legyen a hét elsõ napja"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Bezár"; +Calendar._TT["TODAY"] = "Ma"; +Calendar._TT["TIME_PART"] = "(Shift-)Klikk vagy húzás az érték változtatásához"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%b %e, %a"; + +Calendar._TT["WK"] = "hét"; +Calendar._TT["TIME"] = "idõ:"; diff --git a/jscalendar-1.0/lang/calendar-it.js b/jscalendar-1.0/lang/calendar-it.js new file mode 100644 index 0000000..7f84cde --- /dev/null +++ b/jscalendar-1.0/lang/calendar-it.js @@ -0,0 +1,124 @@ +// ** I18N + +// Calendar EN language +// Author: Mihai Bazon, +// Translator: Fabio Di Bernardini, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Domenica", + "Lunedì", + "Martedì", + "Mercoledì", + "Giovedì", + "Venerdì", + "Sabato", + "Domenica"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Dom", + "Lun", + "Mar", + "Mer", + "Gio", + "Ven", + "Sab", + "Dom"); + +// full month names +Calendar._MN = new Array +("Gennaio", + "Febbraio", + "Marzo", + "Aprile", + "Maggio", + "Giugno", + "Luglio", + "Augosto", + "Settembre", + "Ottobre", + "Novembre", + "Dicembre"); + +// short month names +Calendar._SMN = new Array +("Gen", + "Feb", + "Mar", + "Apr", + "Mag", + "Giu", + "Lug", + "Ago", + "Set", + "Ott", + "Nov", + "Dic"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Informazioni sul calendario"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Per gli aggiornamenti: http://www.dynarch.com/projects/calendar/\n" + +"Distribuito sotto licenza GNU LGPL. Vedi http://gnu.org/licenses/lgpl.html per i dettagli." + +"\n\n" + +"Selezione data:\n" + +"- Usa \xab, \xbb per selezionare l'anno\n" + +"- Usa " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " per i mesi\n" + +"- Tieni premuto a lungo il mouse per accedere alle funzioni di selezione veloce."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Selezione orario:\n" + +"- Clicca sul numero per incrementarlo\n" + +"- o Shift+click per decrementarlo\n" + +"- o click e sinistra o destra per variarlo."; + +Calendar._TT["PREV_YEAR"] = "Anno prec.(clicca a lungo per il menù)"; +Calendar._TT["PREV_MONTH"] = "Mese prec. (clicca a lungo per il menù)"; +Calendar._TT["GO_TODAY"] = "Oggi"; +Calendar._TT["NEXT_MONTH"] = "Pross. mese (clicca a lungo per il menù)"; +Calendar._TT["NEXT_YEAR"] = "Pross. anno (clicca a lungo per il menù)"; +Calendar._TT["SEL_DATE"] = "Seleziona data"; +Calendar._TT["DRAG_TO_MOVE"] = "Trascina per spostarlo"; +Calendar._TT["PART_TODAY"] = " (oggi)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Mostra prima %s"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Chiudi"; +Calendar._TT["TODAY"] = "Oggi"; +Calendar._TT["TIME_PART"] = "(Shift-)Click o trascina per cambiare il valore"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a:%b:%e"; + +Calendar._TT["WK"] = "set"; +Calendar._TT["TIME"] = "Ora:"; diff --git a/jscalendar-1.0/lang/calendar-jp.js b/jscalendar-1.0/lang/calendar-jp.js new file mode 100644 index 0000000..3bca7eb --- /dev/null +++ b/jscalendar-1.0/lang/calendar-jp.js @@ -0,0 +1,45 @@ +// ** I18N +Calendar._DN = new Array +("“ú", + "ŒŽ", + "‰Î", + "…", + "–Ø", + "‹à", + "“y", + "“ú"); +Calendar._MN = new Array +("1ŒŽ", + "2ŒŽ", + "3ŒŽ", + "4ŒŽ", + "5ŒŽ", + "6ŒŽ", + "7ŒŽ", + "8ŒŽ", + "9ŒŽ", + "10ŒŽ", + "11ŒŽ", + "12ŒŽ"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["TOGGLE"] = "T‚Ìʼn‚Ì—j“ú‚ðØ‚è‘Ö‚¦"; +Calendar._TT["PREV_YEAR"] = "‘O”N"; +Calendar._TT["PREV_MONTH"] = "‘OŒŽ"; +Calendar._TT["GO_TODAY"] = "¡“ú"; +Calendar._TT["NEXT_MONTH"] = "—‚ŒŽ"; +Calendar._TT["NEXT_YEAR"] = "—‚”N"; +Calendar._TT["SEL_DATE"] = "“ú•t‘I‘ð"; +Calendar._TT["DRAG_TO_MOVE"] = "ƒEƒBƒ“ƒhƒE‚̈ړ®"; +Calendar._TT["PART_TODAY"] = " (¡“ú)"; +Calendar._TT["MON_FIRST"] = "ŒŽ—j“ú‚ð擪‚É"; +Calendar._TT["SUN_FIRST"] = "“ú—j“ú‚ð擪‚É"; +Calendar._TT["CLOSE"] = "•Â‚¶‚é"; +Calendar._TT["TODAY"] = "¡“ú"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "y-mm-dd"; +Calendar._TT["TT_DATE_FORMAT"] = "%mŒŽ %d“ú (%a)"; + +Calendar._TT["WK"] = "T"; diff --git a/jscalendar-1.0/lang/calendar-ko-utf8.js b/jscalendar-1.0/lang/calendar-ko-utf8.js new file mode 100644 index 0000000..035dd74 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-ko-utf8.js @@ -0,0 +1,120 @@ +// ** I18N + +// Calendar EN language +// Author: Mihai Bazon, +// Translation: Yourim Yi +// Encoding: EUC-KR +// lang : ko +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names + +Calendar._DN = new Array +("ì¼ìš”ì¼", + "월요ì¼", + "화요ì¼", + "수요ì¼", + "목요ì¼", + "금요ì¼", + "토요ì¼", + "ì¼ìš”ì¼"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("ì¼", + "ì›”", + "í™”", + "수", + "목", + "금", + "토", + "ì¼"); + +// full month names +Calendar._MN = new Array +("1ì›”", + "2ì›”", + "3ì›”", + "4ì›”", + "5ì›”", + "6ì›”", + "7ì›”", + "8ì›”", + "9ì›”", + "10ì›”", + "11ì›”", + "12ì›”"); + +// short month names +Calendar._SMN = new Array +("1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "calendar ì— ëŒ€í•´ì„œ"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"\n"+ +"최신 ë²„ì „ì„ ë°›ìœ¼ì‹œë ¤ë©´ http://www.dynarch.com/projects/calendar/ ì— ë°©ë¬¸í•˜ì„¸ìš”\n" + +"\n"+ +"GNU LGPL ë¼ì´ì„¼ìŠ¤ë¡œ ë°°í¬ë©ë‹ˆë‹¤. \n"+ +"ë¼ì´ì„¼ìŠ¤ì— 대한 ìžì„¸í•œ ë‚´ìš©ì€ http://gnu.org/licenses/lgpl.html ì„ ì½ìœ¼ì„¸ìš”." + +"\n\n" + +"날짜 ì„ íƒ:\n" + +"- ì—°ë„를 ì„ íƒí•˜ë ¤ë©´ \xab, \xbb ë²„íŠ¼ì„ ì‚¬ìš©í•©ë‹ˆë‹¤\n" + +"- ë‹¬ì„ ì„ íƒí•˜ë ¤ë©´ " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ë²„íŠ¼ì„ ëˆ„ë¥´ì„¸ìš”\n" + +"- ê³„ì† ëˆ„ë¥´ê³  있으면 위 ê°’ë“¤ì„ ë¹ ë¥´ê²Œ ì„ íƒí•˜ì‹¤ 수 있습니다."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"시간 ì„ íƒ:\n" + +"- 마우스로 누르면 ì‹œê°„ì´ ì¦ê°€í•©ë‹ˆë‹¤\n" + +"- Shift 키와 함께 누르면 ê°ì†Œí•©ë‹ˆë‹¤\n" + +"- 누른 ìƒíƒœì—ì„œ 마우스를 움ì§ì´ë©´ 좀 ë” ë¹ ë¥´ê²Œ ê°’ì´ ë³€í•©ë‹ˆë‹¤.\n"; + +Calendar._TT["PREV_YEAR"] = "지난 í•´ (길게 누르면 목ë¡)"; +Calendar._TT["PREV_MONTH"] = "지난 달 (길게 누르면 목ë¡)"; +Calendar._TT["GO_TODAY"] = "오늘 날짜로"; +Calendar._TT["NEXT_MONTH"] = "ë‹¤ìŒ ë‹¬ (길게 누르면 목ë¡)"; +Calendar._TT["NEXT_YEAR"] = "ë‹¤ìŒ í•´ (길게 누르면 목ë¡)"; +Calendar._TT["SEL_DATE"] = "날짜를 ì„ íƒí•˜ì„¸ìš”"; +Calendar._TT["DRAG_TO_MOVE"] = "마우스 드래그로 ì´ë™ 하세요"; +Calendar._TT["PART_TODAY"] = " (오늘)"; +Calendar._TT["MON_FIRST"] = "월요ì¼ì„ í•œ ì£¼ì˜ ì‹œìž‘ ìš”ì¼ë¡œ"; +Calendar._TT["SUN_FIRST"] = "ì¼ìš”ì¼ì„ í•œ ì£¼ì˜ ì‹œìž‘ ìš”ì¼ë¡œ"; +Calendar._TT["CLOSE"] = "닫기"; +Calendar._TT["TODAY"] = "오늘"; +Calendar._TT["TIME_PART"] = "(Shift-)í´ë¦­ ë˜ëŠ” 드래그 하세요"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%b/%e [%a]"; + +Calendar._TT["WK"] = "주"; diff --git a/jscalendar-1.0/lang/calendar-ko.js b/jscalendar-1.0/lang/calendar-ko.js new file mode 100644 index 0000000..8cddf58 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-ko.js @@ -0,0 +1,120 @@ +// ** I18N + +// Calendar EN language +// Author: Mihai Bazon, +// Translation: Yourim Yi +// Encoding: EUC-KR +// lang : ko +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names + +Calendar._DN = new Array +("ÀÏ¿äÀÏ", + "¿ù¿äÀÏ", + "È­¿äÀÏ", + "¼ö¿äÀÏ", + "¸ñ¿äÀÏ", + "±Ý¿äÀÏ", + "Åä¿äÀÏ", + "ÀÏ¿äÀÏ"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("ÀÏ", + "¿ù", + "È­", + "¼ö", + "¸ñ", + "±Ý", + "Åä", + "ÀÏ"); + +// full month names +Calendar._MN = new Array +("1¿ù", + "2¿ù", + "3¿ù", + "4¿ù", + "5¿ù", + "6¿ù", + "7¿ù", + "8¿ù", + "9¿ù", + "10¿ù", + "11¿ù", + "12¿ù"); + +// short month names +Calendar._SMN = new Array +("1", + "2", + "3", + "4", + "5", + "6", + "7", + "8", + "9", + "10", + "11", + "12"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "calendar ¿¡ ´ëÇؼ­"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"\n"+ +"ÃֽŠ¹öÀüÀ» ¹ÞÀ¸½Ã·Á¸é http://www.dynarch.com/projects/calendar/ ¿¡ ¹æ¹®Çϼ¼¿ä\n" + +"\n"+ +"GNU LGPL ¶óÀ̼¾½º·Î ¹èÆ÷µË´Ï´Ù. \n"+ +"¶óÀ̼¾½º¿¡ ´ëÇÑ ÀÚ¼¼ÇÑ ³»¿ëÀº http://gnu.org/licenses/lgpl.html À» ÀÐÀ¸¼¼¿ä." + +"\n\n" + +"³¯Â¥ ¼±ÅÃ:\n" + +"- ¿¬µµ¸¦ ¼±ÅÃÇÏ·Á¸é \xab, \xbb ¹öÆ°À» »ç¿ëÇÕ´Ï´Ù\n" + +"- ´ÞÀ» ¼±ÅÃÇÏ·Á¸é " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ¹öÆ°À» ´©¸£¼¼¿ä\n" + +"- °è¼Ó ´©¸£°í ÀÖÀ¸¸é À§ °ªµéÀ» ºü¸£°Ô ¼±ÅÃÇÏ½Ç ¼ö ÀÖ½À´Ï´Ù."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"½Ã°£ ¼±ÅÃ:\n" + +"- ¸¶¿ì½º·Î ´©¸£¸é ½Ã°£ÀÌ Áõ°¡ÇÕ´Ï´Ù\n" + +"- Shift Å°¿Í ÇÔ²² ´©¸£¸é °¨¼ÒÇÕ´Ï´Ù\n" + +"- ´©¸¥ »óÅ¿¡¼­ ¸¶¿ì½º¸¦ ¿òÁ÷À̸é Á» ´õ ºü¸£°Ô °ªÀÌ º¯ÇÕ´Ï´Ù.\n"; + +Calendar._TT["PREV_YEAR"] = "Áö³­ ÇØ (±æ°Ô ´©¸£¸é ¸ñ·Ï)"; +Calendar._TT["PREV_MONTH"] = "Áö³­ ´Þ (±æ°Ô ´©¸£¸é ¸ñ·Ï)"; +Calendar._TT["GO_TODAY"] = "¿À´Ã ³¯Â¥·Î"; +Calendar._TT["NEXT_MONTH"] = "´ÙÀ½ ´Þ (±æ°Ô ´©¸£¸é ¸ñ·Ï)"; +Calendar._TT["NEXT_YEAR"] = "´ÙÀ½ ÇØ (±æ°Ô ´©¸£¸é ¸ñ·Ï)"; +Calendar._TT["SEL_DATE"] = "³¯Â¥¸¦ ¼±ÅÃÇϼ¼¿ä"; +Calendar._TT["DRAG_TO_MOVE"] = "¸¶¿ì½º µå·¡±×·Î À̵¿ Çϼ¼¿ä"; +Calendar._TT["PART_TODAY"] = " (¿À´Ã)"; +Calendar._TT["MON_FIRST"] = "¿ù¿äÀÏÀ» ÇÑ ÁÖÀÇ ½ÃÀÛ ¿äÀÏ·Î"; +Calendar._TT["SUN_FIRST"] = "ÀÏ¿äÀÏÀ» ÇÑ ÁÖÀÇ ½ÃÀÛ ¿äÀÏ·Î"; +Calendar._TT["CLOSE"] = "´Ý±â"; +Calendar._TT["TODAY"] = "¿À´Ã"; +Calendar._TT["TIME_PART"] = "(Shift-)Ŭ¸¯ ¶Ç´Â µå·¡±× Çϼ¼¿ä"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%b/%e [%a]"; + +Calendar._TT["WK"] = "ÁÖ"; diff --git a/jscalendar-1.0/lang/calendar-lt-utf8.js b/jscalendar-1.0/lang/calendar-lt-utf8.js new file mode 100644 index 0000000..d39653b --- /dev/null +++ b/jscalendar-1.0/lang/calendar-lt-utf8.js @@ -0,0 +1,114 @@ +// ** I18N + +// Calendar LT language +// Author: Martynas Majeris, +// Encoding: UTF-8 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Sekmadienis", + "Pirmadienis", + "Antradienis", + "TreÄiadienis", + "Ketvirtadienis", + "Pentadienis", + "Å eÅ¡tadienis", + "Sekmadienis"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Sek", + "Pir", + "Ant", + "Tre", + "Ket", + "Pen", + "Å eÅ¡", + "Sek"); + +// full month names +Calendar._MN = new Array +("Sausis", + "Vasaris", + "Kovas", + "Balandis", + "Gegužė", + "Birželis", + "Liepa", + "RugpjÅ«tis", + "RugsÄ—jis", + "Spalis", + "Lapkritis", + "Gruodis"); + +// short month names +Calendar._SMN = new Array +("Sau", + "Vas", + "Kov", + "Bal", + "Geg", + "Bir", + "Lie", + "Rgp", + "Rgs", + "Spa", + "Lap", + "Gru"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Apie kalendorių"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"NaujausiÄ… versijÄ… rasite: http://www.dynarch.com/projects/calendar/\n" + +"Platinamas pagal GNU LGPL licencijÄ…. Aplankykite http://gnu.org/licenses/lgpl.html" + +"\n\n" + +"Datos pasirinkimas:\n" + +"- Metų pasirinkimas: \xab, \xbb\n" + +"- MÄ—nesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" + +"- Nuspauskite ir laikykite pelÄ—s klaviÅ¡Ä… greitesniam pasirinkimui."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Laiko pasirinkimas:\n" + +"- Spustelkite ant valandų arba minuÄių - skaiÄius padidÄ—s vienetu.\n" + +"- Jei spausite kartu su Shift, skaiÄius sumažės.\n" + +"- Greitam pasirinkimui spustelkite ir pajudinkite pelÄ™."; + +Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)"; +Calendar._TT["PREV_MONTH"] = "Ankstesnis mÄ—nuo (laikykite, jei norite meniu)"; +Calendar._TT["GO_TODAY"] = "Pasirinkti Å¡iandienÄ…"; +Calendar._TT["NEXT_MONTH"] = "Kitas mÄ—nuo (laikykite, jei norite meniu)"; +Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)"; +Calendar._TT["SEL_DATE"] = "Pasirinkite datÄ…"; +Calendar._TT["DRAG_TO_MOVE"] = "Tempkite"; +Calendar._TT["PART_TODAY"] = " (Å¡iandien)"; +Calendar._TT["MON_FIRST"] = "Pirma savaitÄ—s diena - pirmadienis"; +Calendar._TT["SUN_FIRST"] = "Pirma savaitÄ—s diena - sekmadienis"; +Calendar._TT["CLOSE"] = "Uždaryti"; +Calendar._TT["TODAY"] = "Å iandien"; +Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d"; + +Calendar._TT["WK"] = "sav"; diff --git a/jscalendar-1.0/lang/calendar-lt.js b/jscalendar-1.0/lang/calendar-lt.js new file mode 100644 index 0000000..43b93d6 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-lt.js @@ -0,0 +1,114 @@ +// ** I18N + +// Calendar LT language +// Author: Martynas Majeris, +// Encoding: Windows-1257 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Sekmadienis", + "Pirmadienis", + "Antradienis", + "Treèiadienis", + "Ketvirtadienis", + "Pentadienis", + "Ðeðtadienis", + "Sekmadienis"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Sek", + "Pir", + "Ant", + "Tre", + "Ket", + "Pen", + "Ðeð", + "Sek"); + +// full month names +Calendar._MN = new Array +("Sausis", + "Vasaris", + "Kovas", + "Balandis", + "Geguþë", + "Birþelis", + "Liepa", + "Rugpjûtis", + "Rugsëjis", + "Spalis", + "Lapkritis", + "Gruodis"); + +// short month names +Calendar._SMN = new Array +("Sau", + "Vas", + "Kov", + "Bal", + "Geg", + "Bir", + "Lie", + "Rgp", + "Rgs", + "Spa", + "Lap", + "Gru"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Apie kalendoriø"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Naujausià versijà rasite: http://www.dynarch.com/projects/calendar/\n" + +"Platinamas pagal GNU LGPL licencijà. Aplankykite http://gnu.org/licenses/lgpl.html" + +"\n\n" + +"Datos pasirinkimas:\n" + +"- Metø pasirinkimas: \xab, \xbb\n" + +"- Mënesio pasirinkimas: " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" + +"- Nuspauskite ir laikykite pelës klaviðà greitesniam pasirinkimui."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Laiko pasirinkimas:\n" + +"- Spustelkite ant valandø arba minuèiø - skaièus padidës vienetu.\n" + +"- Jei spausite kartu su Shift, skaièius sumaþës.\n" + +"- Greitam pasirinkimui spustelkite ir pajudinkite pelæ."; + +Calendar._TT["PREV_YEAR"] = "Ankstesni metai (laikykite, jei norite meniu)"; +Calendar._TT["PREV_MONTH"] = "Ankstesnis mënuo (laikykite, jei norite meniu)"; +Calendar._TT["GO_TODAY"] = "Pasirinkti ðiandienà"; +Calendar._TT["NEXT_MONTH"] = "Kitas mënuo (laikykite, jei norite meniu)"; +Calendar._TT["NEXT_YEAR"] = "Kiti metai (laikykite, jei norite meniu)"; +Calendar._TT["SEL_DATE"] = "Pasirinkite datà"; +Calendar._TT["DRAG_TO_MOVE"] = "Tempkite"; +Calendar._TT["PART_TODAY"] = " (ðiandien)"; +Calendar._TT["MON_FIRST"] = "Pirma savaitës diena - pirmadienis"; +Calendar._TT["SUN_FIRST"] = "Pirma savaitës diena - sekmadienis"; +Calendar._TT["CLOSE"] = "Uþdaryti"; +Calendar._TT["TODAY"] = "Ðiandien"; +Calendar._TT["TIME_PART"] = "Spustelkite arba tempkite jei norite pakeisti"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%A, %Y-%m-%d"; + +Calendar._TT["WK"] = "sav"; diff --git a/jscalendar-1.0/lang/calendar-lv.js b/jscalendar-1.0/lang/calendar-lv.js new file mode 100644 index 0000000..407699d --- /dev/null +++ b/jscalendar-1.0/lang/calendar-lv.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar LV language +// Author: Juris Valdovskis, +// Encoding: cp1257 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Svçtdiena", + "Pirmdiena", + "Otrdiena", + "Treðdiena", + "Ceturdiena", + "Piektdiena", + "Sestdiena", + "Svçtdiena"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Sv", + "Pr", + "Ot", + "Tr", + "Ce", + "Pk", + "Se", + "Sv"); + +// full month names +Calendar._MN = new Array +("Janvâris", + "Februâris", + "Marts", + "Aprîlis", + "Maijs", + "Jûnijs", + "Jûlijs", + "Augusts", + "Septembris", + "Oktobris", + "Novembris", + "Decembris"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "Mar", + "Apr", + "Mai", + "Jûn", + "Jûl", + "Aug", + "Sep", + "Okt", + "Nov", + "Dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Par kalendâru"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Datuma izvçle:\n" + +"- Izmanto \xab, \xbb pogas, lai izvçlçtos gadu\n" + +"- Izmanto " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "pogas, lai izvçlçtos mçnesi\n" + +"- Turi nospiestu peles pogu uz jebkuru no augstâk minçtajâm pogâm, lai paâtrinâtu izvçli."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Laika izvçle:\n" + +"- Uzklikðíini uz jebkuru no laika daïâm, lai palielinâtu to\n" + +"- vai Shift-klikðíis, lai samazinâtu to\n" + +"- vai noklikðíini un velc uz attiecîgo virzienu lai mainîtu âtrâk."; + +Calendar._TT["PREV_YEAR"] = "Iepr. gads (turi izvçlnei)"; +Calendar._TT["PREV_MONTH"] = "Iepr. mçnesis (turi izvçlnei)"; +Calendar._TT["GO_TODAY"] = "Ðodien"; +Calendar._TT["NEXT_MONTH"] = "Nâkoðais mçnesis (turi izvçlnei)"; +Calendar._TT["NEXT_YEAR"] = "Nâkoðais gads (turi izvçlnei)"; +Calendar._TT["SEL_DATE"] = "Izvçlies datumu"; +Calendar._TT["DRAG_TO_MOVE"] = "Velc, lai pârvietotu"; +Calendar._TT["PART_TODAY"] = " (ðodien)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Attçlot %s kâ pirmo"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "1,7"; + +Calendar._TT["CLOSE"] = "Aizvçrt"; +Calendar._TT["TODAY"] = "Ðodien"; +Calendar._TT["TIME_PART"] = "(Shift-)Klikðíis vai pârvieto, lai mainîtu"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "Laiks:"; diff --git a/jscalendar-1.0/lang/calendar-nl.js b/jscalendar-1.0/lang/calendar-nl.js new file mode 100644 index 0000000..a1dea94 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-nl.js @@ -0,0 +1,73 @@ +// ** I18N +Calendar._DN = new Array +("Zondag", + "Maandag", + "Dinsdag", + "Woensdag", + "Donderdag", + "Vrijdag", + "Zaterdag", + "Zondag"); + +Calendar._SDN_len = 2; + +Calendar._MN = new Array +("Januari", + "Februari", + "Maart", + "April", + "Mei", + "Juni", + "Juli", + "Augustus", + "September", + "Oktober", + "November", + "December"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Info"; + +Calendar._TT["ABOUT"] = +"DHTML Datum/Tijd Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + +"Ga voor de meest recente versie naar: http://www.dynarch.com/projects/calendar/\n" + +"Verspreid onder de GNU LGPL. Zie http://gnu.org/licenses/lgpl.html voor details." + +"\n\n" + +"Datum selectie:\n" + +"- Gebruik de \xab \xbb knoppen om een jaar te selecteren\n" + +"- Gebruik de " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " knoppen om een maand te selecteren\n" + +"- Houd de muis ingedrukt op de genoemde knoppen voor een snellere selectie."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Tijd selectie:\n" + +"- Klik op een willekeurig onderdeel van het tijd gedeelte om het te verhogen\n" + +"- of Shift-klik om het te verlagen\n" + +"- of klik en sleep voor een snellere selectie."; + +//Calendar._TT["TOGGLE"] = "Selecteer de eerste week-dag"; +Calendar._TT["PREV_YEAR"] = "Vorig jaar (ingedrukt voor menu)"; +Calendar._TT["PREV_MONTH"] = "Vorige maand (ingedrukt voor menu)"; +Calendar._TT["GO_TODAY"] = "Ga naar Vandaag"; +Calendar._TT["NEXT_MONTH"] = "Volgende maand (ingedrukt voor menu)"; +Calendar._TT["NEXT_YEAR"] = "Volgend jaar (ingedrukt voor menu)"; +Calendar._TT["SEL_DATE"] = "Selecteer datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Klik en sleep om te verplaatsen"; +Calendar._TT["PART_TODAY"] = " (vandaag)"; +//Calendar._TT["MON_FIRST"] = "Toon Maandag eerst"; +//Calendar._TT["SUN_FIRST"] = "Toon Zondag eerst"; + +Calendar._TT["DAY_FIRST"] = "Toon %s eerst"; + +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Sluiten"; +Calendar._TT["TODAY"] = "(vandaag)"; +Calendar._TT["TIME_PART"] = "(Shift-)Klik of sleep om de waarde te veranderen"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b %Y"; + +Calendar._TT["WK"] = "wk"; +Calendar._TT["TIME"] = "Tijd:"; \ No newline at end of file diff --git a/jscalendar-1.0/lang/calendar-no.js b/jscalendar-1.0/lang/calendar-no.js new file mode 100644 index 0000000..d9297d1 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-no.js @@ -0,0 +1,114 @@ +// ** I18N + +// Calendar NO language +// Author: Daniel Holmen, +// Encoding: UTF-8 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Søndag", + "Mandag", + "Tirsdag", + "Onsdag", + "Torsdag", + "Fredag", + "Lørdag", + "Søndag"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Søn", + "Man", + "Tir", + "Ons", + "Tor", + "Fre", + "Lør", + "Søn"); + +// full month names +Calendar._MN = new Array +("Januar", + "Februar", + "Mars", + "April", + "Mai", + "Juni", + "Juli", + "August", + "September", + "Oktober", + "November", + "Desember"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "Mar", + "Apr", + "Mai", + "Jun", + "Jul", + "Aug", + "Sep", + "Okt", + "Nov", + "Des"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Om kalenderen"; + +Calendar._TT["ABOUT"] = +"DHTML Dato-/Tidsvelger\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For nyeste versjon, gÃ¥ til: http://www.dynarch.com/projects/calendar/\n" + +"Distribuert under GNU LGPL. Se http://gnu.org/licenses/lgpl.html for detaljer." + +"\n\n" + +"Datovalg:\n" + +"- Bruk knappene \xab og \xbb for Ã¥ velge Ã¥r\n" + +"- Bruk knappene " + String.fromCharCode(0x2039) + " og " + String.fromCharCode(0x203a) + " for Ã¥ velge mÃ¥ned\n" + +"- Hold inne musknappen eller knappene over for raskere valg."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Tidsvalg:\n" + +"- Klikk pÃ¥ en av tidsdelene for Ã¥ øke den\n" + +"- eller Shift-klikk for Ã¥ senke verdien\n" + +"- eller klikk-og-dra for raskere valg.."; + +Calendar._TT["PREV_YEAR"] = "Forrige. Ã¥r (hold for meny)"; +Calendar._TT["PREV_MONTH"] = "Forrige. mÃ¥ned (hold for meny)"; +Calendar._TT["GO_TODAY"] = "GÃ¥ til idag"; +Calendar._TT["NEXT_MONTH"] = "Neste mÃ¥ned (hold for meny)"; +Calendar._TT["NEXT_YEAR"] = "Neste Ã¥r (hold for meny)"; +Calendar._TT["SEL_DATE"] = "Velg dato"; +Calendar._TT["DRAG_TO_MOVE"] = "Dra for Ã¥ flytte"; +Calendar._TT["PART_TODAY"] = " (idag)"; +Calendar._TT["MON_FIRST"] = "Vis mandag først"; +Calendar._TT["SUN_FIRST"] = "Vis søndag først"; +Calendar._TT["CLOSE"] = "Lukk"; +Calendar._TT["TODAY"] = "Idag"; +Calendar._TT["TIME_PART"] = "(Shift-)Klikk eller dra for Ã¥ endre verdi"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d.%m.%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "uke"; \ No newline at end of file diff --git a/jscalendar-1.0/lang/calendar-pl-utf8.js b/jscalendar-1.0/lang/calendar-pl-utf8.js new file mode 100644 index 0000000..6b8ca67 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-pl-utf8.js @@ -0,0 +1,93 @@ +// ** I18N + +// Calendar PL language +// Author: Dariusz Pietrzak, +// Author: Janusz Piwowarski, +// Encoding: utf-8 +// Distributed under the same terms as the calendar itself. + +Calendar._DN = new Array +("Niedziela", + "PoniedziaÅ‚ek", + "Wtorek", + "Åšroda", + "Czwartek", + "PiÄ…tek", + "Sobota", + "Niedziela"); +Calendar._SDN = new Array +("Nie", + "Pn", + "Wt", + "Åšr", + "Cz", + "Pt", + "So", + "Nie"); +Calendar._MN = new Array +("StyczeÅ„", + "Luty", + "Marzec", + "KwiecieÅ„", + "Maj", + "Czerwiec", + "Lipiec", + "SierpieÅ„", + "WrzesieÅ„", + "Październik", + "Listopad", + "GrudzieÅ„"); +Calendar._SMN = new Array +("Sty", + "Lut", + "Mar", + "Kwi", + "Maj", + "Cze", + "Lip", + "Sie", + "Wrz", + "Paź", + "Lis", + "Gru"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "O kalendarzu"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Aby pobrać najnowszÄ… wersjÄ™, odwiedź: http://www.dynarch.com/projects/calendar/\n" + +"DostÄ™pny na licencji GNU LGPL. Zobacz szczegóły na http://gnu.org/licenses/lgpl.html." + +"\n\n" + +"Wybór daty:\n" + +"- Użyj przycisków \xab, \xbb by wybrać rok\n" + +"- Użyj przycisków " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " by wybrać miesiÄ…c\n" + +"- Przytrzymaj klawisz myszy nad jednym z powyższych przycisków dla szybszego wyboru."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Wybór czasu:\n" + +"- Kliknij na jednym z pól czasu by zwiÄ™kszyć jego wartość\n" + +"- lub kliknij trzymajÄ…c Shift by zmiejszyć jego wartość\n" + +"- lub kliknij i przeciÄ…gnij dla szybszego wyboru."; + +//Calendar._TT["TOGGLE"] = "ZmieÅ„ pierwszy dzieÅ„ tygodnia"; +Calendar._TT["PREV_YEAR"] = "Poprzedni rok (przytrzymaj dla menu)"; +Calendar._TT["PREV_MONTH"] = "Poprzedni miesiÄ…c (przytrzymaj dla menu)"; +Calendar._TT["GO_TODAY"] = "Idź do dzisiaj"; +Calendar._TT["NEXT_MONTH"] = "NastÄ™pny miesiÄ…c (przytrzymaj dla menu)"; +Calendar._TT["NEXT_YEAR"] = "NastÄ™pny rok (przytrzymaj dla menu)"; +Calendar._TT["SEL_DATE"] = "Wybierz datÄ™"; +Calendar._TT["DRAG_TO_MOVE"] = "PrzeciÄ…gnij by przesunąć"; +Calendar._TT["PART_TODAY"] = " (dzisiaj)"; +Calendar._TT["MON_FIRST"] = "WyÅ›wietl poniedziaÅ‚ek jako pierwszy"; +Calendar._TT["SUN_FIRST"] = "WyÅ›wietl niedzielÄ™ jako pierwszÄ…"; +Calendar._TT["CLOSE"] = "Zamknij"; +Calendar._TT["TODAY"] = "Dzisiaj"; +Calendar._TT["TIME_PART"] = "(Shift-)Kliknij lub przeciÄ…gnij by zmienić wartość"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%e %B, %A"; + +Calendar._TT["WK"] = "ty"; diff --git a/jscalendar-1.0/lang/calendar-pl.js b/jscalendar-1.0/lang/calendar-pl.js new file mode 100644 index 0000000..76e0551 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-pl.js @@ -0,0 +1,56 @@ +// ** I18N +// Calendar PL language +// Author: Artur Filipiak, +// January, 2004 +// Encoding: UTF-8 +Calendar._DN = new Array +("Niedziela", "PoniedziaÅ‚ek", "Wtorek", "Åšroda", "Czwartek", "PiÄ…tek", "Sobota", "Niedziela"); + +Calendar._SDN = new Array +("N", "Pn", "Wt", "Åšr", "Cz", "Pt", "So", "N"); + +Calendar._MN = new Array +("StyczeÅ„", "Luty", "Marzec", "KwiecieÅ„", "Maj", "Czerwiec", "Lipiec", "SierpieÅ„", "WrzesieÅ„", "Październik", "Listopad", "GrudzieÅ„"); + +Calendar._SMN = new Array +("Sty", "Lut", "Mar", "Kwi", "Maj", "Cze", "Lip", "Sie", "Wrz", "Paź", "Lis", "Gru"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "O kalendarzu"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Wybór daty:\n" + +"- aby wybrać rok użyj przycisków \xab, \xbb\n" + +"- aby wybrać miesiÄ…c użyj przycisków " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + "\n" + +"- aby przyspieszyć wybór przytrzymaj wciÅ›niÄ™ty przycisk myszy nad ww. przyciskami."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Wybór czasu:\n" + +"- aby zwiÄ™kszyć wartość kliknij na dowolnym elemencie selekcji czasu\n" + +"- aby zmniejszyć wartość użyj dodatkowo klawisza Shift\n" + +"- możesz również poruszać myszkÄ™ w lewo i prawo wraz z wciÅ›niÄ™tym lewym klawiszem."; + +Calendar._TT["PREV_YEAR"] = "Poprz. rok (przytrzymaj dla menu)"; +Calendar._TT["PREV_MONTH"] = "Poprz. miesiÄ…c (przytrzymaj dla menu)"; +Calendar._TT["GO_TODAY"] = "Pokaż dziÅ›"; +Calendar._TT["NEXT_MONTH"] = "Nast. miesiÄ…c (przytrzymaj dla menu)"; +Calendar._TT["NEXT_YEAR"] = "Nast. rok (przytrzymaj dla menu)"; +Calendar._TT["SEL_DATE"] = "Wybierz datÄ™"; +Calendar._TT["DRAG_TO_MOVE"] = "PrzesuÅ„ okienko"; +Calendar._TT["PART_TODAY"] = " (dziÅ›)"; +Calendar._TT["MON_FIRST"] = "Pokaż PoniedziaÅ‚ek jako pierwszy"; +Calendar._TT["SUN_FIRST"] = "Pokaż NiedzielÄ™ jako pierwszÄ…"; +Calendar._TT["CLOSE"] = "Zamknij"; +Calendar._TT["TODAY"] = "DziÅ›"; +Calendar._TT["TIME_PART"] = "(Shift-)klik | drag, aby zmienić wartość"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y.%m.%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "wk"; \ No newline at end of file diff --git a/jscalendar-1.0/lang/calendar-pt.js b/jscalendar-1.0/lang/calendar-pt.js new file mode 100644 index 0000000..deee8a1 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-pt.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar pt_BR language +// Author: Adalberto Machado, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Domingo", + "Segunda", + "Terca", + "Quarta", + "Quinta", + "Sexta", + "Sabado", + "Domingo"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("Dom", + "Seg", + "Ter", + "Qua", + "Qui", + "Sex", + "Sab", + "Dom"); + +// full month names +Calendar._MN = new Array +("Janeiro", + "Fevereiro", + "Marco", + "Abril", + "Maio", + "Junho", + "Julho", + "Agosto", + "Setembro", + "Outubro", + "Novembro", + "Dezembro"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Fev", + "Mar", + "Abr", + "Mai", + "Jun", + "Jul", + "Ago", + "Set", + "Out", + "Nov", + "Dez"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Sobre o calendario"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Ultima versao visite: http://www.dynarch.com/projects/calendar/\n" + +"Distribuido sobre GNU LGPL. Veja http://gnu.org/licenses/lgpl.html para detalhes." + +"\n\n" + +"Selecao de data:\n" + +"- Use os botoes \xab, \xbb para selecionar o ano\n" + +"- Use os botoes " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para selecionar o mes\n" + +"- Segure o botao do mouse em qualquer um desses botoes para selecao rapida."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Selecao de hora:\n" + +"- Clique em qualquer parte da hora para incrementar\n" + +"- ou Shift-click para decrementar\n" + +"- ou clique e segure para selecao rapida."; + +Calendar._TT["PREV_YEAR"] = "Ant. ano (segure para menu)"; +Calendar._TT["PREV_MONTH"] = "Ant. mes (segure para menu)"; +Calendar._TT["GO_TODAY"] = "Hoje"; +Calendar._TT["NEXT_MONTH"] = "Prox. mes (segure para menu)"; +Calendar._TT["NEXT_YEAR"] = "Prox. ano (segure para menu)"; +Calendar._TT["SEL_DATE"] = "Selecione a data"; +Calendar._TT["DRAG_TO_MOVE"] = "Arraste para mover"; +Calendar._TT["PART_TODAY"] = " (hoje)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Mostre %s primeiro"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Fechar"; +Calendar._TT["TODAY"] = "Hoje"; +Calendar._TT["TIME_PART"] = "(Shift-)Click ou arraste para mudar valor"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d/%m/%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %e %b"; + +Calendar._TT["WK"] = "sm"; +Calendar._TT["TIME"] = "Hora:"; diff --git a/jscalendar-1.0/lang/calendar-ro.js b/jscalendar-1.0/lang/calendar-ro.js new file mode 100644 index 0000000..116e358 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-ro.js @@ -0,0 +1,66 @@ +// ** I18N +Calendar._DN = new Array +("Duminică", + "Luni", + "MarÅ£i", + "Miercuri", + "Joi", + "Vineri", + "Sâmbătă", + "Duminică"); +Calendar._SDN_len = 2; +Calendar._MN = new Array +("Ianuarie", + "Februarie", + "Martie", + "Aprilie", + "Mai", + "Iunie", + "Iulie", + "August", + "Septembrie", + "Octombrie", + "Noiembrie", + "Decembrie"); + +// tooltips +Calendar._TT = {}; + +Calendar._TT["INFO"] = "Despre calendar"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Pentru ultima versiune vizitaÅ£i: http://www.dynarch.com/projects/calendar/\n" + +"Distribuit sub GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"SelecÅ£ia datei:\n" + +"- FolosiÅ£i butoanele \xab, \xbb pentru a selecta anul\n" + +"- FolosiÅ£i butoanele " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " pentru a selecta luna\n" + +"- TineÅ£i butonul mouse-ului apăsat pentru selecÅ£ie mai rapidă."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"SelecÅ£ia orei:\n" + +"- Click pe ora sau minut pentru a mări valoarea cu 1\n" + +"- Sau Shift-Click pentru a micÅŸora valoarea cu 1\n" + +"- Sau Click ÅŸi drag pentru a selecta mai repede."; + +Calendar._TT["PREV_YEAR"] = "Anul precedent (lung pt menu)"; +Calendar._TT["PREV_MONTH"] = "Luna precedentă (lung pt menu)"; +Calendar._TT["GO_TODAY"] = "Data de azi"; +Calendar._TT["NEXT_MONTH"] = "Luna următoare (lung pt menu)"; +Calendar._TT["NEXT_YEAR"] = "Anul următor (lung pt menu)"; +Calendar._TT["SEL_DATE"] = "Selectează data"; +Calendar._TT["DRAG_TO_MOVE"] = "Trage pentru a miÅŸca"; +Calendar._TT["PART_TODAY"] = " (astăzi)"; +Calendar._TT["DAY_FIRST"] = "AfiÅŸează %s prima zi"; +Calendar._TT["WEEKEND"] = "0,6"; +Calendar._TT["CLOSE"] = "ÃŽnchide"; +Calendar._TT["TODAY"] = "Astăzi"; +Calendar._TT["TIME_PART"] = "(Shift-)Click sau drag pentru a selecta"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%d-%m-%Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%A, %d %B"; + +Calendar._TT["WK"] = "spt"; +Calendar._TT["TIME"] = "Ora:"; diff --git a/jscalendar-1.0/lang/calendar-ru.js b/jscalendar-1.0/lang/calendar-ru.js new file mode 100644 index 0000000..9f75a6a --- /dev/null +++ b/jscalendar-1.0/lang/calendar-ru.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar RU language +// Translation: Sly Golovanov, http://golovanov.net, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("воÑкреÑенье", + "понедельник", + "вторник", + "Ñреда", + "четверг", + "пÑтница", + "Ñуббота", + "воÑкреÑенье"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("вÑк", + "пон", + "втр", + "Ñрд", + "чет", + "пÑÑ‚", + "Ñуб", + "вÑк"); + +// full month names +Calendar._MN = new Array +("Ñнварь", + "февраль", + "март", + "апрель", + "май", + "июнь", + "июль", + "авгуÑÑ‚", + "ÑентÑбрь", + "октÑбрь", + "ноÑбрь", + "декабрь"); + +// short month names +Calendar._SMN = new Array +("Ñнв", + "фев", + "мар", + "апр", + "май", + "июн", + "июл", + "авг", + "Ñен", + "окт", + "ноÑ", + "дек"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "О календаре..."; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Как выбрать дату:\n" + +"- При помощи кнопок \xab, \xbb можно выбрать год\n" + +"- При помощи кнопок " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " можно выбрать меÑÑц\n" + +"- Подержите Ñти кнопки нажатыми, чтобы поÑвилоÑÑŒ меню быÑтрого выбора."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Как выбрать времÑ:\n" + +"- При клике на чаÑах или минутах они увеличиваютÑÑ\n" + +"- при клике Ñ Ð½Ð°Ð¶Ð°Ñ‚Ð¾Ð¹ клавишей Shift они уменьшаютÑÑ\n" + +"- еÑли нажать и двигать мышкой влево/вправо, они будут менÑÑ‚ÑŒÑÑ Ð±Ñ‹Ñтрее."; + +Calendar._TT["PREV_YEAR"] = "Ðа год назад (удерживать Ð´Ð»Ñ Ð¼ÐµÐ½ÑŽ)"; +Calendar._TT["PREV_MONTH"] = "Ðа меÑÑц назад (удерживать Ð´Ð»Ñ Ð¼ÐµÐ½ÑŽ)"; +Calendar._TT["GO_TODAY"] = "СегоднÑ"; +Calendar._TT["NEXT_MONTH"] = "Ðа меÑÑц вперед (удерживать Ð´Ð»Ñ Ð¼ÐµÐ½ÑŽ)"; +Calendar._TT["NEXT_YEAR"] = "Ðа год вперед (удерживать Ð´Ð»Ñ Ð¼ÐµÐ½ÑŽ)"; +Calendar._TT["SEL_DATE"] = "Выберите дату"; +Calendar._TT["DRAG_TO_MOVE"] = "ПеретаÑкивайте мышкой"; +Calendar._TT["PART_TODAY"] = " (ÑегоднÑ)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Первый день недели будет %s"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Закрыть"; +Calendar._TT["TODAY"] = "СегоднÑ"; +Calendar._TT["TIME_PART"] = "(Shift-)клик или нажать и двигать"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%e %b, %a"; + +Calendar._TT["WK"] = "нед"; +Calendar._TT["TIME"] = "ВремÑ:"; diff --git a/jscalendar-1.0/lang/calendar-ru_win_.js b/jscalendar-1.0/lang/calendar-ru_win_.js new file mode 100644 index 0000000..de455af --- /dev/null +++ b/jscalendar-1.0/lang/calendar-ru_win_.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar RU language +// Translation: Sly Golovanov, http://golovanov.net, +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("âîñêðåñåíüå", + "ïîíåäåëüíèê", + "âòîðíèê", + "ñðåäà", + "÷åòâåðã", + "ïÿòíèöà", + "ñóááîòà", + "âîñêðåñåíüå"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("âñê", + "ïîí", + "âòð", + "ñðä", + "÷åò", + "ïÿò", + "ñóá", + "âñê"); + +// full month names +Calendar._MN = new Array +("ÿíâàðü", + "ôåâðàëü", + "ìàðò", + "àïðåëü", + "ìàé", + "èþíü", + "èþëü", + "àâãóñò", + "ñåíòÿáðü", + "îêòÿáðü", + "íîÿáðü", + "äåêàáðü"); + +// short month names +Calendar._SMN = new Array +("ÿíâ", + "ôåâ", + "ìàð", + "àïð", + "ìàé", + "èþí", + "èþë", + "àâã", + "ñåí", + "îêò", + "íîÿ", + "äåê"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Î êàëåíäàðå..."; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Êàê âûáðàòü äàòó:\n" + +"- Ïðè ïîìîùè êíîïîê \xab, \xbb ìîæíî âûáðàòü ãîä\n" + +"- Ïðè ïîìîùè êíîïîê " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " ìîæíî âûáðàòü ìåñÿö\n" + +"- Ïîäåðæèòå ýòè êíîïêè íàæàòûìè, ÷òîáû ïîÿâèëîñü ìåíþ áûñòðîãî âûáîðà."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Êàê âûáðàòü âðåìÿ:\n" + +"- Ïðè êëèêå íà ÷àñàõ èëè ìèíóòàõ îíè óâåëè÷èâàþòñÿ\n" + +"- ïðè êëèêå ñ íàæàòîé êëàâèøåé Shift îíè óìåíüøàþòñÿ\n" + +"- åñëè íàæàòü è äâèãàòü ìûøêîé âëåâî/âïðàâî, îíè áóäóò ìåíÿòüñÿ áûñòðåå."; + +Calendar._TT["PREV_YEAR"] = "Íà ãîä íàçàä (óäåðæèâàòü äëÿ ìåíþ)"; +Calendar._TT["PREV_MONTH"] = "Íà ìåñÿö íàçàä (óäåðæèâàòü äëÿ ìåíþ)"; +Calendar._TT["GO_TODAY"] = "Ñåãîäíÿ"; +Calendar._TT["NEXT_MONTH"] = "Íà ìåñÿö âïåðåä (óäåðæèâàòü äëÿ ìåíþ)"; +Calendar._TT["NEXT_YEAR"] = "Íà ãîä âïåðåä (óäåðæèâàòü äëÿ ìåíþ)"; +Calendar._TT["SEL_DATE"] = "Âûáåðèòå äàòó"; +Calendar._TT["DRAG_TO_MOVE"] = "Ïåðåòàñêèâàéòå ìûøêîé"; +Calendar._TT["PART_TODAY"] = " (ñåãîäíÿ)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Ïåðâûé äåíü íåäåëè áóäåò %s"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Çàêðûòü"; +Calendar._TT["TODAY"] = "Ñåãîäíÿ"; +Calendar._TT["TIME_PART"] = "(Shift-)êëèê èëè íàæàòü è äâèãàòü"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%e %b, %a"; + +Calendar._TT["WK"] = "íåä"; +Calendar._TT["TIME"] = "Âðåìÿ:"; diff --git a/jscalendar-1.0/lang/calendar-si.js b/jscalendar-1.0/lang/calendar-si.js new file mode 100644 index 0000000..cb3dfb9 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-si.js @@ -0,0 +1,94 @@ +/* Slovenian language file for the DHTML Calendar version 0.9.2 +* Author David Milost , January 2004. +* Feel free to use this script under the terms of the GNU Lesser General +* Public License, as long as you do not remove or alter this notice. +*/ + // full day names +Calendar._DN = new Array +("Nedelja", + "Ponedeljek", + "Torek", + "Sreda", + "ÄŒetrtek", + "Petek", + "Sobota", + "Nedelja"); + // short day names + Calendar._SDN = new Array +("Ned", + "Pon", + "Tor", + "Sre", + "ÄŒet", + "Pet", + "Sob", + "Ned"); +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "Mar", + "Apr", + "Maj", + "Jun", + "Jul", + "Avg", + "Sep", + "Okt", + "Nov", + "Dec"); + // full month names +Calendar._MN = new Array +("Januar", + "Februar", + "Marec", + "April", + "Maj", + "Junij", + "Julij", + "Avgust", + "September", + "Oktober", + "November", + "December"); + +// tooltips +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "O koledarju"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Za zadnjo verzijo pojdine na naslov: http://www.dynarch.com/projects/calendar/\n" + +"Distribuirano pod GNU LGPL. Poglejte http://gnu.org/licenses/lgpl.html za podrobnosti." + +"\n\n" + +"Izbor datuma:\n" + +"- Uporabite \xab, \xbb gumbe za izbor leta\n" + +"- Uporabite " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " gumbe za izbor meseca\n" + +"- Zadržite klik na kateremkoli od zgornjih gumbov za hiter izbor."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Izbor ćasa:\n" + +"- Kliknite na katerikoli del ćasa za poveć. le-tega\n" + +"- ali Shift-click za zmanj. le-tega\n" + +"- ali kliknite in povlecite za hiter izbor."; + +Calendar._TT["TOGGLE"] = "Spremeni dan s katerim se prićne teden"; +Calendar._TT["PREV_YEAR"] = "Predhodnje leto (dolg klik za meni)"; +Calendar._TT["PREV_MONTH"] = "Predhodnji mesec (dolg klik za meni)"; +Calendar._TT["GO_TODAY"] = "Pojdi na tekoći dan"; +Calendar._TT["NEXT_MONTH"] = "Naslednji mesec (dolg klik za meni)"; +Calendar._TT["NEXT_YEAR"] = "Naslednje leto (dolg klik za meni)"; +Calendar._TT["SEL_DATE"] = "Izberite datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Pritisni in povleci za spremembo pozicije"; +Calendar._TT["PART_TODAY"] = " (danes)"; +Calendar._TT["MON_FIRST"] = "Prikaži ponedeljek kot prvi dan"; +Calendar._TT["SUN_FIRST"] = "Prikaži nedeljo kot prvi dan"; +Calendar._TT["CLOSE"] = "Zapri"; +Calendar._TT["TODAY"] = "Danes"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e"; + +Calendar._TT["WK"] = "Ted"; \ No newline at end of file diff --git a/jscalendar-1.0/lang/calendar-sk.js b/jscalendar-1.0/lang/calendar-sk.js new file mode 100644 index 0000000..4fe6a3c --- /dev/null +++ b/jscalendar-1.0/lang/calendar-sk.js @@ -0,0 +1,99 @@ +// ** I18N + +// Calendar SK language +// Author: Peter Valach (pvalach@gmx.net) +// Encoding: utf-8 +// Last update: 2003/10/29 +// Distributed under the same terms as the calendar itself. + +// full day names +Calendar._DN = new Array +("NedeÄľa", + "Pondelok", + "Utorok", + "Streda", + "Ĺ tvrtok", + "Piatok", + "Sobota", + "NedeÄľa"); + +// short day names +Calendar._SDN = new Array +("Ned", + "Pon", + "Uto", + "Str", + "Ĺ tv", + "Pia", + "Sob", + "Ned"); + +// full month names +Calendar._MN = new Array +("Január", + "Február", + "Marec", + "AprĂ­l", + "Máj", + "JÄ‚ÅŸn", + "JÄ‚ÅŸl", + "August", + "September", + "OktÄ‚Å‚ber", + "November", + "December"); + +// short month names +Calendar._SMN = new Array +("Jan", + "Feb", + "Mar", + "Apr", + "Máj", + "JÄ‚ÅŸn", + "JÄ‚ÅŸl", + "Aug", + "Sep", + "Okt", + "Nov", + "Dec"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "O kalendári"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + +"PoslednÄ‚ÅŸ verziu nájdete na: http://www.dynarch.com/projects/calendar/\n" + +"DistribuovanĂ© pod GNU LGPL. ViÄŹ http://gnu.org/licenses/lgpl.html pre detaily." + +"\n\n" + +"VÄ‚Ëber dátumu:\n" + +"- PouĹľite tlaÄŤidlá \xab, \xbb pre vÄ‚Ëber roku\n" + +"- PouĹľite tlaÄŤidlá " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " pre vÄ‚Ëber mesiaca\n" + +"- Ak ktorĂ©koÄľvek z tÄ‚Ëchto tlaÄŤidiel podržíte dlhšie, zobrazĂ­ sa rÄ‚Ëchly vÄ‚Ëber."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"VÄ‚Ëber ÄŤasu:\n" + +"- Kliknutie na niektorÄ‚ÅŸ poloĹľku ÄŤasu ju zvÄ‚Ëši\n" + +"- Shift-klik ju znĂ­Ĺľi\n" + +"- Ak podržíte tlaÄŤĂ­tko stlaÄŤenĂ©, posÄ‚ÅŸvanĂ­m menĂ­te hodnotu."; + +Calendar._TT["PREV_YEAR"] = "PredošlÄ‚Ë rok (podrĹľte pre menu)"; +Calendar._TT["PREV_MONTH"] = "PredošlÄ‚Ë mesiac (podrĹľte pre menu)"; +Calendar._TT["GO_TODAY"] = "PrejsĹĄ na dnešok"; +Calendar._TT["NEXT_MONTH"] = "Nasl. mesiac (podrĹľte pre menu)"; +Calendar._TT["NEXT_YEAR"] = "Nasl. rok (podrĹľte pre menu)"; +Calendar._TT["SEL_DATE"] = "ZvoÄľte dátum"; +Calendar._TT["DRAG_TO_MOVE"] = "PodrĹľanĂ­m tlaÄŤĂ­tka zmenĂ­te polohu"; +Calendar._TT["PART_TODAY"] = " (dnes)"; +Calendar._TT["MON_FIRST"] = "ZobraziĹĄ pondelok ako prvÄ‚Ë"; +Calendar._TT["SUN_FIRST"] = "ZobraziĹĄ nedeÄľu ako prvÄ‚ÅŸ"; +Calendar._TT["CLOSE"] = "ZavrieĹĄ"; +Calendar._TT["TODAY"] = "Dnes"; +Calendar._TT["TIME_PART"] = "(Shift-)klik/ĹĄahanie zmenĂ­ hodnotu"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "$d. %m. %Y"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %e. %b"; + +Calendar._TT["WK"] = "tÄ‚ËĹľ"; diff --git a/jscalendar-1.0/lang/calendar-sp.js b/jscalendar-1.0/lang/calendar-sp.js new file mode 100644 index 0000000..239d1b3 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-sp.js @@ -0,0 +1,110 @@ +// ** I18N + +// Calendar SP language +// Author: Rafael Velasco +// Encoding: any +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("Domingo", + "Lunes", + "Martes", + "Miercoles", + "Jueves", + "Viernes", + "Sabado", + "Domingo"); + +Calendar._SDN = new Array +("Dom", + "Lun", + "Mar", + "Mie", + "Jue", + "Vie", + "Sab", + "Dom"); + +// full month names +Calendar._MN = new Array +("Enero", + "Febrero", + "Marzo", + "Abril", + "Mayo", + "Junio", + "Julio", + "Agosto", + "Septiembre", + "Octubre", + "Noviembre", + "Diciembre"); + +// short month names +Calendar._SMN = new Array +("Ene", + "Feb", + "Mar", + "Abr", + "May", + "Jun", + "Jul", + "Ago", + "Sep", + "Oct", + "Nov", + "Dic"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Información del Calendario"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"Nuevas versiones en: http://www.dynarch.com/projects/calendar/\n" + +"Distribuida bajo licencia GNU LGPL. Para detalles vea http://gnu.org/licenses/lgpl.html ." + +"\n\n" + +"Selección de Fechas:\n" + +"- Use \xab, \xbb para seleccionar el año\n" + +"- Use " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " para seleccionar el mes\n" + +"- Mantenga presionado el botón del ratón en cualquiera de las opciones superiores para un acceso rapido ."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Selección del Reloj:\n" + +"- Seleccione la hora para cambiar el reloj\n" + +"- o presione Shift-click para disminuirlo\n" + +"- o presione click y arrastre del ratón para una selección rapida."; + +Calendar._TT["PREV_YEAR"] = "Año anterior (Presione para menu)"; +Calendar._TT["PREV_MONTH"] = "Mes Anterior (Presione para menu)"; +Calendar._TT["GO_TODAY"] = "Ir a Hoy"; +Calendar._TT["NEXT_MONTH"] = "Mes Siguiente (Presione para menu)"; +Calendar._TT["NEXT_YEAR"] = "Año Siguiente (Presione para menu)"; +Calendar._TT["SEL_DATE"] = "Seleccione fecha"; +Calendar._TT["DRAG_TO_MOVE"] = "Arrastre y mueva"; +Calendar._TT["PART_TODAY"] = " (Hoy)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "Mostrar %s primero"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "Cerrar"; +Calendar._TT["TODAY"] = "Hoy"; +Calendar._TT["TIME_PART"] = "(Shift-)Click o arrastra para cambar el valor"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%dd-%mm-%yy"; +Calendar._TT["TT_DATE_FORMAT"] = "%A, %e de %B de %Y"; + +Calendar._TT["WK"] = "Sm"; +Calendar._TT["TIME"] = "Hora:"; diff --git a/jscalendar-1.0/lang/calendar-sv.js b/jscalendar-1.0/lang/calendar-sv.js new file mode 100644 index 0000000..db1f4b8 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-sv.js @@ -0,0 +1,93 @@ +// ** I18N + +// Calendar SV language (Swedish, svenska) +// Author: Mihai Bazon, +// Translation team: +// Translator: Leonard Norrgård +// Last translator: Leonard Norrgård +// Encoding: iso-latin-1 +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("söndag", + "måndag", + "tisdag", + "onsdag", + "torsdag", + "fredag", + "lördag", + "söndag"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. +Calendar._SDN_len = 2; +Calendar._SMN_len = 3; + +// full month names +Calendar._MN = new Array +("januari", + "februari", + "mars", + "april", + "maj", + "juni", + "juli", + "augusti", + "september", + "oktober", + "november", + "december"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "Om kalendern"; + +Calendar._TT["ABOUT"] = +"DHTML Datum/tid-väljare\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"För senaste version gå till: http://www.dynarch.com/projects/calendar/\n" + +"Distribueras under GNU LGPL. Se http://gnu.org/licenses/lgpl.html för detaljer." + +"\n\n" + +"Val av datum:\n" + +"- Använd knapparna \xab, \xbb för att välja år\n" + +"- Använd knapparna " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " för att välja månad\n" + +"- Håll musknappen nedtryckt på någon av ovanstående knappar för snabbare val."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Val av tid:\n" + +"- Klicka på en del av tiden för att öka den delen\n" + +"- eller skift-klicka för att minska den\n" + +"- eller klicka och drag för snabbare val."; + +Calendar._TT["PREV_YEAR"] = "Föregående år (håll för menu)"; +Calendar._TT["PREV_MONTH"] = "Föregående månad (håll för menu)"; +Calendar._TT["GO_TODAY"] = "Gå till dagens datum"; +Calendar._TT["NEXT_MONTH"] = "Följande månad (håll för menu)"; +Calendar._TT["NEXT_YEAR"] = "Följande år (håll för menu)"; +Calendar._TT["SEL_DATE"] = "Välj datum"; +Calendar._TT["DRAG_TO_MOVE"] = "Drag för att flytta"; +Calendar._TT["PART_TODAY"] = " (idag)"; +Calendar._TT["MON_FIRST"] = "Visa måndag först"; +Calendar._TT["SUN_FIRST"] = "Visa söndag först"; +Calendar._TT["CLOSE"] = "Stäng"; +Calendar._TT["TODAY"] = "Idag"; +Calendar._TT["TIME_PART"] = "(Skift-)klicka eller drag för att ändra tid"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%A %d %b %Y"; + +Calendar._TT["WK"] = "vecka"; diff --git a/jscalendar-1.0/lang/calendar-tr.js b/jscalendar-1.0/lang/calendar-tr.js new file mode 100644 index 0000000..2164687 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-tr.js @@ -0,0 +1,58 @@ +////////////////////////////////////////////////////////////////////////////////////////////// +// Turkish Translation by Nuri AKMAN +// Location: Ankara/TURKEY +// e-mail : nuriakman@hotmail.com +// Date : April, 9 2003 +// +// Note: if Turkish Characters does not shown on you screen +// please include falowing line your html code: +// +// +// +////////////////////////////////////////////////////////////////////////////////////////////// + +// ** I18N +Calendar._DN = new Array +("Pazar", + "Pazartesi", + "Salý", + "Çarþamba", + "Perþembe", + "Cuma", + "Cumartesi", + "Pazar"); +Calendar._MN = new Array +("Ocak", + "Þubat", + "Mart", + "Nisan", + "Mayýs", + "Haziran", + "Temmuz", + "Aðustos", + "Eylül", + "Ekim", + "Kasým", + "Aralýk"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["TOGGLE"] = "Haftanýn ilk gününü kaydýr"; +Calendar._TT["PREV_YEAR"] = "Önceki Yýl (Menü için basýlý tutunuz)"; +Calendar._TT["PREV_MONTH"] = "Önceki Ay (Menü için basýlý tutunuz)"; +Calendar._TT["GO_TODAY"] = "Bugün'e git"; +Calendar._TT["NEXT_MONTH"] = "Sonraki Ay (Menü için basýlý tutunuz)"; +Calendar._TT["NEXT_YEAR"] = "Sonraki Yýl (Menü için basýlý tutunuz)"; +Calendar._TT["SEL_DATE"] = "Tarih seçiniz"; +Calendar._TT["DRAG_TO_MOVE"] = "Taþýmak için sürükleyiniz"; +Calendar._TT["PART_TODAY"] = " (bugün)"; +Calendar._TT["MON_FIRST"] = "Takvim Pazartesi gününden baþlasýn"; +Calendar._TT["SUN_FIRST"] = "Takvim Pazar gününden baþlasýn"; +Calendar._TT["CLOSE"] = "Kapat"; +Calendar._TT["TODAY"] = "Bugün"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "dd-mm-y"; +Calendar._TT["TT_DATE_FORMAT"] = "d MM y, DD"; + +Calendar._TT["WK"] = "Hafta"; diff --git a/jscalendar-1.0/lang/calendar-zh.js b/jscalendar-1.0/lang/calendar-zh.js new file mode 100644 index 0000000..4a0feb6 --- /dev/null +++ b/jscalendar-1.0/lang/calendar-zh.js @@ -0,0 +1,119 @@ +// ** I18N + +// Calendar ZH language +// Author: muziq, +// Encoding: GB2312 or GBK +// Distributed under the same terms as the calendar itself. + +// full day names +Calendar._DN = new Array +("ÐÇÆÚÈÕ", + "ÐÇÆÚÒ»", + "ÐÇÆÚ¶þ", + "ÐÇÆÚÈý", + "ÐÇÆÚËÄ", + "ÐÇÆÚÎå", + "ÐÇÆÚÁù", + "ÐÇÆÚÈÕ"); + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("ÈÕ", + "Ò»", + "¶þ", + "Èý", + "ËÄ", + "Îå", + "Áù", + "ÈÕ"); + +// full month names +Calendar._MN = new Array +("Ò»ÔÂ", + "¶þÔÂ", + "ÈýÔÂ", + "ËÄÔÂ", + "ÎåÔÂ", + "ÁùÔÂ", + "ÆßÔÂ", + "°ËÔÂ", + "¾ÅÔÂ", + "Ê®ÔÂ", + "ʮһÔÂ", + "Ê®¶þÔÂ"); + +// short month names +Calendar._SMN = new Array +("Ò»ÔÂ", + "¶þÔÂ", + "ÈýÔÂ", + "ËÄÔÂ", + "ÎåÔÂ", + "ÁùÔÂ", + "ÆßÔÂ", + "°ËÔÂ", + "¾ÅÔÂ", + "Ê®ÔÂ", + "ʮһÔÂ", + "Ê®¶þÔÂ"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "°ïÖú"; + +Calendar._TT["ABOUT"] = +"DHTML Date/Time Selector\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: http://www.dynarch.com/projects/calendar/\n" + +"Distributed under GNU LGPL. See http://gnu.org/licenses/lgpl.html for details." + +"\n\n" + +"Ñ¡ÔñÈÕÆÚ:\n" + +"- µã»÷ \xab, \xbb °´Å¥Ñ¡ÔñÄê·Ý\n" + +"- µã»÷ " + String.fromCharCode(0x2039) + ", " + String.fromCharCode(0x203a) + " °´Å¥Ñ¡ÔñÔ·Ý\n" + +"- ³¤°´ÒÔÉÏ°´Å¥¿É´Ó²Ëµ¥ÖпìËÙÑ¡ÔñÄê·Ý»òÔ·Ý"; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"Ñ¡Ôñʱ¼ä:\n" + +"- µã»÷Сʱ»ò·ÖÖÓ¿Éʹ¸ÄÊýÖµ¼ÓÒ»\n" + +"- °´×¡Shift¼üµã»÷Сʱ»ò·ÖÖÓ¿Éʹ¸ÄÊýÖµ¼õÒ»\n" + +"- µã»÷Í϶¯Êó±ê¿É½øÐпìËÙÑ¡Ôñ"; + +Calendar._TT["PREV_YEAR"] = "ÉÏÒ»Äê (°´×¡³ö²Ëµ¥)"; +Calendar._TT["PREV_MONTH"] = "ÉÏÒ»Ô (°´×¡³ö²Ëµ¥)"; +Calendar._TT["GO_TODAY"] = "תµ½½ñÈÕ"; +Calendar._TT["NEXT_MONTH"] = "ÏÂÒ»Ô (°´×¡³ö²Ëµ¥)"; +Calendar._TT["NEXT_YEAR"] = "ÏÂÒ»Äê (°´×¡³ö²Ëµ¥)"; +Calendar._TT["SEL_DATE"] = "Ñ¡ÔñÈÕÆÚ"; +Calendar._TT["DRAG_TO_MOVE"] = "Í϶¯"; +Calendar._TT["PART_TODAY"] = " (½ñÈÕ)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "×î×ó±ßÏÔʾ%s"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "¹Ø±Õ"; +Calendar._TT["TODAY"] = "½ñÈÕ"; +Calendar._TT["TIME_PART"] = "(Shift-)µã»÷Êó±ê»òÍ϶¯¸Ä±äÖµ"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%A, %b %eÈÕ"; + +Calendar._TT["WK"] = "ÖÜ"; +Calendar._TT["TIME"] = "ʱ¼ä:"; diff --git a/jscalendar-1.0/lang/cn_utf8.js b/jscalendar-1.0/lang/cn_utf8.js new file mode 100644 index 0000000..a0ef7c6 --- /dev/null +++ b/jscalendar-1.0/lang/cn_utf8.js @@ -0,0 +1,123 @@ +// ** I18N + +// Calendar EN language +// Author: Mihai Bazon, +// Encoding: any +// Translator : Niko +// Distributed under the same terms as the calendar itself. + +// For translators: please use UTF-8 if possible. We strongly believe that +// Unicode is the answer to a real internationalized world. Also please +// include your contact information in the header, as can be seen above. + +// full day names +Calendar._DN = new Array +("\u5468\u65e5",//\u5468\u65e5 + "\u5468\u4e00",//\u5468\u4e00 + "\u5468\u4e8c",//\u5468\u4e8c + "\u5468\u4e09",//\u5468\u4e09 + "\u5468\u56db",//\u5468\u56db + "\u5468\u4e94",//\u5468\u4e94 + "\u5468\u516d",//\u5468\u516d + "\u5468\u65e5");//\u5468\u65e5 + +// Please note that the following array of short day names (and the same goes +// for short month names, _SMN) isn't absolutely necessary. We give it here +// for exemplification on how one can customize the short day names, but if +// they are simply the first N letters of the full name you can simply say: +// +// Calendar._SDN_len = N; // short day name length +// Calendar._SMN_len = N; // short month name length +// +// If N = 3 then this is not needed either since we assume a value of 3 if not +// present, to be compatible with translation files that were written before +// this feature. + +// short day names +Calendar._SDN = new Array +("\u5468\u65e5", + "\u5468\u4e00", + "\u5468\u4e8c", + "\u5468\u4e09", + "\u5468\u56db", + "\u5468\u4e94", + "\u5468\u516d", + "\u5468\u65e5"); + +// full month names +Calendar._MN = new Array +("\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708"); + +// short month names +Calendar._SMN = new Array +("\u4e00\u6708", + "\u4e8c\u6708", + "\u4e09\u6708", + "\u56db\u6708", + "\u4e94\u6708", + "\u516d\u6708", + "\u4e03\u6708", + "\u516b\u6708", + "\u4e5d\u6708", + "\u5341\u6708", + "\u5341\u4e00\u6708", + "\u5341\u4e8c\u6708"); + +// tooltips +Calendar._TT = {}; +Calendar._TT["INFO"] = "\u5173\u4e8e"; + +Calendar._TT["ABOUT"] = +" DHTML \u65e5\u8d77/\u65f6\u95f4\u9009\u62e9\u63a7\u4ef6\n" + +"(c) dynarch.com 2002-2005 / Author: Mihai Bazon\n" + // don't translate this this ;-) +"For latest version visit: \u6700\u65b0\u7248\u672c\u8bf7\u767b\u9646http://www.dynarch.com/projects/calendar/\u5bdf\u770b\n" + +"\u9075\u5faaGNU LGPL. \u7ec6\u8282\u53c2\u9605 http://gnu.org/licenses/lgpl.html" + +"\n\n" + +"\u65e5\u671f\u9009\u62e9:\n" + +"- \u70b9\u51fb\xab(\xbb)\u6309\u94ae\u9009\u62e9\u4e0a(\u4e0b)\u4e00\u5e74\u5ea6.\n" + +"- \u70b9\u51fb" + String.fromCharCode(0x2039) + "(" + String.fromCharCode(0x203a) + ")\u6309\u94ae\u9009\u62e9\u4e0a(\u4e0b)\u4e2a\u6708\u4efd.\n" + +"- \u957f\u65f6\u95f4\u6309\u7740\u6309\u94ae\u5c06\u51fa\u73b0\u66f4\u591a\u9009\u62e9\u9879."; +Calendar._TT["ABOUT_TIME"] = "\n\n" + +"\u65f6\u95f4\u9009\u62e9:\n" + +"-\u5728\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\u4e0a\u5355\u51fb\u9f20\u6807\u5de6\u952e\u6765\u589e\u52a0\u5f53\u524d\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\n" + +"-\u5728\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)\u4e0a\u6309\u4f4fShift\u952e\u540e\u5355\u51fb\u9f20\u6807\u5de6\u952e\u6765\u51cf\u5c11\u5f53\u524d\u65f6\u95f4\u90e8\u5206(\u5206\u6216\u8005\u79d2)."; + +Calendar._TT["PREV_YEAR"] = "\u4e0a\u4e00\u5e74"; +Calendar._TT["PREV_MONTH"] = "\u4e0a\u4e2a\u6708"; +Calendar._TT["GO_TODAY"] = "\u5230\u4eca\u5929"; +Calendar._TT["NEXT_MONTH"] = "\u4e0b\u4e2a\u6708"; +Calendar._TT["NEXT_YEAR"] = "\u4e0b\u4e00\u5e74"; +Calendar._TT["SEL_DATE"] = "\u9009\u62e9\u65e5\u671f"; +Calendar._TT["DRAG_TO_MOVE"] = "\u62d6\u52a8"; +Calendar._TT["PART_TODAY"] = " (\u4eca\u5929)"; + +// the following is to inform that "%s" is to be the first day of week +// %s will be replaced with the day name. +Calendar._TT["DAY_FIRST"] = "%s\u4e3a\u8fd9\u5468\u7684\u7b2c\u4e00\u5929"; + +// This may be locale-dependent. It specifies the week-end days, as an array +// of comma-separated numbers. The numbers are from 0 to 6: 0 means Sunday, 1 +// means Monday, etc. +Calendar._TT["WEEKEND"] = "0,6"; + +Calendar._TT["CLOSE"] = "\u5173\u95ed"; +Calendar._TT["TODAY"] = "\u4eca\u5929"; +Calendar._TT["TIME_PART"] = "(\u6309\u7740Shift\u952e)\u5355\u51fb\u6216\u62d6\u52a8\u6539\u53d8\u503c"; + +// date formats +Calendar._TT["DEF_DATE_FORMAT"] = "%Y-%m-%d"; +Calendar._TT["TT_DATE_FORMAT"] = "%a, %b %e\u65e5"; + +Calendar._TT["WK"] = "\u5468"; +Calendar._TT["TIME"] = "\u65f6\u95f4:"; diff --git a/jscalendar-1.0/menuarrow.gif b/jscalendar-1.0/menuarrow.gif new file mode 100644 index 0000000000000000000000000000000000000000..ed2dee0e6368d201bf5d32833884c7c1da6c7424 GIT binary patch literal 68 zcmZ?wbhEHbWM^Py_{hZ2(9rPi-LwDy|1&T!DE?$&WME)o&;ha;K=KSsqAVN&i(DE6 VRJ~d>0vEY-3aNTcS;53$4FHxP5xxKb literal 0 HcmV?d00001 diff --git a/jscalendar-1.0/menuarrow2.gif b/jscalendar-1.0/menuarrow2.gif new file mode 100644 index 0000000000000000000000000000000000000000..40c0aadfc6e62e7cdf4a0dc4a3a3d735c6995b76 GIT binary patch literal 49 zcmZ?wbhEHbWM^PyXkcV;a&r3r|G(l-7DfgJMg|=QAOOiQFmbfVR-Qb-pUlW$4FDM} B3akJC literal 0 HcmV?d00001 diff --git a/jscalendar-1.0/multiple-dates.html b/jscalendar-1.0/multiple-dates.html new file mode 100644 index 0000000..caf1920 --- /dev/null +++ b/jscalendar-1.0/multiple-dates.html @@ -0,0 +1,82 @@ + + + Sample for the multiple dates feature + + + + + + + + + + + + + + +

    Sample for the multiple dates feature

    + +

    + Starting version 0.9.7, + the calendar is able to handle multiple dates selection, in either + flat or popup form. For this to happen one needs to pass the + "multiple: true" parameter to + Calendar.setup and to install an onUpdate + handler that watches for modifications. +

    + + [open calendar...] + +
    + + + +
    +
    mishoo
    + Last modified: Thu Mar 3 20:17:42 EET 2005 + diff --git a/jscalendar-1.0/release-notes.html b/jscalendar-1.0/release-notes.html new file mode 100644 index 0000000..9addddb --- /dev/null +++ b/jscalendar-1.0/release-notes.html @@ -0,0 +1,435 @@ + + + + jscalendar release notes + + + + + +
    + The Coolest DHTML Calendar
    + © Dynarch.com 2002 and later. +
    +

    jscalendar release notes

    + +

    This release compiled at Monday, 7 Mar 2005 (19:06).

    + +

    1.0

    + +
      + +
    • + Added support for multiple dates selection. In this mode the + calendar will allow the user to select more than one date, and + will maintain an array of selected dates that can be + investigated from your custom handlers. Sample in multiple-dates.html. +
    • + +
    • + Support for “day infoâ€. Using this feature you can display + custom information for certain dates. Sample in dayinfo.html. Note that if the text + is really big the calendar layout might appear somehow broken; + this is something that should be easy to fix in the CSS file. +
    • + +
    • + Clicking on “Today†will now close the calendar if the current + date is already selected. +
    • + +
    • + The “first day of week†setting can now be defined in the + language file--after all, it is locale-specific. The new + parameter is “Calendar._FDâ€. Language files should be + updated, but the calendar will not complain nor fail to + function if the parameter is not present. +
    • + +
    • + Some fixes to make the thing work in Safari. It now seems to + be properly supported, please let me know if you encounter any + problems. +
    • + +
    • + New skin: Aqua theme, appropriate for MacOSX fan sites :-) + This theme is located in “skins/aqua/theme.css†(in the + future, all themes will go to this directory). +
    • + +
    • + Bug fixes. +
        +
      • + Keyboard operation now functions normally when the + calendar is displaying days from adjacent months; it might + even work correctly for months containing disabled dates + :). This fix was originally developed under contract for + The + Zapatec Calendar. Zapatec kindly allowed us to + include the bugfixes back in the open source calendar. +
      • +
      • + Fixed the time selection bug: the previous version would + reset the time to current time when a new date was + clicked. +
      • +
      • + Parsing hours like "12:XX pm" would wrongfully replace + "pm" with "am"--fixed. +
      • +
      • + Fixed critical bugs in parseDate function that would + initialize the calendar with 'NaN' values in all cells if + the string to be parsed is not a valid date. +
      • +
      • + The golbal variable that we are using was renamed to + “_dynarch_popupCalendar†to minimize the risk of name + clashes. It's still difficult to get rid of it. +
      • +
      • + Added z-index property to drop-down menus style. +
      • +
      • + The calendar will update an input field even in flat mode, + if an input field was passed. Also, the “showOthers†+ parameter will be effective in both popup and flat mode. +
      • +
      • + Others, probably. +
      • +
      +
    • + +
    • + Documentation & sample files updated. +
    • + +
    + +

    0.9.6

    + +
      + +
    • + "Smart" (TM :-) positioning algorithm. The new algorithm will + try to keep the calendar in the browser view, which is helpful + in situations when the input field is near the bottom or the + right edge. This code is only tested with IE and Mozilla, but + it should work with other browsers too. Many thanks to Sunny Chowdhury for sponsoring + this feature! +
    • + +
    • + Support for IE5/Win is back. I also want to thank Janusz + Piwowarski for keeping his eye on the CVS ;-) He reviewed my + IE5-related changes and sent me a much cleaner patch. +
    • + +
    • + The calendar will now allow any day of week to be "the first + day of week". This was requested long time ago, by someone + whose name I forgot (sorry). The reason was that in certain + countries weeks start on Saturday. So I thought that instead + of having a "mondayFirst" and a "saturdayFirst" parameter, + :-), it's better to have a "firstDayOfWeek" parameter; now + it's present and its meaning is: "0 for Sunday", "1 for + Monday", "2 for Tuesday", etc. The equivalent parameter for + Calendar.setup is "firstDay". The end user can also change + it very easy: click on the day name in the calendar display. +
    • + +
    • + The above feature triggered one important change: the + notion of "weekend" is now defined in the language file. + Added parameters: + +
      +          Calendar._TT["WEEKEND"] = "0,6";
      +          Calendar._TT["DAY_FIRST"] = "Display %s first";
      + + "WEEKEND" specifies a string with comma-separated numbers from + 0 to 7; they define what days are marked as "weekend". 5 and + 6 mean, of course, "Sunday" and "Saturday". Day first is the + tooltip displayed when a day name is hovered; "%s" will get + replaced with the day name. Updated languages are "en" and + "ro", which I maintain. Please note that languages wich are + not updated will not work. If yours is one of them, + please consider fixing it and sending me the fix so that I can + include it in the distro. +
    • + +
    • + The calendar can now display days from the months adjacent to + the currently displayed one. This is optional, of course, and + the parameter name is "showsOtherMonths" (or "showOthers" in + Calendar.setup). All theme files were updated. +
    • + +
    • + Displays "Time:" near the time selector, only if defined in + the language file. +
    • + +
    • + Some bugs fixed in the date parsing code (which has also been + rewritten a little bit cleaner). +
    • + +
    • + Calendar.setup will now configure the calendar to trigger the + input fields' "onchange" event, if specified, when a date is + selected. +
    • + +
    • + New parameter in Calendar.setup: "cache" (defaults to + false). If set to true then the popup calendar object + will be "cached", meaning, it will be created only once, no + matter how many input fields are there in the page. Sometimes + this is not desirable, which is why I've added this + parameter. Please note that it defaults to "false" (thus the + default behavior has changed). +
    • + +
    • + Added a simple PHP wrapper. It provides code which loads all + the required scripts and theme file, and one function which + creates and configures an input field for date input. It + takes care of creating and assigning unique ID-s for the + calendar fields and it also creates the "Calendar.setup" code. + Functions to create more specialized fields can be added very + easily. This feature was requested by the FreeMED.org project + (thanks for donating!). +
    • + +
    + +

    Wow, there were quite some changes :-D Enjoy it!

    + +

    0.9.5

    + +

    + This release's primary goal is to fix a wrong license statement which + can be found in some files from 0.9.4. For instance in README or + calendar.js, the statement was that the code is distributed under the + GNU GPL; that's because I had plans to change the license, then + changed my mind but unfortunately I committed files so. I am sorry + for this inconvenience, please use the latest (0.9.5) release which is + fully covered by LGPL. +

    + +

    Other changes:

    + +
      + +
    • + Fixed an annoying bug that prevented the calendar to display + correctly when it was configured for an input field inside a + scrolling area. Many thanks to Ian Barrack (Simban.com) who pointed it up and + donated quite some money for the Calendar project! +
    • + +
    • + All examples use UTF-8 now; the translations may not be all + up-to-date, but I strongly suggest everyone to use + UTF-8; other encodings are a plain mess. So far I know for sure + that Romanian translation will work with UTF-8 and not + anymore with ISO-8859-2. Other translations are probably + usable under UTF-8, but if your preferred language isn't... ;-) + please make it and send it to me for inclusion. +
    • + +
    • + Fixed small bug in the documentation (one footnote didn't appear + where it should have). +
    • + +
    • + Updated translations: DE, ES, HU, IT, RO. Thanks to everyone who + sent translations! +
    • + +
    + +

    0.9.4

    + +

    New stuff

    + +
      + +
    • Supports time selection. Yes. ;-) This work has been largely + sponsored by Himanshukumar Shah (thank you!). See + the docs and example files for details on how to setup.
    • + +
    • Easy to link 2 or more fields by using the new + onUpdate parameter of Calendar.setup. This + is useful, say, to automatically set a value in a second field based + on the value selected in the first field. See the documentation and + first sample in simple-1.html.
    • + +
    • Other Calendar.setup low-level parameters, for those + wanting to have the complete control: onSelect and + onClose. The handlers are called when something is + selected in the calendar or when the calendar is closed.
    • + +
    • The translation files can optionally include the short day names + and the short month names. That's because in some languages, like + German, the short form is not the first 3 letters of the entire name + but only the first 2. Also in other languages short names can't be + as easily derived from the full name by just calling substr, so this + patch solves the problem.
    • + +
    • Implemented a nice way to make some dates "special" (look + different). Specifically, the setDisabledHandler method + was replaced with the more general setDateStatusHandler + method (the old one is still available for backwards compatibility but + will be removed). More details about this in the + documentation. Also see simple-3.html + for a live sample.
    • + +
    • Date parsing and formatting engine is now rewritten and supports a + subset of strftime format specifiers from ANSI C. This + makes it possible to use dates like "YYYYMMDD" (the corresponding + format for this would be "%Y%m%d"). Details in the documentation. + Please note that the new engine is not compatibile with older + calendar releases!
    • + +
    • Along with the new date parser I workarounded an unpleasant crash + that occurred in IE when certain accented characters appeared in the + texts. I think German was one of the language with such problems, and + the workaround was to use the letter without an accent. Well, now you + can translate to whatever you want.
    • + +
    • "Fixes" (I mean, "horrible workarounds") for Konqueror (and + hopefully Safari). Unfortunately, this otherwise excellent browser + still has some bugs that keep the calendar from working + exactly as it should.. But they're going to be fixed, + right? ;-)
    • + +
    • CSS themes got pretty much modified too so if you wrote your theme + you need to update it. Aside for the time selector support, the CSS + themes contain a simple hack that makes the navigation buttons show + a little arrow in the lower-right corner which indicates that if one + holds the mouse a menu will appear.
    • + +
    + +

    Translation files

    + +

    The translation files need to be updated in order for the calendar to + work properly. Currently the only updated files are calendar-en.js + (main file) and calendar-ro.js (well, yes, I am a Romanian ;-).

    + +

    Specifically, they need the following:

    + +
      + +
    • Correct date format, according with the new format specifiers + introduced in 0.9.4. Details about the available format specifiers + in the documentation
    • + +
    • Short day or month names, if required. If they can be + derived by taking the first N letters of the full name then a simple + Calendar._SDN_len = N or Calendar._SMN_len = N will suffice. If N + is 3 then nothing needs to be done as we take it for granted if no + other option is offered ;-)
    • + +
    • We have some new texts that shows short usage information as well + as copyright information.
    • + +
    + +

    If your favorite language is not there yet, or it is but not updated + according to the main calendar-en.js file, then please consider + translating calendar-en.js and send the translation back to me so that + I include it in the official distribution.

    + +

    Bug status

    + +

    Check SourceForge, + I didn't keep track. However, there were a lot of bugfixes.

    + +

    0.9.3

    + +

    New stuff

    + +
      + +
    • Opera 7 compatibility — keyboard navigation is + still not available; text selection can't be disabled, leading to an + ugly effect when walking through the month/year menus.
    • + +
    • Ability to align the calendar relative to the input field (or any + other element). Vertical: top, center, bottom. Horizontal: left, + center, right. This is established as a new parameter for + showAtElement.
    • + +
    • Added dateClicked property (boolean). This can be + inspected in the "onSelect" handler to determine if a date was + really clicked or the user only changed month/year using the menus. + You need to check this for "single-click" calendars and + only close/hide the calendar if it's true.
    • + +
    • Full documentation in HTML + and PDF format is now available in the + distribution archive.
    • + +
    • New language definition files: HU, HR, PT, ZH. Thanks those who + submitted!
    • + +
    + +

    Bug status

    + +

    This covers only those bugs that have been reported at SourceForge.

    + +
      + +
    1. #703,238 — fixed
    2. +
    3. #703,814 — fixed
    4. +
    5. #716,777 — closed (was fixed already in 0.9.2-1)
    6. +
    7. #723,335 — fixed
    8. +
    9. #715,122 — feature request; implemented.
    10. +
    11. #721,206 — fixed (added "refresh()" function)
    12. +
    13. #721,833 — fixed (bug concerning the "yy" format + parsing)
    14. +
    15. #721,833 — won't fix (we won't set the time to + midnight; time might actually be useful when we implement support + for time selection). + +
    + +
    +
    Mihai Bazon
    + + +Last modified on Wed Oct 29 02:37:07 2003 + + + + + + diff --git a/jscalendar-1.0/simple-1.html b/jscalendar-1.0/simple-1.html new file mode 100644 index 0000000..c2a944a --- /dev/null +++ b/jscalendar-1.0/simple-1.html @@ -0,0 +1,244 @@ + + + + + +Simple calendar setups [popup calendar] + + + + + + + + + + + + + + + + + +

    DHTML Calendar — for the impatient

    + +
    +

    + 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 + flat calendar is available in another page. +

    +

    + 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 that impatient, ;-) complete documenation is + available. +

    +
    + + + +
    + +

    Basic setup: one input per calendar. 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".

    + +

    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".

    + +
    + + +
    + + + + + +
    + +

    Input field with a trigger button. 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).

    + +
    + +
    + + + + + +
    + +

    Input field with a trigger image. 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).

    + +
    + + + +
    +
    + + + + + +
    + +

    Hidden field, display area. 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.

    + +
    + +
    + +

    Your birthday: + Click to open date selector.

    + + + + + +
    + +

    Hidden field, display area, trigger image. Very similar to the +previous example. The difference is that we also have a trigger image.

    + +
    + +
    + +

    Your birthday: -- not entered -- .

    + + + + + +
    + +

    Hidden field, display area. Very much like the previous examples, +but we now disable some dates (all weekends, that is, Saturdays and +Sundays).

    + +
    + +
    + +

    Your birthday: + Click to open date selector.

    + + + + + + diff --git a/jscalendar-1.0/simple-2.html b/jscalendar-1.0/simple-2.html new file mode 100644 index 0000000..b55bae8 --- /dev/null +++ b/jscalendar-1.0/simple-2.html @@ -0,0 +1,108 @@ + + + + + +Simple calendar setup [flat calendar] + + + + + + + + + + + + + + + + + +

    DHTML Calendar — for the impatient

    + +
    +

    + This page demonstrates how to setup a flat calendar. Examples of + popup calendars are available in another page. +

    +

    + 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 that impatient, ;-) complete documenation is + available. +

    +
    + + + +
    + +
    + + + +

    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".

    + +

    Following there is the code that has been used to create this calendar. +You can find the full description of the Calendar.setup() function +in the calendar documenation.

    + +
    <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>
    + + + diff --git a/jscalendar-1.0/simple-3.html b/jscalendar-1.0/simple-3.html new file mode 100644 index 0000000..c096e87 --- /dev/null +++ b/jscalendar-1.0/simple-3.html @@ -0,0 +1,130 @@ + + + + + +Simple calendar setup [flat calendar] + + + + + + + + + + + + + + + + + + + +

    DHTML Calendar — for the impatient

    + +
    +

    + This page demonstrates how to setup a flat calendar. Examples of + popup calendars are available in another page. +

    +

    + 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 that impatient, ;-) complete documenation is + available. +

    +
    + + + +
    + +
    + + + +

    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".

    + +

    Following there is the code that has been used to create this calendar. +You can find the full description of the Calendar.setup() function +in the calendar documenation.

    + +
    <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>
    + + + diff --git a/jscalendar-1.0/skins/aqua/active-bg.gif b/jscalendar-1.0/skins/aqua/active-bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..d608c54698e081a3deae0f1b9b827484deaeacce GIT binary patch literal 89 zcmZ?wbhEHb3xI7cXAAbm`*d3l}e6x_tTajT<-q|NpP}lZBCift^8z p0SG{98JMLwcHQ}C;N`q}uj=cwv(saC#4b@4SZ=W5%`PM literal 0 HcmV?d00001 diff --git a/jscalendar-1.0/skins/aqua/hover-bg.gif b/jscalendar-1.0/skins/aqua/hover-bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..fbf94fc2c1891ff891f2d3c3208cf431c35a4628 GIT binary patch literal 89 zcmZ?wbhEHb-E$->CMz|NrfPt>_6 zHL)Z$MWH;iBts!2BUQoO(>H)Y2dIbvWC#PZ6vwVR9}T>mSMODQeRg(w%#PS4t~~0B LE8grwc6hbmm72G|20~mA|fB", ">>" buttons have this class */ + text-align: center; /* They are the navigation buttons */ + padding: 2px; /* Make the buttons seem like they're pressing */ + background: url("title-bg.gif") repeat-x 0 100%; color: #000; + font-weight: bold; +} + +.calendar .nav { + font-family: verdana,tahoma,sans-serif; +} + +.calendar .nav div { + background: transparent url("menuarrow.gif") no-repeat 100% 100%; +} + +.calendar thead tr { background: url("title-bg.gif") repeat-x 0 100%; color: #000; } + +.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: url("title-bg.gif") repeat-x 0 100%; color: #000; +} + +.calendar thead .headrow { /* Row containing navigation buttons */ +} + +.calendar thead .name { /* Cells containing the day names */ + border-bottom: 1px solid #797979; + padding: 2px; + text-align: center; + color: #000; +} + +.calendar thead .weekend { /* How a weekend day name shows in header */ + color: #c44; +} + +.calendar thead .hilite { /* How do the buttons in header appear when hover */ + background: url("hover-bg.gif"); + border-bottom: 1px solid #797979; + padding: 2px 2px 1px 2px; +} + +.calendar thead .active { /* Active (pressed) buttons in header */ + background: url("active-bg.gif"); color: #fff; + padding: 3px 1px 0px 3px; + border-bottom: 1px solid #797979; +} + +.calendar thead .daynames { /* Row containing the day names */ + background: url("dark-bg.gif"); +} + +/* The body part -- contains all the days in month. */ + +.calendar tbody .day { /* Cells containing month days dates */ + font-family: verdana,tahoma,sans-serif; + width: 2em; + color: #000; + text-align: right; + padding: 2px 4px 2px 2px; +} +.calendar tbody .day.othermonth { + font-size: 80%; + color: #999; +} +.calendar tbody .day.othermonth.oweekend { + color: #f99; +} + +.calendar table .wn { + padding: 2px 3px 2px 2px; + border-right: 1px solid #797979; + background: url("dark-bg.gif"); +} + +.calendar tbody .rowhilite td, +.calendar tbody .rowhilite td.wn { + background: url("rowhover-bg.gif"); +} + +.calendar tbody td.today { font-weight: bold; /* background: url("today-bg.gif") no-repeat 70% 50%; */ } + +.calendar tbody td.hilite { /* Hovered cells */ + background: url("hover-bg.gif"); + padding: 1px 3px 1px 1px; + border: 1px solid #bbb; +} + +.calendar tbody td.active { /* Active (pressed) cells */ + padding: 2px 2px 0px 2px; +} + +.calendar tbody td.weekend { /* Cells showing weekend days */ + color: #c44; +} + +.calendar tbody td.selected { /* Cell showing selected date */ + font-weight: bold; + border: 1px solid #797979; + padding: 1px 3px 1px 1px; + background: url("active-bg.gif"); color: #fff; +} + +.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 in footer (only one right now) */ + text-align: center; + background: #565; + color: #fff; +} + +.calendar tfoot .ttip { /* Tooltip (status bar) cell */ + padding: 2px; + background: url("status-bg.gif") repeat-x 0 0; color: #000; +} + +.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-width: 0 1px 1px 1px; + border-style: solid; + border-color: #797979; + background: url("normal-bg.gif"); color: #000; + z-index: 100; + font-size: 90%; +} + +.calendar .combo .label, +.calendar .combo .label-IEfix { + text-align: center; + padding: 1px; +} + +.calendar .combo .label-IEfix { + width: 4em; +} + +.calendar .combo .hilite { + background: url("hover-bg.gif"); color: #000; +} + +.calendar .combo .active { + background: url("active-bg.gif"); color: #fff; + font-weight: bold; +} + +.calendar td.time { + border-top: 1px solid #797979; + padding: 1px 0px; + text-align: center; + background: url("dark-bg.gif"); +} + +.calendar td.time .hour, +.calendar td.time .minute, +.calendar td.time .ampm { + padding: 0px 5px 0px 6px; + font-weight: bold; + background: url("normal-bg.gif"); color: #000; +} + +.calendar td.time .hour, +.calendar td.time .minute { + font-family: monospace; +} + +.calendar td.time .ampm { + text-align: center; +} + +.calendar td.time .colon { + padding: 0px 2px 0px 3px; + font-weight: bold; +} + +.calendar td.time span.hilite { + background: url("hover-bg.gif"); color: #000; +} + +.calendar td.time span.active { + background: url("active-bg.gif"); color: #fff; +} diff --git a/jscalendar-1.0/skins/aqua/title-bg.gif b/jscalendar-1.0/skins/aqua/title-bg.gif new file mode 100644 index 0000000000000000000000000000000000000000..6a541b3bc1e4bbee3268e8a5b431e2c7e067b3b9 GIT binary patch literal 116 zcmZ?wbhEHbWMmLyc+AI8Sy_4e_U#7`9z1*Y?D_NOFJ8QO`}Xa-ckkZ6fB*UO=PzHr zeEwc6hbmm72G|20~mA|fBtHB8VX&K*sP!FEoV37-@-w z0R<@%0vdJ3g^a|I?Pj7#(uKh`L|Finie4=6J7+yFJ!?;2&hK|#eqYx=!aJTkdGdK~ zpXAvT*|;uzpq}wF^XC|f7Hy%(3T3cCne7xg0NE&VQse^UpvX;;2at=R3KMyuTq^;2 zC|Y8oD$05(`vPTsz*a#S0tVY?u&+|C9=JNny<&2Wlxxu0Hl1B<&bOHJt%U0!T(_BC zgSodcw-fkw;8z2`7Wg+!zQf>qKnNTBb`ZKuVKa!`hOo;JcIVTBAiY~i59ZSeL+aC| z!@BeVWcDfiw+cT5^1&QG406AoIcj8%=$U~We@)9obve2q{HDt%A^V9eOz8`!W#PUo z{Glyegxu${_yBUTjF`%Z|48DTBtDfyM6y>wiIePzB&H=%lq8Adt`lWUQ^v6JD^_ko zVMxpW0>xpRzl-zJT46#fEanU@Jl2Z$aN#etkRrv0xcG#WQfd*YMOH0xfG5?`f?CQG zRZvSM70ars5}YAe!5FKgv{(qnpg$pmfIbJN473Ck12uqBc&`6pfd*o?R4~A_FpDaG zf^k#kwtL0q(ctCQJ>$_C|68Xo9Y5B%<>HN|rPXUc)#iLZ4#(@;I^sWF!BdIIrn4`- z_ReJJ%ebfY&*2}GiP+Mnwl{8s9^RRq>F%t|b=gjA`^L{W-2=&FGRjoj?dL}ulChUN ztGti>UrgEp&DJF~TgO`%XJ0rw;D5cjZkdINhI+^4JxpY(BDmw(Y^2$Dw;%8S`6J8C z+7+J0mD495S)75uciVQyzK?~28yvw)3bIF5-kaz;!0dbQmF@mI-kmt>7+F`d+N zt#PY&(k@T!8mH}j>(;M_TI-IV)AU=8{=a)`lc$<@jm#z)SE${(>{g=Z!tz!BW;gbH Q9Q54|91Yd + + + + JS Calendar (positioning test) + + + + + + + + + + + + +
    + + + + + + + +
    + + + diff --git a/jscalendar-1.0/test.php b/jscalendar-1.0/test.php new file mode 100644 index 0000000..c9c2e28 --- /dev/null +++ b/jscalendar-1.0/test.php @@ -0,0 +1,116 @@ + + + + + +Test for calendar.php + + + section; it will "echo" code that loads the calendar +// scripts and theme file. +$calendar->load_files(); + +?> + + + + + + + +

    Form submitted

    + + $val) { + echo htmlspecialchars($key) . ' = ' . htmlspecialchars($val) . '
    '; +} ?> + + + +

    Calendar.php test

    + +
    + Select language: +
    + NOTE: as of this release, 0.9.6, only "EN" and "RO", which I + maintain, function correctly. Other language files do not work + because they need to be updated. If you update some language file, + please consider sending it back to me so that I can include it in the + calendar distribution. +
    +
    + +
    + + + + + + + +
    + Date 1: + + make_input_field( + // calendar options go here; see the documentation and/or calendar-setup.js + array('firstDay' => 1, // show Monday first + 'showsTime' => true, + 'showOthers' => true, + 'ifFormat' => '%Y-%m-%d %I:%M %P', + 'timeFormat' => '12'), + // field attributes go here + array('style' => 'width: 15em; color: #840; background-color: #ff8; border: 1px solid #000; text-align: center', + 'name' => 'date1', + 'value' => strftime('%Y-%m-%d %I:%M %P', strtotime('now')))); ?> +
    + +
    + + +
    + + + + + diff --git a/pages/comicpress_config.php b/pages/comicpress_config.php new file mode 100644 index 0000000..638debc --- /dev/null +++ b/pages/comicpress_config.php @@ -0,0 +1,60 @@ + + +

    + can_write_config) { ?> +

    + You won't be able to automatically update your configuration. After submitting, you will be shown the code to paste into comicpress-config.php. If you want to enable automatic updating, check the permissions of your theme folder and comicpress-config.php file.", 'comicpress-manager'); + ?> +

    + + + +
    + + + + + + +
    Manage a subcomic + + +
    +
    + diff --git a/pages/comicpress_cpm_config.php b/pages/comicpress_cpm_config.php new file mode 100644 index 0000000..24f706f --- /dev/null +++ b/pages/comicpress_cpm_config.php @@ -0,0 +1,113 @@ + + +

    + +
    + + 0); + } + + if ($ok) { ?> + + + + +

    + +
    + + + + + + + + + + + +
    + get_scale_method() == CPM_SCALE_IMAGEMAGICK); + } + + if ($ok) { ?> + /> + + + + + + + + +
    + +
    +
    + +
    +

    Re-run the "First Run" action? This will attempt to create the default comic folders on your site.

    + +
    + + +
    +
    + + diff --git a/pages/comicpress_dates.php b/pages/comicpress_dates.php new file mode 100644 index 0000000..cf9d6fd --- /dev/null +++ b/pages/comicpress_dates.php @@ -0,0 +1,141 @@ +need_calendars = true; + + if (cpm_get_subcomic_directory() !== false) { + $cpm_config->messages[] = __("Subdirectory support enabled. Change Dates may not work as expected.", 'comicpress-manager'); + } + + $comic_format_date_string = date(CPM_DATE_FORMAT); + + $dates_output_format = "Y-m-d"; + + $start_date = date($dates_output_format); + $end_date = substr(pathinfo(end($cpm_config->comic_files), PATHINFO_BASENAME), 0, strlen($comic_format_date_string)); + $end_date = date($dates_output_format, strtotime($end_date)); + + if (isset($_POST['start-date']) && !empty($_POST['start-date'])) { + $target_start_date = strtotime($_POST['start-date']); + if (($target_start_date != -1) && ($target_start_date !== false)) { + $start_date = date($dates_output_format, $target_start_date); + } else { + $cpm_config->warnings[] = $_POST['start-date'] . " is an invalid date. Resetting to ${start_date}"; + } + + $target_end_date = strtotime($_POST['end-date']); + if (($target_end_date != -1) && ($target_end_date !== false)) { + $end_date = date($dates_output_format, $target_end_date); + } else { + $cpm_config->warnings[] = $_POST['end-date'] . " is an invalid date. Resetting to ${end_date}"; + } + } + + if (strtotime($end_date) < strtotime($start_date)) { + list($start_date, $end_date) = array($end_date, $start_date); + } + + $visible_comic_files = array(); + $visible_comic_files_md5 = array(); + + $start_date_timestamp = strtotime($start_date); + $end_date_timestamp = strtotime($end_date); + + foreach ($cpm_config->comic_files as $file) { + $filename = pathinfo($file, PATHINFO_BASENAME); + $result = cpm_breakdown_comic_filename($filename); + $result_date_timestamp = strtotime($result['date']); + + if (($result_date_timestamp >= $start_date_timestamp) && ($result_date_timestamp <= $end_date_timestamp)) { + $visible_comic_files[] = $file; + $visible_comic_files_md5[] = "\"" . md5($file) . "\""; + } + } + + $help_content = __("

    Change post & comic dates lets you change the comic file names and post dates for any and every comic published. You will only be able to move a comic file and its associated post if there is no comic or post that exists on the destination date, as ComicPress Manager cannot automatically resolve such conflicts.

    ", 'comicpress-manager'); + + $help_content .= __("

    This is a potentialy dangerous and resource-intensive operation. Back up your database and comics/archive/RSS folders before performing large move operations. Additionally, if you experience script timeouts while moving large numbers of posts, you may have to move posts & comic files by hand rather than through ComicPress Manager.

    ", 'comicpress-manager'); + + ob_start(); + + ?> + +

    +

    + + comic_files) > 0) { ?> +
    + ", + "") ?> + + " /> +
    + + + + +
    + + + + + + + + +
    + " /> +
    +
    + +

    + + + \ No newline at end of file diff --git a/pages/comicpress_delete.php b/pages/comicpress_delete.php new file mode 100644 index 0000000..5278b0f --- /dev/null +++ b/pages/comicpress_delete.php @@ -0,0 +1,44 @@ +Delete a comic file and the associated post, if found lets you delete a comic file and the post that goes with it. Any thumbnails associated with the comic file will also be deleted.

    ", 'comicpress-manager'); + + ob_start(); ?> + +

    + + comic_files) > 0) { ?> +
    ')"> + + +
    +
    +
    +

    + NOTE: If more than one possible post is found, neither the posts nor the comic file will be deleted. ComicPress Manager cannot safely resolve such a conflict.", 'comicpress-manager') ?> +

    +
    + " /> +
    +
    + +

    + + + \ No newline at end of file diff --git a/pages/comicpress_first_run.php b/pages/comicpress_first_run.php new file mode 100644 index 0000000..dd7699d --- /dev/null +++ b/pages/comicpress_first_run.php @@ -0,0 +1,41 @@ + +

    ComicPress Manager First Run

    + +

    Thank you for using ComicPress Manager. I can attempt to create your starting comic directories for you. + + I'll be creating them in . + +

    + +
    + + +
    + + +
    + + +
    + + + messages[] = sprintf(__("Reminder: You are managing the %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); + } + + if (cpm_option('cpm-skip-checks') != 1) { + if (!function_exists('get_comic_path')) { + $cpm_config->warnings[] = __('It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager'); + } + } + + ob_start(); ?> +

    + Create missing posts for uploaded comics is for when you upload a lot of comics to your comic folder and want to generate generic posts for all of the new comics, or for when you're migrating from another system to ComicPress.", 'comicpress-manager') ?> +

    + +

    + ${link_text}"; + + printf(__("Generating thumbnails on an import is a slow process. Some Webhosts will limit the amount of time a script can run. If your import process is failing with thumbnail generation enabled, disable thumbnail generation, perform your import, and then visit the %s to complete the thumbnail generation process.", 'comicpress-manager'), $link); + ?> +

    + + +

    +

    + +
    + import_safe_exit === true) { + _e("You are in the middle of an import operation. To continue, click the button below:", 'comicpress-manager'); + + ?> +
    + $value) { + if (is_array($value)) { + foreach ($value as $subvalue) { ?> + + + + + +
    + Congratulations, your max_execution_time is 0. You'll be able to import all of your comics in one import operation.", 'comicpress-manager'); + } else { + if ($max_posts_imported == 0) { + _e("Something is very wrong with your configuration!.", 'comicpress-manager'); + } else { + printf(__("Your max_execution_time is %s. You'll be able to safely import %s comics in one import operation.", 'comicpress-manager'), $execution_time, $max_posts_imported); + } + } + } + ?> +
    + + + + + + +
    + + + (): +
    + +
    +
    + + + + + + + + +
    + " /> +
    +
    +
    + + \ No newline at end of file diff --git a/pages/comicpress_index.php b/pages/comicpress_index.php new file mode 100644 index 0000000..9665937 --- /dev/null +++ b/pages/comicpress_index.php @@ -0,0 +1,209 @@ +messages[] = sprintf(__("Reminder: You are managing the %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); + } + + $cpm_config->need_calendars = true; + + $example_date = cpm_generate_example_date(CPM_DATE_FORMAT); + + $example_real_date = date(CPM_DATE_FORMAT); + + $zip_extension_loaded = extension_loaded('zip'); + + if (cpm_option('cpm-skip-checks') != 1) { + if (!function_exists('get_comic_path')) { + $cpm_config->warnings[] = __('It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager'); + } + } + + if (count($_POST) == 0 && isset($_GET['upload'])) { + $cpm_config->warnings[] = sprintf(__("Your uploaded files were larger than the post_max_size setting, which is currently %s. Either upload fewer/smaller files, upload them via FTP/SFTP, or increase your server's post_max_size.", 'comicpress-manager'), ini_get('post_max_size')); + } + + ob_start(); ?> +

    + + + + +

    + +

    + + + + + %s-single-comic-title.ext) and for when you might be duplicating a post. You will also be shown which comic will appear with which blog post in the Post editor.", 'comicpress-manager'), $example_date) ?> +

    + +

    + Single comic titles are generated from the incoming filename. If you've named your file %s-my-new-years-day.jpg and create a new post for the file, the post title will be My New Years Day. This default should handle the majority of cases. If a comic file does not have a title, the date in MM/DD/YYYY format will be used.", 'comicpress-manager'), $example_real_date) ?> +

    + +

    + Upload image files lets you upload multiple comics at a time, and add a default post body for each comic.", 'comicpress-manager') ?> + + upload a Zip file and create new posts from the files contained within the Zip file.", 'comicpress-manager') ?> + + You can't upload a Zip file because you do not have the PHP zip extension installed.", 'comicpress-manager') ?> + +

    + +

    + Donate a few bucks to show your appreciation!", 'comicpress-manager') ?> + +

    + + + + +
    + +

    + + +

    + +

    +

    — + + + + + +

    + + +
    + You do not have the Zip extension installed. Uploading a Zip file will not work. Either upload files individually or FTP/SFTP the files to your site and import them.'), "?page=" . plugin_basename(realpath(dirname(__FILE__) . '/../comicpress_manager_admin.php') . '-import')) ?> +
    + + + + +
    + + +
    +
    +
    + [] +
    + + + + + + + comic_files) > 0) { ?> + + + + + + + + + + + + +
    + +
    + +
    + +
    + " /> +
    + +
    + + + + + +
    + + +
    + +
    + + + + + +
    +
    (click to open calendar. for single file uploads only. can accept any date format parseable by strtotime())", 'comicpress-manager') ?>
    +
    + + + + + + + +
    + " /> +
    +
    +
    +
    + + + need_calendars = true; + + if (cpm_get_subcomic_directory() !== false) { + $cpm_config->messages[] = sprintf(__("Reminder: You are managing the %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); + } + + if (cpm_option('cpm-skip-checks') != 1) { + if (!function_exists('get_comic_path')) { + $cpm_config->warnings[] = __('It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager'); + } + } + + ob_start(); ?> + +

    +

    ComicPress-related information, such as transcripts and Storyline categories for posts, and thumbnail regeneration, can be bulk edited here. To edit post-specific information, such as title and publishing date, use Edit Posts. + + comic_files as $comic_filepath) { + $comic_file = pathinfo($comic_filepath, PATHINFO_BASENAME); + if (($result = cpm_breakdown_comic_filename($comic_file)) !== false) { + $timestamp = strtotime($result['date']); + $comic_date = date("Y-m-d", $timestamp); + if (!isset($data_by_date[$comic_date])) { + $data_by_date[$comic_date] = array(); + } + + $comic_info = array( + 'type' => 'comic', + 'timestamp' => $timestamp, + 'comic_file' => $comic_file, + 'file_title' => $result['converted_title'], + 'comic_uri' => cpm_build_comic_uri($comic_filepath, CPM_DOCUMENT_ROOT) + ); + + if (count($thumbnails_found = cpm_find_thumbnails_by_filename($comic_filepath)) > 0) { + foreach ($thumbnails_found as $thumb_type => $thumb_filename) { + $comic_info["thumbnails_found_${thumb_type}"] = cpm_build_comic_uri(CPM_DOCUMENT_ROOT . $thumb_filename, CPM_DOCUMENT_ROOT); + } + } + + $icon_file_to_use = $comic_filepath; + foreach (array('rss', 'archive') as $type) { + if (isset($thumbnails_found[$type])) { $icon_file_to_use = CPM_DOCUMENT_ROOT . $thumbnails_found[$type]; } + } + $comic_info['icon_uri'] = cpm_build_comic_uri($icon_file_to_use, CPM_DOCUMENT_ROOT); + + $data_by_date[$comic_date][] = $comic_info; + } + } + + foreach (cpm_query_posts() as $comic_post) { + $ok = true; + if (cpm_get_subcomic_directory() !== false) { + $ok = in_array(get_option('comicpress-manager-manage-subcomic'), wp_get_post_categories($comic_post->ID)); + } + + if ($ok) { + $timestamp = strtotime($comic_post->post_date); + $post_date = date("Y-m-d", $timestamp); + if (!isset($data_by_date[$post_date])) { + $data_by_date[$post_date] = array(); + } + + $post_info = array( + 'type' => 'post', + 'timestamp' => $timestamp, + 'post_id' => $comic_post->ID, + 'post_title' => $comic_post->post_title, + 'post_object' => (array)$comic_post + ); + + $data_by_date[$post_date][] = $post_info; + } + } + + krsort($data_by_date); + + $all_months = array(); + foreach (array_keys($data_by_date) as $date) { + list($year, $month, $day) = explode("-", $date); + $key = "${year}-${month}"; + + if (!isset($all_months[$key])) { + $all_months[$key] = date("F Y", strtotime($date)); + } + } + + krsort($all_months); + + if (isset($_POST['dates'])) { + if ($_POST['dates'] != -1) { + $new_data_by_date = array(); + foreach ($data_by_date as $date => $data) { + if (strpos($date, $_POST['dates']) === 0) { + $new_data_by_date[$date] = $data; + } + } + $data_by_date = $new_data_by_date; + } + } + + if (!isset($_GET['paged'])) { + $_GET['paged'] = 1; + } + + $page_links = paginate_links( array( + 'base' => add_query_arg( 'paged', '%#%' ), + 'format' => '', + 'prev_text' => __('«'), + 'next_text' => __('»'), + 'total' => ceil(count($data_by_date) / $dates_per_page), + 'current' => $_GET['paged'] + )); + + $total_data_by_date = count($data_by_date); + + $data_by_date = array_slice($data_by_date, ($_GET['paged'] - 1) * $dates_per_page, $dates_per_page); + + extract(cpm_normalize_storyline_structure()); + $comic_categories = array(); + foreach ($category_tree as $node) { $comic_categories[] = end(explode("/", $node)); } + + $thumbnail_writes = cpm_get_thumbnails_to_generate(); + + if ($total_data_by_date > 0) { + $displaying_num_content = sprintf(__("Displaying %d-%d of %d", 'comicpress-manager'), + (($_GET['paged'] - 1) * $dates_per_page) + 1, + min($total_data_by_date, (($_GET['paged'] - 1) * $dates_per_page) + $dates_per_page), + $total_data_by_date); + } else { + $displaying_num_content = __('No items to display', 'comicpress-manager'); + } + + ?> + + +

    +
    + +
    +
    + + + + +
    +
    + + +
    +
    + + + + + + + + + + + + + + + + + + + + + + $data) { + $all_objects_by_type = array(); + + foreach ($data as $object) { + if (!isset($all_objects_by_type[$object['type']])) { + $all_objects_by_type[$object['type']] = array(); + } + $all_objects_by_type[$object['type']][] = $object; + } + $classes = array("data-row"); + if ($is_grey) { $classes[] = "grey"; } + + $is_first_row = true; + + foreach ($data as $object) { ?> + "> + + + + + + + + + +
    + +
    + +
    + + + +
    +
    + Comic: +
    + + + + 0) { ?> + [ + $uri) { ?> + + + ] + + [ No thumbnails found ] + +
    + + Post: + ()
    + [ ] + +
    + + + + +
    + + + 0) { ?> +
    + + +
    + + + + +
    + + + + <img title>/hovertext:
    + + + + Transcript: +
    + + + Storyline: [ Edit ] + + + +
    +
    +
    + + +
    +
    + + +
    +
    +
    + +
    + + \ No newline at end of file diff --git a/pages/comicpress_storyline.php b/pages/comicpress_storyline.php new file mode 100644 index 0000000..397cfbf --- /dev/null +++ b/pages/comicpress_storyline.php @@ -0,0 +1,280 @@ +name . '"'; + } + + $help_content = __("

    Set Up Storyline Structure lets you manage your site's categories so that they can be used for storyline management. You would name them with the names of the logical divisions of your story: Chapter 1, Volume 2, etc.

    ", 'comicpress-manager'); + + $help_content .= __("

    If you want to change the parent/child relationships of categories, you'll have to do that at Manage -> Categories for now.

    ", 'comicpress-manager'); + + $help_content .= __("

    If you added or deleted categories, or changed parent/child relationships, via Manage -> Categories, you may need to rearrange your internal story structure, otherwise your navigation will be incorrect.

    ", 'comicpress-manager'); + + if (!function_exists('get_comic_path')) { + $cpm_config->warnings[] = __("It looks like you're running an older version of ComicPress. Storylines are only fully supported in ComicPress 2.7 or with certain theme modifications.", 'comicpress-manager'); + } + + ob_start(); + + ?> + +

    +

    Categories", 'comicpress-manager') ?>

    + +
    + + + " /> +
    + +
    + +
    "> +
    +
    + " /> | Cancel Changes +
    + + + \ No newline at end of file diff --git a/pages/comicpress_thumbnails.php b/pages/comicpress_thumbnails.php new file mode 100644 index 0000000..5a44b82 --- /dev/null +++ b/pages/comicpress_thumbnails.php @@ -0,0 +1,75 @@ +Generate thumbnails lets you regenerate thumbnails for comic files. This is useful if an import is not functioning because it is taking too long, or if you've changed your size or quality settings for thumbnails.

    ", 'comicpress-manager'); + + ob_start(); ?> + +

    + + get_scale_method() != CPM_SCALE_NONE) { + foreach ($cpm_config->thumbs_folder_writable as $type => $value) { + if ($value) { + if ($cpm_config->separate_thumbs_folder_defined[$type] !== false) { + if (cpm_option("cpm-${type}-generate-thumbnails") == 1) { + $ok_to_generate_thumbs = true; + $is_generating[] = sprintf(__('%1$s thumbnails that are %2$s pixels wide', 'comicpress-manager'), $type, $cpm_config->properties["${type}_comic_width"]); + } + } + } + } + } + + if ($ok_to_generate_thumbs) { + if (count($cpm_config->comic_files) > 0) { ?> +
    + + +

    + + to select multiple comics, [Ctrl]-click on Windows & Linux, [Command]-click on Mac OS X):", 'comicpress-manager') ?> +
    + +
    + " /> +
    +
    + +

    + +

    + You either aren't able to generate any thumbnails for your comics, or you have disabled thumbnail generation. This may be caused by a configuration error. Have you set up your RSS and archive directories and configured your ComicPress theme to use them? Do you have either the GD library or Imagemagick installed?", 'comicpress-manager') ?> +

    + + + \ No newline at end of file diff --git a/pages/edit_post_show_comic.php b/pages/edit_post_show_comic.php new file mode 100644 index 0000000..ee4bbef --- /dev/null +++ b/pages/edit_post_show_comic.php @@ -0,0 +1,206 @@ +ID !== 0) { + $post_time = time(); + foreach (array('post_date', 'post_modified', 'post_date_gmt', 'post_modified_gmt') as $time_value) { + if (($result = strtotime($post->{$time_value})) !== false) { + $post_time = $result; break; + } + } + + $post_categories = wp_get_post_categories($post->ID); + + if (isset($cpm_config->properties['comiccat'])) { + $in_comics_category = (count(array_intersect($comic_categories, $post_categories)) > 0); + } + + $ok = true; + if (cpm_get_subcomic_directory() !== false) { + $ok = in_array(get_option('comicpress-manager-manage-subcomic'), wp_get_post_categories($post->ID)); + } + + if ($ok) { + if (($comic = find_comic_by_date($post_time)) !== false) { + $comic_uri = cpm_build_comic_uri($comic); + + $comic_filename = preg_replace('#^.*/([^\/]*)$#', '\1', $comic_uri); + $link = "${comic_filename}"; + + $date_root = substr($comic_filename, 0, strlen(date(CPM_DATE_FORMAT))); + $thumbnails_found = cpm_find_thumbnails_by_filename($comic); + + $icon_file_to_use = $comic; + foreach (array('rss', 'archive') as $type) { + if (isset($thumbnails_found[$type])) { + $icon_file_to_use = $thumbnails_found[$type]; + } + } + + $icon_uri = cpm_build_comic_uri($icon_file_to_use); + + $has_comic_file = true; + } + } + } + + ?> + + +
    +

    +
    + comic_files) == 0) { ?> +
    + It looks like this is a new ComicPress install. You should test to make + sure uploading works correctly by visiting ComicPress -> Upload. +
    + + + + +

    + + +

    + + %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); + } + ?> + + 0) { ?> +

    + $file) { ?> + + +

    + + + + +

    ComicPress Manager Edit Post file management is enabled. Any changes to post date, or deleting this post, will affect any associated comic files.

    + + +

    NOTE: Upload errors will not be reported. If you are having trouble uploading files, use the ComicPress -> Upload screen.

    + + + + + + + + + + + + + + + + + + + + + + + + + + +
    + + + + + + + + (thumbnails will be generated)", 'comicpress-manager') ?>
    + + + + + +
    + It looks like you\'re running an older version of ComicPress. Storyline, hovertext, and transcript are fully supported in ComicPress 2.7. You can use hovertext and transcripts in earlier themes by using get_post_meta($post->ID, "hovertext", true) and get_post_meta($post->ID, "transcript", true).', 'comicpress-manager') ?> +
    + 1) { + _e("Storyline", 'comicpress-manager'); + } else { + _e("Category", 'comicpress-manager'); + } + ?> + + +
    +
    +
    + + \ No newline at end of file diff --git a/pages/storyline_display.php b/pages/storyline_display.php new file mode 100644 index 0000000..83dabf9 --- /dev/null +++ b/pages/storyline_display.php @@ -0,0 +1,27 @@ +term_id] = $category_object; + } + + foreach (explode(",", $result) as $node) { + $parts = explode("/", $node); + $category_id = end($parts); + $category = $categories_by_id[$category_id]; + $first_comic_in_category = get_terminal_post_in_category($category_id); + $first_comic_permalink = get_permalink($first_comic_in_category->ID); + $archive_image = get_comic_url("archive", $first_comic_in_category); ?> + +
    + +

    cat_name ?>

    +

    First comic in storyline: + + post_title ?> + +

    +
    + \ No newline at end of file diff --git a/pages/write_comic_post.php b/pages/write_comic_post.php new file mode 100644 index 0000000..ed6d82d --- /dev/null +++ b/pages/write_comic_post.php @@ -0,0 +1,102 @@ +need_calendars = true; + + $thumbnails_to_generate = cpm_get_thumbnails_to_generate(); + + $go_live_time_string = (cpm_option('cpm-default-post-time') == "now") ? + __("now", 'comicpress-manager') : + sprintf(__("at %s", 'comicpress-manager'), cpm_option('cpm-default-post-time')); + + cpm_write_global_styles_scripts(); + ?> +
    + + errors) == 0) { ?> + +

    + + + comic_files) == 0) && (cpm_get_subcomic_directory() === false)) { ?> +
    + It looks like this is a new ComicPress install. You should test to make + sure uploading works correctly by visiting ComicPress -> Upload. +
    + + +

    + Upload a single comic file and immediately start editing the associated published post. Your post will be going live %s on the provided date and will be posted in the %s category.", 'comicpress-manager'), $go_live_time_string, generate_comic_categories_options('category')) ?> + + %s comic subdirectory.", 'comicpress-manager'), get_cat_name(get_option('comicpress-manager-manage-subcomic'))); + } + ?> + + %s thumbnails that are %spx wide", 'comicpress-manager'), $type, $cpm_config->properties["${type}_comic_width"]); + } + + ?> + + +

    + +
    + + + + + + + + + + + + + + 0) { + ?> + + + + + + + + + + + + +
    +
    +
    +
    + + +
    + + \ No newline at end of file diff --git a/readme.txt b/readme.txt new file mode 100644 index 0000000..014c10d --- /dev/null +++ b/readme.txt @@ -0,0 +1,195 @@ +=== ComicPress Manager === +Contributors: johncoswell +Tags: comicpress, webcomics, management, admin, posts, plugin +Requires at least: 2.5.1 +Tested up to: 2.7.1 +Stable tag: 1.4.5 +Donate link: http://www.coswellproductions.com/wordpress/wordpress-plugins/ + +ComicPress Manager ties in with the ComicPress theme to make managing your WordPress-hosted Webcomic easy and fast. + +== Description == + +(this is a WordPress 2.8 compatibility fix) + +The ComicPress Manager plugin works in conjunction with an installation of [ComicPress](http://comicpress.org/), the Webcomic theme for WordPress. ComicPress Manager is intended to reduce the amount of work required to administer a site running ComicPress. + +ComicPress Manager allows you to: + +* Upload individual comic files or a Zip archive of comic files directly into your comics folder and generate posts for each comic as it's uploaded with the correct go-live date and time + * To save a trip to the Edit Post page, you can use the Visual Editor right in ComicPress Manager to add styled text content to your post. + * Using this method ensures that the post has the correct date and time as it's being created, reducing mistakes in posting. + * You can also upload a single file that does not specify a date in the filename, and enter in the post date on the upload page. + * You can also replace a single existing file with any other file, preserving the original file's name after upload + * If you're using a different date naming convention, you can convert the old convention to the currently defined date naming convention + * To keep nosy readers from snooping around, you can obfuscate filenames, either by adding random characters to the end, or by replacing the title in the filename with random characters. + * Images are thoroughly checked while being uploaded and fixed when possible +* Create comic posts straight from the Edit Post screen + * Upload files, set comic metadata such as hovertext and transcripts, see if thumbnails exist, and set Storyline categories for a post right in Edit Post + * If Edit Post File Intergration is enabled, automatically rename and delete comic files when post dates are changed or when posts are deleted + * See comic post information right in the Edit Posts list +* Use a stripped-down version of the Comic uploader straight from the Dashboard (QuomicPress) +* Manage complex, infinitely-nested Storyline structures for your comic + * Storyline segments are Categories, so all WordPress category functions work as expected +* Bulk Edit the information on comics in your site + * With a look and feel similar to Bulk Actions in Edit Posts, you can edit comic data, regenerate thumbnails, and delete multiple comics and posts in one operation +* Upload thumbnails directly to the archive and RSS folders +* Get a sanity check on your installation + * ComicPress Manager will check to see if: + * Your comics, archive, and RSS folders exist + * Your comics, archive, and RSS folders are writable by the Webserver (if you're generating thumbnails) + * You have enough categories defined to use ComicPress + * You have defined a valid blog category (and comic category for ComicPress 2.5) + * You're using a ComicPress-derived theme + * NOTE: This check is done by examining the name of the theme as defined in style.css. If you want this non-fatal check to succeed, leave the term "ComicPress" in the theme title. + * You have comics in your comics folder (if there aren't any, it could be a sign of other problems) + * You can also disable these checks once you know your configuration is correct, to improve performance +* Create any missing posts for comics that have been uploaded to your comics folder + * If you're migrating from another Webcomic hosting solution, or if you prefer to directly transfer your comics into your comics folder, then you can generate posts for all comics that don't already have posts. +* Bulk Change the post dates and comic filenames for any comic you've uploaded + * You can use this advanced feature to shift a large number of comics forward or backwards in time. +* Manage multiple comics running on one WordPress installation by using directories named after category slugs (work in progress) +* Modify your comicpress-config.php file from ComicPress Manager. + * If you're using a comicpress-config.php file, and the permissions are set correctly, you can modify the settings directly from ComicPress manager. If your permissions are not correct, the config file that ComicPress Manager would have written will be shown so that you can copy and paste it into your comicpress-config.php file. + * Manage your ComicPress Manager configuration directly from the CPM interface, instead of modifying comicpress\_manager\_config.php + * If your config goes awry, you can also restore from a backup config. + +For those upgrading from the 1.3 line, note that the Delete and Generate Thumbnails pages have been merged into Bulk Edit and into the Edit Post File Integration option. You can now delete comic files and posts in single operations through either method, and you can regenerate thumbnails on the Bulk Edit page. + +Additionally, on your Dashboard, you'll see the latest stories from the ComicPress site, so you can keep up on updates, upgrades, and other news to make your Webcomics publishing using WordPress + ComicPress easier and more fun. + +You can also change what is viewed in the left sidebar as you're working in ComicPress Manager. You can see: + +* The classic ComicPress Manager sidebar and help boxes. +* The current, last, and upcoming comics to be published on your site, with thumbnails to ensure the right comic is going live. +* No Sidebar, which speeds up page load times + +ComicPress Manager is built for WordPress 2.5.1 & above and ComicPress 2.1, 2.5, and 2.7, but using ComicPress 2.7 is strongly recommended. ComicPress Manager works on PHP 4, but using PHP 5 is strongly recommended. + +Before you begin working with ComicPress Manager, and especially while the software is still in development, it is recommended that you make regular backups of your WordPress database and comics folder. + +If you're having problems while upgrading, be sure to delete your existing comicpress_manager directory from your plugins folder. + +== Installation == + +Copy the comicpress-manager directory to your wp-content/plugins/ directory and activate the plugin. ComicPress Manager works on PHP 4, but using PHP 5 is strongly recommended. + +== Frequently Asked Questions == + += I'm unable to edit my comicpress-config.php file from the plugin interface = + +Check the permissions on the theme directory and on the comicpress-config.php file itself. Both of these need to be writable by the user that the Webserver runs as. For more information on this, contact your Webhost. + +Alternatively, if you can't automatically write to the comicpress-config.php file, the config that would have been written will be shown on-screen. Copy and paste this into your comicpress-config.php file. + += I edited my config, and now I'm getting errors = + +The error you're most likely to see when working with config files in ComicPress Manager contains the following string: + +
    [function.main]: failed to open stream: No such file or directory
    + +This means that functions.php is attempting to include the comicpress-config.php file from your theme directory and comicpress-config.php does not exist. Check your theme folder for the following: + +* A missing comicpress-config.php file +* A file (or files) named comicpress-config.php.{long string of numbers} + +If this has happened, either use the restore function that appears on the config errors screen, or copy the most recent comicpress-config.php.{long string of numbers} file in your theme's directory back to comicpress-config.php. Then, try experimenting with different permissions settings on your theme folder to see if the situation improves, or use ComicPress Manager generate the config that you can then copy and paste into ComicPress Manager. + += I'm getting permissions errors when uploading comics = + +Depending on your hosting type and set up, you may need to use your FTP client's chmod command or your Webhost's file management frontend to increase the permissions of your folders. chmod 775 or chmod 777 are both settings that may work on your hosting. + += I can't upload a Zip file at all = + +You need the PHP Zip extension installed to be able to process Zip files. Ask your Webhost to install it. + += I can't upload a large image file or a large Zip file = + +The upload\_max\_filesize or max\_post\_size settings on your server may be set too low. You can do one of the following: + +* Talk with your Webhost about increasing the upload\_max\_size and max\_post\_size for your entire site +* Split the upload up into several smaller piece +* Create or modify an .htaccess file at the root of your WordPress site, and place a php.ini directive to increase upload\_max\_filesize and max\_post\_size just for that part of the site: + +
    +php_value upload_max_filesize "5M"
    +php_value pax_post_size "5M"
    +
    + += (For Windows servers) It appears that I can upload a file, and I can see it in FTP listings, but neither ComicPress nor ComicPress Manager can see the file. The same thing happens with thumbnails, and when I edit my config. = + +There seems to be an issue with FastCGI for IIS, where permissions on files created by the Webserver process have no permissions whatsoever, and need to have permissions granted by a user with Administrator privileges. + +Additionally, there should only be one instance of upload_tmp_file in your php.ini file, and the directory specified needs to be writable by the Webserver, and has to have no backslash at the end of the path: + +
    upload_tmp_dir = "c:\inetpub\temp\uploads"
    + += How can I change the minimum access level for the plugin? = + +There are three lines at the top of comicpress\_manager\_config.php that define the $access_level of the plugin. Uncomment the line that defines the level of access you want to give and comment out the others. + += How do I change the width of generated thumbnails for the Archive and RSS version of my comics? = + +Change the "Archive Width" in your ComicPress config (comicpress-config.php in your theme) to the thumbnail width you wish to have for both Archive and RSS. Note that only ComicPress 2.7 supports RSS thumbnail width adjustment. + += Why can't I generate thumbnails? = + +You will need either GD library support compiled in or loaded with PHP, or the ImageMagick "convert" and "identify" binaries in your path. If neither of these are available, you will be unable to generate thumbnails. Your thumbnail directories also need to be writable by the Webserver process. + += What if I don't want to automatically generate thumbnails? = + +Disable the appropriate options on the ComicPress Manager configuration page. + += How do I change the output quality of the JPEG thumbnail file? = + +Change the JPEG thumbnail quality on the ComicPress Manager configuration page to a value between 0 (ugly & small filesize) to 100 (no compression). + += The plugin fails during import. = + +If you are importing a large number of files, especially if you're generating thumbnails, the amount of time it would take to process the comics can exceed the time allotted by your Webhost for a script to run. ComicPress Manager will attempt to split up the Import into smaller chunks to work around this, but it may still fail in rare cases. If it does, you can do the following: + +* Don't generate thumbnails during import, and instead generate them later under Bulk Edit. +* Import your comic in chunks by uploading Zip files of comics or by uploading only a few at a time to the comics directory. +* Add a [set_time_limit](http://us3.php.net/set_time_limit) command to the top of the plugin +* Ask your Webhost to increase the max_execution_time for your site, or use an .htaccess file to change it yourself. + += I know what I'm doing. How do I disable the sanity checks to improve performance? = += I've been getting ComicPress upgrade messages, and I really don't want to see them anymore. = + +You can disable sanity checks and upgrade messages on the ComicPress Manager configuration page. + += I want to change the date format used by ComicPress and ComicPress Manager from Y-m-d to something else. = + +You can change the date format on the ComicPress Manager configuration page. Change the format to a [date](http://us3.php.net/date) compatible format. Then, in your ComicPress theme, in the functions.php file, change every instance of Y-m-d to your new format (or better yet, use CPM\_DATE\_FORMAT directly, as comicpress\_manager\_config.php is loaded with every page load in WordPress). + += I don't want to clutter up my Dashboard with the ComicPress RSS widget or with QuomicPress. = + +Disable the appropriate options on the ComicPress Manager configuration page. + += How do I set up my comic directories for subdirectory management? = + +Get the category slug for the Storyline category that will represent the new separate comic. Create directories within your existing comic directories that are named after this slug. Make sure the directories are writable, and then go to ComicPress Config and choose the new comic category. All future file operations will only deal with this directory. + +This feature is still experimental, and currently requires you to write the comic file handling code for your ComicPress functions.php file. + += I want to translate your plugin into my language. = + +Feel free to contact me, or better yet, send a translation in. The POT file is in the plugin directory. I'm still new to this, so if I'm doing something wrong in the code, please tell me. :) + += I'm having another problem. = + +File a bug on the [ComicPress Bug Tracker](http://bugs.comicpress.org/). If asked, provide the info given when you click the Show Debug Info link on the left-hand side. Make sure you're running the most recent stable version of ComicPress Manager, as there are a lot of critical bug fixes between versions. + +If it's a serious problem, such as WordPress becoming non-functional or blank screens/errors after you perform certain operations, you will be asked to provide error logs for your server. If you don't know how to get access to these, talk with your Webhost. + +== License == + +ComicPress Manager is released under the GNU GPL version 2.0 or later. + +The Dynarch DHTML Calendar Widget is released under the GNU LGPL. + +== Credits == + +Big thanks to Tyler Martin for his assistance, bug finding, and with coming up with ComicPress in the first place. Additional big thanks to Philip Hofer of Frumph.NET for assistance in debugging problems with Yahoo! hosting and Windows/IIS. Also thanks to John LaRusic for the initial code contribution for Write Comic. Also also thanks to Danny Burleson, karchesky, tk0169, Tim Hengeveld, Keith C. Smith, philipspence, jhorsley3, Matthew LaCurtis, and iRobot for beta testing, the folks at the Lunchbox Funnies forum for finding & reporting bugs, and everyone who donated time, money, or equipment to make this software great. + +ComicPress Manager uses the [Dynarch DHTML Calendar Widget](http://www.dynarch.com/projects/calendar/) for date fields. diff --git a/test_comicpress_manager.php b/test_comicpress_manager.php new file mode 100644 index 0000000..90b73f6 --- /dev/null +++ b/test_comicpress_manager.php @@ -0,0 +1,104 @@ +assertEqual($expected_result, cpm_generate_example_date($example_date)); + } + } + + function testBuildComicURI(){ + foreach (array( + array("test.gif", false), + array("/test.gif", false), + array("/mycomic/test.gif", false), + array(CPM_TEST_DOCUMENT_ROOT . "/mycomic/test.gif", '/mycomic/test.gif'), + array(CPM_TEST_DOCUMENT_ROOT . "/my_website/mycomic/test.gif", '/mycomic/test.gif'), + array(CPM_TEST_DOCUMENT_ROOT . '\mycomic\test.gif', '/mycomic/test.gif'), + ) as $test) { + list($example_filename, $expected_url) = $test; + echo $example_filename . "\n"; + $result = cpm_build_comic_uri($example_filename, CPM_TEST_DOCUMENT_ROOT); + echo $result . "\n"; + $this->assertEqual($expected_url, $result); + } + } + + function testBreakdownComicFilename() { + $_POST['upload-date-format'] = CPM_TEST_FILENAME_PATTERN; + $test_date = "2008-01-01"; + foreach (array( + array("meow", false), + array("meow.xfm", false), + array(md5(rand()), false), + array("${test_date}.jpg", array("title" => "", "date" => $test_date, "converted_title" => "")), + array("comics/${test_date}.jpg", false), + array("${test_date}-Test.jpg", array("title" => "-Test", "date" => $test_date, "converted_title" => "Test")), + array("${test_date}-test.jpg", array("title" => "-test", "date" => $test_date, "converted_title" => "Test")), + array("1900-01-01.jpg", false), + ) as $test) { + list($filename, $expected_value) = $test; + $this->assertEqual($expected_value, cpm_breakdown_comic_filename($filename, true)); + } + } + + function testTransformDateString() { + $valid_string = "Y-m-d"; + $valid_transform = array("Y" => "YYYY", "m" => "MM", "d" => "DD"); + foreach (array( + array($valid_string, null, false), + array(null, $valid_transform, false), + array($valid_string, array("Y"), false), + array($valid_string, array("Y" => "YYYY"), false), + array($valid_string, $valid_transform, "YYYY-MM-DD"), + array('\\Y', $valid_transform, "Y"), + ) as $test) { + list($string, $replacements, $result) = $test; + $transform_result = cpm_transform_date_string($string, $replacements); + if (empty($transform_result)) { + $this->assertTrue($transform_result === false); + } else { + $this->assertEqual($result, $transform_result); + } + } + } + + function testCalculateDocumentRoots() { + $original_script_filename = $_SERVER['SCRIPT_FILENAME']; + $original_script_name = $_SERVER['SCRIPT_NAME']; + $original_script_url = $_SERVER['SCRIPT_URL']; + $original_document_root = $_SERVER['DOCUMENT_ROOT']; + } +} + +function get_bloginfo($which) { + switch ($which) { + case "url": return CPM_TEST_DEFAULT_URL; + } + return ""; +} + +function get_cat_name($cat) { + return "meow"; +} + +?> \ No newline at end of file