Version Description
- Bugfixes:
- the name of the js var that holds the jsDatePick object is now escaped so no illegal char gets printed (regards Petrus)
- removed any posibility of the calendar being displayed more than once at a time on a page when in Mode 2
- controls option now works
- New:
- animate the calendar on display option
- added Dutch translations (regards Petrus)
Download this release
Release Info
Developer | shockware |
Plugin | Contact Form 7 Datepicker |
Version | 0.5 |
Comparing to | |
See all releases |
Code changes from version 0.4 to 0.5
- contact-form-7-datepicker.php +119 -72
- js/jsDatePick.jquery.full.js +50 -36
- js/jsDatePick.jquery.min.js +1 -1
- languages/contact-form-7-datepicker-nl_NL.mo +0 -0
- languages/contact-form-7-datepicker-ro_RO.mo +0 -0
- languages/contact-form-7-datepicker-ro_RO.po +83 -74
- languages/contact-form-7-datepicker.pot +82 -73
- readme.txt +14 -3
contact-form-7-datepicker.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7 Datepicker
|
|
4 |
Plugin URI: https://github.com/relu/contact-form-7-datepicker/
|
5 |
Description: Implements a new [date] tag in Contact Form 7 that adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.
|
6 |
Author: Aurel Canciu
|
7 |
-
Version: 0.
|
8 |
Author URI: https://github.com/relu/
|
9 |
*/
|
10 |
?>
|
@@ -28,7 +28,7 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
28 |
?>
|
29 |
<?php
|
30 |
|
31 |
-
define('CF7_DATE_PICKER_VERSION', '0.
|
32 |
define('PLUGIN_PATH', '/wp-content/plugins/'.plugin_basename(dirname(__FILE__)));
|
33 |
|
34 |
class CF7DatePicker {
|
@@ -43,18 +43,21 @@ class CF7DatePicker {
|
|
43 |
"directionality" => "ltr",
|
44 |
"yearsRange" => "1970,2100",
|
45 |
"yearButtons" => "true",
|
46 |
-
"monthButtons" => "true"
|
|
|
47 |
);
|
48 |
|
49 |
function init() {
|
50 |
register_activation_hook(__FILE__, array(__CLASS__, 'activate'));
|
51 |
register_deactivation_hook(__FILE__, array(__CLASS__, 'deactivate'));
|
52 |
|
53 |
-
add_action('init', array(__CLASS__, 'load_plugin_text_domain'));
|
54 |
add_action('plugins_loaded', array(__CLASS__, 'register_shortcodes'));
|
|
|
55 |
add_action('admin_init', array(__CLASS__, 'tag_generator'));
|
56 |
add_action('admin_menu', array(__CLASS__, 'register_admin_settings'));
|
57 |
-
add_action('
|
|
|
|
|
58 |
|
59 |
add_filter('wpcf7_validate_date', array(__CLASS__, 'wpcf7_validation_filter'), 10, 2);
|
60 |
add_filter('wpcf7_validate_date*', array(__CLASS__, 'wpcf7_validation_filter'), 10, 2);
|
@@ -178,6 +181,10 @@ class CF7DatePicker {
|
|
178 |
foreach(self::$option_defaults as $option => $value)
|
179 |
$dataupdate[$option] = $_POST[$option];
|
180 |
$dataupdate['yearsRange'] = trim($_POST['yearmin']).",".trim($_POST['yearmax']);
|
|
|
|
|
|
|
|
|
181 |
self::update_settings($dataupdate);
|
182 |
}
|
183 |
$useMode = array(1,2);
|
@@ -186,7 +193,7 @@ class CF7DatePicker {
|
|
186 |
__('Today and past', 'contact-form-7-datepicker'),
|
187 |
__('No limit', 'contact-form-7-datepicker')
|
188 |
);
|
189 |
-
$isStripped = $
|
190 |
__('true', 'contact-form-7-datepicker'),
|
191 |
__('false', 'contact-form-7-datepicker')
|
192 |
);
|
@@ -218,7 +225,7 @@ class CF7DatePicker {
|
|
218 |
<td colspan="2"><?php
|
219 |
foreach($cellColorScheme as $scheme) {
|
220 |
if($scheme == get_option('cellColorScheme'))
|
221 |
-
$checked = "checked
|
222 |
else
|
223 |
$checked = ""; ?>
|
224 |
|
@@ -376,38 +383,50 @@ class CF7DatePicker {
|
|
376 |
<label><?php echo __('Controls', 'contact-form-7-datepicker'); ?></h2></label>
|
377 |
</th>
|
378 |
<td><?php
|
379 |
-
|
380 |
-
foreach($yearButtons as $row) {
|
381 |
-
if($row == __('true', 'contact-form-7-datepicker'))
|
382 |
-
$val = "true";
|
383 |
-
else
|
384 |
-
$val = "false";
|
385 |
|
386 |
-
|
387 |
-
|
388 |
-
|
389 |
-
|
390 |
-
|
391 |
-
echo "<input type=\"checkbox\" name=\"yearButtons\" value='".$val."' ".$checked." >"; ?>
|
392 |
<label><?php echo __('Year Controls','contact-form-7-datepicker'); ?> </label>
|
393 |
<br /><?php
|
394 |
|
395 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
396 |
if($row == __('true', 'contact-form-7-datepicker'))
|
397 |
$val = "true";
|
398 |
else
|
399 |
$val = "false";
|
400 |
|
401 |
-
if ($val == get_option('
|
402 |
-
$
|
403 |
else
|
404 |
-
$
|
405 |
-
|
406 |
-
|
407 |
-
|
|
|
408 |
</td>
|
409 |
<td>
|
410 |
-
<?php echo __('
|
411 |
</td>
|
412 |
</tr>
|
413 |
|
@@ -447,62 +466,44 @@ You can of course put whatever divider you want between them.<br /></p>',
|
|
447 |
</form><?php
|
448 |
}
|
449 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
450 |
/**
|
451 |
* plugin_enqueues()
|
452 |
*
|
453 |
-
*
|
454 |
*/
|
455 |
public static function plugin_enqueues() {
|
456 |
-
|
457 |
-
|
458 |
-
<link rel="stylesheet" type="text/css" href="<?php echo plugins_url( '/css/jsDatePick_'.((get_option('directionality') != "") ? get_option('directionality') : "ltr").'.min.css', __FILE__ ); ?>" />
|
459 |
-
<script type="text/javascript" src="<?php echo plugins_url( '/js/jsDatePick.jquery.min.js', __FILE__ ); ?>"></script>
|
460 |
-
<script type="text/javascript"><?php echo "
|
461 |
-
g_l = [];
|
462 |
-
g_l[\"MONTHS\"] = [\"".__('Janaury', 'contact-form-7-datepicker').
|
463 |
-
"\",\"".__('February', 'contact-form-7-datepicker').
|
464 |
-
"\",\"".__('March', 'contact-form-7-datepicker').
|
465 |
-
"\",\"".__('April', 'contact-form-7-datepicker').
|
466 |
-
"\",\"".__('May', 'contact-form-7-datepicker').
|
467 |
-
"\",\"".__('June', 'contact-form-7-datepicker').
|
468 |
-
"\",\"".__('July', 'contact-form-7-datepicker').
|
469 |
-
"\",\"".__('August', 'contact-form-7-datepicker').
|
470 |
-
"\",\"".__('September', 'contact-form-7-datepicker').
|
471 |
-
"\",\"".__('October', 'contact-form-7-datepicker').
|
472 |
-
"\",\"".__('November', 'contact-form-7-datepicker').
|
473 |
-
"\",\"".__('December', 'contact-form-7-datepicker')."\"];
|
474 |
-
g_l[\"DAYS_3\"] = [\"".__('Sun', 'contact-form-7-datepicker').
|
475 |
-
"\",\"".__('Mon', 'contact-form-7-datepicker').
|
476 |
-
"\",\"".__('Tue', 'contact-form-7-datepicker').
|
477 |
-
"\",\"".__('Wed', 'contact-form-7-datepicker').
|
478 |
-
"\",\"".__('Thu', 'contact-form-7-datepicker').
|
479 |
-
"\",\"".__('Fri', 'contact-form-7-datepicker').
|
480 |
-
"\",\"".__('Sat', 'contact-form-7-datepicker')."\"];
|
481 |
-
g_l[\"MONTH_FWD\"] = \"".__('Move a month forward', 'contact-form-7-datepicker')."\";
|
482 |
-
g_l[\"MONTH_BCK\"] = \"".__('Move a month backward', 'contact-form-7-datepicker')."\";
|
483 |
-
g_l[\"YEAR_FWD\"] = \"".__('Move a year forward', 'contact-form-7-datepicker')."\";
|
484 |
-
g_l[\"YEAR_BCK\"] = \"".__('Move a year backward', 'contact-form-7-datepicker')."\";
|
485 |
-
g_l[\"CLOSE\"] = \"".__('Close the calendar', 'contact-form-7-datepicker')."\";
|
486 |
-
g_l[\"ERROR_2\"] = g_l[\"ERROR_1\"] = \"".__('Date object invalid!', 'contact-form-7-datepicker')."\";
|
487 |
-
g_l[\"ERROR_4\"] = g_l[\"ERROR_3\"] = \"".__('Target invalid!', 'contact-form-7-datepicker')."\";"; ?>
|
488 |
-
</script><?php
|
489 |
}
|
490 |
|
491 |
/**
|
492 |
* page_text_filter_callback($matches)
|
493 |
*
|
494 |
* If a match is found in the content of a form, this returns the HTML for the matched date input field
|
495 |
-
* @param
|
496 |
* @return String $string, the HTML for our match
|
497 |
*/
|
498 |
-
private function page_text_filter_callback($
|
499 |
-
$
|
|
|
500 |
<script type=\"text/javascript\">
|
501 |
jQuery(document).ready(function() {
|
502 |
-
DatePicker_".$
|
503 |
useMode:".get_option('useMode').",
|
504 |
isStripped:".get_option('isStripped').",
|
505 |
-
target:\"".$
|
506 |
limitToToday:".get_option('limitToToday').",
|
507 |
cellColorScheme:\"".get_option('cellColorScheme')."\",
|
508 |
dateFormat:\"".get_option('dateFormat')."\",
|
@@ -510,8 +511,9 @@ You can of course put whatever divider you want between them.<br /></p>',
|
|
510 |
weekStartDay:".get_option('weekStartDay').",
|
511 |
yearsRange:[".get_option('yearsRange')."],
|
512 |
directionality:\"".get_option('directionality')."\",
|
513 |
-
yearButtons
|
514 |
-
monthButtons
|
|
|
515 |
});
|
516 |
});
|
517 |
</script>";
|
@@ -591,7 +593,7 @@ You can of course put whatever divider you want between them.<br /></p>',
|
|
591 |
$value = $values[0];
|
592 |
}
|
593 |
|
594 |
-
$html = self::page_text_filter_callback(
|
595 |
$validation_error = '';
|
596 |
if ( is_a( $wpcf7_contact_form, 'WPCF7_ContactForm' ) )
|
597 |
$validation_error = $wpcf7_contact_form->validation_error( $name );
|
@@ -629,14 +631,59 @@ You can of course put whatever divider you want between them.<br /></p>',
|
|
629 |
}
|
630 |
|
631 |
/**
|
632 |
-
*
|
633 |
*
|
634 |
-
* Function for loading the l10n files from /languages/ dir
|
635 |
*/
|
636 |
-
public static function
|
637 |
load_plugin_textdomain( 'contact-form-7-datepicker', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
638 |
}
|
639 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
640 |
/**
|
641 |
* register_shortcodes()
|
642 |
*
|
4 |
Plugin URI: https://github.com/relu/contact-form-7-datepicker/
|
5 |
Description: Implements a new [date] tag in Contact Form 7 that adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.
|
6 |
Author: Aurel Canciu
|
7 |
+
Version: 0.5
|
8 |
Author URI: https://github.com/relu/
|
9 |
*/
|
10 |
?>
|
28 |
?>
|
29 |
<?php
|
30 |
|
31 |
+
define('CF7_DATE_PICKER_VERSION', '0.5');
|
32 |
define('PLUGIN_PATH', '/wp-content/plugins/'.plugin_basename(dirname(__FILE__)));
|
33 |
|
34 |
class CF7DatePicker {
|
43 |
"directionality" => "ltr",
|
44 |
"yearsRange" => "1970,2100",
|
45 |
"yearButtons" => "true",
|
46 |
+
"monthButtons" => "true",
|
47 |
+
"animate" => "true"
|
48 |
);
|
49 |
|
50 |
function init() {
|
51 |
register_activation_hook(__FILE__, array(__CLASS__, 'activate'));
|
52 |
register_deactivation_hook(__FILE__, array(__CLASS__, 'deactivate'));
|
53 |
|
|
|
54 |
add_action('plugins_loaded', array(__CLASS__, 'register_shortcodes'));
|
55 |
+
add_action('admin_init', array(__CLASS__, 'admin_l10n'));
|
56 |
add_action('admin_init', array(__CLASS__, 'tag_generator'));
|
57 |
add_action('admin_menu', array(__CLASS__, 'register_admin_settings'));
|
58 |
+
add_action('init', array(__CLASS__, 'register_files'));
|
59 |
+
add_action('init', array(__CLASS__, 'plugin_enqueues'));
|
60 |
+
add_action('init', array(__CLASS__, 'calendar_l10n'));
|
61 |
|
62 |
add_filter('wpcf7_validate_date', array(__CLASS__, 'wpcf7_validation_filter'), 10, 2);
|
63 |
add_filter('wpcf7_validate_date*', array(__CLASS__, 'wpcf7_validation_filter'), 10, 2);
|
181 |
foreach(self::$option_defaults as $option => $value)
|
182 |
$dataupdate[$option] = $_POST[$option];
|
183 |
$dataupdate['yearsRange'] = trim($_POST['yearmin']).",".trim($_POST['yearmax']);
|
184 |
+
|
185 |
+
$dataupdate['yearButtons'] = (isset($_POST['yearButtons'])) ? "true" : "false";
|
186 |
+
$dataupdate['monthButtons'] = (isset($_POST['monthButtons'])) ? "true" : "false";
|
187 |
+
|
188 |
self::update_settings($dataupdate);
|
189 |
}
|
190 |
$useMode = array(1,2);
|
193 |
__('Today and past', 'contact-form-7-datepicker'),
|
194 |
__('No limit', 'contact-form-7-datepicker')
|
195 |
);
|
196 |
+
$isStripped = $animate = array(
|
197 |
__('true', 'contact-form-7-datepicker'),
|
198 |
__('false', 'contact-form-7-datepicker')
|
199 |
);
|
225 |
<td colspan="2"><?php
|
226 |
foreach($cellColorScheme as $scheme) {
|
227 |
if($scheme == get_option('cellColorScheme'))
|
228 |
+
$checked = "checked=\"checked\"";
|
229 |
else
|
230 |
$checked = ""; ?>
|
231 |
|
383 |
<label><?php echo __('Controls', 'contact-form-7-datepicker'); ?></h2></label>
|
384 |
</th>
|
385 |
<td><?php
|
|
|
|
|
|
|
|
|
|
|
|
|
386 |
|
387 |
+
if (get_option('yearButtons') == "true")
|
388 |
+
$checked = "checked=\"checked\"";
|
389 |
+
else
|
390 |
+
$checked = "";
|
391 |
+
echo "<input type=\"checkbox\" name=\"yearButtons\" ".$checked.">"; ?>
|
|
|
392 |
<label><?php echo __('Year Controls','contact-form-7-datepicker'); ?> </label>
|
393 |
<br /><?php
|
394 |
|
395 |
+
if (get_option('monthButtons') == "true")
|
396 |
+
$checked = "checked=\"checked\"";
|
397 |
+
else
|
398 |
+
$checked = "";
|
399 |
+
echo "<input type=\"checkbox\" name=\"monthButtons\" ".$checked." >"; ?>
|
400 |
+
<label><?php echo __('Month Controls','contact-form-7-datepicker'); ?> </label>
|
401 |
+
</td>
|
402 |
+
<td>
|
403 |
+
<?php echo __('<p>You can select here what controls would you like to display on the calendar.</p>', 'contact-form-7-datepicker'); ?>
|
404 |
+
</td>
|
405 |
+
</tr>
|
406 |
+
|
407 |
+
<tr>
|
408 |
+
<th>
|
409 |
+
<label><?php echo __('Animate', 'contact-form-7-datepicker'); ?></label>
|
410 |
+
</th>
|
411 |
+
<td>
|
412 |
+
<select name="animate"><?php
|
413 |
+
foreach($animate as $row) {
|
414 |
if($row == __('true', 'contact-form-7-datepicker'))
|
415 |
$val = "true";
|
416 |
else
|
417 |
$val = "false";
|
418 |
|
419 |
+
if ($val == get_option('animate'))
|
420 |
+
$selected = "selected";
|
421 |
else
|
422 |
+
$selected = "";
|
423 |
+
|
424 |
+
echo "<option value='".$val."' ".$selected." >".__($row, 'contact-form-7-datepicker')."</option>";
|
425 |
+
} ?>
|
426 |
+
</select>
|
427 |
</td>
|
428 |
<td>
|
429 |
+
<?php echo __('<p>Animation on display.</p>','contact-form-7-datepicker'); ?>
|
430 |
</td>
|
431 |
</tr>
|
432 |
|
466 |
</form><?php
|
467 |
}
|
468 |
|
469 |
+
/**
|
470 |
+
* register_files()
|
471 |
+
*
|
472 |
+
* Registers needed files
|
473 |
+
*/
|
474 |
+
public static function register_files() {
|
475 |
+
wp_register_style('jsdp_ltr', plugins_url( '/css/jsDatePick_ltr.min.css', __FILE__ ));
|
476 |
+
wp_register_style('jsdp_rtl', plugins_url( '/css/jsDatePick_rtl.min.css', __FILE__ ));
|
477 |
+
|
478 |
+
wp_register_script('jsDatePickJS', plugins_url( '/js/jsDatePick.jquery.min.js', __FILE__ ), array('jquery'), false, true);
|
479 |
+
}
|
480 |
+
|
481 |
/**
|
482 |
* plugin_enqueues()
|
483 |
*
|
484 |
+
* Enqueues JS/CSS
|
485 |
*/
|
486 |
public static function plugin_enqueues() {
|
487 |
+
wp_enqueue_style('jsdp_'.get_option('directionality'));
|
488 |
+
wp_enqueue_script('jsDatePickJS');
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
489 |
}
|
490 |
|
491 |
/**
|
492 |
* page_text_filter_callback($matches)
|
493 |
*
|
494 |
* If a match is found in the content of a form, this returns the HTML for the matched date input field
|
495 |
+
* @param String $name, the name of the input date field that we generate code for
|
496 |
* @return String $string, the HTML for our match
|
497 |
*/
|
498 |
+
private function page_text_filter_callback($name) {
|
499 |
+
$jssafe = preg_replace('/[^A-Za-z0-9]/', '', $name);
|
500 |
+
$string = "<input type=\"text\" name=\"".$name."\" id=\"".$name."\" />
|
501 |
<script type=\"text/javascript\">
|
502 |
jQuery(document).ready(function() {
|
503 |
+
DatePicker_".$jssafe." = new JsDatePick({
|
504 |
useMode:".get_option('useMode').",
|
505 |
isStripped:".get_option('isStripped').",
|
506 |
+
target:\"".$name."\",
|
507 |
limitToToday:".get_option('limitToToday').",
|
508 |
cellColorScheme:\"".get_option('cellColorScheme')."\",
|
509 |
dateFormat:\"".get_option('dateFormat')."\",
|
511 |
weekStartDay:".get_option('weekStartDay').",
|
512 |
yearsRange:[".get_option('yearsRange')."],
|
513 |
directionality:\"".get_option('directionality')."\",
|
514 |
+
yearButtons:".get_option('yearButtons').",
|
515 |
+
monthButtons:".get_option('monthButtons').",
|
516 |
+
animate:".get_option('animate')."
|
517 |
});
|
518 |
});
|
519 |
</script>";
|
593 |
$value = $values[0];
|
594 |
}
|
595 |
|
596 |
+
$html = self::page_text_filter_callback($name);
|
597 |
$validation_error = '';
|
598 |
if ( is_a( $wpcf7_contact_form, 'WPCF7_ContactForm' ) )
|
599 |
$validation_error = $wpcf7_contact_form->validation_error( $name );
|
631 |
}
|
632 |
|
633 |
/**
|
634 |
+
* admin_l10n()
|
635 |
*
|
636 |
+
* Function for loading the l10n files from /languages/ dir for the administatrion panel
|
637 |
*/
|
638 |
+
public static function admin_l10n() {
|
639 |
load_plugin_textdomain( 'contact-form-7-datepicker', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
|
640 |
}
|
641 |
|
642 |
+
/**
|
643 |
+
* calendar_l10n()
|
644 |
+
*
|
645 |
+
* Localization of JS file strings
|
646 |
+
*/
|
647 |
+
public static function calendar_l10n() {
|
648 |
+
$l10n_strings = array(
|
649 |
+
'MONTHS' => array(
|
650 |
+
__('Janaury', 'contact-form-7-datepicker'),
|
651 |
+
__('February', 'contact-form-7-datepicker'),
|
652 |
+
__('March', 'contact-form-7-datepicker'),
|
653 |
+
__('April', 'contact-form-7-datepicker'),
|
654 |
+
__('May', 'contact-form-7-datepicker'),
|
655 |
+
__('June', 'contact-form-7-datepicker'),
|
656 |
+
__('July', 'contact-form-7-datepicker'),
|
657 |
+
__('August', 'contact-form-7-datepicker'),
|
658 |
+
__('September', 'contact-form-7-datepicker'),
|
659 |
+
__('October', 'contact-form-7-datepicker'),
|
660 |
+
__('November', 'contact-form-7-datepicker'),
|
661 |
+
__('December', 'contact-form-7-datepicker')
|
662 |
+
),
|
663 |
+
'DAYS_3' => array(
|
664 |
+
__('Sun', 'contact-form-7-datepicker'),
|
665 |
+
__('Mon', 'contact-form-7-datepicker'),
|
666 |
+
__('Tue', 'contact-form-7-datepicker'),
|
667 |
+
__('Wed', 'contact-form-7-datepicker'),
|
668 |
+
__('Thu', 'contact-form-7-datepicker'),
|
669 |
+
__('Fri', 'contact-form-7-datepicker'),
|
670 |
+
__('Sat', 'contact-form-7-datepicker')
|
671 |
+
),
|
672 |
+
'MONTH_FWD' => __('Move a month forward', 'contact-form-7-datepicker'),
|
673 |
+
'MONTH_BCK' => __('Move a month backward', 'contact-form-7-datepicker'),
|
674 |
+
'YEAR_FWD' => __('Move a year forward', 'contact-form-7-datepicker'),
|
675 |
+
'YEAR_BCK' => __('Move a year backward', 'contact-form-7-datepicker'),
|
676 |
+
'CLOSE' => __('Close the calendar', 'contact-form-7-datepicker'),
|
677 |
+
'ERROR_2' => __('Date object invalid!', 'contact-form-7-datepicker'),
|
678 |
+
'ERROR_1' => __('Date object invalid!', 'contact-form-7-datepicker'),
|
679 |
+
'ERROR_4' => __('Target invalid!', 'contact-form-7-datepicker'),
|
680 |
+
'ERROR_3' => __('Target invalid!', 'contact-form-7-datepicker')
|
681 |
+
);
|
682 |
+
$l10n = array('l10n_print_after' => 'g_l10n = ' . json_encode($l10n_strings) . ';');
|
683 |
+
|
684 |
+
wp_localize_script('jsDatePickJS', 'g_l10n', $l10n);
|
685 |
+
}
|
686 |
+
|
687 |
/**
|
688 |
* register_shortcodes()
|
689 |
*
|
js/jsDatePick.jquery.full.js
CHANGED
@@ -71,18 +71,23 @@
|
|
71 |
aurelcanciu@gmail.com
|
72 |
|
73 |
|
74 |
-
|
75 |
// The language array - change these values to your language to better fit your needs!
|
76 |
-
|
77 |
-
|
78 |
-
|
79 |
-
|
80 |
-
|
81 |
-
|
82 |
-
|
83 |
-
|
84 |
-
|
85 |
-
|
|
|
|
|
|
|
|
|
|
|
86 |
|
87 |
/* Changing the image path: WARNING! */
|
88 |
/*
|
@@ -137,7 +142,7 @@ JsDatePick = function(configurationObject){
|
|
137 |
|
138 |
this.oConfiguration = {};
|
139 |
this.oCurrentDay = g_currentDateObject;
|
140 |
-
this.monthsTextualRepresentation =
|
141 |
|
142 |
this.lastPostedDay = null;
|
143 |
|
@@ -240,6 +245,7 @@ JsDatePick.prototype.setConfiguration = function(aConf){
|
|
240 |
this.oConfiguration.imgPath = (aConf["imgPath"] != null) ? aConf["imgPath"] : "img/";
|
241 |
this.oConfiguration.weekStartDay = (aConf["weekStartDay"] != null) ? aConf["weekStartDay"] : 1;
|
242 |
this.oConfiguration.directionality = (aConf["directionality"] != null) ? aConf["directionality"] : "ltr";
|
|
|
243 |
|
244 |
this.selectedDayObject = {};
|
245 |
this.flag_DayMarkedBeforeRepopulation = false;
|
@@ -269,7 +275,11 @@ JsDatePick.prototype.resizeCalendar = function(){
|
|
269 |
};
|
270 |
|
271 |
JsDatePick.prototype.closeCalendar = function(){
|
272 |
-
this.
|
|
|
|
|
|
|
|
|
273 |
document.onclick=function(){};
|
274 |
};
|
275 |
|
@@ -300,7 +310,7 @@ JsDatePick.prototype.makeCalendar = function(){
|
|
300 |
|
301 |
closeButton.onmouseover = function(){
|
302 |
var gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
303 |
-
gRef.setTooltipText(
|
304 |
gRef.setC(this, "jsDatePickCloseButtonOver");
|
305 |
};
|
306 |
|
@@ -312,7 +322,7 @@ JsDatePick.prototype.makeCalendar = function(){
|
|
312 |
|
313 |
closeButton.onmousedown = function(){
|
314 |
var gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
315 |
-
gRef.setTooltipText(
|
316 |
gRef.setC(this, "jsDatePickCloseButtonDown");
|
317 |
};
|
318 |
|
@@ -399,9 +409,9 @@ JsDatePick.prototype.makeCalendar = function(){
|
|
399 |
inputElement.onclick = function(){ JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar(); };
|
400 |
inputElement.onfocus = function(){ JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar(); };
|
401 |
jQuery(inputElement).mouseout(function(){
|
402 |
-
|
403 |
JsDatePick.getCalInstanceById(inputElement.getAttribute("globalNumber")).closeCalendar();
|
404 |
-
};
|
405 |
});
|
406 |
|
407 |
|
@@ -419,7 +429,7 @@ JsDatePick.prototype.makeCalendar = function(){
|
|
419 |
|
420 |
this.setOnSelectedDelegate(aFunc);
|
421 |
} else {
|
422 |
-
alert(
|
423 |
}
|
424 |
}
|
425 |
} else {
|
@@ -432,7 +442,7 @@ JsDatePick.prototype.makeCalendar = function(){
|
|
432 |
this.resizeCalendar();
|
433 |
this.executePopulationDelegateIfExists();
|
434 |
} else {
|
435 |
-
alert(
|
436 |
}
|
437 |
}
|
438 |
};
|
@@ -477,13 +487,13 @@ JsDatePick.prototype.determineFieldDate = function(){
|
|
477 |
|
478 |
if (tflag){
|
479 |
for (i=0; i<12; i++){
|
480 |
-
if (
|
481 |
mI = i+1; break;
|
482 |
}
|
483 |
}
|
484 |
} else if (fflag){
|
485 |
for (i=0; i<12; i++){
|
486 |
-
if (
|
487 |
mI = i+1; break;
|
488 |
}
|
489 |
}
|
@@ -511,6 +521,10 @@ JsDatePick.prototype.showCalendar = function(){
|
|
511 |
this.determineFieldDate();
|
512 |
this.JsDatePickBox.style.display = "block";
|
513 |
this.resizeCalendar();
|
|
|
|
|
|
|
|
|
514 |
this.executePopulationDelegateIfExists();
|
515 |
jQuery(this.JsDatePickBox).mouseover(function(){ document.onclick=function(){}; });
|
516 |
jQuery(this.JsDatePickBox).attr("globalCalNumber", this.globalNumber);
|
@@ -585,7 +599,7 @@ JsDatePick.prototype.getDOMCalendarStripped = function(){
|
|
585 |
};
|
586 |
|
587 |
JsDatePick.prototype.makeDOMWeekDays = function(aWeekDaysRow){
|
588 |
-
var i=0,d = document,weekDaysArray =
|
589 |
|
590 |
for (i=this.oConfiguration.weekStartDay; i<7; i++){
|
591 |
weekDay = d.createElement("div");
|
@@ -869,9 +883,9 @@ JsDatePick.prototype.getSelectedDayFormatted = function(){
|
|
869 |
dateStr = dateStr.replace("%j", this.selectedDayObject.day);
|
870 |
|
871 |
dateStr = dateStr.replace("%m", this.selectedDayObject.month.toString().strpad());
|
872 |
-
dateStr = dateStr.replace("%M",
|
873 |
dateStr = dateStr.replace("%n", this.selectedDayObject.month);
|
874 |
-
dateStr = dateStr.replace("%F",
|
875 |
|
876 |
dateStr = dateStr.replace("%Y", this.selectedDayObject.year);
|
877 |
dateStr = dateStr.replace("%y", this.selectedDayObject.year.toString().substr(2,2));
|
@@ -1044,7 +1058,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1044 |
parentElement = parentElement.parentNode;
|
1045 |
}
|
1046 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1047 |
-
gRef.setTooltipText(
|
1048 |
gRef.setC(this, "monthForwardButtonOver");
|
1049 |
};
|
1050 |
|
@@ -1072,7 +1086,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1072 |
parentElement = parentElement.parentNode;
|
1073 |
}
|
1074 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1075 |
-
gRef.setTooltipText(
|
1076 |
gRef.setC(this, "monthForwardButtonDown");
|
1077 |
};
|
1078 |
|
@@ -1086,7 +1100,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1086 |
parentElement = parentElement.parentNode;
|
1087 |
}
|
1088 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1089 |
-
gRef.setTooltipText(
|
1090 |
gRef.setC(this, "monthForwardButton");
|
1091 |
gRef.moveForwardOneMonth();
|
1092 |
};
|
@@ -1103,7 +1117,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1103 |
parentElement = parentElement.parentNode;
|
1104 |
}
|
1105 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1106 |
-
gRef.setTooltipText(
|
1107 |
gRef.setC(this, "monthBackwardButtonOver");
|
1108 |
};
|
1109 |
|
@@ -1131,7 +1145,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1131 |
parentElement = parentElement.parentNode;
|
1132 |
}
|
1133 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1134 |
-
gRef.setTooltipText(
|
1135 |
gRef.setC(this, "monthBackwardButtonDown");
|
1136 |
};
|
1137 |
|
@@ -1145,7 +1159,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1145 |
parentElement = parentElement.parentNode;
|
1146 |
}
|
1147 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1148 |
-
gRef.setTooltipText(
|
1149 |
gRef.setC(this, "monthBackwardButton");
|
1150 |
gRef.moveBackOneMonth();
|
1151 |
};
|
@@ -1162,7 +1176,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1162 |
parentElement = parentElement.parentNode;
|
1163 |
}
|
1164 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1165 |
-
gRef.setTooltipText(
|
1166 |
gRef.setC(this, "yearForwardButtonOver");
|
1167 |
};
|
1168 |
|
@@ -1190,7 +1204,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1190 |
parentElement = parentElement.parentNode;
|
1191 |
}
|
1192 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1193 |
-
gRef.setTooltipText(
|
1194 |
gRef.setC(this, "yearForwardButtonDown");
|
1195 |
};
|
1196 |
|
@@ -1204,7 +1218,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1204 |
parentElement = parentElement.parentNode;
|
1205 |
}
|
1206 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1207 |
-
gRef.setTooltipText(
|
1208 |
gRef.setC(this, "yearForwardButton");
|
1209 |
gRef.moveForwardOneYear();
|
1210 |
};
|
@@ -1221,7 +1235,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1221 |
parentElement = parentElement.parentNode;
|
1222 |
}
|
1223 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1224 |
-
gRef.setTooltipText(
|
1225 |
gRef.setC(this, "yearBackwardButtonOver");
|
1226 |
};
|
1227 |
|
@@ -1249,7 +1263,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1249 |
parentElement = parentElement.parentNode;
|
1250 |
}
|
1251 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1252 |
-
gRef.setTooltipText(
|
1253 |
gRef.setC(this, "yearBackwardButtonDown");
|
1254 |
};
|
1255 |
|
@@ -1263,7 +1277,7 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
1263 |
parentElement = parentElement.parentNode;
|
1264 |
}
|
1265 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1266 |
-
gRef.setTooltipText(
|
1267 |
gRef.setC(this, "yearBackwardButton");
|
1268 |
gRef.moveBackOneYear();
|
1269 |
};
|
71 |
aurelcanciu@gmail.com
|
72 |
|
73 |
|
74 |
+
|
75 |
// The language array - change these values to your language to better fit your needs!
|
76 |
+
*/
|
77 |
+
|
78 |
+
|
79 |
+
if (typeof(g_l10n) === "undefined") {
|
80 |
+
g_l10n = [];
|
81 |
+
g_l10n["MONTHS"] = ["Janaury","February","March","April","May","June","July","August","September","October","November","December"];
|
82 |
+
g_l10n["DAYS_3"] = ["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];
|
83 |
+
g_l10n["MONTH_FWD"] = "Move a month forward";
|
84 |
+
g_l10n["MONTH_BCK"] = "Move a month backward";
|
85 |
+
g_l10n["YEAR_FWD"] = "Move a year forward";
|
86 |
+
g_l10n["YEAR_BCK"] = "Move a year backward";
|
87 |
+
g_l10n["CLOSE"] = "Close the calendar";
|
88 |
+
g_l10n["ERROR_2"] = g_l10n["ERROR_1"] = "Date object invalid!";
|
89 |
+
g_l10n["ERROR_4"] = g_l10n["ERROR_3"] = "Target invalid!";
|
90 |
+
}
|
91 |
|
92 |
/* Changing the image path: WARNING! */
|
93 |
/*
|
142 |
|
143 |
this.oConfiguration = {};
|
144 |
this.oCurrentDay = g_currentDateObject;
|
145 |
+
this.monthsTextualRepresentation = g_l10n["MONTHS"];
|
146 |
|
147 |
this.lastPostedDay = null;
|
148 |
|
245 |
this.oConfiguration.imgPath = (aConf["imgPath"] != null) ? aConf["imgPath"] : "img/";
|
246 |
this.oConfiguration.weekStartDay = (aConf["weekStartDay"] != null) ? aConf["weekStartDay"] : 1;
|
247 |
this.oConfiguration.directionality = (aConf["directionality"] != null) ? aConf["directionality"] : "ltr";
|
248 |
+
this.oConfiguration.animate = (aConf["animate"] != null) ? aConf["animate"] : true;
|
249 |
|
250 |
this.selectedDayObject = {};
|
251 |
this.flag_DayMarkedBeforeRepopulation = false;
|
275 |
};
|
276 |
|
277 |
JsDatePick.prototype.closeCalendar = function(){
|
278 |
+
if ( this.oConfiguration.animate === true ) {
|
279 |
+
jQuery(this.JsDatePickBox).hide(500);
|
280 |
+
} else {
|
281 |
+
this.JsDatePickBox.style.display = "none";
|
282 |
+
}
|
283 |
document.onclick=function(){};
|
284 |
};
|
285 |
|
310 |
|
311 |
closeButton.onmouseover = function(){
|
312 |
var gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
313 |
+
gRef.setTooltipText(g_l10n["CLOSE"]);
|
314 |
gRef.setC(this, "jsDatePickCloseButtonOver");
|
315 |
};
|
316 |
|
322 |
|
323 |
closeButton.onmousedown = function(){
|
324 |
var gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
325 |
+
gRef.setTooltipText(g_l10n["CLOSE"]);
|
326 |
gRef.setC(this, "jsDatePickCloseButtonDown");
|
327 |
};
|
328 |
|
409 |
inputElement.onclick = function(){ JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar(); };
|
410 |
inputElement.onfocus = function(){ JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar(); };
|
411 |
jQuery(inputElement).mouseout(function(){
|
412 |
+
jQuery('*').live("focus", function() {
|
413 |
JsDatePick.getCalInstanceById(inputElement.getAttribute("globalNumber")).closeCalendar();
|
414 |
+
});
|
415 |
});
|
416 |
|
417 |
|
429 |
|
430 |
this.setOnSelectedDelegate(aFunc);
|
431 |
} else {
|
432 |
+
alert(g_l10n["ERROR_3"]);
|
433 |
}
|
434 |
}
|
435 |
} else {
|
442 |
this.resizeCalendar();
|
443 |
this.executePopulationDelegateIfExists();
|
444 |
} else {
|
445 |
+
alert(g_l10n["ERROR_4"]);
|
446 |
}
|
447 |
}
|
448 |
};
|
487 |
|
488 |
if (tflag){
|
489 |
for (i=0; i<12; i++){
|
490 |
+
if (g_l10n["MONTHS"][i].substr(0,3).toUpperCase() == array[mI].toUpperCase()){
|
491 |
mI = i+1; break;
|
492 |
}
|
493 |
}
|
494 |
} else if (fflag){
|
495 |
for (i=0; i<12; i++){
|
496 |
+
if (g_l10n["MONTHS"][i].toLowerCase() == array[mI].toLowerCase()){
|
497 |
mI = i+1; break;
|
498 |
}
|
499 |
}
|
521 |
this.determineFieldDate();
|
522 |
this.JsDatePickBox.style.display = "block";
|
523 |
this.resizeCalendar();
|
524 |
+
if ( this.oConfiguration.animate === true ) {
|
525 |
+
this.JsDatePickBox.style.display = "none";
|
526 |
+
jQuery(this.JsDatePickBox).show(500);
|
527 |
+
}
|
528 |
this.executePopulationDelegateIfExists();
|
529 |
jQuery(this.JsDatePickBox).mouseover(function(){ document.onclick=function(){}; });
|
530 |
jQuery(this.JsDatePickBox).attr("globalCalNumber", this.globalNumber);
|
599 |
};
|
600 |
|
601 |
JsDatePick.prototype.makeDOMWeekDays = function(aWeekDaysRow){
|
602 |
+
var i=0,d = document,weekDaysArray = g_l10n["DAYS_3"],textNode,weekDay;
|
603 |
|
604 |
for (i=this.oConfiguration.weekStartDay; i<7; i++){
|
605 |
weekDay = d.createElement("div");
|
883 |
dateStr = dateStr.replace("%j", this.selectedDayObject.day);
|
884 |
|
885 |
dateStr = dateStr.replace("%m", this.selectedDayObject.month.toString().strpad());
|
886 |
+
dateStr = dateStr.replace("%M", g_l10n["MONTHS"][this.selectedDayObject.month-1].substr(0,3).toUpperCase());
|
887 |
dateStr = dateStr.replace("%n", this.selectedDayObject.month);
|
888 |
+
dateStr = dateStr.replace("%F", g_l10n["MONTHS"][this.selectedDayObject.month-1]);
|
889 |
|
890 |
dateStr = dateStr.replace("%Y", this.selectedDayObject.year);
|
891 |
dateStr = dateStr.replace("%y", this.selectedDayObject.year.toString().substr(2,2));
|
1058 |
parentElement = parentElement.parentNode;
|
1059 |
}
|
1060 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1061 |
+
gRef.setTooltipText(g_l10n["MONTH_FWD"]);
|
1062 |
gRef.setC(this, "monthForwardButtonOver");
|
1063 |
};
|
1064 |
|
1086 |
parentElement = parentElement.parentNode;
|
1087 |
}
|
1088 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1089 |
+
gRef.setTooltipText(g_l10n["MONTH_FWD"]);
|
1090 |
gRef.setC(this, "monthForwardButtonDown");
|
1091 |
};
|
1092 |
|
1100 |
parentElement = parentElement.parentNode;
|
1101 |
}
|
1102 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1103 |
+
gRef.setTooltipText(g_l10n["MONTH_FWD"]);
|
1104 |
gRef.setC(this, "monthForwardButton");
|
1105 |
gRef.moveForwardOneMonth();
|
1106 |
};
|
1117 |
parentElement = parentElement.parentNode;
|
1118 |
}
|
1119 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1120 |
+
gRef.setTooltipText(g_l10n["MONTH_BCK"]);
|
1121 |
gRef.setC(this, "monthBackwardButtonOver");
|
1122 |
};
|
1123 |
|
1145 |
parentElement = parentElement.parentNode;
|
1146 |
}
|
1147 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1148 |
+
gRef.setTooltipText(g_l10n["MONTH_BCK"]);
|
1149 |
gRef.setC(this, "monthBackwardButtonDown");
|
1150 |
};
|
1151 |
|
1159 |
parentElement = parentElement.parentNode;
|
1160 |
}
|
1161 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1162 |
+
gRef.setTooltipText(g_l10n["MONTH_BCK"]);
|
1163 |
gRef.setC(this, "monthBackwardButton");
|
1164 |
gRef.moveBackOneMonth();
|
1165 |
};
|
1176 |
parentElement = parentElement.parentNode;
|
1177 |
}
|
1178 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1179 |
+
gRef.setTooltipText(g_l10n["YEAR_FWD"]);
|
1180 |
gRef.setC(this, "yearForwardButtonOver");
|
1181 |
};
|
1182 |
|
1204 |
parentElement = parentElement.parentNode;
|
1205 |
}
|
1206 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1207 |
+
gRef.setTooltipText(g_l10n["YEAR_FWD"]);
|
1208 |
gRef.setC(this, "yearForwardButtonDown");
|
1209 |
};
|
1210 |
|
1218 |
parentElement = parentElement.parentNode;
|
1219 |
}
|
1220 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1221 |
+
gRef.setTooltipText(g_l10n["YEAR_FWD"]);
|
1222 |
gRef.setC(this, "yearForwardButton");
|
1223 |
gRef.moveForwardOneYear();
|
1224 |
};
|
1235 |
parentElement = parentElement.parentNode;
|
1236 |
}
|
1237 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1238 |
+
gRef.setTooltipText(g_l10n["YEAR_BCK"]);
|
1239 |
gRef.setC(this, "yearBackwardButtonOver");
|
1240 |
};
|
1241 |
|
1263 |
parentElement = parentElement.parentNode;
|
1264 |
}
|
1265 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1266 |
+
gRef.setTooltipText(g_l10n["YEAR_BCK"]);
|
1267 |
gRef.setC(this, "yearBackwardButtonDown");
|
1268 |
};
|
1269 |
|
1277 |
parentElement = parentElement.parentNode;
|
1278 |
}
|
1279 |
gRef = JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));
|
1280 |
+
gRef.setTooltipText(g_l10n["YEAR_BCK"]);
|
1281 |
gRef.setC(this, "yearBackwardButton");
|
1282 |
gRef.moveBackOneYear();
|
1283 |
};
|
js/jsDatePick.jquery.min.js
CHANGED
@@ -1 +1 @@
|
|
1 |
-
g_l=[];g_l.MONTHS=["Janaury","February","March","April","May","June","July","August","September","October","November","December"];g_l.DAYS_3=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];g_l.MONTH_FWD="Move a month forward";g_l.MONTH_BCK="Move a month backward";g_l.YEAR_FWD="Move a year forward";g_l.YEAR_BCK="Move a year backward";g_l.CLOSE="Close the calendar";g_l.ERROR_2=g_l.ERROR_1="Date object invalid!";g_l.ERROR_4=g_l.ERROR_3="Target invalid!";g_arrayOfUsedJsDatePickCalsGlobalNumbers=[];g_arrayOfUsedJsDatePickCals=[];g_currentDateObject={};g_currentDateObject.dateObject=new Date();g_currentDateObject.day=g_currentDateObject.dateObject.getDate();g_currentDateObject.month=g_currentDateObject.dateObject.getMonth()+1;g_currentDateObject.year=g_currentDateObject.dateObject.getFullYear();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.ltrim=function(){return this.replace(/^\s+/,"")};String.prototype.rtrim=function(){return this.replace(/\s+$/,"")};String.prototype.strpad=function(){return(!isNaN(this)&&this.toString().length==1)?"0"+this:this};JsDatePick=function(a){if(document.all){this.isie=true;this.iever=JsDatePick.getInternetExplorerVersion()}else{this.isie=false}this.oConfiguration={};this.oCurrentDay=g_currentDateObject;this.monthsTextualRepresentation=g_l.MONTHS;this.lastPostedDay=null;this.initialZIndex=2;this.globalNumber=this.getUnUsedGlobalNumber();g_arrayOfUsedJsDatePickCals[this.globalNumber]=this;this.setConfiguration(a);this.makeCalendar()};JsDatePick.getCalInstanceById=function(a){return g_arrayOfUsedJsDatePickCals[parseInt(a,10)]};JsDatePick.getInternetExplorerVersion=function(){var c=-1,a,b;if(navigator.appName=="Microsoft Internet Explorer"){a=navigator.userAgent;b=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");if(b.exec(a)!=null){c=parseFloat(RegExp.$1)}return c}};JsDatePick.prototype.setC=function(a,b){if(this.isie&&this.iever>7){jQuery(a).attr("class",b)}else{a.className=b}};JsDatePick.prototype.getUnUsedGlobalNumber=function(){var a=Math.floor(Math.random()*1000);while(!this.isUnique_GlobalNumber(a)){a=Math.floor(Math.random()*1000)}return a};JsDatePick.prototype.isUnique_GlobalNumber=function(b){var a;for(a=0;a<g_arrayOfUsedJsDatePickCalsGlobalNumbers.length;a++){if(g_arrayOfUsedJsDatePickCalsGlobalNumbers[a]==b){return false}}return true};JsDatePick.prototype.addOnSelectedDelegate=function(a){if(typeof(a)=="function"){this.addonSelectedDelegate=a}return false};JsDatePick.prototype.setOnSelectedDelegate=function(a){if(typeof(a)=="function"){this.onSelectedDelegate=a;return true}return false};JsDatePick.prototype.executeOnSelectedDelegateIfExists=function(){if(typeof(this.onSelectedDelegate)=="function"){this.onSelectedDelegate()}if(typeof(this.addonSelectedDelegate)=="function"){this.addonSelectedDelegate()}};JsDatePick.prototype.setRepopulationDelegate=function(a){if(typeof(a)=="function"){this.repopulationDelegate=a;return true}return false};JsDatePick.prototype.setConfiguration=function(a){this.oConfiguration.isStripped=(a.isStripped!=null)?a.isStripped:false;this.oConfiguration.useMode=(a.useMode!=null)?a.useMode:1;this.oConfiguration.selectedDate=(a.selectedDate!=null)?a.selectedDate:null;this.oConfiguration.target=(a.target!=null)?a.target:null;this.oConfiguration.yearsRange=(a.yearsRange!=null)?a.yearsRange:[1971,2100];this.oConfiguration.yearButtons=(a.yearButtons!=null)?a.yearButtons:true;this.oConfiguration.monthButtons=(a.monthButtons!=null)?a.monthButtons:true;this.oConfiguration.limitToToday=(a.limitToToday!=null)?a.limitToToday:0;this.oConfiguration.field=(a.field!=null)?a.field:false;this.oConfiguration.cellColorScheme=(a.cellColorScheme!=null)?a.cellColorScheme:"ocean_blue";this.oConfiguration.dateFormat=(a.dateFormat!=null)?a.dateFormat:"%m-%d-%Y";this.oConfiguration.imgPath=(a.imgPath!=null)?a.imgPath:"img/";this.oConfiguration.weekStartDay=(a.weekStartDay!=null)?a.weekStartDay:1;this.oConfiguration.directionality=(a.directionality!=null)?a.directionality:"ltr";this.selectedDayObject={};this.flag_DayMarkedBeforeRepopulation=false;this.flag_aDayWasSelected=false;this.lastMarkedDayObject=null;if(!this.oConfiguration.selectedDate){this.currentYear=this.oCurrentDay.year;this.currentMonth=this.oCurrentDay.month;this.currentDay=this.oCurrentDay.day}};JsDatePick.prototype.resizeCalendar=function(){this.leftWallStrechedElement.style.height="0px";this.rightWallStrechedElement.style.height="0px";var a=this.JsDatePickBox.offsetHeight,b=a-16;if(b<0){return}this.leftWallStrechedElement.style.height=b+"px";this.rightWallStrechedElement.style.height=b+"px";return true};JsDatePick.prototype.closeCalendar=function(){this.JsDatePickBox.style.display="none";document.onclick=function(){}};JsDatePick.prototype.populateFieldWithSelectedDate=function(){jQuery("#"+this.oConfiguration.target).val(this.getSelectedDayFormatted());if(this.lastPickedDateObject){delete (this.lastPickedDateObject)}this.lastPickedDateObject={};this.lastPickedDateObject.day=this.selectedDayObject.day;this.lastPickedDateObject.month=this.selectedDayObject.month;this.lastPickedDateObject.year=this.selectedDayObject.year;this.closeCalendar()};JsDatePick.prototype.makeCalendar=function(){var j=document,e,a,b,k,g,h,f,o,i,m,n,l,c;e=j.createElement("div");a=j.createElement("div");b=j.createElement("div");this.setC(e,"JsDatePickBox");this.setC(a,"clearfix");this.setC(b,"jsDatePickCloseButton");b.setAttribute("globalNumber",this.globalNumber);b.onmouseover=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.CLOSE);d.setC(this,"jsDatePickCloseButtonOver")};b.onmouseout=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"jsDatePickCloseButton")};b.onmousedown=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.CLOSE);d.setC(this,"jsDatePickCloseButtonDown")};b.onmouseup=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"jsDatePickCloseButton");d.closeCalendar()};this.JsDatePickBox=e;k=j.createElement("div");g=j.createElement("div");h=j.createElement("div");f=j.createElement("div");this.setC(h,"topWall");this.setC(f,"bottomWall");if(this.isie&&this.iever==6){f.style.bottom="-2px"}o=j.createElement("div");i=j.createElement("div");m=j.createElement("div");this.setC(o,"leftTopCorner");this.setC(i,"leftBottomCorner");this.setC(m,"leftWall");this.leftWallStrechedElement=m;this.leftWall=k;this.rightWall=g;k.appendChild(o);k.appendChild(m);k.appendChild(i);o=j.createElement("div");i=j.createElement("div");m=j.createElement("div");this.setC(o,"rightTopCorner");this.setC(i,"rightBottomCorner");this.setC(m,"rightWall");this.rightWallStrechedElement=m;g.appendChild(o);g.appendChild(m);g.appendChild(i);if(this.oConfiguration.isStripped){this.setC(k,"hiddenBoxLeftWall");this.setC(g,"hiddenBoxRightWall")}else{this.setC(k,"boxLeftWall");this.setC(g,"boxRightWall")}e.appendChild(k);e.appendChild(this.getDOMCalendarStripped());e.appendChild(g);e.appendChild(a);if(!this.oConfiguration.isStripped){e.appendChild(b);e.appendChild(h);e.appendChild(f)}if(this.oConfiguration.useMode==2){if(this.oConfiguration.target!=false){if(typeof(jQuery("#"+this.oConfiguration.target))!=null){n=document.getElementById(this.oConfiguration.target);l=document.createElement("span");n.parentNode.replaceChild(l,n);l.appendChild(n);n.setAttribute("globalNumber",this.globalNumber);n.onclick=function(){JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar()};n.onfocus=function(){JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar()};jQuery(n).mouseout(function(){document.onclick=function(){JsDatePick.getCalInstanceById(n.getAttribute("globalNumber")).closeCalendar()}});l.style.position="relative";this.initialZIndex++;e.style.zIndex=this.initialZIndex.toString();e.style.position="absolute";e.style.top="18px";e.style.left="0px";e.style.display="none";l.appendChild(e);c=new Function("g_arrayOfUsedJsDatePickCals["+this.globalNumber+"].populateFieldWithSelectedDate();");this.setOnSelectedDelegate(c)}else{alert(g_l.ERROR_3)}}}else{if(this.oConfiguration.target!=null){jQuery("#"+this.oConfiguration.target).append(e);jQuery("#"+this.oConfiguration.target).css("position","relative");e.style.position="absolute";e.style.top="0px";e.style.left="0px";this.resizeCalendar();this.executePopulationDelegateIfExists()}else{alert(g_l.ERROR_4)}}};JsDatePick.prototype.determineFieldDate=function(){var b,c,e,g,l,d,a,h,k,f=false,j=false;if(this.lastPickedDateObject){this.setSelectedDay({year:parseInt(this.lastPickedDateObject.year),month:parseInt(this.lastPickedDateObject.month,10),day:parseInt(this.lastPickedDateObject.day,10)})}else{b=jQuery("#"+this.oConfiguration.target);if(jQuery.trim(b.val()).length==0){this.unsetSelection();if(typeof(this.oConfiguration.selectedDate)=="object"&&this.oConfiguration.selectedDate){this.setSelectedDay({year:parseInt(this.oConfiguration.selectedDate.year),month:parseInt(this.oConfiguration.selectedDate.month,10),day:parseInt(this.oConfiguration.selectedDate.day,10)})}}else{if(jQuery.trim(b.val()).length>5){c=this.senseDivider(this.oConfiguration.dateFormat);e=this.oConfiguration.dateFormat;g=jQuery.trim(b.val()).split(c);l=e.trim().split(c);d=a=h=k=0;for(d=0;d<l.length;d++){switch(l[d]){case"%d":case"%j":a=d;break;case"%m":case"%n":k=d;break;case"%M":k=d;f=true;break;case"%F":k=d;j=true;break;case"%Y":case"%y":h=d}}if(f){for(d=0;d<12;d++){if(g_l.MONTHS[d].substr(0,3).toUpperCase()==g[k].toUpperCase()){k=d+1;break}}}else{if(j){for(d=0;d<12;d++){if(g_l.MONTHS[d].toLowerCase()==g[k].toLowerCase()){k=d+1;break}}}else{k=parseInt(g[k],10)}}this.setSelectedDay({year:parseInt(g[h],10),month:k,day:parseInt(g[a],10)})}else{this.unsetSelection();return}}}};JsDatePick.prototype.senseDivider=function(a){return a.replace("%d","").replace("%j","").replace("%m","").replace("%M","").replace("%n","").replace("%F","").replace("%Y","").replace("%y","").substr(0,1)};JsDatePick.prototype.showCalendar=function(){if(this.JsDatePickBox.style.display=="none"){this.determineFieldDate();this.JsDatePickBox.style.display="block";this.resizeCalendar();this.executePopulationDelegateIfExists();jQuery(this.JsDatePickBox).mouseover(function(){document.onclick=function(){}});jQuery(this.JsDatePickBox).attr("globalCalNumber",this.globalNumber);jQuery(this.JsDatePickBox).mouseout(function(){document.onclick=new Function("g_arrayOfUsedJsDatePickCals["+this.getAttribute("globalCalNumber")+"].closeCalendar();")})}else{return}};JsDatePick.prototype.isAvailable=function(c,a,b){if(c>this.oCurrentDay.year){return false}if(a>this.oCurrentDay.month&&c==this.oCurrentDay.year){return false}if(b>this.oCurrentDay.day&&a==this.oCurrentDay.month&&c==this.oCurrentDay.year){return false}return true};JsDatePick.prototype.getDOMCalendarStripped=function(){var h=document,e,i,b,a,f,c,g;e=h.createElement("div");if(this.oConfiguration.isStripped){this.setC(e,"boxMainStripped")}else{this.setC(e,"boxMain")}this.boxMain=e;i=h.createElement("div");b=h.createElement("div");a=h.createElement("div");f=h.createElement("div");c=h.createElement("div");g=h.createElement("div");this.setC(b,"clearfix");this.setC(g,"clearfix");this.setC(i,"boxMainInner");this.setC(a,"boxMainCellsContainer");this.setC(f,"tooltip");this.setC(c,"weekDaysRow");this.tooltip=f;e.appendChild(i);this.controlsBar=this.getDOMControlBar();this.makeDOMWeekDays(c);i.appendChild(this.controlsBar);i.appendChild(b);i.appendChild(f);i.appendChild(c);i.appendChild(a);i.appendChild(g);this.boxMainCellsContainer=a;this.populateMainBox(a);return e};JsDatePick.prototype.makeDOMWeekDays=function(a){var c=0,g=document,f=g_l.DAYS_3,e,b;for(c=this.oConfiguration.weekStartDay;c<7;c++){b=g.createElement("div");e=g.createTextNode(f[c]);this.setC(b,"weekDay");b.appendChild(e);a.appendChild(b)}if(this.oConfiguration.weekStartDay>0){for(c=0;c<this.oConfiguration.weekStartDay;c++){b=g.createElement("div");e=g.createTextNode(f[c]);this.setC(b,"weekDay");b.appendChild(e);a.appendChild(b)}}b.style.marginRight="0px"};JsDatePick.prototype.repopulateMainBox=function(){while(this.boxMainCellsContainer.firstChild){this.boxMainCellsContainer.removeChild(this.boxMainCellsContainer.firstChild)}this.populateMainBox(this.boxMainCellsContainer);this.resizeCalendar();this.executePopulationDelegateIfExists()};JsDatePick.prototype.executePopulationDelegateIfExists=function(){if(typeof(this.repopulationDelegate)=="function"){this.repopulationDelegate()}};JsDatePick.prototype.populateMainBox=function(h){var f=document,g,l,c=1,k=false,n=this.currentMonth-1,j,a,m,e,b;j=new Date(this.currentYear,n,1,1,0,0);a=j.getTime();this.flag_DayMarkedBeforeRepopulation=false;this.setControlBarText(this.monthsTextualRepresentation[n]+", "+this.currentYear);m=parseInt(j.getDay())-this.oConfiguration.weekStartDay;if(m<0){m=m+7}e=0;for(e=0;e<m;e++){g=f.createElement("div");this.setC(g,"skipDay");h.appendChild(g);if(c==7){c=1}else{c++}}while(j.getMonth()==n){k=false;g=f.createElement("div");if(this.lastPostedDay){if(this.lastPostedDay==j.getDate()){l=parseInt(this.lastPostedDay,10)+1}else{l=f.createTextNode(j.getDate())}}else{l=f.createTextNode(j.getDate())}g.appendChild(l);h.appendChild(g);g.setAttribute("globalNumber",this.globalNumber);if(c==7){if(this.oConfiguration.directionality=="ltr"){g.style.marginRight="0px"}else{g.style.marginLeft="0px"}}if(this.isToday(j)){g.setAttribute("isToday",1)}if(this.oConfiguration.limitToToday>=1){if(this.isAvailable(this.currentYear,this.currentMonth,parseInt(j.getDate()+1))){k=true;g.setAttribute("isJsDatePickDisabled",1)}}else{if(this.oConfiguration.limitToToday<=-1){if(!this.isAvailable(this.currentYear,this.currentMonth,parseInt(j.getDate()))){k=true;g.setAttribute("isJsDatePickDisabled",1)}}}g.onmouseover=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayOverToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayOver.gif) left top no-repeat"}else{d.setC(this,"dayOver");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayOver.gif) left top no-repeat"}};g.onmouseout=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayNormalToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}else{d.setC(this,"dayNormal");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}};g.onmousedown=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayDownToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayDown.gif) left top no-repeat"}else{d.setC(this,"dayDown");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayDown.gif) left top no-repeat"}};g.onmouseup=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayNormalToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}else{d.setC(this,"dayNormal");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}d.setDaySelection(this);d.executeOnSelectedDelegateIfExists()};if(this.isSelectedDay(j.getDate())){g.setAttribute("isSelected",1);this.flag_DayMarkedBeforeRepopulation=true;this.lastMarkedDayObject=g;if(parseInt(g.getAttribute("isToday"))==1){this.setC(g,"dayDownToday");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayDown.gif) left top no-repeat"}else{this.setC(g,"dayDown");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayDown.gif) left top no-repeat"}}else{b=this.getCurrentColorScheme();if(parseInt(g.getAttribute("isToday"))==1){if(k){this.setC(g,"dayDisabled");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}else{this.setC(g,"dayNormalToday");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}}else{if(k){this.setC(g,"dayDisabled");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}else{this.setC(g,"dayNormal");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}}}if(c==7){c=1}else{c++}a+=86400000;j.setTime(a)}this.lastPostedDay=null;return h};JsDatePick.prototype.unsetSelection=function(){this.flag_aDayWasSelected=false;this.selectedDayObject={};this.repopulateMainBox()};JsDatePick.prototype.setSelectedDay=function(a){this.flag_aDayWasSelected=true;this.selectedDayObject.day=parseInt(a.day,10);this.selectedDayObject.month=parseInt(a.month,10);this.selectedDayObject.year=parseInt(a.year);this.currentMonth=a.month;this.currentYear=a.year;this.repopulateMainBox()};JsDatePick.prototype.isSelectedDay=function(a){if(this.flag_aDayWasSelected){if(parseInt(a)==this.selectedDayObject.day&&this.currentMonth==this.selectedDayObject.month&&this.currentYear==this.selectedDayObject.year){return true}else{return false}}return false};JsDatePick.prototype.getSelectedDay=function(){if(this.flag_aDayWasSelected){return this.selectedDayObject}else{return false}};JsDatePick.prototype.getSelectedDayFormatted=function(){if(this.flag_aDayWasSelected){var a=this.oConfiguration.dateFormat;a=a.replace("%d",this.selectedDayObject.day.toString().strpad());a=a.replace("%j",this.selectedDayObject.day);a=a.replace("%m",this.selectedDayObject.month.toString().strpad());a=a.replace("%M",g_l.MONTHS[this.selectedDayObject.month-1].substr(0,3).toUpperCase());a=a.replace("%n",this.selectedDayObject.month);a=a.replace("%F",g_l.MONTHS[this.selectedDayObject.month-1]);a=a.replace("%Y",this.selectedDayObject.year);a=a.replace("%y",this.selectedDayObject.year.toString().substr(2,2));return a}else{return false}};JsDatePick.prototype.setDaySelection=function(a){var b=this.getCurrentColorScheme();if(this.flag_DayMarkedBeforeRepopulation){jQuery(this.lastMarkedDayObject).attr("isSelected",0);if(parseInt(this.lastMarkedDayObject.getAttribute("isToday"))==1){this.setC(this.lastMarkedDayObject,"dayNormalToday");this.lastMarkedDayObject.style.background="url("+this.oConfiguration.imgPath+b+"_dayNormal.gif) left top no-repeat"}else{this.setC(this.lastMarkedDayObject,"dayNormal");this.lastMarkedDayObject.style.background="url("+this.oConfiguration.imgPath+b+"_dayNormal.gif) left top no-repeat"}}this.flag_aDayWasSelected=true;this.selectedDayObject.year=this.currentYear;this.selectedDayObject.month=this.currentMonth;this.selectedDayObject.day=parseInt(a.innerHTML);this.flag_DayMarkedBeforeRepopulation=true;this.lastMarkedDayObject=a;jQuery(a).attr("isSelected",1);if(parseInt(a.getAttribute("isToday"))==1){this.setC(a,"dayDownToday");a.style.background="url("+this.oConfiguration.imgPath+b+"_dayDown.gif) left top no-repeat"}else{this.setC(a,"dayDown");a.style.background="url("+this.oConfiguration.imgPath+b+"_dayDown.gif) left top no-repeat"}};JsDatePick.prototype.isToday=function(a){var b=this.oCurrentDay.month-1;if(a.getDate()==this.oCurrentDay.day&&a.getMonth()==b&&a.getFullYear()==this.oCurrentDay.year){return true}return false};JsDatePick.prototype.setControlBarText=function(a){var b=document.createTextNode(a);jQuery(this.controlsBarTextCell).empty();this.controlsBarTextCell.appendChild(b)};JsDatePick.prototype.setTooltipText=function(a){jQuery(this.tooltip).empty();var b=document.createTextNode(a);this.tooltip.appendChild(b)};JsDatePick.prototype.moveForwardOneYear=function(){var a=this.currentYear+1;if(a<=parseInt(this.oConfiguration.yearsRange[1])){this.currentYear++;this.repopulateMainBox();return true}else{return false}};JsDatePick.prototype.moveBackOneYear=function(){var a=this.currentYear-1;if(a>=parseInt(this.oConfiguration.yearsRange[0])){this.currentYear--;this.repopulateMainBox();return true}else{return false}};JsDatePick.prototype.moveForwardOneMonth=function(){if(this.currentMonth<12){this.currentMonth++}else{if(this.moveForwardOneYear()){this.currentMonth=1}else{this.currentMonth=12}}this.repopulateMainBox()};JsDatePick.prototype.moveBackOneMonth=function(){if(this.currentMonth>1){this.currentMonth--}else{if(this.moveBackOneYear()){this.currentMonth=12}else{this.currentMonth=1}}this.repopulateMainBox()};JsDatePick.prototype.getCurrentColorScheme=function(){return this.oConfiguration.cellColorScheme};JsDatePick.prototype.getDOMControlBar=function(){var h=document,c,f,g,b,a,e;c=h.createElement("div");f=h.createElement("div");g=h.createElement("div");b=h.createElement("div");a=h.createElement("div");e=h.createElement("div");this.setC(c,"controlsBar");this.setC(f,"monthForwardButton");this.setC(g,"monthBackwardButton");this.setC(b,"yearForwardButton");this.setC(a,"yearBackwardButton");this.setC(e,"controlsBarText");jQuery(c).attr("globalNumber",this.globalNumber);if(this.oConfiguration.monthButtons){jQuery(f).attr("globalNumber",this.globalNumber);jQuery(g).attr("globalNumber",this.globalNumber)}if(this.oConfiguration.yearButtons){jQuery(a).attr("globalNumber",this.globalNumber);jQuery(b).attr("globalNumber",this.globalNumber)}this.controlsBarTextCell=e;if(this.oConfiguration.monthButtons){c.appendChild(f);c.appendChild(g)}if(this.oConfiguration.yearButtons){c.appendChild(b);c.appendChild(a)}c.appendChild(e);f.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}d=this.parentNode;while(d.className!="controlsBar"){d=d.parentNode}i=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));i.setTooltipText(g_l.MONTH_FWD);i.setC(this,"monthForwardButtonOver")};f.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"monthForwardButton")};f.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}d=this.parentNode;while(d.className!="controlsBar"){d=d.parentNode}i=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));i.setTooltipText(g_l.MONTH_FWD);i.setC(this,"monthForwardButtonDown")};f.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_FWD);d.setC(this,"monthForwardButton");d.moveForwardOneMonth()};g.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_BCK);d.setC(this,"monthBackwardButtonOver")};g.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"monthBackwardButton")};g.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_BCK);d.setC(this,"monthBackwardButtonDown")};g.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_BCK);d.setC(this,"monthBackwardButton");d.moveBackOneMonth()};b.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_FWD);d.setC(this,"yearForwardButtonOver")};b.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"yearForwardButton")};b.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_FWD);d.setC(this,"yearForwardButtonDown")};b.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_FWD);d.setC(this,"yearForwardButton");d.moveForwardOneYear()};a.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_BCK);d.setC(this,"yearBackwardButtonOver")};a.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"yearBackwardButton")};a.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_BCK);d.setC(this,"yearBackwardButtonDown")};a.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_BCK);d.setC(this,"yearBackwardButton");d.moveBackOneYear()};return c};
|
1 |
+
if(typeof(g_l10n)==="undefined"){g_l10n=[];g_l10n["MONTHS"]=["Janaury","February","March","April","May","June","July","August","September","October","November","December"];g_l10n["DAYS_3"]=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];g_l10n["MONTH_FWD"]="Move a month forward";g_l10n["MONTH_BCK"]="Move a month backward";g_l10n["YEAR_FWD"]="Move a year forward";g_l10n["YEAR_BCK"]="Move a year backward";g_l10n["CLOSE"]="Close the calendar";g_l10n["ERROR_2"]=g_l10n["ERROR_1"]="Date object invalid!";g_l10n["ERROR_4"]=g_l10n["ERROR_3"]="Target invalid!";}g_arrayOfUsedJsDatePickCalsGlobalNumbers=[];g_arrayOfUsedJsDatePickCals=[];g_currentDateObject={};g_currentDateObject.dateObject=new Date();g_currentDateObject.day=g_currentDateObject.dateObject.getDate();g_currentDateObject.month=g_currentDateObject.dateObject.getMonth()+1;g_currentDateObject.year=g_currentDateObject.dateObject.getFullYear();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};String.prototype.ltrim=function(){return this.replace(/^\s+/,"");};String.prototype.rtrim=function(){return this.replace(/\s+$/,"");};String.prototype.strpad=function(){return(!isNaN(this)&&this.toString().length==1)?"0"+this:this;};JsDatePick=function(configurationObject){if(document.all){this.isie=true;this.iever=JsDatePick.getInternetExplorerVersion();}else{this.isie=false;}this.oConfiguration={};this.oCurrentDay=g_currentDateObject;this.monthsTextualRepresentation=g_l10n["MONTHS"];this.lastPostedDay=null;this.initialZIndex=2;this.globalNumber=this.getUnUsedGlobalNumber();g_arrayOfUsedJsDatePickCals[this.globalNumber]=this;this.setConfiguration(configurationObject);this.makeCalendar();};JsDatePick.getCalInstanceById=function(id){return g_arrayOfUsedJsDatePickCals[parseInt(id,10)];};JsDatePick.getInternetExplorerVersion=function(){var rv=-1,ua,re;if(navigator.appName=='Microsoft Internet Explorer'){ua=navigator.userAgent;re=new RegExp("MSIE ([0-9]{1,}[\.0-9]{0,})");if(re.exec(ua)!=null){rv=parseFloat(RegExp.$1);}return rv;}};JsDatePick.prototype.setC=function(obj,aClassName){if(this.isie&&this.iever>7){jQuery(obj).attr("class",aClassName);}else{obj.className=aClassName;}};JsDatePick.prototype.getUnUsedGlobalNumber=function(){var aNum=Math.floor(Math.random()*1000);while(!this.isUnique_GlobalNumber(aNum)){aNum=Math.floor(Math.random()*1000);}return aNum;};JsDatePick.prototype.isUnique_GlobalNumber=function(aNum){var i;for(i=0;i<g_arrayOfUsedJsDatePickCalsGlobalNumbers.length;i++){if(g_arrayOfUsedJsDatePickCalsGlobalNumbers[i]==aNum){return false;}}return true;};JsDatePick.prototype.addOnSelectedDelegate=function(aDelegatedFunction){if(typeof(aDelegatedFunction)=="function"){this.addonSelectedDelegate=aDelegatedFunction;}return false;};JsDatePick.prototype.setOnSelectedDelegate=function(aDelegatedFunction){if(typeof(aDelegatedFunction)=="function"){this.onSelectedDelegate=aDelegatedFunction;return true;}return false;};JsDatePick.prototype.executeOnSelectedDelegateIfExists=function(){if(typeof(this.onSelectedDelegate)=="function"){this.onSelectedDelegate();}if(typeof(this.addonSelectedDelegate)=="function"){this.addonSelectedDelegate();}};JsDatePick.prototype.setRepopulationDelegate=function(aDelegatedFunction){if(typeof(aDelegatedFunction)=="function"){this.repopulationDelegate=aDelegatedFunction;return true;}return false;};JsDatePick.prototype.setConfiguration=function(aConf){this.oConfiguration.isStripped=(aConf["isStripped"]!=null)?aConf["isStripped"]:false;this.oConfiguration.useMode=(aConf["useMode"]!=null)?aConf["useMode"]:1;this.oConfiguration.selectedDate=(aConf["selectedDate"]!=null)?aConf["selectedDate"]:null;this.oConfiguration.target=(aConf["target"]!=null)?aConf["target"]:null;this.oConfiguration.yearsRange=(aConf["yearsRange"]!=null)?aConf["yearsRange"]:[1971,2100];this.oConfiguration.yearButtons=(aConf["yearButtons"]!=null)?aConf["yearButtons"]:true;this.oConfiguration.monthButtons=(aConf["monthButtons"]!=null)?aConf["monthButtons"]:true;this.oConfiguration.limitToToday=(aConf["limitToToday"]!=null)?aConf["limitToToday"]:0;this.oConfiguration.field=(aConf["field"]!=null)?aConf["field"]:false;this.oConfiguration.cellColorScheme=(aConf["cellColorScheme"]!=null)?aConf["cellColorScheme"]:"ocean_blue";this.oConfiguration.dateFormat=(aConf["dateFormat"]!=null)?aConf["dateFormat"]:"%m-%d-%Y";this.oConfiguration.imgPath=(aConf["imgPath"]!=null)?aConf["imgPath"]:"img/";this.oConfiguration.weekStartDay=(aConf["weekStartDay"]!=null)?aConf["weekStartDay"]:1;this.oConfiguration.directionality=(aConf["directionality"]!=null)?aConf["directionality"]:"ltr";this.oConfiguration.animate=(aConf["animate"]!=null)?aConf["animate"]:true;this.selectedDayObject={};this.flag_DayMarkedBeforeRepopulation=false;this.flag_aDayWasSelected=false;this.lastMarkedDayObject=null;if(!this.oConfiguration.selectedDate){this.currentYear=this.oCurrentDay.year;this.currentMonth=this.oCurrentDay.month;this.currentDay=this.oCurrentDay.day;}};JsDatePick.prototype.resizeCalendar=function(){this.leftWallStrechedElement.style.height="0px";this.rightWallStrechedElement.style.height="0px";var totalHeight=this.JsDatePickBox.offsetHeight,newStrechedHeight=totalHeight-16;if(newStrechedHeight<0){return;}this.leftWallStrechedElement.style.height=newStrechedHeight+"px";this.rightWallStrechedElement.style.height=newStrechedHeight+"px";return true;};JsDatePick.prototype.closeCalendar=function(){if(this.oConfiguration.animate===true){jQuery(this.JsDatePickBox).hide(500);}else{this.JsDatePickBox.style.display="none";}document.onclick=function(){};};JsDatePick.prototype.populateFieldWithSelectedDate=function(){jQuery("#"+this.oConfiguration.target).val(this.getSelectedDayFormatted());if(this.lastPickedDateObject){delete(this.lastPickedDateObject);}this.lastPickedDateObject={};this.lastPickedDateObject.day=this.selectedDayObject.day;this.lastPickedDateObject.month=this.selectedDayObject.month;this.lastPickedDateObject.year=this.selectedDayObject.year;this.closeCalendar();};JsDatePick.prototype.makeCalendar=function(){var d=document,JsDatePickBox,clearfix,closeButton,leftWall,rightWall,topWall,bottomWall,topCorner,bottomCorner,wall,inputElement,aSpan,aFunc;JsDatePickBox=d.createElement("div");clearfix=d.createElement("div");closeButton=d.createElement("div");this.setC(JsDatePickBox,"JsDatePickBox");this.setC(clearfix,"clearfix");this.setC(closeButton,"jsDatePickCloseButton");closeButton.setAttribute("globalNumber",this.globalNumber);closeButton.onmouseover=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["CLOSE"]);gRef.setC(this,"jsDatePickCloseButtonOver");};closeButton.onmouseout=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText('');gRef.setC(this,"jsDatePickCloseButton");};closeButton.onmousedown=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["CLOSE"]);gRef.setC(this,"jsDatePickCloseButtonDown");};closeButton.onmouseup=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText('');gRef.setC(this,"jsDatePickCloseButton");gRef.closeCalendar();};this.JsDatePickBox=JsDatePickBox;leftWall=d.createElement("div");rightWall=d.createElement("div");topWall=d.createElement("div");bottomWall=d.createElement("div");this.setC(topWall,"topWall");this.setC(bottomWall,"bottomWall");if(this.isie&&this.iever==6){bottomWall.style.bottom="-2px";}topCorner=d.createElement("div");bottomCorner=d.createElement("div");wall=d.createElement("div");this.setC(topCorner,"leftTopCorner");this.setC(bottomCorner,"leftBottomCorner");this.setC(wall,"leftWall");this.leftWallStrechedElement=wall;this.leftWall=leftWall;this.rightWall=rightWall;leftWall.appendChild(topCorner);leftWall.appendChild(wall);leftWall.appendChild(bottomCorner);topCorner=d.createElement("div");bottomCorner=d.createElement("div");wall=d.createElement("div");this.setC(topCorner,"rightTopCorner");this.setC(bottomCorner,"rightBottomCorner");this.setC(wall,"rightWall");this.rightWallStrechedElement=wall;rightWall.appendChild(topCorner);rightWall.appendChild(wall);rightWall.appendChild(bottomCorner);if(this.oConfiguration.isStripped){this.setC(leftWall,"hiddenBoxLeftWall");this.setC(rightWall,"hiddenBoxRightWall");}else{this.setC(leftWall,"boxLeftWall");this.setC(rightWall,"boxRightWall");}JsDatePickBox.appendChild(leftWall);JsDatePickBox.appendChild(this.getDOMCalendarStripped());JsDatePickBox.appendChild(rightWall);JsDatePickBox.appendChild(clearfix);if(!this.oConfiguration.isStripped){JsDatePickBox.appendChild(closeButton);JsDatePickBox.appendChild(topWall);JsDatePickBox.appendChild(bottomWall);}if(this.oConfiguration.useMode==2){if(this.oConfiguration.target!=false){if(typeof(jQuery("#"+this.oConfiguration.target))!=null){inputElement=document.getElementById(this.oConfiguration.target);aSpan=document.createElement("span");inputElement.parentNode.replaceChild(aSpan,inputElement);aSpan.appendChild(inputElement);inputElement.setAttribute("globalNumber",this.globalNumber);inputElement.onclick=function(){JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar();};inputElement.onfocus=function(){JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar();};jQuery(inputElement).mouseout(function(){jQuery('*').live("focus",function(){JsDatePick.getCalInstanceById(inputElement.getAttribute("globalNumber")).closeCalendar();});});aSpan.style.position="relative";this.initialZIndex++;JsDatePickBox.style.zIndex=this.initialZIndex.toString();JsDatePickBox.style.position="absolute";JsDatePickBox.style.top="18px";JsDatePickBox.style.left="0px";JsDatePickBox.style.display="none";aSpan.appendChild(JsDatePickBox);aFunc=new Function("g_arrayOfUsedJsDatePickCals["+this.globalNumber+"].populateFieldWithSelectedDate();");this.setOnSelectedDelegate(aFunc);}else{alert(g_l10n["ERROR_3"]);}}}else{if(this.oConfiguration.target!=null){jQuery("#"+this.oConfiguration.target).append(JsDatePickBox);jQuery("#"+this.oConfiguration.target).css("position","relative");JsDatePickBox.style.position="absolute";JsDatePickBox.style.top="0px";JsDatePickBox.style.left="0px";this.resizeCalendar();this.executePopulationDelegateIfExists();}else{alert(g_l10n["ERROR_4"]);}}};JsDatePick.prototype.determineFieldDate=function(){var aField,divider,dateMold,array,array2,i,dI,yI,mI,tflag=false,fflag=false;if(this.lastPickedDateObject){this.setSelectedDay({year:parseInt(this.lastPickedDateObject.year),month:parseInt(this.lastPickedDateObject.month,10),day:parseInt(this.lastPickedDateObject.day,10)});}else{aField=jQuery("#"+this.oConfiguration.target);if(jQuery.trim(aField.val()).length==0){this.unsetSelection();if(typeof(this.oConfiguration.selectedDate)=="object"&&this.oConfiguration.selectedDate){this.setSelectedDay({year:parseInt(this.oConfiguration.selectedDate.year),month:parseInt(this.oConfiguration.selectedDate.month,10),day:parseInt(this.oConfiguration.selectedDate.day,10)});}}else{if(jQuery.trim(aField.val()).length>5){divider=this.senseDivider(this.oConfiguration.dateFormat);dateMold=this.oConfiguration.dateFormat;array=jQuery.trim(aField.val()).split(divider);array2=dateMold.trim().split(divider);i=dI=yI=mI=0;for(i=0;i<array2.length;i++){switch(array2[i]){case"%d":case"%j":dI=i;break;case"%m":case"%n":mI=i;break;case"%M":mI=i;tflag=true;break;case"%F":mI=i;fflag=true;break;case"%Y":case"%y":yI=i;}}if(tflag){for(i=0;i<12;i++){if(g_l10n["MONTHS"][i].substr(0,3).toUpperCase()==array[mI].toUpperCase()){mI=i+1;break;}}}else if(fflag){for(i=0;i<12;i++){if(g_l10n["MONTHS"][i].toLowerCase()==array[mI].toLowerCase()){mI=i+1;break;}}}else{mI=parseInt(array[mI],10);}this.setSelectedDay({year:parseInt(array[yI],10),month:mI,day:parseInt(array[dI],10)});}else{this.unsetSelection();return;}}}};JsDatePick.prototype.senseDivider=function(aStr){return aStr.replace("%d","").replace("%j","").replace("%m","").replace("%M","").replace("%n","").replace("%F","").replace("%Y","").replace("%y","").substr(0,1);};JsDatePick.prototype.showCalendar=function(){if(this.JsDatePickBox.style.display=="none"){this.determineFieldDate();this.JsDatePickBox.style.display="block";this.resizeCalendar();if(this.oConfiguration.animate===true){this.JsDatePickBox.style.display="none";jQuery(this.JsDatePickBox).show(500);}this.executePopulationDelegateIfExists();jQuery(this.JsDatePickBox).mouseover(function(){document.onclick=function(){};});jQuery(this.JsDatePickBox).attr("globalCalNumber",this.globalNumber);jQuery(this.JsDatePickBox).mouseout(function(){document.onclick=new Function("g_arrayOfUsedJsDatePickCals["+this.getAttribute("globalCalNumber")+"].closeCalendar();");});}else{return;}};JsDatePick.prototype.isAvailable=function(y,m,d){if(y>this.oCurrentDay.year){return false;}if(m>this.oCurrentDay.month&&y==this.oCurrentDay.year){return false;}if(d>this.oCurrentDay.day&&m==this.oCurrentDay.month&&y==this.oCurrentDay.year){return false;}return true;};JsDatePick.prototype.getDOMCalendarStripped=function(){var d=document,boxMain,boxMainInner,clearfix,boxMainCellsContainer,tooltip,weekDaysRow,clearfix2;boxMain=d.createElement("div");if(this.oConfiguration.isStripped){this.setC(boxMain,"boxMainStripped");}else{this.setC(boxMain,"boxMain");}this.boxMain=boxMain;boxMainInner=d.createElement("div");clearfix=d.createElement("div");boxMainCellsContainer=d.createElement("div");tooltip=d.createElement("div");weekDaysRow=d.createElement("div");clearfix2=d.createElement("div");this.setC(clearfix,"clearfix");this.setC(clearfix2,"clearfix");this.setC(boxMainInner,"boxMainInner");this.setC(boxMainCellsContainer,"boxMainCellsContainer");this.setC(tooltip,"tooltip");this.setC(weekDaysRow,"weekDaysRow");this.tooltip=tooltip;boxMain.appendChild(boxMainInner);this.controlsBar=this.getDOMControlBar();this.makeDOMWeekDays(weekDaysRow);boxMainInner.appendChild(this.controlsBar);boxMainInner.appendChild(clearfix);boxMainInner.appendChild(tooltip);boxMainInner.appendChild(weekDaysRow);boxMainInner.appendChild(boxMainCellsContainer);boxMainInner.appendChild(clearfix2);this.boxMainCellsContainer=boxMainCellsContainer;this.populateMainBox(boxMainCellsContainer);return boxMain;};JsDatePick.prototype.makeDOMWeekDays=function(aWeekDaysRow){var i=0,d=document,weekDaysArray=g_l10n["DAYS_3"],textNode,weekDay;for(i=this.oConfiguration.weekStartDay;i<7;i++){weekDay=d.createElement("div");textNode=d.createTextNode(weekDaysArray[i]);this.setC(weekDay,"weekDay");weekDay.appendChild(textNode);aWeekDaysRow.appendChild(weekDay);}if(this.oConfiguration.weekStartDay>0){for(i=0;i<this.oConfiguration.weekStartDay;i++){weekDay=d.createElement("div");textNode=d.createTextNode(weekDaysArray[i]);this.setC(weekDay,"weekDay");weekDay.appendChild(textNode);aWeekDaysRow.appendChild(weekDay);}}weekDay.style.marginRight="0px";};JsDatePick.prototype.repopulateMainBox=function(){while(this.boxMainCellsContainer.firstChild){this.boxMainCellsContainer.removeChild(this.boxMainCellsContainer.firstChild);}this.populateMainBox(this.boxMainCellsContainer);this.resizeCalendar();this.executePopulationDelegateIfExists();};JsDatePick.prototype.executePopulationDelegateIfExists=function(){if(typeof(this.repopulationDelegate)=="function"){this.repopulationDelegate();}};JsDatePick.prototype.populateMainBox=function(aMainBox){var d=document,aDayDiv,aTextNode,columnNumber=1,disabledDayFlag=false,cmpMonth=this.currentMonth-1,oDay,iStamp,skipDays,i,currentColorScheme;oDay=new Date(this.currentYear,cmpMonth,1,1,0,0);iStamp=oDay.getTime();this.flag_DayMarkedBeforeRepopulation=false;this.setControlBarText(this.monthsTextualRepresentation[cmpMonth]+", "+this.currentYear);skipDays=parseInt(oDay.getDay())-this.oConfiguration.weekStartDay;if(skipDays<0){skipDays=skipDays+7;}i=0;for(i=0;i<skipDays;i++){aDayDiv=d.createElement("div");this.setC(aDayDiv,"skipDay");aMainBox.appendChild(aDayDiv);if(columnNumber==7){columnNumber=1;}else{columnNumber++;}}while(oDay.getMonth()==cmpMonth){disabledDayFlag=false;aDayDiv=d.createElement("div");if(this.lastPostedDay){if(this.lastPostedDay==oDay.getDate()){aTextNode=parseInt(this.lastPostedDay,10)+1;}else{aTextNode=d.createTextNode(oDay.getDate());}}else{aTextNode=d.createTextNode(oDay.getDate());}aDayDiv.appendChild(aTextNode);aMainBox.appendChild(aDayDiv);aDayDiv.setAttribute("globalNumber",this.globalNumber);if(columnNumber==7){if(this.oConfiguration.directionality=="ltr"){aDayDiv.style.marginRight="0px";}else{aDayDiv.style.marginLeft="0px";}}if(this.isToday(oDay)){aDayDiv.setAttribute("isToday",1);}if(this.oConfiguration.limitToToday>=1){if(this.isAvailable(this.currentYear,this.currentMonth,parseInt(oDay.getDate()+1))){disabledDayFlag=true;aDayDiv.setAttribute("isJsDatePickDisabled",1);}}else if(this.oConfiguration.limitToToday<=-1){if(!this.isAvailable(this.currentYear,this.currentMonth,parseInt(oDay.getDate()))){disabledDayFlag=true;aDayDiv.setAttribute("isJsDatePickDisabled",1);}}aDayDiv.onmouseover=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),currentColorScheme;currentColorScheme=gRef.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return;}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}if(parseInt(this.getAttribute("isToday"))==1){gRef.setC(this,"dayOverToday");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayOver.gif) left top no-repeat";}else{gRef.setC(this,"dayOver");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayOver.gif) left top no-repeat";}};aDayDiv.onmouseout=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),currentColorScheme;currentColorScheme=gRef.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return;}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}if(parseInt(this.getAttribute("isToday"))==1){gRef.setC(this,"dayNormalToday");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayNormal.gif) left top no-repeat";}else{gRef.setC(this,"dayNormal");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayNormal.gif) left top no-repeat";}};aDayDiv.onmousedown=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),currentColorScheme;currentColorScheme=gRef.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return;}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}if(parseInt(this.getAttribute("isToday"))==1){gRef.setC(this,"dayDownToday");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayDown.gif) left top no-repeat";}else{gRef.setC(this,"dayDown");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayDown.gif) left top no-repeat";}};aDayDiv.onmouseup=function(){var gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),currentColorScheme;currentColorScheme=gRef.getCurrentColorScheme();if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}if(parseInt(this.getAttribute("isToday"))==1){gRef.setC(this,"dayNormalToday");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayNormal.gif) left top no-repeat";}else{gRef.setC(this,"dayNormal");this.style.background="url("+gRef.oConfiguration.imgPath+currentColorScheme+"_dayNormal.gif) left top no-repeat";}gRef.setDaySelection(this);gRef.executeOnSelectedDelegateIfExists();};if(this.isSelectedDay(oDay.getDate())){aDayDiv.setAttribute("isSelected",1);this.flag_DayMarkedBeforeRepopulation=true;this.lastMarkedDayObject=aDayDiv;if(parseInt(aDayDiv.getAttribute("isToday"))==1){this.setC(aDayDiv,"dayDownToday");aDayDiv.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayDown.gif) left top no-repeat";}else{this.setC(aDayDiv,"dayDown");aDayDiv.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayDown.gif) left top no-repeat";}}else{currentColorScheme=this.getCurrentColorScheme();if(parseInt(aDayDiv.getAttribute("isToday"))==1){if(disabledDayFlag){this.setC(aDayDiv,"dayDisabled");aDayDiv.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat";}else{this.setC(aDayDiv,"dayNormalToday");aDayDiv.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat";}}else{if(disabledDayFlag){this.setC(aDayDiv,"dayDisabled");aDayDiv.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat";}else{this.setC(aDayDiv,"dayNormal");aDayDiv.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat";}}}if(columnNumber==7){columnNumber=1;}else{columnNumber++;}iStamp+=86400000;oDay.setTime(iStamp);}this.lastPostedDay=null;return aMainBox;};JsDatePick.prototype.unsetSelection=function(){this.flag_aDayWasSelected=false;this.selectedDayObject={};this.repopulateMainBox();};JsDatePick.prototype.setSelectedDay=function(dateObject){this.flag_aDayWasSelected=true;this.selectedDayObject.day=parseInt(dateObject.day,10);this.selectedDayObject.month=parseInt(dateObject.month,10);this.selectedDayObject.year=parseInt(dateObject.year);this.currentMonth=dateObject.month;this.currentYear=dateObject.year;this.repopulateMainBox();};JsDatePick.prototype.isSelectedDay=function(aDate){if(this.flag_aDayWasSelected){if(parseInt(aDate)==this.selectedDayObject.day&&this.currentMonth==this.selectedDayObject.month&&this.currentYear==this.selectedDayObject.year){return true;}else{return false;}}return false;};JsDatePick.prototype.getSelectedDay=function(){if(this.flag_aDayWasSelected){return this.selectedDayObject;}else{return false;}};JsDatePick.prototype.getSelectedDayFormatted=function(){if(this.flag_aDayWasSelected){var dateStr=this.oConfiguration.dateFormat;dateStr=dateStr.replace("%d",this.selectedDayObject.day.toString().strpad());dateStr=dateStr.replace("%j",this.selectedDayObject.day);dateStr=dateStr.replace("%m",this.selectedDayObject.month.toString().strpad());dateStr=dateStr.replace("%M",g_l10n["MONTHS"][this.selectedDayObject.month-1].substr(0,3).toUpperCase());dateStr=dateStr.replace("%n",this.selectedDayObject.month);dateStr=dateStr.replace("%F",g_l10n["MONTHS"][this.selectedDayObject.month-1]);dateStr=dateStr.replace("%Y",this.selectedDayObject.year);dateStr=dateStr.replace("%y",this.selectedDayObject.year.toString().substr(2,2));return dateStr;}else{return false;}};JsDatePick.prototype.setDaySelection=function(anElement){var currentColorScheme=this.getCurrentColorScheme();if(this.flag_DayMarkedBeforeRepopulation){jQuery(this.lastMarkedDayObject).attr("isSelected",0);if(parseInt(this.lastMarkedDayObject.getAttribute("isToday"))==1){this.setC(this.lastMarkedDayObject,"dayNormalToday");this.lastMarkedDayObject.style.background="url("+this.oConfiguration.imgPath+currentColorScheme+"_dayNormal.gif) left top no-repeat";}else{this.setC(this.lastMarkedDayObject,"dayNormal");this.lastMarkedDayObject.style.background="url("+this.oConfiguration.imgPath+currentColorScheme+"_dayNormal.gif) left top no-repeat";}}this.flag_aDayWasSelected=true;this.selectedDayObject.year=this.currentYear;this.selectedDayObject.month=this.currentMonth;this.selectedDayObject.day=parseInt(anElement.innerHTML);this.flag_DayMarkedBeforeRepopulation=true;this.lastMarkedDayObject=anElement;jQuery(anElement).attr("isSelected",1);if(parseInt(anElement.getAttribute("isToday"))==1){this.setC(anElement,"dayDownToday");anElement.style.background="url("+this.oConfiguration.imgPath+currentColorScheme+"_dayDown.gif) left top no-repeat";}else{this.setC(anElement,"dayDown");anElement.style.background="url("+this.oConfiguration.imgPath+currentColorScheme+"_dayDown.gif) left top no-repeat";}};JsDatePick.prototype.isToday=function(aDateObject){var cmpMonth=this.oCurrentDay.month-1;if(aDateObject.getDate()==this.oCurrentDay.day&&aDateObject.getMonth()==cmpMonth&&aDateObject.getFullYear()==this.oCurrentDay.year){return true;}return false;};JsDatePick.prototype.setControlBarText=function(aText){var aTextNode=document.createTextNode(aText);jQuery(this.controlsBarTextCell).empty();this.controlsBarTextCell.appendChild(aTextNode);};JsDatePick.prototype.setTooltipText=function(aText){jQuery(this.tooltip).empty();var aTextNode=document.createTextNode(aText);this.tooltip.appendChild(aTextNode);};JsDatePick.prototype.moveForwardOneYear=function(){var desiredYear=this.currentYear+1;if(desiredYear<=parseInt(this.oConfiguration.yearsRange[1])){this.currentYear++;this.repopulateMainBox();return true;}else{return false;}};JsDatePick.prototype.moveBackOneYear=function(){var desiredYear=this.currentYear-1;if(desiredYear>=parseInt(this.oConfiguration.yearsRange[0])){this.currentYear--;this.repopulateMainBox();return true;}else{return false;}};JsDatePick.prototype.moveForwardOneMonth=function(){if(this.currentMonth<12){this.currentMonth++;}else{if(this.moveForwardOneYear()){this.currentMonth=1;}else{this.currentMonth=12;}}this.repopulateMainBox();};JsDatePick.prototype.moveBackOneMonth=function(){if(this.currentMonth>1){this.currentMonth--;}else{if(this.moveBackOneYear()){this.currentMonth=12;}else{this.currentMonth=1;}}this.repopulateMainBox();};JsDatePick.prototype.getCurrentColorScheme=function(){return this.oConfiguration.cellColorScheme;};JsDatePick.prototype.getDOMControlBar=function(){var d=document,controlsBar,monthForwardButton,monthBackwardButton,yearForwardButton,yearBackwardButton,controlsBarText;controlsBar=d.createElement("div");monthForwardButton=d.createElement("div");monthBackwardButton=d.createElement("div");yearForwardButton=d.createElement("div");yearBackwardButton=d.createElement("div");controlsBarText=d.createElement("div");this.setC(controlsBar,"controlsBar");this.setC(monthForwardButton,"monthForwardButton");this.setC(monthBackwardButton,"monthBackwardButton");this.setC(yearForwardButton,"yearForwardButton");this.setC(yearBackwardButton,"yearBackwardButton");this.setC(controlsBarText,"controlsBarText");jQuery(controlsBar).attr("globalNumber",this.globalNumber);if(this.oConfiguration.monthButtons){jQuery(monthForwardButton).attr("globalNumber",this.globalNumber);jQuery(monthBackwardButton).attr("globalNumber",this.globalNumber);}if(this.oConfiguration.yearButtons){jQuery(yearBackwardButton).attr("globalNumber",this.globalNumber);jQuery(yearForwardButton).attr("globalNumber",this.globalNumber);}this.controlsBarTextCell=controlsBarText;if(this.oConfiguration.monthButtons){controlsBar.appendChild(monthForwardButton);controlsBar.appendChild(monthBackwardButton);}if(this.oConfiguration.yearButtons){controlsBar.appendChild(yearForwardButton);controlsBar.appendChild(yearBackwardButton);}controlsBar.appendChild(controlsBarText);monthForwardButton.onmouseover=function(){var gRef,parentElement;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["MONTH_FWD"]);gRef.setC(this,"monthForwardButtonOver");};monthForwardButton.onmouseout=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText('');gRef.setC(this,"monthForwardButton");};monthForwardButton.onmousedown=function(){var gRef,parentElement;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["MONTH_FWD"]);gRef.setC(this,"monthForwardButtonDown");};monthForwardButton.onmouseup=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["MONTH_FWD"]);gRef.setC(this,"monthForwardButton");gRef.moveForwardOneMonth();};monthBackwardButton.onmouseover=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["MONTH_BCK"]);gRef.setC(this,"monthBackwardButtonOver");};monthBackwardButton.onmouseout=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText('');gRef.setC(this,"monthBackwardButton");};monthBackwardButton.onmousedown=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["MONTH_BCK"]);gRef.setC(this,"monthBackwardButtonDown");};monthBackwardButton.onmouseup=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["MONTH_BCK"]);gRef.setC(this,"monthBackwardButton");gRef.moveBackOneMonth();};yearForwardButton.onmouseover=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["YEAR_FWD"]);gRef.setC(this,"yearForwardButtonOver");};yearForwardButton.onmouseout=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText('');gRef.setC(this,"yearForwardButton");};yearForwardButton.onmousedown=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["YEAR_FWD"]);gRef.setC(this,"yearForwardButtonDown");};yearForwardButton.onmouseup=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["YEAR_FWD"]);gRef.setC(this,"yearForwardButton");gRef.moveForwardOneYear();};yearBackwardButton.onmouseover=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["YEAR_BCK"]);gRef.setC(this,"yearBackwardButtonOver");};yearBackwardButton.onmouseout=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText('');gRef.setC(this,"yearBackwardButton");};yearBackwardButton.onmousedown=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["YEAR_BCK"]);gRef.setC(this,"yearBackwardButtonDown");};yearBackwardButton.onmouseup=function(){var parentElement,gRef;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return;}parentElement=this.parentNode;while(parentElement.className!="controlsBar"){parentElement=parentElement.parentNode;}gRef=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));gRef.setTooltipText(g_l10n["YEAR_BCK"]);gRef.setC(this,"yearBackwardButton");gRef.moveBackOneYear();};return controlsBar;};
|
languages/contact-form-7-datepicker-nl_NL.mo
ADDED
Binary file
|
languages/contact-form-7-datepicker-ro_RO.mo
CHANGED
Binary file
|
languages/contact-form-7-datepicker-ro_RO.po
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: contact-form-7-datepicker\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2011-
|
6 |
-
"PO-Revision-Date: 2011-
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
@@ -16,54 +16,53 @@ msgstr ""
|
|
16 |
"X-Poedit-Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
18 |
|
19 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
20 |
msgid "Datepicker Settings"
|
21 |
msgstr "Setări Calendar"
|
22 |
|
23 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
24 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
25 |
msgid "Today and future"
|
26 |
msgstr "Astăzi și viitor"
|
27 |
|
28 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
29 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
30 |
msgid "Today and past"
|
31 |
msgstr "Astăzi și trecut"
|
32 |
|
33 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
34 |
msgid "No limit"
|
35 |
msgstr "Fără limită"
|
36 |
|
37 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
38 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
39 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
40 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:400
|
41 |
msgid "true"
|
42 |
msgstr "adevărat"
|
43 |
|
44 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
45 |
msgid "false"
|
46 |
msgstr "fals"
|
47 |
|
48 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
49 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
50 |
msgid "Sunday"
|
51 |
msgstr "Duminică"
|
52 |
|
53 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
54 |
msgid "Monday"
|
55 |
msgstr "Luni"
|
56 |
|
57 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
58 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
59 |
msgid "Left to right"
|
60 |
msgstr "Stânga spre dreapta"
|
61 |
|
62 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
63 |
msgid "Right to left"
|
64 |
msgstr "Dreapta spre stânga"
|
65 |
|
66 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
67 |
msgid ""
|
68 |
"<p>This plugin implements a new <strong>[date]</strong> tag in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
|
69 |
"\t\tthat adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.<br />\n"
|
@@ -75,15 +74,15 @@ msgstr ""
|
|
75 |
"\t\tPentru a-l folosi, introduceți eticheta <strong>[date numele-câmpului]</strong> sau <strong>[date* numele-câmpului-necesar]</strong> dacă doriți să fie obligatoriu,\n"
|
76 |
"\t\tîn zona de editare a Contact Form 7.</p>"
|
77 |
|
78 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
79 |
msgid "Color scheme"
|
80 |
msgstr "Schemă de culori"
|
81 |
|
82 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
83 |
msgid "Use Mode"
|
84 |
msgstr "Mod de utilizare"
|
85 |
|
86 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
87 |
msgid ""
|
88 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
89 |
"\t\t\t\t\t\t\t2 – The calendar will appear as a popup when the field with the id supplied in target is clicked.</p>"
|
@@ -91,55 +90,63 @@ msgstr ""
|
|
91 |
"<p>1 – Codul HTML al calendarului va fi atașat la câmpul text specificat de țintă<br />\n"
|
92 |
"\t\t\t\t\t\t\t2 – Calendarul va apărea ca și un popup când câmpul cu id-ul specificat ca țintă este activat.</p>"
|
93 |
|
94 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
95 |
msgid "Sripped"
|
96 |
msgstr "Fără decor"
|
97 |
|
98 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
99 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
100 |
msgstr "<p>Când este setat ca și adevărat, calendarul apare fără design vizual - de obicei este folosit cu 'Modul de utilizare' 1.</p>"
|
101 |
|
102 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
103 |
msgid "Limit Dates To"
|
104 |
msgstr "Limitează datele la"
|
105 |
|
106 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
107 |
msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
|
108 |
msgstr "<p>Oferă posibilitatea de a limita datele care pot fi selectate în funcție de data curentă.</p>"
|
109 |
|
110 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
111 |
msgid "Week Start Day"
|
112 |
msgstr "Prima zi a săptămânii"
|
113 |
|
114 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
115 |
msgid "Years Range"
|
116 |
msgstr "Interval ani"
|
117 |
|
118 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
119 |
msgid "Text Direction"
|
120 |
msgstr "Direcție text"
|
121 |
|
122 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
123 |
msgid "Controls"
|
124 |
msgstr "Controale"
|
125 |
|
126 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
127 |
msgid "Year Controls"
|
128 |
msgstr "Controale An"
|
129 |
|
130 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
131 |
msgid "Month Controls"
|
132 |
msgstr "Controale Lună"
|
133 |
|
134 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
135 |
-
msgid "You can select here what controls would you like to display on the calendar
|
136 |
-
msgstr ""
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
137 |
|
138 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
139 |
msgid "Date Format"
|
140 |
msgstr "Format dată"
|
141 |
|
142 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
143 |
msgid ""
|
144 |
"<p>Possible values to use in the date format:<br />\n"
|
145 |
"<br />\n"
|
@@ -167,138 +174,140 @@ msgstr ""
|
|
167 |
"<br />\n"
|
168 |
"Puteți desigur să introduceți orice separator doriți între valori.<br /></p>"
|
169 |
|
170 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
171 |
msgid "Save Setting"
|
172 |
msgstr "Salvează setări"
|
173 |
|
174 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
175 |
msgid "Janaury"
|
176 |
msgstr "Ianuarie"
|
177 |
|
178 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
179 |
msgid "February"
|
180 |
msgstr "Februarie"
|
181 |
|
182 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
183 |
msgid "March"
|
184 |
msgstr "Martie"
|
185 |
|
186 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
187 |
msgid "April"
|
188 |
msgstr "Aprilie"
|
189 |
|
190 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
191 |
msgid "May"
|
192 |
msgstr "Mai"
|
193 |
|
194 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
195 |
msgid "June"
|
196 |
msgstr "Iunie"
|
197 |
|
198 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
199 |
msgid "July"
|
200 |
msgstr "Iulie"
|
201 |
|
202 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
203 |
msgid "August"
|
204 |
msgstr "August"
|
205 |
|
206 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
207 |
msgid "September"
|
208 |
msgstr "Septembrie"
|
209 |
|
210 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
211 |
msgid "October"
|
212 |
msgstr "Octombrie"
|
213 |
|
214 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
215 |
msgid "November"
|
216 |
msgstr "Noiembrie"
|
217 |
|
218 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
219 |
msgid "December"
|
220 |
msgstr "Decembrie"
|
221 |
|
222 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
223 |
msgid "Sun"
|
224 |
msgstr "Dum"
|
225 |
|
226 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
227 |
msgid "Mon"
|
228 |
msgstr "Lun"
|
229 |
|
230 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
231 |
msgid "Tue"
|
232 |
msgstr "Mar"
|
233 |
|
234 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
235 |
msgid "Wed"
|
236 |
msgstr "Mie"
|
237 |
|
238 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
239 |
msgid "Thu"
|
240 |
msgstr "Joi"
|
241 |
|
242 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
243 |
msgid "Fri"
|
244 |
msgstr "Vin"
|
245 |
|
246 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
247 |
msgid "Sat"
|
248 |
msgstr "Sâm"
|
249 |
|
250 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
251 |
msgid "Move a month forward"
|
252 |
msgstr "Înaintează cu o lună"
|
253 |
|
254 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
255 |
msgid "Move a month backward"
|
256 |
msgstr "Întoarce cu o lună"
|
257 |
|
258 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
259 |
msgid "Move a year forward"
|
260 |
msgstr "Înaintează cu un an"
|
261 |
|
262 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
263 |
msgid "Move a year backward"
|
264 |
msgstr "Întoarce cu un an"
|
265 |
|
266 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
267 |
msgid "Close the calendar"
|
268 |
msgstr "Închide calendarul"
|
269 |
|
270 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
271 |
msgid "Date object invalid!"
|
272 |
msgstr "Obiect dată invalid!"
|
273 |
|
274 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
275 |
msgid "Target invalid!"
|
276 |
msgstr "Țintă nevalidă!"
|
277 |
|
278 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
279 |
msgid "Date field"
|
280 |
msgstr "Câmp dată"
|
281 |
|
282 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
283 |
msgid "Required field?"
|
284 |
msgstr ""
|
285 |
|
286 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
287 |
msgid "Name"
|
288 |
msgstr ""
|
289 |
|
290 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
291 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
292 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
293 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
294 |
msgid "optional"
|
295 |
msgstr ""
|
296 |
|
297 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
298 |
msgid "Copy this code and paste it into the form left."
|
299 |
msgstr ""
|
300 |
|
301 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
302 |
msgid "And, put this code into the Mail fields below."
|
303 |
msgstr ""
|
304 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: contact-form-7-datepicker\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-06-13 11:24+0200\n"
|
6 |
+
"PO-Revision-Date: 2011-06-13 11:29+0200\n"
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
16 |
"X-Poedit-Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
18 |
|
19 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:110
|
20 |
msgid "Datepicker Settings"
|
21 |
msgstr "Setări Calendar"
|
22 |
|
23 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:192
|
24 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:300
|
25 |
msgid "Today and future"
|
26 |
msgstr "Astăzi și viitor"
|
27 |
|
28 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:193
|
29 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:302
|
30 |
msgid "Today and past"
|
31 |
msgstr "Astăzi și trecut"
|
32 |
|
33 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:194
|
34 |
msgid "No limit"
|
35 |
msgstr "Fără limită"
|
36 |
|
37 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:197
|
38 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:274
|
39 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:414
|
|
|
40 |
msgid "true"
|
41 |
msgstr "adevărat"
|
42 |
|
43 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:198
|
44 |
msgid "false"
|
45 |
msgstr "fals"
|
46 |
|
47 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:202
|
48 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:328
|
49 |
msgid "Sunday"
|
50 |
msgstr "Duminică"
|
51 |
|
52 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:203
|
53 |
msgid "Monday"
|
54 |
msgstr "Luni"
|
55 |
|
56 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:206
|
57 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:363
|
58 |
msgid "Left to right"
|
59 |
msgstr "Stânga spre dreapta"
|
60 |
|
61 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:207
|
62 |
msgid "Right to left"
|
63 |
msgstr "Dreapta spre stânga"
|
64 |
|
65 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:214
|
66 |
msgid ""
|
67 |
"<p>This plugin implements a new <strong>[date]</strong> tag in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
|
68 |
"\t\tthat adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.<br />\n"
|
74 |
"\t\tPentru a-l folosi, introduceți eticheta <strong>[date numele-câmpului]</strong> sau <strong>[date* numele-câmpului-necesar]</strong> dacă doriți să fie obligatoriu,\n"
|
75 |
"\t\tîn zona de editare a Contact Form 7.</p>"
|
76 |
|
77 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:223
|
78 |
msgid "Color scheme"
|
79 |
msgstr "Schemă de culori"
|
80 |
|
81 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:247
|
82 |
msgid "Use Mode"
|
83 |
msgstr "Mod de utilizare"
|
84 |
|
85 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:262
|
86 |
msgid ""
|
87 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
88 |
"\t\t\t\t\t\t\t2 – The calendar will appear as a popup when the field with the id supplied in target is clicked.</p>"
|
90 |
"<p>1 – Codul HTML al calendarului va fi atașat la câmpul text specificat de țintă<br />\n"
|
91 |
"\t\t\t\t\t\t\t2 – Calendarul va apărea ca și un popup când câmpul cu id-ul specificat ca țintă este activat.</p>"
|
92 |
|
93 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:269
|
94 |
msgid "Sripped"
|
95 |
msgstr "Fără decor"
|
96 |
|
97 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:289
|
98 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
99 |
msgstr "<p>Când este setat ca și adevărat, calendarul apare fără design vizual - de obicei este folosit cu 'Modul de utilizare' 1.</p>"
|
100 |
|
101 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:295
|
102 |
msgid "Limit Dates To"
|
103 |
msgstr "Limitează datele la"
|
104 |
|
105 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:317
|
106 |
msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
|
107 |
msgstr "<p>Oferă posibilitatea de a limita datele care pot fi selectate în funcție de data curentă.</p>"
|
108 |
|
109 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:323
|
110 |
msgid "Week Start Day"
|
111 |
msgstr "Prima zi a săptămânii"
|
112 |
|
113 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:348
|
114 |
msgid "Years Range"
|
115 |
msgstr "Interval ani"
|
116 |
|
117 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:358
|
118 |
msgid "Text Direction"
|
119 |
msgstr "Direcție text"
|
120 |
|
121 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:383
|
122 |
msgid "Controls"
|
123 |
msgstr "Controale"
|
124 |
|
125 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:392
|
126 |
msgid "Year Controls"
|
127 |
msgstr "Controale An"
|
128 |
|
129 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:400
|
130 |
msgid "Month Controls"
|
131 |
msgstr "Controale Lună"
|
132 |
|
133 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:403
|
134 |
+
msgid "<p>You can select here what controls would you like to display on the calendar.</p>"
|
135 |
+
msgstr "<p>Puteți selecta ce controale doriți să apară pe calendar.</p>"
|
136 |
+
|
137 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:409
|
138 |
+
msgid "Animate"
|
139 |
+
msgstr "Animare"
|
140 |
+
|
141 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:429
|
142 |
+
msgid "<p>Animation on display.</p>"
|
143 |
+
msgstr "<p>Animare la afișare.</p>"
|
144 |
|
145 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:435
|
146 |
msgid "Date Format"
|
147 |
msgstr "Format dată"
|
148 |
|
149 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:441
|
150 |
msgid ""
|
151 |
"<p>Possible values to use in the date format:<br />\n"
|
152 |
"<br />\n"
|
174 |
"<br />\n"
|
175 |
"Puteți desigur să introduceți orice separator doriți între valori.<br /></p>"
|
176 |
|
177 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:461
|
178 |
msgid "Save Setting"
|
179 |
msgstr "Salvează setări"
|
180 |
|
181 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:650
|
182 |
msgid "Janaury"
|
183 |
msgstr "Ianuarie"
|
184 |
|
185 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:651
|
186 |
msgid "February"
|
187 |
msgstr "Februarie"
|
188 |
|
189 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:652
|
190 |
msgid "March"
|
191 |
msgstr "Martie"
|
192 |
|
193 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:653
|
194 |
msgid "April"
|
195 |
msgstr "Aprilie"
|
196 |
|
197 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:654
|
198 |
msgid "May"
|
199 |
msgstr "Mai"
|
200 |
|
201 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:655
|
202 |
msgid "June"
|
203 |
msgstr "Iunie"
|
204 |
|
205 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:656
|
206 |
msgid "July"
|
207 |
msgstr "Iulie"
|
208 |
|
209 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:657
|
210 |
msgid "August"
|
211 |
msgstr "August"
|
212 |
|
213 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:658
|
214 |
msgid "September"
|
215 |
msgstr "Septembrie"
|
216 |
|
217 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:659
|
218 |
msgid "October"
|
219 |
msgstr "Octombrie"
|
220 |
|
221 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:660
|
222 |
msgid "November"
|
223 |
msgstr "Noiembrie"
|
224 |
|
225 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:661
|
226 |
msgid "December"
|
227 |
msgstr "Decembrie"
|
228 |
|
229 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:664
|
230 |
msgid "Sun"
|
231 |
msgstr "Dum"
|
232 |
|
233 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:665
|
234 |
msgid "Mon"
|
235 |
msgstr "Lun"
|
236 |
|
237 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:666
|
238 |
msgid "Tue"
|
239 |
msgstr "Mar"
|
240 |
|
241 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:667
|
242 |
msgid "Wed"
|
243 |
msgstr "Mie"
|
244 |
|
245 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:668
|
246 |
msgid "Thu"
|
247 |
msgstr "Joi"
|
248 |
|
249 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:669
|
250 |
msgid "Fri"
|
251 |
msgstr "Vin"
|
252 |
|
253 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:670
|
254 |
msgid "Sat"
|
255 |
msgstr "Sâm"
|
256 |
|
257 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:672
|
258 |
msgid "Move a month forward"
|
259 |
msgstr "Înaintează cu o lună"
|
260 |
|
261 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:673
|
262 |
msgid "Move a month backward"
|
263 |
msgstr "Întoarce cu o lună"
|
264 |
|
265 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:674
|
266 |
msgid "Move a year forward"
|
267 |
msgstr "Înaintează cu un an"
|
268 |
|
269 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:675
|
270 |
msgid "Move a year backward"
|
271 |
msgstr "Întoarce cu un an"
|
272 |
|
273 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:676
|
274 |
msgid "Close the calendar"
|
275 |
msgstr "Închide calendarul"
|
276 |
|
277 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:677
|
278 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:678
|
279 |
msgid "Date object invalid!"
|
280 |
msgstr "Obiect dată invalid!"
|
281 |
|
282 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:679
|
283 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:680
|
284 |
msgid "Target invalid!"
|
285 |
msgstr "Țintă nevalidă!"
|
286 |
|
287 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:706
|
288 |
msgid "Date field"
|
289 |
msgstr "Câmp dată"
|
290 |
|
291 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:733
|
292 |
msgid "Required field?"
|
293 |
msgstr ""
|
294 |
|
295 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:738
|
296 |
msgid "Name"
|
297 |
msgstr ""
|
298 |
|
299 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:747
|
300 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:752
|
301 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:759
|
302 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:764
|
303 |
msgid "optional"
|
304 |
msgstr ""
|
305 |
|
306 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:771
|
307 |
msgid "Copy this code and paste it into the form left."
|
308 |
msgstr ""
|
309 |
|
310 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:775
|
311 |
msgid "And, put this code into the Mail fields below."
|
312 |
msgstr ""
|
313 |
|
languages/contact-form-7-datepicker.pot
CHANGED
@@ -2,8 +2,8 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: contact-form-7-datepicker\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2011-
|
6 |
-
"PO-Revision-Date: 2011-
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
@@ -17,54 +17,53 @@ msgstr ""
|
|
17 |
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
19 |
|
20 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
21 |
msgid "Datepicker Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
25 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
26 |
msgid "Today and future"
|
27 |
msgstr ""
|
28 |
|
29 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
30 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
31 |
msgid "Today and past"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
35 |
msgid "No limit"
|
36 |
msgstr ""
|
37 |
|
38 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
39 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
40 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
41 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:400
|
42 |
msgid "true"
|
43 |
msgstr ""
|
44 |
|
45 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
46 |
msgid "false"
|
47 |
msgstr ""
|
48 |
|
49 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
50 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
51 |
msgid "Sunday"
|
52 |
msgstr ""
|
53 |
|
54 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
55 |
msgid "Monday"
|
56 |
msgstr ""
|
57 |
|
58 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
59 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
60 |
msgid "Left to right"
|
61 |
msgstr ""
|
62 |
|
63 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
64 |
msgid "Right to left"
|
65 |
msgstr ""
|
66 |
|
67 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
68 |
msgid ""
|
69 |
"<p>This plugin implements a new <strong>[date]</strong> tag in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
|
70 |
"\t\tthat adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.<br />\n"
|
@@ -72,69 +71,77 @@ msgid ""
|
|
72 |
"\t\tin your Contact Form 7 edit section.</p>"
|
73 |
msgstr ""
|
74 |
|
75 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
76 |
msgid "Color scheme"
|
77 |
msgstr ""
|
78 |
|
79 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
80 |
msgid "Use Mode"
|
81 |
msgstr ""
|
82 |
|
83 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
84 |
msgid ""
|
85 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
86 |
"\t\t\t\t\t\t\t2 – The calendar will appear as a popup when the field with the id supplied in target is clicked.</p>"
|
87 |
msgstr ""
|
88 |
|
89 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
90 |
msgid "Sripped"
|
91 |
msgstr ""
|
92 |
|
93 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
94 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
95 |
msgstr ""
|
96 |
|
97 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
98 |
msgid "Limit Dates To"
|
99 |
msgstr ""
|
100 |
|
101 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
102 |
msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
|
103 |
msgstr ""
|
104 |
|
105 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
106 |
msgid "Week Start Day"
|
107 |
msgstr ""
|
108 |
|
109 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
110 |
msgid "Years Range"
|
111 |
msgstr ""
|
112 |
|
113 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
114 |
msgid "Text Direction"
|
115 |
msgstr ""
|
116 |
|
117 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
118 |
msgid "Controls"
|
119 |
msgstr ""
|
120 |
|
121 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
122 |
msgid "Year Controls"
|
123 |
msgstr ""
|
124 |
|
125 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
126 |
msgid "Month Controls"
|
127 |
msgstr ""
|
128 |
|
129 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
130 |
-
msgid "You can select here what controls would you like to display on the calendar
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
131 |
msgstr ""
|
132 |
|
133 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
134 |
msgid "Date Format"
|
135 |
msgstr ""
|
136 |
|
137 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
138 |
msgid ""
|
139 |
"<p>Possible values to use in the date format:<br />\n"
|
140 |
"<br />\n"
|
@@ -150,138 +157,140 @@ msgid ""
|
|
150 |
"You can of course put whatever divider you want between them.<br /></p>"
|
151 |
msgstr ""
|
152 |
|
153 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
154 |
msgid "Save Setting"
|
155 |
msgstr ""
|
156 |
|
157 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
158 |
msgid "Janaury"
|
159 |
msgstr ""
|
160 |
|
161 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
162 |
msgid "February"
|
163 |
msgstr ""
|
164 |
|
165 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
166 |
msgid "March"
|
167 |
msgstr ""
|
168 |
|
169 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
170 |
msgid "April"
|
171 |
msgstr ""
|
172 |
|
173 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
174 |
msgid "May"
|
175 |
msgstr ""
|
176 |
|
177 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
178 |
msgid "June"
|
179 |
msgstr ""
|
180 |
|
181 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
182 |
msgid "July"
|
183 |
msgstr ""
|
184 |
|
185 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
186 |
msgid "August"
|
187 |
msgstr ""
|
188 |
|
189 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
190 |
msgid "September"
|
191 |
msgstr ""
|
192 |
|
193 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
194 |
msgid "October"
|
195 |
msgstr ""
|
196 |
|
197 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
198 |
msgid "November"
|
199 |
msgstr ""
|
200 |
|
201 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
202 |
msgid "December"
|
203 |
msgstr ""
|
204 |
|
205 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
206 |
msgid "Sun"
|
207 |
msgstr ""
|
208 |
|
209 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
210 |
msgid "Mon"
|
211 |
msgstr ""
|
212 |
|
213 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
214 |
msgid "Tue"
|
215 |
msgstr ""
|
216 |
|
217 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
218 |
msgid "Wed"
|
219 |
msgstr ""
|
220 |
|
221 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
222 |
msgid "Thu"
|
223 |
msgstr ""
|
224 |
|
225 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
226 |
msgid "Fri"
|
227 |
msgstr ""
|
228 |
|
229 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
230 |
msgid "Sat"
|
231 |
msgstr ""
|
232 |
|
233 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
234 |
msgid "Move a month forward"
|
235 |
msgstr ""
|
236 |
|
237 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
238 |
msgid "Move a month backward"
|
239 |
msgstr ""
|
240 |
|
241 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
242 |
msgid "Move a year forward"
|
243 |
msgstr ""
|
244 |
|
245 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
246 |
msgid "Move a year backward"
|
247 |
msgstr ""
|
248 |
|
249 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
250 |
msgid "Close the calendar"
|
251 |
msgstr ""
|
252 |
|
253 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
254 |
msgid "Date object invalid!"
|
255 |
msgstr ""
|
256 |
|
257 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
258 |
msgid "Target invalid!"
|
259 |
msgstr ""
|
260 |
|
261 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
262 |
msgid "Date field"
|
263 |
msgstr ""
|
264 |
|
265 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
266 |
msgid "Required field?"
|
267 |
msgstr ""
|
268 |
|
269 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
270 |
msgid "Name"
|
271 |
msgstr ""
|
272 |
|
273 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
274 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
275 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
276 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
277 |
msgid "optional"
|
278 |
msgstr ""
|
279 |
|
280 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
281 |
msgid "Copy this code and paste it into the form left."
|
282 |
msgstr ""
|
283 |
|
284 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
285 |
msgid "And, put this code into the Mail fields below."
|
286 |
msgstr ""
|
287 |
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: contact-form-7-datepicker\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-06-13 11:24+0200\n"
|
6 |
+
"PO-Revision-Date: 2011-06-13 11:24+0200\n"
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
17 |
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
19 |
|
20 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:110
|
21 |
msgid "Datepicker Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:192
|
25 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:300
|
26 |
msgid "Today and future"
|
27 |
msgstr ""
|
28 |
|
29 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:193
|
30 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:302
|
31 |
msgid "Today and past"
|
32 |
msgstr ""
|
33 |
|
34 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:194
|
35 |
msgid "No limit"
|
36 |
msgstr ""
|
37 |
|
38 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:197
|
39 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:274
|
40 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:414
|
|
|
41 |
msgid "true"
|
42 |
msgstr ""
|
43 |
|
44 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:198
|
45 |
msgid "false"
|
46 |
msgstr ""
|
47 |
|
48 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:202
|
49 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:328
|
50 |
msgid "Sunday"
|
51 |
msgstr ""
|
52 |
|
53 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:203
|
54 |
msgid "Monday"
|
55 |
msgstr ""
|
56 |
|
57 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:206
|
58 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:363
|
59 |
msgid "Left to right"
|
60 |
msgstr ""
|
61 |
|
62 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:207
|
63 |
msgid "Right to left"
|
64 |
msgstr ""
|
65 |
|
66 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:214
|
67 |
msgid ""
|
68 |
"<p>This plugin implements a new <strong>[date]</strong> tag in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
|
69 |
"\t\tthat adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.<br />\n"
|
71 |
"\t\tin your Contact Form 7 edit section.</p>"
|
72 |
msgstr ""
|
73 |
|
74 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:223
|
75 |
msgid "Color scheme"
|
76 |
msgstr ""
|
77 |
|
78 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:247
|
79 |
msgid "Use Mode"
|
80 |
msgstr ""
|
81 |
|
82 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:262
|
83 |
msgid ""
|
84 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
85 |
"\t\t\t\t\t\t\t2 – The calendar will appear as a popup when the field with the id supplied in target is clicked.</p>"
|
86 |
msgstr ""
|
87 |
|
88 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:269
|
89 |
msgid "Sripped"
|
90 |
msgstr ""
|
91 |
|
92 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:289
|
93 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
94 |
msgstr ""
|
95 |
|
96 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:295
|
97 |
msgid "Limit Dates To"
|
98 |
msgstr ""
|
99 |
|
100 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:317
|
101 |
msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
|
102 |
msgstr ""
|
103 |
|
104 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:323
|
105 |
msgid "Week Start Day"
|
106 |
msgstr ""
|
107 |
|
108 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:348
|
109 |
msgid "Years Range"
|
110 |
msgstr ""
|
111 |
|
112 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:358
|
113 |
msgid "Text Direction"
|
114 |
msgstr ""
|
115 |
|
116 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:383
|
117 |
msgid "Controls"
|
118 |
msgstr ""
|
119 |
|
120 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:392
|
121 |
msgid "Year Controls"
|
122 |
msgstr ""
|
123 |
|
124 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:400
|
125 |
msgid "Month Controls"
|
126 |
msgstr ""
|
127 |
|
128 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:403
|
129 |
+
msgid "<p>You can select here what controls would you like to display on the calendar.</p>"
|
130 |
+
msgstr ""
|
131 |
+
|
132 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:409
|
133 |
+
msgid "Animate"
|
134 |
+
msgstr ""
|
135 |
+
|
136 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:429
|
137 |
+
msgid "<p>Animation on display.</p>"
|
138 |
msgstr ""
|
139 |
|
140 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:435
|
141 |
msgid "Date Format"
|
142 |
msgstr ""
|
143 |
|
144 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:441
|
145 |
msgid ""
|
146 |
"<p>Possible values to use in the date format:<br />\n"
|
147 |
"<br />\n"
|
157 |
"You can of course put whatever divider you want between them.<br /></p>"
|
158 |
msgstr ""
|
159 |
|
160 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:461
|
161 |
msgid "Save Setting"
|
162 |
msgstr ""
|
163 |
|
164 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:650
|
165 |
msgid "Janaury"
|
166 |
msgstr ""
|
167 |
|
168 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:651
|
169 |
msgid "February"
|
170 |
msgstr ""
|
171 |
|
172 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:652
|
173 |
msgid "March"
|
174 |
msgstr ""
|
175 |
|
176 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:653
|
177 |
msgid "April"
|
178 |
msgstr ""
|
179 |
|
180 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:654
|
181 |
msgid "May"
|
182 |
msgstr ""
|
183 |
|
184 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:655
|
185 |
msgid "June"
|
186 |
msgstr ""
|
187 |
|
188 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:656
|
189 |
msgid "July"
|
190 |
msgstr ""
|
191 |
|
192 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:657
|
193 |
msgid "August"
|
194 |
msgstr ""
|
195 |
|
196 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:658
|
197 |
msgid "September"
|
198 |
msgstr ""
|
199 |
|
200 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:659
|
201 |
msgid "October"
|
202 |
msgstr ""
|
203 |
|
204 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:660
|
205 |
msgid "November"
|
206 |
msgstr ""
|
207 |
|
208 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:661
|
209 |
msgid "December"
|
210 |
msgstr ""
|
211 |
|
212 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:664
|
213 |
msgid "Sun"
|
214 |
msgstr ""
|
215 |
|
216 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:665
|
217 |
msgid "Mon"
|
218 |
msgstr ""
|
219 |
|
220 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:666
|
221 |
msgid "Tue"
|
222 |
msgstr ""
|
223 |
|
224 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:667
|
225 |
msgid "Wed"
|
226 |
msgstr ""
|
227 |
|
228 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:668
|
229 |
msgid "Thu"
|
230 |
msgstr ""
|
231 |
|
232 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:669
|
233 |
msgid "Fri"
|
234 |
msgstr ""
|
235 |
|
236 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:670
|
237 |
msgid "Sat"
|
238 |
msgstr ""
|
239 |
|
240 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:672
|
241 |
msgid "Move a month forward"
|
242 |
msgstr ""
|
243 |
|
244 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:673
|
245 |
msgid "Move a month backward"
|
246 |
msgstr ""
|
247 |
|
248 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:674
|
249 |
msgid "Move a year forward"
|
250 |
msgstr ""
|
251 |
|
252 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:675
|
253 |
msgid "Move a year backward"
|
254 |
msgstr ""
|
255 |
|
256 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:676
|
257 |
msgid "Close the calendar"
|
258 |
msgstr ""
|
259 |
|
260 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:677
|
261 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:678
|
262 |
msgid "Date object invalid!"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:679
|
266 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:680
|
267 |
msgid "Target invalid!"
|
268 |
msgstr ""
|
269 |
|
270 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:706
|
271 |
msgid "Date field"
|
272 |
msgstr ""
|
273 |
|
274 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:733
|
275 |
msgid "Required field?"
|
276 |
msgstr ""
|
277 |
|
278 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:738
|
279 |
msgid "Name"
|
280 |
msgstr ""
|
281 |
|
282 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:747
|
283 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:752
|
284 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:759
|
285 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:764
|
286 |
msgid "optional"
|
287 |
msgstr ""
|
288 |
|
289 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:771
|
290 |
msgid "Copy this code and paste it into the form left."
|
291 |
msgstr ""
|
292 |
|
293 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:775
|
294 |
msgid "And, put this code into the Mail fields below."
|
295 |
msgstr ""
|
296 |
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link:
|
|
4 |
Tags: wordpress, datepicker, calendar, contact form 7, forms
|
5 |
Requires at least: WordPress 2.9
|
6 |
Tested up to: WordPress 3.1.3
|
7 |
-
Stable tag: 0.
|
8 |
|
9 |
Datepicker for Contact Form 7 Wordpress Plugin based on jsDatePick script.
|
10 |
|
@@ -23,7 +23,7 @@ Please follow the [standard installation procedure for WordPress plugins](http:/
|
|
23 |
|
24 |
= Where do I submit a bug? =
|
25 |
|
26 |
-
You can
|
27 |
|
28 |
= I've translated this plugin, how can I share my translation? =
|
29 |
|
@@ -35,6 +35,15 @@ You can contact me anywhere and I'll add them to the project :)
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
= 0.4 =
|
39 |
* Added new configuration options:
|
40 |
- limit selectable dates according to current date (before or or after)
|
@@ -63,4 +72,6 @@ First release
|
|
63 |
|
64 |
== Upgrade Notice ==
|
65 |
|
66 |
-
|
|
|
|
4 |
Tags: wordpress, datepicker, calendar, contact form 7, forms
|
5 |
Requires at least: WordPress 2.9
|
6 |
Tested up to: WordPress 3.1.3
|
7 |
+
Stable tag: 0.5
|
8 |
|
9 |
Datepicker for Contact Form 7 Wordpress Plugin based on jsDatePick script.
|
10 |
|
23 |
|
24 |
= Where do I submit a bug? =
|
25 |
|
26 |
+
You can [open an issue on github](https://github.com/relu/contact-form-7-datepicker/issues) or just contact me via email.
|
27 |
|
28 |
= I've translated this plugin, how can I share my translation? =
|
29 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 0.5 =
|
39 |
+
* Bugfixes:
|
40 |
+
- the name of the js var that holds the jsDatePick object is now escaped so no illegal char gets printed (regards [Petrus](http://wordpress.org/support/profile/petrus006))
|
41 |
+
- removed any posibility of the calendar being displayed more than once at a time on a page when in Mode 2
|
42 |
+
- controls option now works
|
43 |
+
* New:
|
44 |
+
- animate the calendar on display option
|
45 |
+
- added Dutch translations (regards [Petrus](http://wordpress.org/support/profile/petrus006))
|
46 |
+
|
47 |
= 0.4 =
|
48 |
* Added new configuration options:
|
49 |
- limit selectable dates according to current date (before or or after)
|
72 |
|
73 |
== Upgrade Notice ==
|
74 |
|
75 |
+
= 0.5 =
|
76 |
+
|
77 |
+
This should now work _out of the box_ for everyone, do upgrade!
|