Version Description
- Added new configuration options:
- limit selectable dates according to current date (before or or after)
- available years range option
- the posibility to show/hide the month and year controls (forward/backward)
- Added new scheme (red)
- Added the posibility to use custom stylesheet files with color schemes (located in css/schemes/
.css)
Download this release
Release Info
Developer | shockware |
Plugin | Contact Form 7 Datepicker |
Version | 0.4 |
Comparing to | |
See all releases |
Code changes from version 0.3.1 to 0.4
- contact-form-7-datepicker.php +117 -19
- css/schemes/red.css +12 -0
- img/red/red_dayDown.gif +0 -0
- img/red/red_dayNormal.gif +0 -0
- img/red/red_dayOver.gif +0 -0
- js/{jsDatePick.jquery.full.1.3.js → jsDatePick.jquery.full.js} +47 -15
- js/jsDatePick.jquery.min.1.3.js +0 -1
- js/jsDatePick.jquery.min.js +1 -0
- languages/contact-form-7-datepicker-ro_RO.mo +0 -0
- languages/contact-form-7-datepicker-ro_RO.po +117 -57
- languages/contact-form-7-datepicker.pot +113 -55
- readme.txt +10 -2
contact-form-7-datepicker.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: Contact Form 7 Datepicker
|
|
4 |
Plugin URI: https://github.com/relu/contact-form-7-datepicker/
|
5 |
Description: Implements a new [date] tag in Contact Form 7 that adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.
|
6 |
Author: Aurel Canciu
|
7 |
-
Version: 0.
|
8 |
Author URI: https://github.com/relu/
|
9 |
*/
|
10 |
?>
|
@@ -28,18 +28,22 @@ Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
|
|
28 |
?>
|
29 |
<?php
|
30 |
|
31 |
-
define('CF7_DATE_PICKER_VERSION', '0.
|
|
|
32 |
|
33 |
class CF7DatePicker {
|
34 |
|
35 |
static $option_defaults = array(
|
36 |
"useMode" => 2,
|
37 |
"isStripped" => "false",
|
38 |
-
"limitToToday" =>
|
39 |
"cellColorScheme" => "beige",
|
40 |
"dateFormat" => "%d-%m-%Y",
|
41 |
"weekStartDay" => 1,
|
42 |
-
"directionality" => "ltr"
|
|
|
|
|
|
|
43 |
);
|
44 |
|
45 |
function init() {
|
@@ -114,7 +118,7 @@ class CF7DatePicker {
|
|
114 |
* @return Array $themes, the names of the schemes found
|
115 |
*/
|
116 |
private function read_schemes() {
|
117 |
-
$path = ABSPATH.
|
118 |
if ($handle = opendir($path)) {
|
119 |
$themes = array() ;
|
120 |
while (false !== ($file = readdir($handle))) {
|
@@ -128,25 +132,41 @@ class CF7DatePicker {
|
|
128 |
}
|
129 |
|
130 |
/**
|
131 |
-
* get_scheme_images()
|
132 |
*
|
133 |
* Gets the images of a scheme and natural sorts them
|
134 |
* @param String $scheme, the name of the scheme to get images for
|
135 |
* @return Array $schemeimg, the paths to the scheme images
|
136 |
*/
|
137 |
private function get_scheme_images($scheme) {
|
138 |
-
$path = ABSPATH.
|
139 |
if ($handle = opendir($path)) {
|
140 |
$schemeimg = array();
|
141 |
while (false !== ($file = readdir($handle))) {
|
142 |
if (is_file($path.$file) && preg_match('/\.gif$/i', $file))
|
143 |
-
$schemeimg[] = '
|
144 |
}
|
145 |
natsort($schemeimg);
|
146 |
}
|
147 |
closedir($handle);
|
148 |
return $schemeimg;
|
149 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
150 |
|
151 |
/**
|
152 |
* admin_settings_html()
|
@@ -157,13 +177,29 @@ class CF7DatePicker {
|
|
157 |
if(isset($_POST['datepickersave'])) {
|
158 |
foreach(self::$option_defaults as $option => $value)
|
159 |
$dataupdate[$option] = $_POST[$option];
|
|
|
160 |
self::update_settings($dataupdate);
|
161 |
}
|
162 |
$useMode = array(1,2);
|
163 |
-
$limitToToday =
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
164 |
$cellColorScheme = self::read_schemes();
|
165 |
-
$weekStartDay = array(
|
166 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
167 |
|
168 |
?>
|
169 |
<div class="wrap">
|
@@ -190,7 +226,7 @@ class CF7DatePicker {
|
|
190 |
<div style="display: block; padding: 5px; background: #fff; border: 1px solid #ccc; border-radius: 4px 4px 4px 4px;">
|
191 |
<label><?php echo $scheme; ?></label><br /><?php
|
192 |
foreach(self::get_scheme_images($scheme) as $img) { ?>
|
193 |
-
<img src="<?php echo
|
194 |
} ?><br /><br />
|
195 |
<input name="cellColorScheme" type="radio" width="24" height="25" value="<?php echo $scheme; ?>" <?php echo $checked; ?> />
|
196 |
</div>
|
@@ -249,15 +285,17 @@ class CF7DatePicker {
|
|
249 |
|
250 |
<tr>
|
251 |
<th>
|
252 |
-
<label><?php echo __('Limit To
|
253 |
</th>
|
254 |
<td>
|
255 |
<select name="limitToToday"><?php
|
256 |
foreach($limitToToday as $row) {
|
257 |
-
if($row == __('
|
258 |
-
$val =
|
|
|
|
|
259 |
else
|
260 |
-
$val =
|
261 |
|
262 |
if ($val == get_option('limitToToday'))
|
263 |
$selected = "selected";
|
@@ -269,7 +307,7 @@ class CF7DatePicker {
|
|
269 |
</select>
|
270 |
</td>
|
271 |
<td>
|
272 |
-
<?php echo __('<p>Enables you to limit the possible picking
|
273 |
</td>
|
274 |
</tr>
|
275 |
|
@@ -298,6 +336,16 @@ class CF7DatePicker {
|
|
298 |
</td>
|
299 |
</tr>
|
300 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
301 |
<tr>
|
302 |
<th>
|
303 |
<label><?php echo __('Text Direction', 'contact-form-7-datepicker'); ?></h2></label>
|
@@ -323,6 +371,46 @@ class CF7DatePicker {
|
|
323 |
</td>
|
324 |
</tr>
|
325 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
326 |
<tr>
|
327 |
<th>
|
328 |
<label><?php echo __('Date Format', 'contact-form-7-datepicker'); ?></label>
|
@@ -368,7 +456,7 @@ You can of course put whatever divider you want between them.<br /></p>',
|
|
368 |
if(is_admin())
|
369 |
return; ?>
|
370 |
<link rel="stylesheet" type="text/css" href="<?php echo plugins_url( '/css/jsDatePick_'.((get_option('directionality') != "") ? get_option('directionality') : "ltr").'.min.css', __FILE__ ); ?>" />
|
371 |
-
<script type="text/javascript" src="<?php echo plugins_url( '/js/jsDatePick.jquery.min.
|
372 |
<script type="text/javascript"><?php echo "
|
373 |
g_l = [];
|
374 |
g_l[\"MONTHS\"] = [\"".__('Janaury', 'contact-form-7-datepicker').
|
@@ -420,10 +508,20 @@ You can of course put whatever divider you want between them.<br /></p>',
|
|
420 |
dateFormat:\"".get_option('dateFormat')."\",
|
421 |
imgPath:\"".plugins_url( '/img/'.get_option('cellColorScheme').'/', __FILE__ )."\",
|
422 |
weekStartDay:".get_option('weekStartDay').",
|
423 |
-
|
|
|
|
|
|
|
424 |
});
|
425 |
});
|
426 |
</script>";
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
427 |
return $string;
|
428 |
}
|
429 |
|
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.4
|
8 |
Author URI: https://github.com/relu/
|
9 |
*/
|
10 |
?>
|
28 |
?>
|
29 |
<?php
|
30 |
|
31 |
+
define('CF7_DATE_PICKER_VERSION', '0.4');
|
32 |
+
define('PLUGIN_PATH', '/wp-content/plugins/'.plugin_basename(dirname(__FILE__)));
|
33 |
|
34 |
class CF7DatePicker {
|
35 |
|
36 |
static $option_defaults = array(
|
37 |
"useMode" => 2,
|
38 |
"isStripped" => "false",
|
39 |
+
"limitToToday" => 0,
|
40 |
"cellColorScheme" => "beige",
|
41 |
"dateFormat" => "%d-%m-%Y",
|
42 |
"weekStartDay" => 1,
|
43 |
+
"directionality" => "ltr",
|
44 |
+
"yearsRange" => "1970,2100",
|
45 |
+
"yearButtons" => "true",
|
46 |
+
"monthButtons" => "true"
|
47 |
);
|
48 |
|
49 |
function init() {
|
118 |
* @return Array $themes, the names of the schemes found
|
119 |
*/
|
120 |
private function read_schemes() {
|
121 |
+
$path = ABSPATH.PLUGIN_PATH.'/img/';
|
122 |
if ($handle = opendir($path)) {
|
123 |
$themes = array() ;
|
124 |
while (false !== ($file = readdir($handle))) {
|
132 |
}
|
133 |
|
134 |
/**
|
135 |
+
* get_scheme_images($scheme)
|
136 |
*
|
137 |
* Gets the images of a scheme and natural sorts them
|
138 |
* @param String $scheme, the name of the scheme to get images for
|
139 |
* @return Array $schemeimg, the paths to the scheme images
|
140 |
*/
|
141 |
private function get_scheme_images($scheme) {
|
142 |
+
$path = ABSPATH.PLUGIN_PATH.'/img/'.$scheme.'/';
|
143 |
if ($handle = opendir($path)) {
|
144 |
$schemeimg = array();
|
145 |
while (false !== ($file = readdir($handle))) {
|
146 |
if (is_file($path.$file) && preg_match('/\.gif$/i', $file))
|
147 |
+
$schemeimg[] = get_option('siteurl').PLUGIN_PATH.'/img/'.$scheme.'/'.$file;
|
148 |
}
|
149 |
natsort($schemeimg);
|
150 |
}
|
151 |
closedir($handle);
|
152 |
return $schemeimg;
|
153 |
}
|
154 |
+
|
155 |
+
/**
|
156 |
+
* get_scheme_style($scheme)
|
157 |
+
*
|
158 |
+
* Checks if a CSS file exists in the scheme's directory and returns the path if so
|
159 |
+
* @param String $scheme, the name of the scheme to get the CSS for
|
160 |
+
* @return String the path to the CSS file
|
161 |
+
* @return Boolean false if no file found
|
162 |
+
*/
|
163 |
+
private function get_scheme_style($scheme) {
|
164 |
+
$file = PLUGIN_PATH.'/css/schemes/'.$scheme.'.css';
|
165 |
+
if (is_file(ABSPATH.$file)) {
|
166 |
+
return get_option('siteurl').$file;
|
167 |
+
}
|
168 |
+
return false;
|
169 |
+
}
|
170 |
|
171 |
/**
|
172 |
* admin_settings_html()
|
177 |
if(isset($_POST['datepickersave'])) {
|
178 |
foreach(self::$option_defaults as $option => $value)
|
179 |
$dataupdate[$option] = $_POST[$option];
|
180 |
+
$dataupdate['yearsRange'] = trim($_POST['yearmin']).",".trim($_POST['yearmax']);
|
181 |
self::update_settings($dataupdate);
|
182 |
}
|
183 |
$useMode = array(1,2);
|
184 |
+
$limitToToday = array(
|
185 |
+
__('Today and future', 'contact-form-7-datepicker'),
|
186 |
+
__('Today and past', 'contact-form-7-datepicker'),
|
187 |
+
__('No limit', 'contact-form-7-datepicker')
|
188 |
+
);
|
189 |
+
$isStripped = $yearButtons = $monthButtons = array(
|
190 |
+
__('true', 'contact-form-7-datepicker'),
|
191 |
+
__('false', 'contact-form-7-datepicker')
|
192 |
+
);
|
193 |
$cellColorScheme = self::read_schemes();
|
194 |
+
$weekStartDay = array(
|
195 |
+
__('Sunday', 'contact-form-7-datepicker'),
|
196 |
+
__('Monday', 'contact-form-7-datepicker')
|
197 |
+
);
|
198 |
+
$directionality = array(
|
199 |
+
__('Left to right', 'contact-form-7-datepicker'),
|
200 |
+
__('Right to left', 'contact-form-7-datepicker')
|
201 |
+
);
|
202 |
+
$yearsRange = explode(",", trim(get_option('yearsRange')));
|
203 |
|
204 |
?>
|
205 |
<div class="wrap">
|
226 |
<div style="display: block; padding: 5px; background: #fff; border: 1px solid #ccc; border-radius: 4px 4px 4px 4px;">
|
227 |
<label><?php echo $scheme; ?></label><br /><?php
|
228 |
foreach(self::get_scheme_images($scheme) as $img) { ?>
|
229 |
+
<img src="<?php echo $img; ?>" style="margin: 5px;" /><?php
|
230 |
} ?><br /><br />
|
231 |
<input name="cellColorScheme" type="radio" width="24" height="25" value="<?php echo $scheme; ?>" <?php echo $checked; ?> />
|
232 |
</div>
|
285 |
|
286 |
<tr>
|
287 |
<th>
|
288 |
+
<label><?php echo __('Limit Dates To', 'contact-form-7-datepicker'); ?></label>
|
289 |
</th>
|
290 |
<td>
|
291 |
<select name="limitToToday"><?php
|
292 |
foreach($limitToToday as $row) {
|
293 |
+
if ($row == __('Today and future', 'contact-form-7-datepicker'))
|
294 |
+
$val = 1;
|
295 |
+
elseif ($row == __('Today and past', 'contact-form-7-datepicker'))
|
296 |
+
$val = -1;
|
297 |
else
|
298 |
+
$val = 0;
|
299 |
|
300 |
if ($val == get_option('limitToToday'))
|
301 |
$selected = "selected";
|
307 |
</select>
|
308 |
</td>
|
309 |
<td>
|
310 |
+
<?php echo __('<p>Enables you to limit the possible picking dates according to the current date.</p>','contact-form-7-datepicker'); ?>
|
311 |
</td>
|
312 |
</tr>
|
313 |
|
336 |
</td>
|
337 |
</tr>
|
338 |
|
339 |
+
<tr>
|
340 |
+
<th>
|
341 |
+
<label><?php echo __('Years Range', 'contact-form-7-datepicker'); ?></h2></label>
|
342 |
+
</th>
|
343 |
+
<td colspan="2">
|
344 |
+
<input name="yearmin" id="yearmin" type="text" value="<?php echo $yearsRange[0]; ?>" /> -
|
345 |
+
<input name="yearmax" id="yearmax" type="text" value="<?php echo $yearsRange[1]; ?>" />
|
346 |
+
</td>
|
347 |
+
</tr>
|
348 |
+
|
349 |
<tr>
|
350 |
<th>
|
351 |
<label><?php echo __('Text Direction', 'contact-form-7-datepicker'); ?></h2></label>
|
371 |
</td>
|
372 |
</tr>
|
373 |
|
374 |
+
<tr>
|
375 |
+
<th>
|
376 |
+
<label><?php echo __('Controls', 'contact-form-7-datepicker'); ?></h2></label>
|
377 |
+
</th>
|
378 |
+
<td><?php
|
379 |
+
|
380 |
+
foreach($yearButtons as $row) {
|
381 |
+
if($row == __('true', 'contact-form-7-datepicker'))
|
382 |
+
$val = "true";
|
383 |
+
else
|
384 |
+
$val = "false";
|
385 |
+
|
386 |
+
if ($val == get_option('yearButtons'))
|
387 |
+
$checked = "checked";
|
388 |
+
else
|
389 |
+
$checked = "";
|
390 |
+
}
|
391 |
+
echo "<input type=\"checkbox\" name=\"yearButtons\" value='".$val."' ".$checked." >"; ?>
|
392 |
+
<label><?php echo __('Year Controls','contact-form-7-datepicker'); ?> </label>
|
393 |
+
<br /><?php
|
394 |
+
|
395 |
+
foreach($monthButtons as $row) {
|
396 |
+
if($row == __('true', 'contact-form-7-datepicker'))
|
397 |
+
$val = "true";
|
398 |
+
else
|
399 |
+
$val = "false";
|
400 |
+
|
401 |
+
if ($val == get_option('monthButtons'))
|
402 |
+
$checked = "checked";
|
403 |
+
else
|
404 |
+
$checked = "";
|
405 |
+
}
|
406 |
+
echo "<input type=\"checkbox\" name=\"monthButtons\" value='".$val."' ".$checked." >"; ?>
|
407 |
+
<label><?php echo __('Month Controls','contact-form-7-datepicker'); ?> </label>
|
408 |
+
</td>
|
409 |
+
<td>
|
410 |
+
<?php echo __('You can select here what controls would you like to display on the calendar.', 'contact-form-7-datepicker'); ?>
|
411 |
+
</td>
|
412 |
+
</tr>
|
413 |
+
|
414 |
<tr>
|
415 |
<th>
|
416 |
<label><?php echo __('Date Format', 'contact-form-7-datepicker'); ?></label>
|
456 |
if(is_admin())
|
457 |
return; ?>
|
458 |
<link rel="stylesheet" type="text/css" href="<?php echo plugins_url( '/css/jsDatePick_'.((get_option('directionality') != "") ? get_option('directionality') : "ltr").'.min.css', __FILE__ ); ?>" />
|
459 |
+
<script type="text/javascript" src="<?php echo plugins_url( '/js/jsDatePick.jquery.min.js', __FILE__ ); ?>"></script>
|
460 |
<script type="text/javascript"><?php echo "
|
461 |
g_l = [];
|
462 |
g_l[\"MONTHS\"] = [\"".__('Janaury', 'contact-form-7-datepicker').
|
508 |
dateFormat:\"".get_option('dateFormat')."\",
|
509 |
imgPath:\"".plugins_url( '/img/'.get_option('cellColorScheme').'/', __FILE__ )."\",
|
510 |
weekStartDay:".get_option('weekStartDay').",
|
511 |
+
yearsRange:[".get_option('yearsRange')."],
|
512 |
+
directionality:\"".get_option('directionality')."\",
|
513 |
+
yearButtons:\"".get_option('yearButtons')."\",
|
514 |
+
monthButtons:\"".get_option('monthButtons')."\"
|
515 |
});
|
516 |
});
|
517 |
</script>";
|
518 |
+
$schemecss = self::get_scheme_style(get_option('cellColorScheme'));
|
519 |
+
if ($schemecss)
|
520 |
+
$string .= "
|
521 |
+
<style type=\"text/css\">
|
522 |
+
@import url('".$schemecss."');
|
523 |
+
</style>";
|
524 |
+
|
525 |
return $string;
|
526 |
}
|
527 |
|
css/schemes/red.css
ADDED
@@ -0,0 +1,12 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
.JsDatePickBox .boxMainInner .dayNormalToday, .JsDatePickBox .boxMainInner .dayDownToday {
|
2 |
+
color: #000;
|
3 |
+
}
|
4 |
+
|
5 |
+
.JsDatePickBox .boxMainInner .dayOver,
|
6 |
+
.JsDatePickBox .boxMainInner .dayOverToday {
|
7 |
+
color: #fff;
|
8 |
+
}
|
9 |
+
|
10 |
+
.JsDatePickBox .boxMainInner .dayNormal {
|
11 |
+
color: #444;
|
12 |
+
}
|
img/red/red_dayDown.gif
ADDED
Binary file
|
img/red/red_dayNormal.gif
ADDED
Binary file
|
img/red/red_dayOver.gif
ADDED
Binary file
|
js/{jsDatePick.jquery.full.1.3.js → jsDatePick.jquery.full.js}
RENAMED
@@ -18,7 +18,10 @@
|
|
18 |
|
19 |
yearsRange (Array) – When supplied , this array sets the limits for the years enabled in the calendar.
|
20 |
|
21 |
-
limitToToday (
|
|
|
|
|
|
|
22 |
|
23 |
cellColorScheme (String) – Enables you to swap the colors of the date's cells from a wide range of colors.
|
24 |
Available color schemes: torqoise,purple,pink,orange,peppermint,aqua,armygreen,bananasplit,beige,
|
@@ -42,9 +45,17 @@
|
|
42 |
|
43 |
You can of course put whatever divider you want between them.
|
44 |
|
45 |
-
weekStartDay (Integer)
|
46 |
Possible values 0 (Sunday) through 6 (Saturday)
|
47 |
Default value is 1 (Monday)
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
48 |
|
49 |
Note: We have implemented a way to change the image path of the img folder should you decide you want to move it somewhere else.
|
50 |
Please read through the instructions on how to carefully accomplish that just in the next comment!
|
@@ -53,6 +64,12 @@
|
|
53 |
Itamar :-)
|
54 |
|
55 |
itamar.arjuan@gmail.com
|
|
|
|
|
|
|
|
|
|
|
|
|
56 |
|
57 |
*/
|
58 |
// The language array - change these values to your language to better fit your needs!
|
@@ -214,7 +231,9 @@ JsDatePick.prototype.setConfiguration = function(aConf){
|
|
214 |
this.oConfiguration.selectedDate = (aConf["selectedDate"] != null) ? aConf["selectedDate"] : null;
|
215 |
this.oConfiguration.target = (aConf["target"] != null) ? aConf["target"] : null;
|
216 |
this.oConfiguration.yearsRange = (aConf["yearsRange"] != null) ? aConf["yearsRange"] : [1971,2100];
|
217 |
-
this.oConfiguration.
|
|
|
|
|
218 |
this.oConfiguration.field = (aConf["field"] != null) ? aConf["field"] : false;
|
219 |
this.oConfiguration.cellColorScheme = (aConf["cellColorScheme"] != null) ? aConf["cellColorScheme"] : "ocean_blue";
|
220 |
this.oConfiguration.dateFormat = (aConf["dateFormat"] != null) ? aConf["dateFormat"] : "%m-%d-%Y";
|
@@ -663,7 +682,13 @@ JsDatePick.prototype.populateMainBox = function(aMainBox){
|
|
663 |
aDayDiv.setAttribute("isToday",1);
|
664 |
}
|
665 |
|
666 |
-
if (this.oConfiguration.limitToToday){
|
|
|
|
|
|
|
|
|
|
|
|
|
667 |
if ( ! this.isAvailable(this.currentYear, this.currentMonth, parseInt(oDay.getDate()) ) ){
|
668 |
disabledDayFlag = true;
|
669 |
aDayDiv.setAttribute("isJsDatePickDisabled",1);
|
@@ -916,7 +941,7 @@ JsDatePick.prototype.setTooltipText = function(aText){
|
|
916 |
|
917 |
JsDatePick.prototype.moveForwardOneYear = function(){
|
918 |
var desiredYear = this.currentYear + 1;
|
919 |
-
if (desiredYear
|
920 |
this.currentYear++;
|
921 |
this.repopulateMainBox();
|
922 |
return true;
|
@@ -928,7 +953,7 @@ JsDatePick.prototype.moveForwardOneYear = function(){
|
|
928 |
JsDatePick.prototype.moveBackOneYear = function(){
|
929 |
var desiredYear = this.currentYear - 1;
|
930 |
|
931 |
-
if (desiredYear
|
932 |
this.currentYear--;
|
933 |
this.repopulateMainBox();
|
934 |
return true;
|
@@ -989,17 +1014,24 @@ JsDatePick.prototype.getDOMControlBar = function(){
|
|
989 |
this.setC(controlsBarText, "controlsBarText");
|
990 |
|
991 |
jQuery(controlsBar).attr("globalNumber",this.globalNumber);
|
992 |
-
|
993 |
-
|
994 |
-
|
995 |
-
|
996 |
-
|
|
|
|
|
|
|
997 |
this.controlsBarTextCell = controlsBarText;
|
998 |
|
999 |
-
|
1000 |
-
|
1001 |
-
|
1002 |
-
|
|
|
|
|
|
|
|
|
1003 |
controlsBar.appendChild(controlsBarText);
|
1004 |
|
1005 |
monthForwardButton.onmouseover = function(){
|
18 |
|
19 |
yearsRange (Array) – When supplied , this array sets the limits for the years enabled in the calendar.
|
20 |
|
21 |
+
limitToToday (Integer) – Enables you to limit the possible picking days according to today's date.
|
22 |
+
1 – Today and after
|
23 |
+
-1 – Today and before
|
24 |
+
0 – No limit
|
25 |
|
26 |
cellColorScheme (String) – Enables you to swap the colors of the date's cells from a wide range of colors.
|
27 |
Available color schemes: torqoise,purple,pink,orange,peppermint,aqua,armygreen,bananasplit,beige,
|
45 |
|
46 |
You can of course put whatever divider you want between them.
|
47 |
|
48 |
+
weekStartDay (Integer) – Enables you to change the day that the week starts on.
|
49 |
Possible values 0 (Sunday) through 6 (Saturday)
|
50 |
Default value is 1 (Monday)
|
51 |
+
|
52 |
+
yearButtons (Boolean) – Enables you to toggle displaying the year navigation controls (backward/forward)
|
53 |
+
|
54 |
+
monthButtons (Boolean) – Enables you to toggle displaying the month navigation controls (backward/forward)
|
55 |
+
|
56 |
+
directionality (String) – Change text direction
|
57 |
+
ltr - Left To Right (default)
|
58 |
+
rtl - Right To Left
|
59 |
|
60 |
Note: We have implemented a way to change the image path of the img folder should you decide you want to move it somewhere else.
|
61 |
Please read through the instructions on how to carefully accomplish that just in the next comment!
|
64 |
Itamar :-)
|
65 |
|
66 |
itamar.arjuan@gmail.com
|
67 |
+
|
68 |
+
This version of the script is modified by Aurel Canciu for Contact Form 7 Datepicker Wordpress Plugin
|
69 |
+
* http://wordpress.org/extend/plugins/contact-form-7-datepicker/ *
|
70 |
+
|
71 |
+
aurelcanciu@gmail.com
|
72 |
+
|
73 |
|
74 |
*/
|
75 |
// The language array - change these values to your language to better fit your needs!
|
231 |
this.oConfiguration.selectedDate = (aConf["selectedDate"] != null) ? aConf["selectedDate"] : null;
|
232 |
this.oConfiguration.target = (aConf["target"] != null) ? aConf["target"] : null;
|
233 |
this.oConfiguration.yearsRange = (aConf["yearsRange"] != null) ? aConf["yearsRange"] : [1971,2100];
|
234 |
+
this.oConfiguration.yearButtons = (aConf["yearButtons"] != null) ? aConf["yearButtons"] : true;
|
235 |
+
this.oConfiguration.monthButtons = (aConf["monthButtons"] != null) ? aConf["monthButtons"] : true;
|
236 |
+
this.oConfiguration.limitToToday = (aConf["limitToToday"] != null) ? aConf["limitToToday"] : 0;
|
237 |
this.oConfiguration.field = (aConf["field"] != null) ? aConf["field"] : false;
|
238 |
this.oConfiguration.cellColorScheme = (aConf["cellColorScheme"] != null) ? aConf["cellColorScheme"] : "ocean_blue";
|
239 |
this.oConfiguration.dateFormat = (aConf["dateFormat"] != null) ? aConf["dateFormat"] : "%m-%d-%Y";
|
682 |
aDayDiv.setAttribute("isToday",1);
|
683 |
}
|
684 |
|
685 |
+
if (this.oConfiguration.limitToToday >= 1){
|
686 |
+
if ( this.isAvailable(this.currentYear, this.currentMonth, parseInt(oDay.getDate()+1) ) ){
|
687 |
+
disabledDayFlag = true;
|
688 |
+
aDayDiv.setAttribute("isJsDatePickDisabled",1);
|
689 |
+
}
|
690 |
+
}
|
691 |
+
else if (this.oConfiguration.limitToToday <= -1){
|
692 |
if ( ! this.isAvailable(this.currentYear, this.currentMonth, parseInt(oDay.getDate()) ) ){
|
693 |
disabledDayFlag = true;
|
694 |
aDayDiv.setAttribute("isJsDatePickDisabled",1);
|
941 |
|
942 |
JsDatePick.prototype.moveForwardOneYear = function(){
|
943 |
var desiredYear = this.currentYear + 1;
|
944 |
+
if (desiredYear <= parseInt(this.oConfiguration.yearsRange[1])){
|
945 |
this.currentYear++;
|
946 |
this.repopulateMainBox();
|
947 |
return true;
|
953 |
JsDatePick.prototype.moveBackOneYear = function(){
|
954 |
var desiredYear = this.currentYear - 1;
|
955 |
|
956 |
+
if (desiredYear >= parseInt(this.oConfiguration.yearsRange[0])){
|
957 |
this.currentYear--;
|
958 |
this.repopulateMainBox();
|
959 |
return true;
|
1014 |
this.setC(controlsBarText, "controlsBarText");
|
1015 |
|
1016 |
jQuery(controlsBar).attr("globalNumber",this.globalNumber);
|
1017 |
+
if (this.oConfiguration.monthButtons) {
|
1018 |
+
jQuery(monthForwardButton).attr("globalNumber",this.globalNumber);
|
1019 |
+
jQuery(monthBackwardButton).attr("globalNumber",this.globalNumber);
|
1020 |
+
}
|
1021 |
+
if (this.oConfiguration.yearButtons) {
|
1022 |
+
jQuery(yearBackwardButton).attr("globalNumber",this.globalNumber);
|
1023 |
+
jQuery(yearForwardButton).attr("globalNumber",this.globalNumber);
|
1024 |
+
}
|
1025 |
this.controlsBarTextCell = controlsBarText;
|
1026 |
|
1027 |
+
if (this.oConfiguration.monthButtons) {
|
1028 |
+
controlsBar.appendChild(monthForwardButton);
|
1029 |
+
controlsBar.appendChild(monthBackwardButton);
|
1030 |
+
}
|
1031 |
+
if (this.oConfiguration.yearButtons) {
|
1032 |
+
controlsBar.appendChild(yearForwardButton);
|
1033 |
+
controlsBar.appendChild(yearBackwardButton);
|
1034 |
+
}
|
1035 |
controlsBar.appendChild(controlsBarText);
|
1036 |
|
1037 |
monthForwardButton.onmouseover = function(){
|
js/jsDatePick.jquery.min.1.3.js
DELETED
@@ -1 +0,0 @@
|
|
1 |
-
g_l=[];g_l["MONTHS"]=["Janaury","February","March","April","May","June","July","August","September","October","November","December"];g_l["DAYS_3"]=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];g_l["MONTH_FWD"]="Move a month forward";g_l["MONTH_BCK"]="Move a month backward";g_l["YEAR_FWD"]="Move a year forward";g_l["YEAR_BCK"]="Move a year backward";g_l["CLOSE"]="Close the calendar";g_l["ERROR_2"]=g_l["ERROR_1"]="Date object invalid!";g_l["ERROR_4"]=g_l["ERROR_3"]="Target invalid!";g_arrayOfUsedJsDatePickCalsGlobalNumbers=[];g_arrayOfUsedJsDatePickCals=[];g_currentDateObject={};g_currentDateObject.dateObject=new Date();g_currentDateObject.day=g_currentDateObject.dateObject.getDate();g_currentDateObject.month=g_currentDateObject.dateObject.getMonth()+1;g_currentDateObject.year=g_currentDateObject.dateObject.getFullYear();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"");};String.prototype.ltrim=function(){return this.replace(/^\s+/,"");};String.prototype.rtrim=function(){return this.replace(/\s+$/,"");};String.prototype.strpad=function(){return(!isNaN(this)&&this.toString().length==1)?"0"+this:this;};JsDatePick=function(configurationObject){if(document.all){this.isie=true;this.iever=JsDatePick.getInternetExplorerVersion();}else{this.isie=false;}this.oConfiguration={};this.oCurrentDay=g_currentDateObject;this.monthsTextualRepresentation=g_l["MONTHS"];this.lastPostedDay=null;this.initialZIndex=2;this.globalNumber=this.getUnUsedGlobalNumber();g_arrayOfUsedJsDatePickCals[this.globalNumber]=this;this.setConfiguration(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.limitToToday=(aConf["limitToToday"]!=null)?aConf["limitToToday"]:false;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.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(){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_l["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_l["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(){document.onclick=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_l["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_l["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_l["MONTHS"][i].substr(0,3).toUpperCase()==array[mI].toUpperCase()){mI=i+1;break;}}}else if(fflag){for(i=0;i<12;i++){if(g_l["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();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_l["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){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_l["MONTHS"][this.selectedDayObject.month-1].substr(0,3).toUpperCase());dateStr=dateStr.replace("%n",this.selectedDayObject.month);dateStr=dateStr.replace("%F",g_l["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);jQuery(monthForwardButton).attr("globalNumber",this.globalNumber);jQuery(monthBackwardButton).attr("globalNumber",this.globalNumber);jQuery(yearBackwardButton).attr("globalNumber",this.globalNumber);jQuery(yearForwardButton).attr("globalNumber",this.globalNumber);this.controlsBarTextCell=controlsBarText;controlsBar.appendChild(monthForwardButton);controlsBar.appendChild(monthBackwardButton);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_l["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_l["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_l["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_l["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_l["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_l["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_l["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_l["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_l["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_l["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_l["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_l["YEAR_BCK"]);gRef.setC(this,"yearBackwardButton");gRef.moveBackOneYear();};return controlsBar;};
|
|
js/jsDatePick.jquery.min.js
ADDED
@@ -0,0 +1 @@
|
|
|
1 |
+
g_l=[];g_l.MONTHS=["Janaury","February","March","April","May","June","July","August","September","October","November","December"];g_l.DAYS_3=["Sun","Mon","Tue","Wed","Thu","Fri","Sat"];g_l.MONTH_FWD="Move a month forward";g_l.MONTH_BCK="Move a month backward";g_l.YEAR_FWD="Move a year forward";g_l.YEAR_BCK="Move a year backward";g_l.CLOSE="Close the calendar";g_l.ERROR_2=g_l.ERROR_1="Date object invalid!";g_l.ERROR_4=g_l.ERROR_3="Target invalid!";g_arrayOfUsedJsDatePickCalsGlobalNumbers=[];g_arrayOfUsedJsDatePickCals=[];g_currentDateObject={};g_currentDateObject.dateObject=new Date();g_currentDateObject.day=g_currentDateObject.dateObject.getDate();g_currentDateObject.month=g_currentDateObject.dateObject.getMonth()+1;g_currentDateObject.year=g_currentDateObject.dateObject.getFullYear();String.prototype.trim=function(){return this.replace(/^\s+|\s+$/g,"")};String.prototype.ltrim=function(){return this.replace(/^\s+/,"")};String.prototype.rtrim=function(){return this.replace(/\s+$/,"")};String.prototype.strpad=function(){return(!isNaN(this)&&this.toString().length==1)?"0"+this:this};JsDatePick=function(a){if(document.all){this.isie=true;this.iever=JsDatePick.getInternetExplorerVersion()}else{this.isie=false}this.oConfiguration={};this.oCurrentDay=g_currentDateObject;this.monthsTextualRepresentation=g_l.MONTHS;this.lastPostedDay=null;this.initialZIndex=2;this.globalNumber=this.getUnUsedGlobalNumber();g_arrayOfUsedJsDatePickCals[this.globalNumber]=this;this.setConfiguration(a);this.makeCalendar()};JsDatePick.getCalInstanceById=function(a){return g_arrayOfUsedJsDatePickCals[parseInt(a,10)]};JsDatePick.getInternetExplorerVersion=function(){var c=-1,a,b;if(navigator.appName=="Microsoft Internet Explorer"){a=navigator.userAgent;b=new RegExp("MSIE ([0-9]{1,}[.0-9]{0,})");if(b.exec(a)!=null){c=parseFloat(RegExp.$1)}return c}};JsDatePick.prototype.setC=function(a,b){if(this.isie&&this.iever>7){jQuery(a).attr("class",b)}else{a.className=b}};JsDatePick.prototype.getUnUsedGlobalNumber=function(){var a=Math.floor(Math.random()*1000);while(!this.isUnique_GlobalNumber(a)){a=Math.floor(Math.random()*1000)}return a};JsDatePick.prototype.isUnique_GlobalNumber=function(b){var a;for(a=0;a<g_arrayOfUsedJsDatePickCalsGlobalNumbers.length;a++){if(g_arrayOfUsedJsDatePickCalsGlobalNumbers[a]==b){return false}}return true};JsDatePick.prototype.addOnSelectedDelegate=function(a){if(typeof(a)=="function"){this.addonSelectedDelegate=a}return false};JsDatePick.prototype.setOnSelectedDelegate=function(a){if(typeof(a)=="function"){this.onSelectedDelegate=a;return true}return false};JsDatePick.prototype.executeOnSelectedDelegateIfExists=function(){if(typeof(this.onSelectedDelegate)=="function"){this.onSelectedDelegate()}if(typeof(this.addonSelectedDelegate)=="function"){this.addonSelectedDelegate()}};JsDatePick.prototype.setRepopulationDelegate=function(a){if(typeof(a)=="function"){this.repopulationDelegate=a;return true}return false};JsDatePick.prototype.setConfiguration=function(a){this.oConfiguration.isStripped=(a.isStripped!=null)?a.isStripped:false;this.oConfiguration.useMode=(a.useMode!=null)?a.useMode:1;this.oConfiguration.selectedDate=(a.selectedDate!=null)?a.selectedDate:null;this.oConfiguration.target=(a.target!=null)?a.target:null;this.oConfiguration.yearsRange=(a.yearsRange!=null)?a.yearsRange:[1971,2100];this.oConfiguration.yearButtons=(a.yearButtons!=null)?a.yearButtons:true;this.oConfiguration.monthButtons=(a.monthButtons!=null)?a.monthButtons:true;this.oConfiguration.limitToToday=(a.limitToToday!=null)?a.limitToToday:0;this.oConfiguration.field=(a.field!=null)?a.field:false;this.oConfiguration.cellColorScheme=(a.cellColorScheme!=null)?a.cellColorScheme:"ocean_blue";this.oConfiguration.dateFormat=(a.dateFormat!=null)?a.dateFormat:"%m-%d-%Y";this.oConfiguration.imgPath=(a.imgPath!=null)?a.imgPath:"img/";this.oConfiguration.weekStartDay=(a.weekStartDay!=null)?a.weekStartDay:1;this.oConfiguration.directionality=(a.directionality!=null)?a.directionality:"ltr";this.selectedDayObject={};this.flag_DayMarkedBeforeRepopulation=false;this.flag_aDayWasSelected=false;this.lastMarkedDayObject=null;if(!this.oConfiguration.selectedDate){this.currentYear=this.oCurrentDay.year;this.currentMonth=this.oCurrentDay.month;this.currentDay=this.oCurrentDay.day}};JsDatePick.prototype.resizeCalendar=function(){this.leftWallStrechedElement.style.height="0px";this.rightWallStrechedElement.style.height="0px";var a=this.JsDatePickBox.offsetHeight,b=a-16;if(b<0){return}this.leftWallStrechedElement.style.height=b+"px";this.rightWallStrechedElement.style.height=b+"px";return true};JsDatePick.prototype.closeCalendar=function(){this.JsDatePickBox.style.display="none";document.onclick=function(){}};JsDatePick.prototype.populateFieldWithSelectedDate=function(){jQuery("#"+this.oConfiguration.target).val(this.getSelectedDayFormatted());if(this.lastPickedDateObject){delete (this.lastPickedDateObject)}this.lastPickedDateObject={};this.lastPickedDateObject.day=this.selectedDayObject.day;this.lastPickedDateObject.month=this.selectedDayObject.month;this.lastPickedDateObject.year=this.selectedDayObject.year;this.closeCalendar()};JsDatePick.prototype.makeCalendar=function(){var j=document,e,a,b,k,g,h,f,o,i,m,n,l,c;e=j.createElement("div");a=j.createElement("div");b=j.createElement("div");this.setC(e,"JsDatePickBox");this.setC(a,"clearfix");this.setC(b,"jsDatePickCloseButton");b.setAttribute("globalNumber",this.globalNumber);b.onmouseover=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.CLOSE);d.setC(this,"jsDatePickCloseButtonOver")};b.onmouseout=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"jsDatePickCloseButton")};b.onmousedown=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.CLOSE);d.setC(this,"jsDatePickCloseButtonDown")};b.onmouseup=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"jsDatePickCloseButton");d.closeCalendar()};this.JsDatePickBox=e;k=j.createElement("div");g=j.createElement("div");h=j.createElement("div");f=j.createElement("div");this.setC(h,"topWall");this.setC(f,"bottomWall");if(this.isie&&this.iever==6){f.style.bottom="-2px"}o=j.createElement("div");i=j.createElement("div");m=j.createElement("div");this.setC(o,"leftTopCorner");this.setC(i,"leftBottomCorner");this.setC(m,"leftWall");this.leftWallStrechedElement=m;this.leftWall=k;this.rightWall=g;k.appendChild(o);k.appendChild(m);k.appendChild(i);o=j.createElement("div");i=j.createElement("div");m=j.createElement("div");this.setC(o,"rightTopCorner");this.setC(i,"rightBottomCorner");this.setC(m,"rightWall");this.rightWallStrechedElement=m;g.appendChild(o);g.appendChild(m);g.appendChild(i);if(this.oConfiguration.isStripped){this.setC(k,"hiddenBoxLeftWall");this.setC(g,"hiddenBoxRightWall")}else{this.setC(k,"boxLeftWall");this.setC(g,"boxRightWall")}e.appendChild(k);e.appendChild(this.getDOMCalendarStripped());e.appendChild(g);e.appendChild(a);if(!this.oConfiguration.isStripped){e.appendChild(b);e.appendChild(h);e.appendChild(f)}if(this.oConfiguration.useMode==2){if(this.oConfiguration.target!=false){if(typeof(jQuery("#"+this.oConfiguration.target))!=null){n=document.getElementById(this.oConfiguration.target);l=document.createElement("span");n.parentNode.replaceChild(l,n);l.appendChild(n);n.setAttribute("globalNumber",this.globalNumber);n.onclick=function(){JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar()};n.onfocus=function(){JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")).showCalendar()};jQuery(n).mouseout(function(){document.onclick=function(){JsDatePick.getCalInstanceById(n.getAttribute("globalNumber")).closeCalendar()}});l.style.position="relative";this.initialZIndex++;e.style.zIndex=this.initialZIndex.toString();e.style.position="absolute";e.style.top="18px";e.style.left="0px";e.style.display="none";l.appendChild(e);c=new Function("g_arrayOfUsedJsDatePickCals["+this.globalNumber+"].populateFieldWithSelectedDate();");this.setOnSelectedDelegate(c)}else{alert(g_l.ERROR_3)}}}else{if(this.oConfiguration.target!=null){jQuery("#"+this.oConfiguration.target).append(e);jQuery("#"+this.oConfiguration.target).css("position","relative");e.style.position="absolute";e.style.top="0px";e.style.left="0px";this.resizeCalendar();this.executePopulationDelegateIfExists()}else{alert(g_l.ERROR_4)}}};JsDatePick.prototype.determineFieldDate=function(){var b,c,e,g,l,d,a,h,k,f=false,j=false;if(this.lastPickedDateObject){this.setSelectedDay({year:parseInt(this.lastPickedDateObject.year),month:parseInt(this.lastPickedDateObject.month,10),day:parseInt(this.lastPickedDateObject.day,10)})}else{b=jQuery("#"+this.oConfiguration.target);if(jQuery.trim(b.val()).length==0){this.unsetSelection();if(typeof(this.oConfiguration.selectedDate)=="object"&&this.oConfiguration.selectedDate){this.setSelectedDay({year:parseInt(this.oConfiguration.selectedDate.year),month:parseInt(this.oConfiguration.selectedDate.month,10),day:parseInt(this.oConfiguration.selectedDate.day,10)})}}else{if(jQuery.trim(b.val()).length>5){c=this.senseDivider(this.oConfiguration.dateFormat);e=this.oConfiguration.dateFormat;g=jQuery.trim(b.val()).split(c);l=e.trim().split(c);d=a=h=k=0;for(d=0;d<l.length;d++){switch(l[d]){case"%d":case"%j":a=d;break;case"%m":case"%n":k=d;break;case"%M":k=d;f=true;break;case"%F":k=d;j=true;break;case"%Y":case"%y":h=d}}if(f){for(d=0;d<12;d++){if(g_l.MONTHS[d].substr(0,3).toUpperCase()==g[k].toUpperCase()){k=d+1;break}}}else{if(j){for(d=0;d<12;d++){if(g_l.MONTHS[d].toLowerCase()==g[k].toLowerCase()){k=d+1;break}}}else{k=parseInt(g[k],10)}}this.setSelectedDay({year:parseInt(g[h],10),month:k,day:parseInt(g[a],10)})}else{this.unsetSelection();return}}}};JsDatePick.prototype.senseDivider=function(a){return a.replace("%d","").replace("%j","").replace("%m","").replace("%M","").replace("%n","").replace("%F","").replace("%Y","").replace("%y","").substr(0,1)};JsDatePick.prototype.showCalendar=function(){if(this.JsDatePickBox.style.display=="none"){this.determineFieldDate();this.JsDatePickBox.style.display="block";this.resizeCalendar();this.executePopulationDelegateIfExists();jQuery(this.JsDatePickBox).mouseover(function(){document.onclick=function(){}});jQuery(this.JsDatePickBox).attr("globalCalNumber",this.globalNumber);jQuery(this.JsDatePickBox).mouseout(function(){document.onclick=new Function("g_arrayOfUsedJsDatePickCals["+this.getAttribute("globalCalNumber")+"].closeCalendar();")})}else{return}};JsDatePick.prototype.isAvailable=function(c,a,b){if(c>this.oCurrentDay.year){return false}if(a>this.oCurrentDay.month&&c==this.oCurrentDay.year){return false}if(b>this.oCurrentDay.day&&a==this.oCurrentDay.month&&c==this.oCurrentDay.year){return false}return true};JsDatePick.prototype.getDOMCalendarStripped=function(){var h=document,e,i,b,a,f,c,g;e=h.createElement("div");if(this.oConfiguration.isStripped){this.setC(e,"boxMainStripped")}else{this.setC(e,"boxMain")}this.boxMain=e;i=h.createElement("div");b=h.createElement("div");a=h.createElement("div");f=h.createElement("div");c=h.createElement("div");g=h.createElement("div");this.setC(b,"clearfix");this.setC(g,"clearfix");this.setC(i,"boxMainInner");this.setC(a,"boxMainCellsContainer");this.setC(f,"tooltip");this.setC(c,"weekDaysRow");this.tooltip=f;e.appendChild(i);this.controlsBar=this.getDOMControlBar();this.makeDOMWeekDays(c);i.appendChild(this.controlsBar);i.appendChild(b);i.appendChild(f);i.appendChild(c);i.appendChild(a);i.appendChild(g);this.boxMainCellsContainer=a;this.populateMainBox(a);return e};JsDatePick.prototype.makeDOMWeekDays=function(a){var c=0,g=document,f=g_l.DAYS_3,e,b;for(c=this.oConfiguration.weekStartDay;c<7;c++){b=g.createElement("div");e=g.createTextNode(f[c]);this.setC(b,"weekDay");b.appendChild(e);a.appendChild(b)}if(this.oConfiguration.weekStartDay>0){for(c=0;c<this.oConfiguration.weekStartDay;c++){b=g.createElement("div");e=g.createTextNode(f[c]);this.setC(b,"weekDay");b.appendChild(e);a.appendChild(b)}}b.style.marginRight="0px"};JsDatePick.prototype.repopulateMainBox=function(){while(this.boxMainCellsContainer.firstChild){this.boxMainCellsContainer.removeChild(this.boxMainCellsContainer.firstChild)}this.populateMainBox(this.boxMainCellsContainer);this.resizeCalendar();this.executePopulationDelegateIfExists()};JsDatePick.prototype.executePopulationDelegateIfExists=function(){if(typeof(this.repopulationDelegate)=="function"){this.repopulationDelegate()}};JsDatePick.prototype.populateMainBox=function(h){var f=document,g,l,c=1,k=false,n=this.currentMonth-1,j,a,m,e,b;j=new Date(this.currentYear,n,1,1,0,0);a=j.getTime();this.flag_DayMarkedBeforeRepopulation=false;this.setControlBarText(this.monthsTextualRepresentation[n]+", "+this.currentYear);m=parseInt(j.getDay())-this.oConfiguration.weekStartDay;if(m<0){m=m+7}e=0;for(e=0;e<m;e++){g=f.createElement("div");this.setC(g,"skipDay");h.appendChild(g);if(c==7){c=1}else{c++}}while(j.getMonth()==n){k=false;g=f.createElement("div");if(this.lastPostedDay){if(this.lastPostedDay==j.getDate()){l=parseInt(this.lastPostedDay,10)+1}else{l=f.createTextNode(j.getDate())}}else{l=f.createTextNode(j.getDate())}g.appendChild(l);h.appendChild(g);g.setAttribute("globalNumber",this.globalNumber);if(c==7){if(this.oConfiguration.directionality=="ltr"){g.style.marginRight="0px"}else{g.style.marginLeft="0px"}}if(this.isToday(j)){g.setAttribute("isToday",1)}if(this.oConfiguration.limitToToday>=1){if(this.isAvailable(this.currentYear,this.currentMonth,parseInt(j.getDate()+1))){k=true;g.setAttribute("isJsDatePickDisabled",1)}}else{if(this.oConfiguration.limitToToday<=-1){if(!this.isAvailable(this.currentYear,this.currentMonth,parseInt(j.getDate()))){k=true;g.setAttribute("isJsDatePickDisabled",1)}}}g.onmouseover=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayOverToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayOver.gif) left top no-repeat"}else{d.setC(this,"dayOver");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayOver.gif) left top no-repeat"}};g.onmouseout=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayNormalToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}else{d.setC(this,"dayNormal");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}};g.onmousedown=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isSelected"))==1){return}if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayDownToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayDown.gif) left top no-repeat"}else{d.setC(this,"dayDown");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayDown.gif) left top no-repeat"}};g.onmouseup=function(){var d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber")),i;i=d.getCurrentColorScheme();if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}if(parseInt(this.getAttribute("isToday"))==1){d.setC(this,"dayNormalToday");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}else{d.setC(this,"dayNormal");this.style.background="url("+d.oConfiguration.imgPath+i+"_dayNormal.gif) left top no-repeat"}d.setDaySelection(this);d.executeOnSelectedDelegateIfExists()};if(this.isSelectedDay(j.getDate())){g.setAttribute("isSelected",1);this.flag_DayMarkedBeforeRepopulation=true;this.lastMarkedDayObject=g;if(parseInt(g.getAttribute("isToday"))==1){this.setC(g,"dayDownToday");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayDown.gif) left top no-repeat"}else{this.setC(g,"dayDown");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayDown.gif) left top no-repeat"}}else{b=this.getCurrentColorScheme();if(parseInt(g.getAttribute("isToday"))==1){if(k){this.setC(g,"dayDisabled");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}else{this.setC(g,"dayNormalToday");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}}else{if(k){this.setC(g,"dayDisabled");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}else{this.setC(g,"dayNormal");g.style.background="url("+this.oConfiguration.imgPath+this.oConfiguration.cellColorScheme+"_dayNormal.gif) left top no-repeat"}}}if(c==7){c=1}else{c++}a+=86400000;j.setTime(a)}this.lastPostedDay=null;return h};JsDatePick.prototype.unsetSelection=function(){this.flag_aDayWasSelected=false;this.selectedDayObject={};this.repopulateMainBox()};JsDatePick.prototype.setSelectedDay=function(a){this.flag_aDayWasSelected=true;this.selectedDayObject.day=parseInt(a.day,10);this.selectedDayObject.month=parseInt(a.month,10);this.selectedDayObject.year=parseInt(a.year);this.currentMonth=a.month;this.currentYear=a.year;this.repopulateMainBox()};JsDatePick.prototype.isSelectedDay=function(a){if(this.flag_aDayWasSelected){if(parseInt(a)==this.selectedDayObject.day&&this.currentMonth==this.selectedDayObject.month&&this.currentYear==this.selectedDayObject.year){return true}else{return false}}return false};JsDatePick.prototype.getSelectedDay=function(){if(this.flag_aDayWasSelected){return this.selectedDayObject}else{return false}};JsDatePick.prototype.getSelectedDayFormatted=function(){if(this.flag_aDayWasSelected){var a=this.oConfiguration.dateFormat;a=a.replace("%d",this.selectedDayObject.day.toString().strpad());a=a.replace("%j",this.selectedDayObject.day);a=a.replace("%m",this.selectedDayObject.month.toString().strpad());a=a.replace("%M",g_l.MONTHS[this.selectedDayObject.month-1].substr(0,3).toUpperCase());a=a.replace("%n",this.selectedDayObject.month);a=a.replace("%F",g_l.MONTHS[this.selectedDayObject.month-1]);a=a.replace("%Y",this.selectedDayObject.year);a=a.replace("%y",this.selectedDayObject.year.toString().substr(2,2));return a}else{return false}};JsDatePick.prototype.setDaySelection=function(a){var b=this.getCurrentColorScheme();if(this.flag_DayMarkedBeforeRepopulation){jQuery(this.lastMarkedDayObject).attr("isSelected",0);if(parseInt(this.lastMarkedDayObject.getAttribute("isToday"))==1){this.setC(this.lastMarkedDayObject,"dayNormalToday");this.lastMarkedDayObject.style.background="url("+this.oConfiguration.imgPath+b+"_dayNormal.gif) left top no-repeat"}else{this.setC(this.lastMarkedDayObject,"dayNormal");this.lastMarkedDayObject.style.background="url("+this.oConfiguration.imgPath+b+"_dayNormal.gif) left top no-repeat"}}this.flag_aDayWasSelected=true;this.selectedDayObject.year=this.currentYear;this.selectedDayObject.month=this.currentMonth;this.selectedDayObject.day=parseInt(a.innerHTML);this.flag_DayMarkedBeforeRepopulation=true;this.lastMarkedDayObject=a;jQuery(a).attr("isSelected",1);if(parseInt(a.getAttribute("isToday"))==1){this.setC(a,"dayDownToday");a.style.background="url("+this.oConfiguration.imgPath+b+"_dayDown.gif) left top no-repeat"}else{this.setC(a,"dayDown");a.style.background="url("+this.oConfiguration.imgPath+b+"_dayDown.gif) left top no-repeat"}};JsDatePick.prototype.isToday=function(a){var b=this.oCurrentDay.month-1;if(a.getDate()==this.oCurrentDay.day&&a.getMonth()==b&&a.getFullYear()==this.oCurrentDay.year){return true}return false};JsDatePick.prototype.setControlBarText=function(a){var b=document.createTextNode(a);jQuery(this.controlsBarTextCell).empty();this.controlsBarTextCell.appendChild(b)};JsDatePick.prototype.setTooltipText=function(a){jQuery(this.tooltip).empty();var b=document.createTextNode(a);this.tooltip.appendChild(b)};JsDatePick.prototype.moveForwardOneYear=function(){var a=this.currentYear+1;if(a<=parseInt(this.oConfiguration.yearsRange[1])){this.currentYear++;this.repopulateMainBox();return true}else{return false}};JsDatePick.prototype.moveBackOneYear=function(){var a=this.currentYear-1;if(a>=parseInt(this.oConfiguration.yearsRange[0])){this.currentYear--;this.repopulateMainBox();return true}else{return false}};JsDatePick.prototype.moveForwardOneMonth=function(){if(this.currentMonth<12){this.currentMonth++}else{if(this.moveForwardOneYear()){this.currentMonth=1}else{this.currentMonth=12}}this.repopulateMainBox()};JsDatePick.prototype.moveBackOneMonth=function(){if(this.currentMonth>1){this.currentMonth--}else{if(this.moveBackOneYear()){this.currentMonth=12}else{this.currentMonth=1}}this.repopulateMainBox()};JsDatePick.prototype.getCurrentColorScheme=function(){return this.oConfiguration.cellColorScheme};JsDatePick.prototype.getDOMControlBar=function(){var h=document,c,f,g,b,a,e;c=h.createElement("div");f=h.createElement("div");g=h.createElement("div");b=h.createElement("div");a=h.createElement("div");e=h.createElement("div");this.setC(c,"controlsBar");this.setC(f,"monthForwardButton");this.setC(g,"monthBackwardButton");this.setC(b,"yearForwardButton");this.setC(a,"yearBackwardButton");this.setC(e,"controlsBarText");jQuery(c).attr("globalNumber",this.globalNumber);if(this.oConfiguration.monthButtons){jQuery(f).attr("globalNumber",this.globalNumber);jQuery(g).attr("globalNumber",this.globalNumber)}if(this.oConfiguration.yearButtons){jQuery(a).attr("globalNumber",this.globalNumber);jQuery(b).attr("globalNumber",this.globalNumber)}this.controlsBarTextCell=e;if(this.oConfiguration.monthButtons){c.appendChild(f);c.appendChild(g)}if(this.oConfiguration.yearButtons){c.appendChild(b);c.appendChild(a)}c.appendChild(e);f.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}d=this.parentNode;while(d.className!="controlsBar"){d=d.parentNode}i=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));i.setTooltipText(g_l.MONTH_FWD);i.setC(this,"monthForwardButtonOver")};f.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"monthForwardButton")};f.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}d=this.parentNode;while(d.className!="controlsBar"){d=d.parentNode}i=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));i.setTooltipText(g_l.MONTH_FWD);i.setC(this,"monthForwardButtonDown")};f.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_FWD);d.setC(this,"monthForwardButton");d.moveForwardOneMonth()};g.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_BCK);d.setC(this,"monthBackwardButtonOver")};g.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"monthBackwardButton")};g.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_BCK);d.setC(this,"monthBackwardButtonDown")};g.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.MONTH_BCK);d.setC(this,"monthBackwardButton");d.moveBackOneMonth()};b.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_FWD);d.setC(this,"yearForwardButtonOver")};b.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"yearForwardButton")};b.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_FWD);d.setC(this,"yearForwardButtonDown")};b.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_FWD);d.setC(this,"yearForwardButton");d.moveForwardOneYear()};a.onmouseover=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_BCK);d.setC(this,"yearBackwardButtonOver")};a.onmouseout=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText("");d.setC(this,"yearBackwardButton")};a.onmousedown=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_BCK);d.setC(this,"yearBackwardButtonDown")};a.onmouseup=function(){var i,d;if(parseInt(this.getAttribute("isJsDatePickDisabled"))==1){return}i=this.parentNode;while(i.className!="controlsBar"){i=i.parentNode}d=JsDatePick.getCalInstanceById(this.getAttribute("globalNumber"));d.setTooltipText(g_l.YEAR_BCK);d.setC(this,"yearBackwardButton");d.moveBackOneYear()};return c};
|
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-05-
|
6 |
-
"PO-Revision-Date: 2011-05-
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
@@ -16,39 +16,54 @@ msgstr ""
|
|
16 |
"X-Poedit-Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
18 |
|
19 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
20 |
msgid "Datepicker Settings"
|
21 |
msgstr "Setări Calendar"
|
22 |
|
23 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
24 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
25 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
26 |
msgid "true"
|
27 |
msgstr "adevărat"
|
28 |
|
29 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
30 |
msgid "false"
|
31 |
msgstr "fals"
|
32 |
|
33 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
34 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
35 |
msgid "Sunday"
|
36 |
msgstr "Duminică"
|
37 |
|
38 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
39 |
msgid "Monday"
|
40 |
msgstr "Luni"
|
41 |
|
42 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
43 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
44 |
msgid "Left to right"
|
45 |
msgstr "Stânga spre dreapta"
|
46 |
|
47 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
48 |
msgid "Right to left"
|
49 |
msgstr "Dreapta spre stânga"
|
50 |
|
51 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
52 |
msgid ""
|
53 |
"<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"
|
54 |
"\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"
|
@@ -60,15 +75,15 @@ msgstr ""
|
|
60 |
"\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"
|
61 |
"\t\tîn zona de editare a Contact Form 7.</p>"
|
62 |
|
63 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
64 |
msgid "Color scheme"
|
65 |
msgstr "Schemă de culori"
|
66 |
|
67 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
68 |
msgid "Use Mode"
|
69 |
msgstr "Mod de utilizare"
|
70 |
|
71 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
72 |
msgid ""
|
73 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
74 |
"\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>"
|
@@ -76,35 +91,55 @@ msgstr ""
|
|
76 |
"<p>1 – Codul HTML al calendarului va fi atașat la câmpul text specificat de țintă<br />\n"
|
77 |
"\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>"
|
78 |
|
79 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
80 |
msgid "Sripped"
|
81 |
msgstr "Fără decor"
|
82 |
|
83 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
84 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
85 |
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>"
|
86 |
|
87 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
88 |
-
msgid "Limit To
|
89 |
-
msgstr "Limitează la
|
90 |
|
91 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
92 |
-
msgid "<p>Enables you to limit the possible picking
|
93 |
-
msgstr "<p>Oferă posibilitatea de a limita
|
94 |
|
95 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
96 |
msgid "Week Start Day"
|
97 |
msgstr "Prima zi a săptămânii"
|
98 |
|
99 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
|
|
|
|
|
|
100 |
msgid "Text Direction"
|
101 |
msgstr "Direcție text"
|
102 |
|
103 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
104 |
msgid "Date Format"
|
105 |
msgstr "Format dată"
|
106 |
|
107 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
108 |
msgid ""
|
109 |
"<p>Possible values to use in the date format:<br />\n"
|
110 |
"<br />\n"
|
@@ -132,115 +167,140 @@ msgstr ""
|
|
132 |
"<br />\n"
|
133 |
"Puteți desigur să introduceți orice separator doriți între valori.<br /></p>"
|
134 |
|
135 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
136 |
msgid "Save Setting"
|
137 |
msgstr "Salvează setări"
|
138 |
|
139 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
140 |
msgid "Janaury"
|
141 |
msgstr "Ianuarie"
|
142 |
|
143 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
144 |
msgid "February"
|
145 |
msgstr "Februarie"
|
146 |
|
147 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
148 |
msgid "March"
|
149 |
msgstr "Martie"
|
150 |
|
151 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
152 |
msgid "April"
|
153 |
msgstr "Aprilie"
|
154 |
|
155 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
156 |
msgid "May"
|
157 |
msgstr "Mai"
|
158 |
|
159 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
160 |
msgid "June"
|
161 |
msgstr "Iunie"
|
162 |
|
163 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
164 |
msgid "July"
|
165 |
msgstr "Iulie"
|
166 |
|
167 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
168 |
msgid "August"
|
169 |
msgstr "August"
|
170 |
|
171 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
172 |
msgid "September"
|
173 |
msgstr "Septembrie"
|
174 |
|
175 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
176 |
msgid "October"
|
177 |
msgstr "Octombrie"
|
178 |
|
179 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
180 |
msgid "November"
|
181 |
msgstr "Noiembrie"
|
182 |
|
183 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
184 |
msgid "December"
|
185 |
msgstr "Decembrie"
|
186 |
|
187 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
188 |
msgid "Sun"
|
189 |
msgstr "Dum"
|
190 |
|
191 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
192 |
msgid "Mon"
|
193 |
msgstr "Lun"
|
194 |
|
195 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
196 |
msgid "Tue"
|
197 |
msgstr "Mar"
|
198 |
|
199 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
200 |
msgid "Wed"
|
201 |
msgstr "Mie"
|
202 |
|
203 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
204 |
msgid "Thu"
|
205 |
msgstr "Joi"
|
206 |
|
207 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
208 |
msgid "Fri"
|
209 |
msgstr "Vin"
|
210 |
|
211 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
212 |
msgid "Sat"
|
213 |
msgstr "Sâm"
|
214 |
|
215 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
216 |
msgid "Move a month forward"
|
217 |
msgstr "Înaintează cu o lună"
|
218 |
|
219 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
220 |
msgid "Move a month backward"
|
221 |
msgstr "Întoarce cu o lună"
|
222 |
|
223 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
224 |
msgid "Move a year forward"
|
225 |
msgstr "Înaintează cu un an"
|
226 |
|
227 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
228 |
msgid "Move a year backward"
|
229 |
msgstr "Întoarce cu un an"
|
230 |
|
231 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
232 |
msgid "Close the calendar"
|
233 |
msgstr "Închide calendarul"
|
234 |
|
235 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
236 |
msgid "Date object invalid!"
|
237 |
msgstr "Obiect dată invalid!"
|
238 |
|
239 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
240 |
msgid "Target invalid!"
|
241 |
msgstr "Țintă nevalidă!"
|
242 |
|
243 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
244 |
msgid "Date field"
|
245 |
msgstr "Câmp dată"
|
246 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: contact-form-7-datepicker\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-05-26 00:35+0200\n"
|
6 |
+
"PO-Revision-Date: 2011-05-26 00:36+0200\n"
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
16 |
"X-Poedit-Language: English\n"
|
17 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
18 |
|
19 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:107
|
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:185
|
24 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:297
|
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:186
|
29 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:299
|
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:187
|
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:190
|
38 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:271
|
39 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:385
|
40 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:400
|
41 |
msgid "true"
|
42 |
msgstr "adevărat"
|
43 |
|
44 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:191
|
45 |
msgid "false"
|
46 |
msgstr "fals"
|
47 |
|
48 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:195
|
49 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:325
|
50 |
msgid "Sunday"
|
51 |
msgstr "Duminică"
|
52 |
|
53 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:196
|
54 |
msgid "Monday"
|
55 |
msgstr "Luni"
|
56 |
|
57 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:199
|
58 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:360
|
59 |
msgid "Left to right"
|
60 |
msgstr "Stânga spre dreapta"
|
61 |
|
62 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:200
|
63 |
msgid "Right to left"
|
64 |
msgstr "Dreapta spre stânga"
|
65 |
|
66 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:211
|
67 |
msgid ""
|
68 |
"<p>This plugin implements a new <strong>[date]</strong> tag in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
|
69 |
"\t\tthat adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.<br />\n"
|
75 |
"\t\tPentru a-l folosi, introduceți eticheta <strong>[date numele-câmpului]</strong> sau <strong>[date* numele-câmpului-necesar]</strong> dacă doriți să fie obligatoriu,\n"
|
76 |
"\t\tîn zona de editare a Contact Form 7.</p>"
|
77 |
|
78 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:220
|
79 |
msgid "Color scheme"
|
80 |
msgstr "Schemă de culori"
|
81 |
|
82 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:244
|
83 |
msgid "Use Mode"
|
84 |
msgstr "Mod de utilizare"
|
85 |
|
86 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:259
|
87 |
msgid ""
|
88 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
89 |
"\t\t\t\t\t\t\t2 – The calendar will appear as a popup when the field with the id supplied in target is clicked.</p>"
|
91 |
"<p>1 – Codul HTML al calendarului va fi atașat la câmpul text specificat de țintă<br />\n"
|
92 |
"\t\t\t\t\t\t\t2 – Calendarul va apărea ca și un popup când câmpul cu id-ul specificat ca țintă este activat.</p>"
|
93 |
|
94 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:266
|
95 |
msgid "Sripped"
|
96 |
msgstr "Fără decor"
|
97 |
|
98 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:286
|
99 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
100 |
msgstr "<p>Când este setat ca și adevărat, calendarul apare fără design vizual - de obicei este folosit cu 'Modul de utilizare' 1.</p>"
|
101 |
|
102 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:292
|
103 |
+
msgid "Limit Dates To"
|
104 |
+
msgstr "Limitează datele la"
|
105 |
|
106 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:314
|
107 |
+
msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
|
108 |
+
msgstr "<p>Oferă posibilitatea de a limita datele care pot fi selectate în funcție de data curentă.</p>"
|
109 |
|
110 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:320
|
111 |
msgid "Week Start Day"
|
112 |
msgstr "Prima zi a săptămânii"
|
113 |
|
114 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:345
|
115 |
+
msgid "Years Range"
|
116 |
+
msgstr "Interval ani"
|
117 |
+
|
118 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:355
|
119 |
msgid "Text Direction"
|
120 |
msgstr "Direcție text"
|
121 |
|
122 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:380
|
123 |
+
msgid "Controls"
|
124 |
+
msgstr "Controale"
|
125 |
+
|
126 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:396
|
127 |
+
msgid "Year Controls"
|
128 |
+
msgstr "Controale An"
|
129 |
+
|
130 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:411
|
131 |
+
msgid "Month Controls"
|
132 |
+
msgstr "Controale Lună"
|
133 |
+
|
134 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:414
|
135 |
+
msgid "You can select here what controls would you like to display on the calendar."
|
136 |
+
msgstr ""
|
137 |
+
|
138 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:420
|
139 |
msgid "Date Format"
|
140 |
msgstr "Format dată"
|
141 |
|
142 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:426
|
143 |
msgid ""
|
144 |
"<p>Possible values to use in the date format:<br />\n"
|
145 |
"<br />\n"
|
167 |
"<br />\n"
|
168 |
"Puteți desigur să introduceți orice separator doriți între valori.<br /></p>"
|
169 |
|
170 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:446
|
171 |
msgid "Save Setting"
|
172 |
msgstr "Salvează setări"
|
173 |
|
174 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:466
|
175 |
msgid "Janaury"
|
176 |
msgstr "Ianuarie"
|
177 |
|
178 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:467
|
179 |
msgid "February"
|
180 |
msgstr "Februarie"
|
181 |
|
182 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:468
|
183 |
msgid "March"
|
184 |
msgstr "Martie"
|
185 |
|
186 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:469
|
187 |
msgid "April"
|
188 |
msgstr "Aprilie"
|
189 |
|
190 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:470
|
191 |
msgid "May"
|
192 |
msgstr "Mai"
|
193 |
|
194 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:471
|
195 |
msgid "June"
|
196 |
msgstr "Iunie"
|
197 |
|
198 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:472
|
199 |
msgid "July"
|
200 |
msgstr "Iulie"
|
201 |
|
202 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:473
|
203 |
msgid "August"
|
204 |
msgstr "August"
|
205 |
|
206 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:474
|
207 |
msgid "September"
|
208 |
msgstr "Septembrie"
|
209 |
|
210 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:475
|
211 |
msgid "October"
|
212 |
msgstr "Octombrie"
|
213 |
|
214 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:476
|
215 |
msgid "November"
|
216 |
msgstr "Noiembrie"
|
217 |
|
218 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:477
|
219 |
msgid "December"
|
220 |
msgstr "Decembrie"
|
221 |
|
222 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:478
|
223 |
msgid "Sun"
|
224 |
msgstr "Dum"
|
225 |
|
226 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:479
|
227 |
msgid "Mon"
|
228 |
msgstr "Lun"
|
229 |
|
230 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:480
|
231 |
msgid "Tue"
|
232 |
msgstr "Mar"
|
233 |
|
234 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:481
|
235 |
msgid "Wed"
|
236 |
msgstr "Mie"
|
237 |
|
238 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:482
|
239 |
msgid "Thu"
|
240 |
msgstr "Joi"
|
241 |
|
242 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:483
|
243 |
msgid "Fri"
|
244 |
msgstr "Vin"
|
245 |
|
246 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:484
|
247 |
msgid "Sat"
|
248 |
msgstr "Sâm"
|
249 |
|
250 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:485
|
251 |
msgid "Move a month forward"
|
252 |
msgstr "Înaintează cu o lună"
|
253 |
|
254 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:486
|
255 |
msgid "Move a month backward"
|
256 |
msgstr "Întoarce cu o lună"
|
257 |
|
258 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:487
|
259 |
msgid "Move a year forward"
|
260 |
msgstr "Înaintează cu un an"
|
261 |
|
262 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:488
|
263 |
msgid "Move a year backward"
|
264 |
msgstr "Întoarce cu un an"
|
265 |
|
266 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:489
|
267 |
msgid "Close the calendar"
|
268 |
msgstr "Închide calendarul"
|
269 |
|
270 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:490
|
271 |
msgid "Date object invalid!"
|
272 |
msgstr "Obiect dată invalid!"
|
273 |
|
274 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:491
|
275 |
msgid "Target invalid!"
|
276 |
msgstr "Țintă nevalidă!"
|
277 |
|
278 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:663
|
279 |
msgid "Date field"
|
280 |
msgstr "Câmp dată"
|
281 |
|
282 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:690
|
283 |
+
msgid "Required field?"
|
284 |
+
msgstr ""
|
285 |
+
|
286 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:695
|
287 |
+
msgid "Name"
|
288 |
+
msgstr ""
|
289 |
+
|
290 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:704
|
291 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:709
|
292 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:716
|
293 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:721
|
294 |
+
msgid "optional"
|
295 |
+
msgstr ""
|
296 |
+
|
297 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:728
|
298 |
+
msgid "Copy this code and paste it into the form left."
|
299 |
+
msgstr ""
|
300 |
+
|
301 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:732
|
302 |
+
msgid "And, put this code into the Mail fields below."
|
303 |
+
msgstr ""
|
304 |
+
|
305 |
+
#~ msgid "Today and before"
|
306 |
+
#~ msgstr "Astăzi și trecut"
|
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-05-
|
6 |
-
"PO-Revision-Date: 2011-05-
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
@@ -17,39 +17,54 @@ msgstr ""
|
|
17 |
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
19 |
|
20 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
21 |
msgid "Datepicker Settings"
|
22 |
msgstr ""
|
23 |
|
24 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
25 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
26 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
27 |
msgid "true"
|
28 |
msgstr ""
|
29 |
|
30 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
31 |
msgid "false"
|
32 |
msgstr ""
|
33 |
|
34 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
35 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
36 |
msgid "Sunday"
|
37 |
msgstr ""
|
38 |
|
39 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
40 |
msgid "Monday"
|
41 |
msgstr ""
|
42 |
|
43 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
44 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
45 |
msgid "Left to right"
|
46 |
msgstr ""
|
47 |
|
48 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
49 |
msgid "Right to left"
|
50 |
msgstr ""
|
51 |
|
52 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
53 |
msgid ""
|
54 |
"<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"
|
55 |
"\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"
|
@@ -57,49 +72,69 @@ msgid ""
|
|
57 |
"\t\tin your Contact Form 7 edit section.</p>"
|
58 |
msgstr ""
|
59 |
|
60 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
61 |
msgid "Color scheme"
|
62 |
msgstr ""
|
63 |
|
64 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
65 |
msgid "Use Mode"
|
66 |
msgstr ""
|
67 |
|
68 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
69 |
msgid ""
|
70 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
71 |
"\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>"
|
72 |
msgstr ""
|
73 |
|
74 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
75 |
msgid "Sripped"
|
76 |
msgstr ""
|
77 |
|
78 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
79 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
80 |
msgstr ""
|
81 |
|
82 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
83 |
-
msgid "Limit To
|
84 |
msgstr ""
|
85 |
|
86 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
87 |
-
msgid "<p>Enables you to limit the possible picking
|
88 |
msgstr ""
|
89 |
|
90 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
91 |
msgid "Week Start Day"
|
92 |
msgstr ""
|
93 |
|
94 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
|
|
|
|
|
|
95 |
msgid "Text Direction"
|
96 |
msgstr ""
|
97 |
|
98 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
99 |
msgid "Date Format"
|
100 |
msgstr ""
|
101 |
|
102 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
103 |
msgid ""
|
104 |
"<p>Possible values to use in the date format:<br />\n"
|
105 |
"<br />\n"
|
@@ -115,115 +150,138 @@ msgid ""
|
|
115 |
"You can of course put whatever divider you want between them.<br /></p>"
|
116 |
msgstr ""
|
117 |
|
118 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
119 |
msgid "Save Setting"
|
120 |
msgstr ""
|
121 |
|
122 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
123 |
msgid "Janaury"
|
124 |
msgstr ""
|
125 |
|
126 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
127 |
msgid "February"
|
128 |
msgstr ""
|
129 |
|
130 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
131 |
msgid "March"
|
132 |
msgstr ""
|
133 |
|
134 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
135 |
msgid "April"
|
136 |
msgstr ""
|
137 |
|
138 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
139 |
msgid "May"
|
140 |
msgstr ""
|
141 |
|
142 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
143 |
msgid "June"
|
144 |
msgstr ""
|
145 |
|
146 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
147 |
msgid "July"
|
148 |
msgstr ""
|
149 |
|
150 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
151 |
msgid "August"
|
152 |
msgstr ""
|
153 |
|
154 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
155 |
msgid "September"
|
156 |
msgstr ""
|
157 |
|
158 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
159 |
msgid "October"
|
160 |
msgstr ""
|
161 |
|
162 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
163 |
msgid "November"
|
164 |
msgstr ""
|
165 |
|
166 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
167 |
msgid "December"
|
168 |
msgstr ""
|
169 |
|
170 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
171 |
msgid "Sun"
|
172 |
msgstr ""
|
173 |
|
174 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
175 |
msgid "Mon"
|
176 |
msgstr ""
|
177 |
|
178 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
179 |
msgid "Tue"
|
180 |
msgstr ""
|
181 |
|
182 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
183 |
msgid "Wed"
|
184 |
msgstr ""
|
185 |
|
186 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
187 |
msgid "Thu"
|
188 |
msgstr ""
|
189 |
|
190 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
191 |
msgid "Fri"
|
192 |
msgstr ""
|
193 |
|
194 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
195 |
msgid "Sat"
|
196 |
msgstr ""
|
197 |
|
198 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
199 |
msgid "Move a month forward"
|
200 |
msgstr ""
|
201 |
|
202 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
203 |
msgid "Move a month backward"
|
204 |
msgstr ""
|
205 |
|
206 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
207 |
msgid "Move a year forward"
|
208 |
msgstr ""
|
209 |
|
210 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
211 |
msgid "Move a year backward"
|
212 |
msgstr ""
|
213 |
|
214 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
215 |
msgid "Close the calendar"
|
216 |
msgstr ""
|
217 |
|
218 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
219 |
msgid "Date object invalid!"
|
220 |
msgstr ""
|
221 |
|
222 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
223 |
msgid "Target invalid!"
|
224 |
msgstr ""
|
225 |
|
226 |
-
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:
|
227 |
msgid "Date field"
|
228 |
msgstr ""
|
229 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: contact-form-7-datepicker\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2011-05-26 00:35+0200\n"
|
6 |
+
"PO-Revision-Date: 2011-05-26 00:35+0200\n"
|
7 |
"Last-Translator: Aurel Canciu <aurelcanciu@gmail.com>\n"
|
8 |
"Language-Team: \n"
|
9 |
"Language: \n"
|
17 |
"X-Poedit-SourceCharset: utf-8\n"
|
18 |
"X-Poedit-SearchPath-0: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker\n"
|
19 |
|
20 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:107
|
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:185
|
25 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:297
|
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:186
|
30 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:299
|
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:187
|
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:190
|
39 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:271
|
40 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:385
|
41 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:400
|
42 |
msgid "true"
|
43 |
msgstr ""
|
44 |
|
45 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:191
|
46 |
msgid "false"
|
47 |
msgstr ""
|
48 |
|
49 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:195
|
50 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:325
|
51 |
msgid "Sunday"
|
52 |
msgstr ""
|
53 |
|
54 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:196
|
55 |
msgid "Monday"
|
56 |
msgstr ""
|
57 |
|
58 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:199
|
59 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:360
|
60 |
msgid "Left to right"
|
61 |
msgstr ""
|
62 |
|
63 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:200
|
64 |
msgid "Right to left"
|
65 |
msgstr ""
|
66 |
|
67 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:211
|
68 |
msgid ""
|
69 |
"<p>This plugin implements a new <strong>[date]</strong> tag in <a href=\"http://wordpress.org/extend/plugins/contact-form-7/\">Contact Form 7</a> \n"
|
70 |
"\t\tthat adds a date field to a form. When clicking the field a calendar pops up enabling your site visitors to easily select any date.<br />\n"
|
72 |
"\t\tin your Contact Form 7 edit section.</p>"
|
73 |
msgstr ""
|
74 |
|
75 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:220
|
76 |
msgid "Color scheme"
|
77 |
msgstr ""
|
78 |
|
79 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:244
|
80 |
msgid "Use Mode"
|
81 |
msgstr ""
|
82 |
|
83 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:259
|
84 |
msgid ""
|
85 |
"<p>1 – The calendar's HTML will be directly appended to the field supplied by target<br />\n"
|
86 |
"\t\t\t\t\t\t\t2 – The calendar will appear as a popup when the field with the id supplied in target is clicked.</p>"
|
87 |
msgstr ""
|
88 |
|
89 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:266
|
90 |
msgid "Sripped"
|
91 |
msgstr ""
|
92 |
|
93 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:286
|
94 |
msgid "<p>When set to true the calendar appears without the visual design - usually used with 'Use Mod' 1.</p>"
|
95 |
msgstr ""
|
96 |
|
97 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:292
|
98 |
+
msgid "Limit Dates To"
|
99 |
msgstr ""
|
100 |
|
101 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:314
|
102 |
+
msgid "<p>Enables you to limit the possible picking dates according to the current date.</p>"
|
103 |
msgstr ""
|
104 |
|
105 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:320
|
106 |
msgid "Week Start Day"
|
107 |
msgstr ""
|
108 |
|
109 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:345
|
110 |
+
msgid "Years Range"
|
111 |
+
msgstr ""
|
112 |
+
|
113 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:355
|
114 |
msgid "Text Direction"
|
115 |
msgstr ""
|
116 |
|
117 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:380
|
118 |
+
msgid "Controls"
|
119 |
+
msgstr ""
|
120 |
+
|
121 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:396
|
122 |
+
msgid "Year Controls"
|
123 |
+
msgstr ""
|
124 |
+
|
125 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:411
|
126 |
+
msgid "Month Controls"
|
127 |
+
msgstr ""
|
128 |
+
|
129 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:414
|
130 |
+
msgid "You can select here what controls would you like to display on the calendar."
|
131 |
+
msgstr ""
|
132 |
+
|
133 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:420
|
134 |
msgid "Date Format"
|
135 |
msgstr ""
|
136 |
|
137 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:426
|
138 |
msgid ""
|
139 |
"<p>Possible values to use in the date format:<br />\n"
|
140 |
"<br />\n"
|
150 |
"You can of course put whatever divider you want between them.<br /></p>"
|
151 |
msgstr ""
|
152 |
|
153 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:446
|
154 |
msgid "Save Setting"
|
155 |
msgstr ""
|
156 |
|
157 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:466
|
158 |
msgid "Janaury"
|
159 |
msgstr ""
|
160 |
|
161 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:467
|
162 |
msgid "February"
|
163 |
msgstr ""
|
164 |
|
165 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:468
|
166 |
msgid "March"
|
167 |
msgstr ""
|
168 |
|
169 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:469
|
170 |
msgid "April"
|
171 |
msgstr ""
|
172 |
|
173 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:470
|
174 |
msgid "May"
|
175 |
msgstr ""
|
176 |
|
177 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:471
|
178 |
msgid "June"
|
179 |
msgstr ""
|
180 |
|
181 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:472
|
182 |
msgid "July"
|
183 |
msgstr ""
|
184 |
|
185 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:473
|
186 |
msgid "August"
|
187 |
msgstr ""
|
188 |
|
189 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:474
|
190 |
msgid "September"
|
191 |
msgstr ""
|
192 |
|
193 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:475
|
194 |
msgid "October"
|
195 |
msgstr ""
|
196 |
|
197 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:476
|
198 |
msgid "November"
|
199 |
msgstr ""
|
200 |
|
201 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:477
|
202 |
msgid "December"
|
203 |
msgstr ""
|
204 |
|
205 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:478
|
206 |
msgid "Sun"
|
207 |
msgstr ""
|
208 |
|
209 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:479
|
210 |
msgid "Mon"
|
211 |
msgstr ""
|
212 |
|
213 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:480
|
214 |
msgid "Tue"
|
215 |
msgstr ""
|
216 |
|
217 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:481
|
218 |
msgid "Wed"
|
219 |
msgstr ""
|
220 |
|
221 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:482
|
222 |
msgid "Thu"
|
223 |
msgstr ""
|
224 |
|
225 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:483
|
226 |
msgid "Fri"
|
227 |
msgstr ""
|
228 |
|
229 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:484
|
230 |
msgid "Sat"
|
231 |
msgstr ""
|
232 |
|
233 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:485
|
234 |
msgid "Move a month forward"
|
235 |
msgstr ""
|
236 |
|
237 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:486
|
238 |
msgid "Move a month backward"
|
239 |
msgstr ""
|
240 |
|
241 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:487
|
242 |
msgid "Move a year forward"
|
243 |
msgstr ""
|
244 |
|
245 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:488
|
246 |
msgid "Move a year backward"
|
247 |
msgstr ""
|
248 |
|
249 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:489
|
250 |
msgid "Close the calendar"
|
251 |
msgstr ""
|
252 |
|
253 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:490
|
254 |
msgid "Date object invalid!"
|
255 |
msgstr ""
|
256 |
|
257 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:491
|
258 |
msgid "Target invalid!"
|
259 |
msgstr ""
|
260 |
|
261 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:663
|
262 |
msgid "Date field"
|
263 |
msgstr ""
|
264 |
|
265 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:690
|
266 |
+
msgid "Required field?"
|
267 |
+
msgstr ""
|
268 |
+
|
269 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:695
|
270 |
+
msgid "Name"
|
271 |
+
msgstr ""
|
272 |
+
|
273 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:704
|
274 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:709
|
275 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:716
|
276 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:721
|
277 |
+
msgid "optional"
|
278 |
+
msgstr ""
|
279 |
+
|
280 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:728
|
281 |
+
msgid "Copy this code and paste it into the form left."
|
282 |
+
msgstr ""
|
283 |
+
|
284 |
+
#: /home/relu/public_html/wordpress/wp-content/plugins/contact-form-7-datepicker/contact-form-7-datepicker.php:732
|
285 |
+
msgid "And, put this code into the Mail fields below."
|
286 |
+
msgstr ""
|
287 |
+
|
readme.txt
CHANGED
@@ -3,8 +3,8 @@ 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.
|
7 |
-
Stable tag: 0.
|
8 |
|
9 |
Datepicker for Contact Form 7 Wordpress Plugin based on jsDatePick script.
|
10 |
|
@@ -35,6 +35,14 @@ You can contact me anywhere and I'll add them to the project :)
|
|
35 |
|
36 |
== Changelog ==
|
37 |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
38 |
= 0.3.1 =
|
39 |
* Fixed translations
|
40 |
|
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.4
|
8 |
|
9 |
Datepicker for Contact Form 7 Wordpress Plugin based on jsDatePick script.
|
10 |
|
35 |
|
36 |
== Changelog ==
|
37 |
|
38 |
+
= 0.4 =
|
39 |
+
* Added new configuration options:
|
40 |
+
- limit selectable dates according to current date (before or or after)
|
41 |
+
- available years range option
|
42 |
+
- the posibility to show/hide the month and year controls (forward/backward)
|
43 |
+
* Added new scheme (red)
|
44 |
+
* Added the posibility to use custom stylesheet files with color schemes (located in css/schemes/<scheme_name>.css)
|
45 |
+
|
46 |
= 0.3.1 =
|
47 |
* Fixed translations
|
48 |
|