Contact Form 7 Datepicker - Version 0.7

Version Description

  • New:
    • Added new [datepicker] tag to use outside of CF7
    • Added CF7 specific attributes for the shortcodes
    • Now you can have input fields prefilled with a desired date either from the configuration menu, or by specifying it in the shortcode as an attribute
Download this release

Release Info

Developer shockware
Plugin Icon wp plugin Contact Form 7 Datepicker
Version 0.7
Comparing to
See all releases

Code changes from version 0.5 to 0.7

contact-form-7-datepicker.php CHANGED
@@ -2,9 +2,9 @@
2
  /*
3
  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.5
8
  Author URI: https://github.com/relu/
9
  */
10
  ?>
@@ -28,9 +28,13 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
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 {
35
 
36
  static $option_defaults = array(
@@ -44,7 +48,8 @@ class CF7DatePicker {
44
  "yearsRange" => "1970,2100",
45
  "yearButtons" => "true",
46
  "monthButtons" => "true",
47
- "animate" => "true"
 
48
  );
49
 
50
  function init() {
@@ -52,15 +57,21 @@ class CF7DatePicker {
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);
 
 
64
  }
65
 
66
  /**
@@ -185,6 +196,18 @@ class CF7DatePicker {
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);
@@ -404,6 +427,20 @@ class CF7DatePicker {
404
  </td>
405
  </tr>
406
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
407
  <tr>
408
  <th>
409
  <label><?php echo __('Animate', 'contact-form-7-datepicker'); ?></label>
@@ -472,10 +509,10 @@ You can of course put whatever divider you want between them.<br /></p>',
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
  /**
@@ -486,43 +523,111 @@ You can of course put whatever divider you want between them.<br /></p>',
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')."\",
510
- imgPath:\"".plugins_url( '/img/'.get_option('cellColorScheme').'/', __FILE__ )."\",
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>";
520
  $schemecss = self::get_scheme_style(get_option('cellColorScheme'));
521
  if ($schemecss)
522
- $string .= "
523
- <style type=\"text/css\">
524
- @import url('".$schemecss."');
525
- </style>";
526
 
527
  return $string;
528
  }
@@ -548,42 +653,24 @@ You can of course put whatever divider you want between them.<br /></p>',
548
  if ( empty( $name ) )
549
  return '';
550
 
551
- $atts = '';
552
- $id_att = '';
553
- $class_att = '';
554
- $size_att = '';
555
- $maxlength_att = '';
556
 
557
  if ( 'date*' == $type )
558
- $class_att .= ' wpcf7-validates-as-required';
559
 
560
  foreach ( $options as $option ) {
561
  if ( preg_match( '%^id:([-0-9a-zA-Z_]+)$%', $option, $matches ) ) {
562
- $id_att = $matches[1];
563
 
564
  } elseif ( preg_match( '%^class:([-0-9a-zA-Z_]+)$%', $option, $matches ) ) {
565
- $class_att .= ' ' . $matches[1];
566
 
567
  } elseif ( preg_match( '%^([0-9]*)[/x]([0-9]*)$%', $option, $matches ) ) {
568
- $size_att = (int) $matches[1];
569
- $maxlength_att = (int) $matches[2];
570
  }
571
  }
572
 
573
- if ( $id_att )
574
- $atts .= ' id="' . trim( $id_att ) . '"';
575
-
576
- if ( $class_att )
577
- $atts .= ' class="' . trim( $class_att ) . '"';
578
-
579
- if ( $size_att )
580
- $atts .= ' size="' . $size_att . '"';
581
- else
582
- $atts .= ' size="40"';
583
-
584
- if ( $maxlength_att )
585
- $atts .= ' maxlength="' . $maxlength_att . '"';
586
-
587
  if ( is_a( $wpcf7_contact_form, 'WPCF7_ContactForm' ) && $wpcf7_contact_form->is_posted() ) {
588
  if ( isset( $_POST['_wpcf7_mail_sent'] ) && $_POST['_wpcf7_mail_sent']['ok'] )
589
  $value = '';
@@ -592,8 +679,15 @@ You can of course put whatever divider you want between them.<br /></p>',
592
  } else {
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 );
@@ -639,6 +733,33 @@ You can of course put whatever divider you want between them.<br /></p>',
639
  load_plugin_textdomain( 'contact-form-7-datepicker', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
640
  }
641
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
642
  /**
643
  * calendar_l10n()
644
  *
@@ -693,6 +814,7 @@ You can of course put whatever divider you want between them.<br /></p>',
693
  if (function_exists('wpcf7_add_shortcode')) {
694
  wpcf7_add_shortcode('date', array(__CLASS__, 'wpcf7_shotcode_handler'), true);
695
  wpcf7_add_shortcode('date*', array(__CLASS__, 'wpcf7_shotcode_handler'), true);
 
696
  }
697
  }
698
 
2
  /*
3
  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. Now you can use the [datepicker] shortcode outside of CF7.
6
  Author: Aurel Canciu
7
+ Version: 0.7
8
  Author URI: https://github.com/relu/
9
  */
10
  ?>
28
  ?>
29
  <?php
30
 
31
+ define('CF7_DATE_PICKER_VERSION', '0.7');
32
  define('PLUGIN_PATH', '/wp-content/plugins/'.plugin_basename(dirname(__FILE__)));
33
 
34
+ if (!defined('CF7_DATE_PICKER_ENQUEUES')) {
35
+ define('CF7_DATE_PICKER_ENQUEUES', true);
36
+ }
37
+
38
  class CF7DatePicker {
39
 
40
  static $option_defaults = array(
48
  "yearsRange" => "1970,2100",
49
  "yearButtons" => "true",
50
  "monthButtons" => "true",
51
+ "animate" => "true",
52
+ "selectedDate" => ""
53
  );
54
 
55
  function init() {
57
  register_deactivation_hook(__FILE__, array(__CLASS__, 'deactivate'));
58
 
59
  add_action('plugins_loaded', array(__CLASS__, 'register_shortcodes'));
 
60
  add_action('admin_init', array(__CLASS__, 'tag_generator'));
61
  add_action('admin_menu', array(__CLASS__, 'register_admin_settings'));
62
  add_action('init', array(__CLASS__, 'register_files'));
63
+ if (CF7_DATE_PICKER_ENQUEUES) {
64
+ add_action('wp_enqueue_scripts', array(__CLASS__, 'plugin_enqueues'));
65
+ }
66
+ add_action('admin_enqueue_scripts', array(__CLASS__, 'plugin_enqueues'));
67
+
68
  add_action('init', array(__CLASS__, 'calendar_l10n'));
69
+
70
 
71
  add_filter('wpcf7_validate_date', array(__CLASS__, 'wpcf7_validation_filter'), 10, 2);
72
  add_filter('wpcf7_validate_date*', array(__CLASS__, 'wpcf7_validation_filter'), 10, 2);
73
+
74
+ add_action('init', array(__CLASS__, 'admin_l10n'));
75
  }
76
 
77
  /**
196
  $dataupdate['yearButtons'] = (isset($_POST['yearButtons'])) ? "true" : "false";
197
  $dataupdate['monthButtons'] = (isset($_POST['monthButtons'])) ? "true" : "false";
198
 
199
+ if ($_POST['selectedDate'] !== '') {
200
+ if (get_option('dateFormat') !== $dataupdate['dateFormat']) {
201
+ $df = $dataupdate['dateFormat'];
202
+ } else {
203
+ $df = get_option('dateFormat');
204
+ }
205
+ $df = str_replace('%', '', trim($df));
206
+
207
+ $dataupdate['selectedDate'] = date($df, strtotime($_POST['selectedDate']));
208
+ $dataupdate['selectedDate'] = date("Y-m-d", strtotime($dataupdate['selectedDate']));
209
+ }
210
+
211
  self::update_settings($dataupdate);
212
  }
213
  $useMode = array(1,2);
427
  </td>
428
  </tr>
429
 
430
+ <tr>
431
+ <th>
432
+ <label><?php echo __('Selected Date', 'contact-form-7-datepicker'); ?></label>
433
+ </th>
434
+ <td style="overflow: visible">
435
+ <?php
436
+ echo self::page_text_filter_callback("selectedDate");
437
+ ?>
438
+ </td>
439
+ <td>
440
+ <?php echo __('<p>You can set here a default selected date and have a look of how the calendar shows up.</p>', 'contact-form-7-datepicker'); ?>
441
+ </td>
442
+ </tr>
443
+
444
  <tr>
445
  <th>
446
  <label><?php echo __('Animate', 'contact-form-7-datepicker'); ?></label>
509
  * Registers needed files
510
  */
511
  public static function register_files() {
512
+ wp_register_style('jsdp_ltr', plugins_url( '/css/jsDatePick_ltr.min.css', __FILE__ ), array(), CF7_DATE_PICKER_VERSION);
513
+ wp_register_style('jsdp_rtl', plugins_url( '/css/jsDatePick_rtl.min.css', __FILE__ ), array(), CF7_DATE_PICKER_VERSION);
514
 
515
+ wp_register_script('jsDatePickJS', plugins_url( '/js/jsDatePick.jquery.min.js', __FILE__ ), array('jquery'), CF7_DATE_PICKER_VERSION, true);
516
  }
517
 
518
  /**
523
  public static function plugin_enqueues() {
524
  wp_enqueue_style('jsdp_'.get_option('directionality'));
525
  wp_enqueue_script('jsDatePickJS');
526
+
527
+ do_action('plugin_enqueues');
528
  }
529
 
530
  /**
531
+ * page_text_filter_callback($data)
532
  *
533
  * If a match is found in the content of a form, this returns the HTML for the matched date input field
534
+ * @param Array $data, an array of attributes and options for the input date field that we generate code for
535
  * @return String $string, the HTML for our match
536
  */
537
+ private function page_text_filter_callback($data) {
538
+ if (!is_array($data)) {
539
+ $name = $data;
540
+ } else {
541
+ $name = (string) $data['name'];
542
+ }
543
+
544
+ if (is_array($data) && isset($data['atts']['id'])) {
545
+ $data['atts']['id'] = preg_replace('/[^A-Za-z0-9]/', '', $data['atts']['id']);
546
+ $id = $data['atts']['id'];
547
+ } else {
548
+ $name = preg_replace('/[^A-Za-z0-9]/', '', $data);
549
+ $id = $name;
550
+ }
551
+
552
+ if (is_array($data) && !empty($data['value']) && is_numeric(strtotime($data['value']))) {
553
+ $seldate = date('Y-m-d', strtotime($data['value']));
554
+
555
+ } else {
556
+ $seldate = get_option('selectedDate');
557
+ }
558
+
559
+ if ($seldate) {
560
+ $ts = strtotime($seldate);
561
+ $seldate = array(
562
+ 'd' => date('d', $ts),
563
+ 'm' => date('m', $ts),
564
+ 'y' => date('Y', $ts)
565
+ );
566
+
567
+ $dateval = $seldate['y'].'-'.$seldate['m'].'-'.$seldate['d'];
568
+ } else {
569
+ $dateval = '';
570
+ }
571
+
572
+ $attributes = '';
573
+
574
+ if (is_array($data) && is_array($data['atts'])) {
575
+ foreach ($data['atts'] as $key => $val) {
576
+ if (!empty($val))
577
+ $attributes .= $key.'="'.$val.'" ';
578
+ }
579
+ } else {
580
+ $attributes .= 'id="'.$id.'" ';
581
+ }
582
+
583
+ if (!empty($dateval)) {
584
+ $df = str_replace('%', '', get_option('dateFormat'));
585
+ $dateval = date($df, strtotime($dateval));
586
+ $attributes .= 'value="'.$dateval.'"';
587
+ }
588
+
589
+ $attributes = trim($attributes);
590
+
591
+ $string = '';
592
+
593
+ if ( (is_array($data) && $data['opts']['newfield'] === 'true') || !is_array($data) || (is_array($data) && empty($data['opts']['newfield'])))
594
+ $string = '<input type="text" name="'.$name.'" '.$attributes.' />';
595
+
596
+ $string .= '
597
+ <script type="text/javascript">
598
  jQuery(document).ready(function() {
599
+ DatePicker_'.$id.' = new JsDatePick({
600
+ useMode:'.get_option('useMode').',
601
+ isStripped:'.get_option('isStripped').',
602
+ target:"'.$id.'",
603
+ limitToToday:"'.get_option('limitToToday').'",
604
+ cellColorScheme:"'.get_option('cellColorScheme').'",
605
+ dateFormat:"'.get_option('dateFormat').'",
606
+ imgPath:"'.plugins_url('/img/'.get_option('cellColorScheme').'/', __FILE__).'",
607
+ weekStartDay:'.get_option('weekStartDay').',
608
+ yearsRange:['.get_option('yearsRange').'],
609
+ directionality:"'.get_option('directionality').'",
610
+ yearButtons:'.get_option('yearButtons').',
611
+ monthButtons:'.get_option('monthButtons').',
612
+ animate:'.get_option('animate');
613
+ if ($seldate) {
614
+ $string .= ',
615
+ selectedDate: {
616
+ year: '.$seldate['y'].',
617
+ month: '.$seldate['m'].',
618
+ day: '.$seldate['d'].'
619
+ }';
620
+ }
621
+ $string .= '
622
  });
623
  });
624
+ </script>';
625
  $schemecss = self::get_scheme_style(get_option('cellColorScheme'));
626
  if ($schemecss)
627
+ $string .= '
628
+ <style type="text/css">
629
+ @import url(\''.$schemecss.'\');
630
+ </style>';
631
 
632
  return $string;
633
  }
653
  if ( empty( $name ) )
654
  return '';
655
 
656
+ $atts = array();
 
 
 
 
657
 
658
  if ( 'date*' == $type )
659
+ $atts['class'] = ' wpcf7-validates-as-required';
660
 
661
  foreach ( $options as $option ) {
662
  if ( preg_match( '%^id:([-0-9a-zA-Z_]+)$%', $option, $matches ) ) {
663
+ $atts['id'] = $matches[1];
664
 
665
  } elseif ( preg_match( '%^class:([-0-9a-zA-Z_]+)$%', $option, $matches ) ) {
666
+ $atts['class'] .= ' ' . $matches[1];
667
 
668
  } elseif ( preg_match( '%^([0-9]*)[/x]([0-9]*)$%', $option, $matches ) ) {
669
+ $atts['size'] = (int) $matches[1];
670
+ $atts['maxlength'] = (int) $matches[2];
671
  }
672
  }
673
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
674
  if ( is_a( $wpcf7_contact_form, 'WPCF7_ContactForm' ) && $wpcf7_contact_form->is_posted() ) {
675
  if ( isset( $_POST['_wpcf7_mail_sent'] ) && $_POST['_wpcf7_mail_sent']['ok'] )
676
  $value = '';
679
  } else {
680
  $value = $values[0];
681
  }
682
+
683
+ $data = array(
684
+ "name" => $name,
685
+ "atts" => (array) $atts,
686
+ "opts" => NULL,
687
+ "value" => $value
688
+ );
689
+
690
+ $html = self::page_text_filter_callback($data);
691
  $validation_error = '';
692
  if ( is_a( $wpcf7_contact_form, 'WPCF7_ContactForm' ) )
693
  $validation_error = $wpcf7_contact_form->validation_error( $name );
733
  load_plugin_textdomain( 'contact-form-7-datepicker', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
734
  }
735
 
736
+ /**
737
+ * datepicker_shortcode_handler()
738
+ *
739
+ * Function that handles the [datepicker name="?" id="?" class="?" newfield="?" value="?"] shortcode
740
+ */
741
+ public static function datepicker_shortcode_handler($atts) {
742
+ extract(shortcode_atts(array(
743
+ 'name' => '',
744
+ 'id' => '',
745
+ 'class' => '',
746
+ 'newfield' => 'true',
747
+ 'value' => ''
748
+ ), $atts));
749
+
750
+ $data = array(
751
+ "name" => ($name) ? "{$name}" : "{$id}",
752
+ "atts" => array(
753
+ "id" => "{$id}",
754
+ "class" => "{$class}"),
755
+ "opts" => array(
756
+ "newfield" => "{$newfield}"),
757
+ "value" => "{$value}"
758
+ );
759
+
760
+ return self::page_text_filter_callback($data);
761
+ }
762
+
763
  /**
764
  * calendar_l10n()
765
  *
814
  if (function_exists('wpcf7_add_shortcode')) {
815
  wpcf7_add_shortcode('date', array(__CLASS__, 'wpcf7_shotcode_handler'), true);
816
  wpcf7_add_shortcode('date*', array(__CLASS__, 'wpcf7_shotcode_handler'), true);
817
+ add_shortcode( 'datepicker', array(__CLASS__, 'datepicker_shortcode_handler') );
818
  }
819
  }
820
 
js/jsDatePick.jquery.full.js CHANGED
@@ -409,7 +409,7 @@ JsDatePick.prototype.makeCalendar = function(){
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
  });
@@ -1105,6 +1105,8 @@ JsDatePick.prototype.getDOMControlBar = function(){
1105
  gRef.moveForwardOneMonth();
1106
  };
1107
 
 
 
1108
  /* Month backward button event handlers */
1109
 
1110
  monthBackwardButton.onmouseover = function(){
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('*').not('JsDatePickBox').live("focus", function() {
413
  JsDatePick.getCalInstanceById(inputElement.getAttribute("globalNumber")).closeCalendar();
414
  });
415
  });
1105
  gRef.moveForwardOneMonth();
1106
  };
1107
 
1108
+ jQuery(monthForwardButton).click(function(e){ e.preventDefault(); }).focus(function(e){ e.preventDefault(); });
1109
+
1110
  /* Month backward button event handlers */
1111
 
1112
  monthBackwardButton.onmouseover = function(){
js/jsDatePick.jquery.min.js CHANGED
@@ -1 +1 @@
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;};
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(a){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(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.oConfiguration.animate=(a.animate!=null)?a.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 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(){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 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_l10n.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_l10n.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(){jQuery("*").not("JsDatePickBox").live("focus",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_l10n.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_l10n.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_l10n.MONTHS[d].substr(0,3).toUpperCase()==g[k].toUpperCase()){k=d+1;break}}}else{if(j){for(d=0;d<12;d++){if(g_l10n.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();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(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_l10n.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_l10n.MONTHS[this.selectedDayObject.month-1].substr(0,3).toUpperCase());a=a.replace("%n",this.selectedDayObject.month);a=a.replace("%F",g_l10n.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_l10n.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_l10n.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_l10n.MONTH_FWD);d.setC(this,"monthForwardButton");d.moveForwardOneMonth()};jQuery(f).click(function(d){d.preventDefault()}).focus(function(d){d.preventDefault()});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_l10n.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_l10n.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_l10n.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_l10n.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_l10n.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_l10n.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_l10n.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_l10n.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_l10n.YEAR_BCK);d.setC(this,"yearBackwardButton");d.moveBackOneYear()};return c};
languages/contact-form-7-datepicker-it_IT.mo ADDED
Binary file
languages/contact-form-7-datepicker-it_IT.po ADDED
@@ -0,0 +1,314 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
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-07-05 17:29+0100\n"
7
+ "Last-Translator: Andrea <stardamage@gmail.com>\n"
8
+ "Language-Team: \n"
9
+ "Language: \n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "Plural-Forms: nplurals=2; plural=(n != 1)\n"
16
+ "X-Poedit-SourceCharset: utf-8\n"
17
+ "X-Poedit-Language: Italian\n"
18
+ "X-Poedit-Country: ITALY\n"
19
+
20
+ #: ../contact-form-7-datepicker.php:110
21
+ msgid "Datepicker Settings"
22
+ msgstr "Configurazione di Datepicker"
23
+
24
+ #: ../contact-form-7-datepicker.php:192
25
+ #: ../contact-form-7-datepicker.php:300
26
+ msgid "Today and future"
27
+ msgstr "Oggi e date future"
28
+
29
+ #: ../contact-form-7-datepicker.php:193
30
+ #: ../contact-form-7-datepicker.php:302
31
+ msgid "Today and past"
32
+ msgstr "Oggi e date passate"
33
+
34
+ #: ../contact-form-7-datepicker.php:194
35
+ msgid "No limit"
36
+ msgstr "Nessun limite"
37
+
38
+ #: ../contact-form-7-datepicker.php:197
39
+ #: ../contact-form-7-datepicker.php:274
40
+ #: ../contact-form-7-datepicker.php:414
41
+ msgid "true"
42
+ msgstr "vero"
43
+
44
+ #: ../contact-form-7-datepicker.php:198
45
+ msgid "false"
46
+ msgstr "falso"
47
+
48
+ #: ../contact-form-7-datepicker.php:202
49
+ #: ../contact-form-7-datepicker.php:328
50
+ msgid "Sunday"
51
+ msgstr "domenica"
52
+
53
+ #: ../contact-form-7-datepicker.php:203
54
+ msgid "Monday"
55
+ msgstr "lunedì"
56
+
57
+ #: ../contact-form-7-datepicker.php:206
58
+ #: ../contact-form-7-datepicker.php:363
59
+ msgid "Left to right"
60
+ msgstr "Da sinistra a destra"
61
+
62
+ #: ../contact-form-7-datepicker.php:207
63
+ msgid "Right to left"
64
+ msgstr "Da destra a sinistra"
65
+
66
+ #: ../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"
70
+ "\t\tTo use it simply insert the <strong>[date your-field-name]</strong> or <strong>[date* your-requierd-field-name]</strong> if you want it to be mandatory,\n"
71
+ "\t\tin your Contact Form 7 edit section.</p>"
72
+ msgstr ""
73
+ "<p>Questo plugin implementa un nuovo tag <strong>[date]</strong> in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
74
+ "\t\tche aggiunge un campo data a un form. Cliccando sul campo compare un calendaro che permette ai visitatori del tuo sito di scegliere facilmente qualsiasi data.<br />\n"
75
+ "\t\tPer utilizzarlo è sufficiente inserire <strong>[date nome-del-tuo-campo]</strong> o <strong>[date* nome-del-tuo-campo-obbligatorio]</strong> se vuoi che sia obbligatorio compilarlo,\n"
76
+ "\t\tnella sezione di modifica del tuo Contact Form 7.</p>"
77
+
78
+ #: ../contact-form-7-datepicker.php:223
79
+ msgid "Color scheme"
80
+ msgstr "Schema dei colori"
81
+
82
+ #: ../contact-form-7-datepicker.php:247
83
+ msgid "Use Mode"
84
+ msgstr "Modo d'uso"
85
+
86
+ #: ../contact-form-7-datepicker.php:262
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>"
90
+ msgstr ""
91
+ "<p>1 – Il codice HTML del calendario sarà aggiunto direttamente in coda al campo fornito dal target<br />\n"
92
+ "\t\t\t\t\t\t\t2 – Il calendario appare come popup quando il campo con l'id fornito nel target è cliccato.</p>"
93
+
94
+ #: ../contact-form-7-datepicker.php:269
95
+ msgid "Sripped"
96
+ msgstr "Sripped"
97
+
98
+ #: ../contact-form-7-datepicker.php:289
99
+ msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
100
+ msgstr "<p>Quando settato a vero il calendario appare senza design - è solitamente utilizzato in combinazione col 'Modo d'uso' 1.</p>"
101
+
102
+ #: ../contact-form-7-datepicker.php:295
103
+ msgid "Limit Dates To"
104
+ msgstr "Limita le date a"
105
+
106
+ #: ../contact-form-7-datepicker.php:317
107
+ msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
108
+ msgstr "<p>Permette di limitare la possibile scelta delle date secondo la data corrente.</p>"
109
+
110
+ #: ../contact-form-7-datepicker.php:323
111
+ msgid "Week Start Day"
112
+ msgstr "La settimana inizia"
113
+
114
+ #: ../contact-form-7-datepicker.php:348
115
+ msgid "Years Range"
116
+ msgstr "Intervallo anni"
117
+
118
+ #: ../contact-form-7-datepicker.php:358
119
+ msgid "Text Direction"
120
+ msgstr "Direzione del testo"
121
+
122
+ #: ../contact-form-7-datepicker.php:383
123
+ msgid "Controls"
124
+ msgstr "Controlli"
125
+
126
+ #: ../contact-form-7-datepicker.php:392
127
+ msgid "Year Controls"
128
+ msgstr "Controlli degli anni"
129
+
130
+ #: ../contact-form-7-datepicker.php:400
131
+ msgid "Month Controls"
132
+ msgstr "Controlli dei mesi"
133
+
134
+ #: ../contact-form-7-datepicker.php:403
135
+ msgid "<p>You can select here what controls would you like to display on the calendar.</p>"
136
+ msgstr "<p>Puoi scegliere qui quali controlli vuoi che siano mostrati sul calendario"
137
+
138
+ #: ../contact-form-7-datepicker.php:409
139
+ msgid "Animate"
140
+ msgstr "Animazione"
141
+
142
+ #: ../contact-form-7-datepicker.php:429
143
+ msgid "<p>Animation on display.</p>"
144
+ msgstr "<p>Animazione quando mostrato.</p>"
145
+
146
+ #: ../contact-form-7-datepicker.php:435
147
+ msgid "Date Format"
148
+ msgstr "Formato Data"
149
+
150
+ #: ../contact-form-7-datepicker.php:441
151
+ msgid ""
152
+ "<p>Possible values to use in the date format:<br />\n"
153
+ "<br />\n"
154
+ "%d - Day of the month, 2 digits with leading zeros<br />\n"
155
+ "%j - Day of the month without leading zeros<br />\n"
156
+ "%m - Numeric representation of a month, with leading zeros<br />\n"
157
+ "%M - A short textual representation of a month, three letters<br />\n"
158
+ "%n - Numeric representation of a month, without leading zeros<br />\n"
159
+ "%F - A full textual representation of a month, such as January or March<br />\n"
160
+ "%Y - A full numeric representation of a year, 4 digits<br />\n"
161
+ "%y - A two digit representation of a year<br />\n"
162
+ "<br />\n"
163
+ "You can of course put whatever divider you want between them.<br /></p>"
164
+ msgstr ""
165
+ "<p>Valori possibili per il formato della data:<br />\n"
166
+ "<br />\n"
167
+ "%d - Giorno del mese, 2 caratteri con zeri in testa<br />\n"
168
+ "%j - Giorno del mese senza zeri in testa<br />\n"
169
+ "%m - Rappresentazione numerica di un mese, con zeri in testa<br />\n"
170
+ "%M - Rappresentazione testuale corta del mese, tre lettere<br />\n"
171
+ "%n - Rappresentazione numerica di un mese, senza zeri in testa<br />\n"
172
+ "%F - Rappresentazione testuale completa di un mese, ad esempio Gennaio o Marzo<br />\n"
173
+ "%Y - Rappresentazione numerica completa di un anno, 4 cifre<br />\n"
174
+ "%y - Rappresentazione a due cifre di un anno<br />\n"
175
+ "<br />\n"
176
+ "Puoi ovviamente scegliere qualsiasi carattere per dividere i valori.<br /></p>"
177
+
178
+ #: ../contact-form-7-datepicker.php:461
179
+ msgid "Save Setting"
180
+ msgstr "Salva Impostazioni"
181
+
182
+ #: ../contact-form-7-datepicker.php:650
183
+ msgid "Janaury"
184
+ msgstr "Gennaio"
185
+
186
+ #: ../contact-form-7-datepicker.php:651
187
+ msgid "February"
188
+ msgstr "Febbraio"
189
+
190
+ #: ../contact-form-7-datepicker.php:652
191
+ msgid "March"
192
+ msgstr "Marzo"
193
+
194
+ #: ../contact-form-7-datepicker.php:653
195
+ msgid "April"
196
+ msgstr "Aprile"
197
+
198
+ #: ../contact-form-7-datepicker.php:654
199
+ msgid "May"
200
+ msgstr "Maggio"
201
+
202
+ #: ../contact-form-7-datepicker.php:655
203
+ msgid "June"
204
+ msgstr "Giugno"
205
+
206
+ #: ../contact-form-7-datepicker.php:656
207
+ msgid "July"
208
+ msgstr "Luglio"
209
+
210
+ #: ../contact-form-7-datepicker.php:657
211
+ msgid "August"
212
+ msgstr "Agosto"
213
+
214
+ #: ../contact-form-7-datepicker.php:658
215
+ msgid "September"
216
+ msgstr "Settembre"
217
+
218
+ #: ../contact-form-7-datepicker.php:659
219
+ msgid "October"
220
+ msgstr "Ottobre"
221
+
222
+ #: ../contact-form-7-datepicker.php:660
223
+ msgid "November"
224
+ msgstr "Novembre"
225
+
226
+ #: ../contact-form-7-datepicker.php:661
227
+ msgid "December"
228
+ msgstr "Dicembre"
229
+
230
+ #: ../contact-form-7-datepicker.php:664
231
+ msgid "Sun"
232
+ msgstr "Dom"
233
+
234
+ #: ../contact-form-7-datepicker.php:665
235
+ msgid "Mon"
236
+ msgstr "Lun"
237
+
238
+ #: ../contact-form-7-datepicker.php:666
239
+ msgid "Tue"
240
+ msgstr "Mar"
241
+
242
+ #: ../contact-form-7-datepicker.php:667
243
+ msgid "Wed"
244
+ msgstr "Mer"
245
+
246
+ #: ../contact-form-7-datepicker.php:668
247
+ msgid "Thu"
248
+ msgstr "Gio"
249
+
250
+ #: ../contact-form-7-datepicker.php:669
251
+ msgid "Fri"
252
+ msgstr "Ven"
253
+
254
+ #: ../contact-form-7-datepicker.php:670
255
+ msgid "Sat"
256
+ msgstr "Sab"
257
+
258
+ #: ../contact-form-7-datepicker.php:672
259
+ msgid "Move a month forward"
260
+ msgstr "Sposta un mese in avanti"
261
+
262
+ #: ../contact-form-7-datepicker.php:673
263
+ msgid "Move a month backward"
264
+ msgstr "Sposta un mese indietro"
265
+
266
+ #: ../contact-form-7-datepicker.php:674
267
+ msgid "Move a year forward"
268
+ msgstr "Sposta un anno in avanti"
269
+
270
+ #: ../contact-form-7-datepicker.php:675
271
+ msgid "Move a year backward"
272
+ msgstr "Sposta un anno indietro"
273
+
274
+ #: ../contact-form-7-datepicker.php:676
275
+ msgid "Close the calendar"
276
+ msgstr "Chiudi il calendario"
277
+
278
+ #: ../contact-form-7-datepicker.php:677
279
+ #: ../contact-form-7-datepicker.php:678
280
+ msgid "Date object invalid!"
281
+ msgstr "Oggetto data invalido!"
282
+
283
+ #: ../contact-form-7-datepicker.php:679
284
+ #: ../contact-form-7-datepicker.php:680
285
+ msgid "Target invalid!"
286
+ msgstr "Target invalido!"
287
+
288
+ #: ../contact-form-7-datepicker.php:706
289
+ msgid "Date field"
290
+ msgstr "Campo data"
291
+
292
+ #: ../contact-form-7-datepicker.php:733
293
+ msgid "Required field?"
294
+ msgstr "Campo obbligatorio?"
295
+
296
+ #: ../contact-form-7-datepicker.php:738
297
+ msgid "Name"
298
+ msgstr "Nome"
299
+
300
+ #: ../contact-form-7-datepicker.php:747
301
+ #: ../contact-form-7-datepicker.php:752
302
+ #: ../contact-form-7-datepicker.php:759
303
+ #: ../contact-form-7-datepicker.php:764
304
+ msgid "optional"
305
+ msgstr "Opzionale"
306
+
307
+ #: ../contact-form-7-datepicker.php:771
308
+ msgid "Copy this code and paste it into the form left."
309
+ msgstr "Copia questo codice e incollalo nel form a sinistra."
310
+
311
+ #: ../contact-form-7-datepicker.php:775
312
+ msgid "And, put this code into the Mail fields below."
313
+ msgstr "E, inserisci questo codice nei campi Mail sottostanti."
314
+
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-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,53 +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: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,15 +74,15 @@ msgstr ""
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,63 +90,71 @@ msgstr ""
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,140 +182,140 @@ msgstr ""
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
 
2
  msgstr ""
3
  "Project-Id-Version: contact-form-7-datepicker\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-07-29 19:02+0200\n"
6
+ "PO-Revision-Date: 2011-07-29 19:04+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
+ #: ../contact-form-7-datepicker.php:121
20
  msgid "Datepicker Settings"
21
  msgstr "Setări Calendar"
22
 
23
+ #: ../contact-form-7-datepicker.php:215
24
+ #: ../contact-form-7-datepicker.php:323
25
  msgid "Today and future"
26
  msgstr "Astăzi și viitor"
27
 
28
+ #: ../contact-form-7-datepicker.php:216
29
+ #: ../contact-form-7-datepicker.php:325
30
  msgid "Today and past"
31
  msgstr "Astăzi și trecut"
32
 
33
+ #: ../contact-form-7-datepicker.php:217
34
  msgid "No limit"
35
  msgstr "Fără limită"
36
 
37
+ #: ../contact-form-7-datepicker.php:220
38
+ #: ../contact-form-7-datepicker.php:297
39
+ #: ../contact-form-7-datepicker.php:451
40
  msgid "true"
41
  msgstr "adevărat"
42
 
43
+ #: ../contact-form-7-datepicker.php:221
44
  msgid "false"
45
  msgstr "fals"
46
 
47
+ #: ../contact-form-7-datepicker.php:225
48
+ #: ../contact-form-7-datepicker.php:351
49
  msgid "Sunday"
50
  msgstr "Duminică"
51
 
52
+ #: ../contact-form-7-datepicker.php:226
53
  msgid "Monday"
54
  msgstr "Luni"
55
 
56
+ #: ../contact-form-7-datepicker.php:229
57
+ #: ../contact-form-7-datepicker.php:386
58
  msgid "Left to right"
59
  msgstr "Stânga spre dreapta"
60
 
61
+ #: ../contact-form-7-datepicker.php:230
62
  msgid "Right to left"
63
  msgstr "Dreapta spre stânga"
64
 
65
+ #: ../contact-form-7-datepicker.php:237
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
+ #: ../contact-form-7-datepicker.php:246
78
  msgid "Color scheme"
79
  msgstr "Schemă de culori"
80
 
81
+ #: ../contact-form-7-datepicker.php:270
82
  msgid "Use Mode"
83
  msgstr "Mod de utilizare"
84
 
85
+ #: ../contact-form-7-datepicker.php:285
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
+ #: ../contact-form-7-datepicker.php:292
94
  msgid "Sripped"
95
  msgstr "Fără decor"
96
 
97
+ #: ../contact-form-7-datepicker.php:312
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
+ #: ../contact-form-7-datepicker.php:318
102
  msgid "Limit Dates To"
103
  msgstr "Limitează datele la"
104
 
105
+ #: ../contact-form-7-datepicker.php:340
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
+ #: ../contact-form-7-datepicker.php:346
110
  msgid "Week Start Day"
111
  msgstr "Prima zi a săptămânii"
112
 
113
+ #: ../contact-form-7-datepicker.php:371
114
  msgid "Years Range"
115
  msgstr "Interval ani"
116
 
117
+ #: ../contact-form-7-datepicker.php:381
118
  msgid "Text Direction"
119
  msgstr "Direcție text"
120
 
121
+ #: ../contact-form-7-datepicker.php:406
122
  msgid "Controls"
123
  msgstr "Controale"
124
 
125
+ #: ../contact-form-7-datepicker.php:415
126
  msgid "Year Controls"
127
  msgstr "Controale An"
128
 
129
+ #: ../contact-form-7-datepicker.php:423
130
  msgid "Month Controls"
131
  msgstr "Controale Lună"
132
 
133
+ #: ../contact-form-7-datepicker.php:426
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
+ #: ../contact-form-7-datepicker.php:432
138
+ msgid "Selected Date"
139
+ msgstr ""
140
+
141
+ #: ../contact-form-7-datepicker.php:440
142
+ msgid "<p>You can set here a default selected date and have a look of how the calendar shows up.</p>"
143
+ msgstr "<p>Puteți selecta aici o dată preselectată și vizualiza calendarul cu setările curente.</p>"
144
+
145
+ #: ../contact-form-7-datepicker.php:446
146
  msgid "Animate"
147
  msgstr "Animare"
148
 
149
+ #: ../contact-form-7-datepicker.php:466
150
  msgid "<p>Animation on display.</p>"
151
  msgstr "<p>Animare la afișare.</p>"
152
 
153
+ #: ../contact-form-7-datepicker.php:472
154
  msgid "Date Format"
155
  msgstr "Format dată"
156
 
157
+ #: ../contact-form-7-datepicker.php:478
158
  msgid ""
159
  "<p>Possible values to use in the date format:<br />\n"
160
  "<br />\n"
182
  "<br />\n"
183
  "Puteți desigur să introduceți orice separator doriți între valori.<br /></p>"
184
 
185
+ #: ../contact-form-7-datepicker.php:498
186
  msgid "Save Setting"
187
  msgstr "Salvează setări"
188
 
189
+ #: ../contact-form-7-datepicker.php:753
190
  msgid "Janaury"
191
  msgstr "Ianuarie"
192
 
193
+ #: ../contact-form-7-datepicker.php:754
194
  msgid "February"
195
  msgstr "Februarie"
196
 
197
+ #: ../contact-form-7-datepicker.php:755
198
  msgid "March"
199
  msgstr "Martie"
200
 
201
+ #: ../contact-form-7-datepicker.php:756
202
  msgid "April"
203
  msgstr "Aprilie"
204
 
205
+ #: ../contact-form-7-datepicker.php:757
206
  msgid "May"
207
  msgstr "Mai"
208
 
209
+ #: ../contact-form-7-datepicker.php:758
210
  msgid "June"
211
  msgstr "Iunie"
212
 
213
+ #: ../contact-form-7-datepicker.php:759
214
  msgid "July"
215
  msgstr "Iulie"
216
 
217
+ #: ../contact-form-7-datepicker.php:760
218
  msgid "August"
219
  msgstr "August"
220
 
221
+ #: ../contact-form-7-datepicker.php:761
222
  msgid "September"
223
  msgstr "Septembrie"
224
 
225
+ #: ../contact-form-7-datepicker.php:762
226
  msgid "October"
227
  msgstr "Octombrie"
228
 
229
+ #: ../contact-form-7-datepicker.php:763
230
  msgid "November"
231
  msgstr "Noiembrie"
232
 
233
+ #: ../contact-form-7-datepicker.php:764
234
  msgid "December"
235
  msgstr "Decembrie"
236
 
237
+ #: ../contact-form-7-datepicker.php:767
238
  msgid "Sun"
239
  msgstr "Dum"
240
 
241
+ #: ../contact-form-7-datepicker.php:768
242
  msgid "Mon"
243
  msgstr "Lun"
244
 
245
+ #: ../contact-form-7-datepicker.php:769
246
  msgid "Tue"
247
  msgstr "Mar"
248
 
249
+ #: ../contact-form-7-datepicker.php:770
250
  msgid "Wed"
251
  msgstr "Mie"
252
 
253
+ #: ../contact-form-7-datepicker.php:771
254
  msgid "Thu"
255
  msgstr "Joi"
256
 
257
+ #: ../contact-form-7-datepicker.php:772
258
  msgid "Fri"
259
  msgstr "Vin"
260
 
261
+ #: ../contact-form-7-datepicker.php:773
262
  msgid "Sat"
263
  msgstr "Sâm"
264
 
265
+ #: ../contact-form-7-datepicker.php:775
266
  msgid "Move a month forward"
267
  msgstr "Înaintează cu o lună"
268
 
269
+ #: ../contact-form-7-datepicker.php:776
270
  msgid "Move a month backward"
271
  msgstr "Întoarce cu o lună"
272
 
273
+ #: ../contact-form-7-datepicker.php:777
274
  msgid "Move a year forward"
275
  msgstr "Înaintează cu un an"
276
 
277
+ #: ../contact-form-7-datepicker.php:778
278
  msgid "Move a year backward"
279
  msgstr "Întoarce cu un an"
280
 
281
+ #: ../contact-form-7-datepicker.php:779
282
  msgid "Close the calendar"
283
  msgstr "Închide calendarul"
284
 
285
+ #: ../contact-form-7-datepicker.php:780
286
+ #: ../contact-form-7-datepicker.php:781
287
  msgid "Date object invalid!"
288
  msgstr "Obiect dată invalid!"
289
 
290
+ #: ../contact-form-7-datepicker.php:782
291
+ #: ../contact-form-7-datepicker.php:783
292
  msgid "Target invalid!"
293
  msgstr "Țintă nevalidă!"
294
 
295
+ #: ../contact-form-7-datepicker.php:810
296
  msgid "Date field"
297
  msgstr "Câmp dată"
298
 
299
+ #: ../contact-form-7-datepicker.php:837
300
  msgid "Required field?"
301
  msgstr ""
302
 
303
+ #: ../contact-form-7-datepicker.php:842
304
  msgid "Name"
305
  msgstr ""
306
 
307
+ #: ../contact-form-7-datepicker.php:851
308
+ #: ../contact-form-7-datepicker.php:856
309
+ #: ../contact-form-7-datepicker.php:863
310
+ #: ../contact-form-7-datepicker.php:868
311
  msgid "optional"
312
  msgstr ""
313
 
314
+ #: ../contact-form-7-datepicker.php:875
315
  msgid "Copy this code and paste it into the form left."
316
  msgstr ""
317
 
318
+ #: ../contact-form-7-datepicker.php:879
319
  msgid "And, put this code into the Mail fields below."
320
  msgstr ""
321
 
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-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"
@@ -15,55 +15,55 @@ msgstr ""
15
  "Plural-Forms: nplurals=1; plural=0;\n"
16
  "X-Poedit-Language: English\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,77 +71,85 @@ msgid ""
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,140 +165,140 @@ msgid ""
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
 
2
  msgstr ""
3
  "Project-Id-Version: contact-form-7-datepicker\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2011-07-29 19:02+0200\n"
6
+ "PO-Revision-Date: 2011-07-29 19:02+0200\n"
7
  "Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
8
  "Language-Team: \n"
9
  "Language: \n"
15
  "Plural-Forms: nplurals=1; plural=0;\n"
16
  "X-Poedit-Language: English\n"
17
  "X-Poedit-SourceCharset: utf-8\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../contact-form-7-datepicker.php:121
21
  msgid "Datepicker Settings"
22
  msgstr ""
23
 
24
+ #: ../contact-form-7-datepicker.php:215
25
+ #: ../contact-form-7-datepicker.php:323
26
  msgid "Today and future"
27
  msgstr ""
28
 
29
+ #: ../contact-form-7-datepicker.php:216
30
+ #: ../contact-form-7-datepicker.php:325
31
  msgid "Today and past"
32
  msgstr ""
33
 
34
+ #: ../contact-form-7-datepicker.php:217
35
  msgid "No limit"
36
  msgstr ""
37
 
38
+ #: ../contact-form-7-datepicker.php:220
39
+ #: ../contact-form-7-datepicker.php:297
40
+ #: ../contact-form-7-datepicker.php:451
41
  msgid "true"
42
  msgstr ""
43
 
44
+ #: ../contact-form-7-datepicker.php:221
45
  msgid "false"
46
  msgstr ""
47
 
48
+ #: ../contact-form-7-datepicker.php:225
49
+ #: ../contact-form-7-datepicker.php:351
50
  msgid "Sunday"
51
  msgstr ""
52
 
53
+ #: ../contact-form-7-datepicker.php:226
54
  msgid "Monday"
55
  msgstr ""
56
 
57
+ #: ../contact-form-7-datepicker.php:229
58
+ #: ../contact-form-7-datepicker.php:386
59
  msgid "Left to right"
60
  msgstr ""
61
 
62
+ #: ../contact-form-7-datepicker.php:230
63
  msgid "Right to left"
64
  msgstr ""
65
 
66
+ #: ../contact-form-7-datepicker.php:237
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
+ #: ../contact-form-7-datepicker.php:246
75
  msgid "Color scheme"
76
  msgstr ""
77
 
78
+ #: ../contact-form-7-datepicker.php:270
79
  msgid "Use Mode"
80
  msgstr ""
81
 
82
+ #: ../contact-form-7-datepicker.php:285
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
+ #: ../contact-form-7-datepicker.php:292
89
  msgid "Sripped"
90
  msgstr ""
91
 
92
+ #: ../contact-form-7-datepicker.php:312
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
+ #: ../contact-form-7-datepicker.php:318
97
  msgid "Limit Dates To"
98
  msgstr ""
99
 
100
+ #: ../contact-form-7-datepicker.php:340
101
  msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
102
  msgstr ""
103
 
104
+ #: ../contact-form-7-datepicker.php:346
105
  msgid "Week Start Day"
106
  msgstr ""
107
 
108
+ #: ../contact-form-7-datepicker.php:371
109
  msgid "Years Range"
110
  msgstr ""
111
 
112
+ #: ../contact-form-7-datepicker.php:381
113
  msgid "Text Direction"
114
  msgstr ""
115
 
116
+ #: ../contact-form-7-datepicker.php:406
117
  msgid "Controls"
118
  msgstr ""
119
 
120
+ #: ../contact-form-7-datepicker.php:415
121
  msgid "Year Controls"
122
  msgstr ""
123
 
124
+ #: ../contact-form-7-datepicker.php:423
125
  msgid "Month Controls"
126
  msgstr ""
127
 
128
+ #: ../contact-form-7-datepicker.php:426
129
  msgid "<p>You can select here what controls would you like to display on the calendar.</p>"
130
  msgstr ""
131
 
132
+ #: ../contact-form-7-datepicker.php:432
133
+ msgid "Selected Date"
134
+ msgstr ""
135
+
136
+ #: ../contact-form-7-datepicker.php:440
137
+ msgid "<p>You can set here a default selected date and have a look of how the calendar shows up.</p>"
138
+ msgstr ""
139
+
140
+ #: ../contact-form-7-datepicker.php:446
141
  msgid "Animate"
142
  msgstr ""
143
 
144
+ #: ../contact-form-7-datepicker.php:466
145
  msgid "<p>Animation on display.</p>"
146
  msgstr ""
147
 
148
+ #: ../contact-form-7-datepicker.php:472
149
  msgid "Date Format"
150
  msgstr ""
151
 
152
+ #: ../contact-form-7-datepicker.php:478
153
  msgid ""
154
  "<p>Possible values to use in the date format:<br />\n"
155
  "<br />\n"
165
  "You can of course put whatever divider you want between them.<br /></p>"
166
  msgstr ""
167
 
168
+ #: ../contact-form-7-datepicker.php:498
169
  msgid "Save Setting"
170
  msgstr ""
171
 
172
+ #: ../contact-form-7-datepicker.php:753
173
  msgid "Janaury"
174
  msgstr ""
175
 
176
+ #: ../contact-form-7-datepicker.php:754
177
  msgid "February"
178
  msgstr ""
179
 
180
+ #: ../contact-form-7-datepicker.php:755
181
  msgid "March"
182
  msgstr ""
183
 
184
+ #: ../contact-form-7-datepicker.php:756
185
  msgid "April"
186
  msgstr ""
187
 
188
+ #: ../contact-form-7-datepicker.php:757
189
  msgid "May"
190
  msgstr ""
191
 
192
+ #: ../contact-form-7-datepicker.php:758
193
  msgid "June"
194
  msgstr ""
195
 
196
+ #: ../contact-form-7-datepicker.php:759
197
  msgid "July"
198
  msgstr ""
199
 
200
+ #: ../contact-form-7-datepicker.php:760
201
  msgid "August"
202
  msgstr ""
203
 
204
+ #: ../contact-form-7-datepicker.php:761
205
  msgid "September"
206
  msgstr ""
207
 
208
+ #: ../contact-form-7-datepicker.php:762
209
  msgid "October"
210
  msgstr ""
211
 
212
+ #: ../contact-form-7-datepicker.php:763
213
  msgid "November"
214
  msgstr ""
215
 
216
+ #: ../contact-form-7-datepicker.php:764
217
  msgid "December"
218
  msgstr ""
219
 
220
+ #: ../contact-form-7-datepicker.php:767
221
  msgid "Sun"
222
  msgstr ""
223
 
224
+ #: ../contact-form-7-datepicker.php:768
225
  msgid "Mon"
226
  msgstr ""
227
 
228
+ #: ../contact-form-7-datepicker.php:769
229
  msgid "Tue"
230
  msgstr ""
231
 
232
+ #: ../contact-form-7-datepicker.php:770
233
  msgid "Wed"
234
  msgstr ""
235
 
236
+ #: ../contact-form-7-datepicker.php:771
237
  msgid "Thu"
238
  msgstr ""
239
 
240
+ #: ../contact-form-7-datepicker.php:772
241
  msgid "Fri"
242
  msgstr ""
243
 
244
+ #: ../contact-form-7-datepicker.php:773
245
  msgid "Sat"
246
  msgstr ""
247
 
248
+ #: ../contact-form-7-datepicker.php:775
249
  msgid "Move a month forward"
250
  msgstr ""
251
 
252
+ #: ../contact-form-7-datepicker.php:776
253
  msgid "Move a month backward"
254
  msgstr ""
255
 
256
+ #: ../contact-form-7-datepicker.php:777
257
  msgid "Move a year forward"
258
  msgstr ""
259
 
260
+ #: ../contact-form-7-datepicker.php:778
261
  msgid "Move a year backward"
262
  msgstr ""
263
 
264
+ #: ../contact-form-7-datepicker.php:779
265
  msgid "Close the calendar"
266
  msgstr ""
267
 
268
+ #: ../contact-form-7-datepicker.php:780
269
+ #: ../contact-form-7-datepicker.php:781
270
  msgid "Date object invalid!"
271
  msgstr ""
272
 
273
+ #: ../contact-form-7-datepicker.php:782
274
+ #: ../contact-form-7-datepicker.php:783
275
  msgid "Target invalid!"
276
  msgstr ""
277
 
278
+ #: ../contact-form-7-datepicker.php:810
279
  msgid "Date field"
280
  msgstr ""
281
 
282
+ #: ../contact-form-7-datepicker.php:837
283
  msgid "Required field?"
284
  msgstr ""
285
 
286
+ #: ../contact-form-7-datepicker.php:842
287
  msgid "Name"
288
  msgstr ""
289
 
290
+ #: ../contact-form-7-datepicker.php:851
291
+ #: ../contact-form-7-datepicker.php:856
292
+ #: ../contact-form-7-datepicker.php:863
293
+ #: ../contact-form-7-datepicker.php:868
294
  msgid "optional"
295
  msgstr ""
296
 
297
+ #: ../contact-form-7-datepicker.php:875
298
  msgid "Copy this code and paste it into the form left."
299
  msgstr ""
300
 
301
+ #: ../contact-form-7-datepicker.php:879
302
  msgid "And, put this code into the Mail fields below."
303
  msgstr ""
304
 
readme.txt CHANGED
@@ -3,14 +3,14 @@ Contributors: shockware
3
  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.5
8
 
9
  Datepicker for Contact Form 7 Wordpress Plugin based on jsDatePick script.
10
 
11
  == Description ==
12
 
13
- 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.
14
  To use, just insert the **[date your-field-name]** or **[date* your-required-field-name]** to any form in Contact Form 7 edit area where you want users to input a date.
15
 
16
  This plugin is somewhat a fork of [Contact Form 7 Calendar](http://wordpress.org/extend/plugins/cf7-calendar/) by [harrysudana](http://profiles.wordpress.org/users/harrysudana/).
@@ -21,6 +21,30 @@ Please follow the [standard installation procedure for WordPress plugins](http:/
21
 
22
  == Frequently Asked Questions ==
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.
@@ -35,6 +59,40 @@ You can contact me anywhere and I'll add them to the project :)
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))
3
  Donate link:
4
  Tags: wordpress, datepicker, calendar, contact form 7, forms
5
  Requires at least: WordPress 2.9
6
+ Tested up to: WordPress 3.2.1
7
+ Stable tag: 0.7
8
 
9
  Datepicker for Contact Form 7 Wordpress Plugin based on jsDatePick script.
10
 
11
  == Description ==
12
 
13
+ 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. Now you can use the [datepicker] shortcode outside of CF7.
14
  To use, just insert the **[date your-field-name]** or **[date* your-required-field-name]** to any form in Contact Form 7 edit area where you want users to input a date.
15
 
16
  This plugin is somewhat a fork of [Contact Form 7 Calendar](http://wordpress.org/extend/plugins/cf7-calendar/) by [harrysudana](http://profiles.wordpress.org/users/harrysudana/).
21
 
22
  == Frequently Asked Questions ==
23
 
24
+ = How to use the [date] and [date*] tags in CF7? =
25
+
26
+ These shortcodes have the same syntax as any other CF7 text input field shortcode
27
+ `[date name_of_field (id:id_of_field class:classes_of_field integer_size/integer_maxlength "value")]`
28
+
29
+ If you do not provide an **id:** the plugin will use the **name_of_field**. Everything between the parenthesis is optional (do not include parenthesis, I've wrapped everything in parenthesis just to mark attributes that are optional).
30
+
31
+ = Can I use the datepicker outside of CF7? =
32
+
33
+ Yes you can! Just use the new **[datepicker]** shortcode for that.
34
+ `[datepicker name="name_of_field" (id="id_of_field" class="classes_of_field" newfield="true/false" value="YYYY-MM-DD")]`
35
+
36
+ Again, everything wrapped between parenthesis is optional.
37
+
38
+ - **name**: name of the input field you want to append the datepicker to
39
+ - **id**: id of the input field you want to append the datepicker to
40
+ - **class**: the CSS classes of the input field
41
+ - **newfield**: specify weather you are appending to an existing input field (false) or create a new input field to append to (true) (default value is true)
42
+ - **value**: the preselected value of the input field
43
+
44
+ If you choose to append to an already existent input field (**newfield**="false"), I recommend you use both name and id (both with the values of the existing input field's attribute values)
45
+
46
+ For the **value** attribute you can use any date format that can be used as a HTML attribute value, I recommend you use the ISO 8601 (YYYY-MM-DD) date format (ex: 2011-07-30). More info [here](http://php.net/manual/en/function.strtotime.php#refsect1-function.strtotime-notes)
47
+
48
  = Where do I submit a bug? =
49
 
50
  You can [open an issue on github](https://github.com/relu/contact-form-7-datepicker/issues) or just contact me via email.
59
 
60
  == Changelog ==
61
 
62
+ = 0.7 =
63
+ * New:
64
+ - Added new [datepicker] tag to use outside of CF7
65
+ - Added CF7 specific attributes for the shortcodes
66
+ - Now you can have input fields prefilled with a desired date either from the configuration menu, or by specifying it in the shortcode as an attribute
67
+
68
+ = 0.6 =
69
+ * Bugfixes:
70
+ - the entry in admin menu is now being translated
71
+ - fixed an IE issue where clicking on move forward/backward (years and months) buttons would close the calendar (thanks to [bik](https://github.com/bik) for reporting)
72
+
73
+ * New:
74
+ - added Italian l11n (Kudos go to Andrea Cavaliero)
75
+ - added the possibility to load scrips/styles on what page you like (thanks to Rodolfo Buaiz for suggesting this)
76
+ to achieve this put this into your wp-config.php
77
+ `define('CF7_DATE_PICKER_ENQUEUES', false);`
78
+
79
+ then in your theme's functions.php file you have two options:
80
+
81
+ `if (is_page('Form page')) {
82
+ if (function_exists('CF7DatePicker'))
83
+ add_action('wp_enqueue_scripts', array('CF7DatePicker', 'plugin_enqueues'));
84
+ }`
85
+
86
+ or
87
+
88
+ `function cf7dp_enqueues() {
89
+ if (is_page('Form page')) {
90
+ if (function_exists('CF7DatePicker'))
91
+ CF7DatePicker::plugin_enqueues();
92
+ }
93
+ }
94
+ add_action('init', 'cf7dp_enqueues');`
95
+
96
  = 0.5 =
97
  * Bugfixes:
98
  - 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))