Version Description
- Features and issue fixings in All versions:
- New icons at setting tabs.
- CSS improvements for the text fields.
- Updates Polish translation, by Danek Szczepan
- Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
- New. Ability to use "placeholders" for the text fields in booking form fields customizaion. Exmaple: First Name (required: [text* name placeholder:First_Name] , where "_" is meaning white space " ". (Personal, Business Small/Medium/Large, MultiUser)
Download this release
Release Info
Developer | wpdevelop |
Plugin | Booking Calendar |
Version | 5.1.5 |
Comparing to | |
See all releases |
Code changes from version 5.1.4 to 5.1.5
- css/admin-booking-listing.css +3 -0
- css/admin-mobile.css +15 -6
- css/admin.css +4 -1
- css/client.css +14 -2
- img/Form-fields-64x64.png +0 -0
- img/General-setting-64x64.png +0 -0
- img/Season-64x64.png +0 -0
- img/add-1-48x48.png +0 -0
- js/wpdev.bk.js +3 -2
- languages/wpdev-booking-pl_PL.mo +0 -0
- languages/wpdev-booking-pl_PL.po +49 -33
- languages/wpdev-booking.mo +0 -0
- languages/wpdev-booking.pot +27 -13
- lib/wpbc-constants.php +1 -1
- lib/wpbc-include.php +2 -0
- lib/wpbc-scripts.php +4 -4
- lib/wpdev-bk-lib.php +5 -4
- lib/wpdev-booking-class.php +24 -22
- lib/wpdev-settings-general.php +1 -2
- readme.txt +9 -1
- wpdev-booking.php +21 -11
css/admin-booking-listing.css
CHANGED
@@ -30,6 +30,9 @@
|
|
30 |
.booking-listing-header .booking-listing-collumn {
|
31 |
text-align: center;
|
32 |
}
|
|
|
|
|
|
|
33 |
/* Row */
|
34 |
.booking-listing-row {
|
35 |
border: 1px solid #C6C6C6;
|
30 |
.booking-listing-header .booking-listing-collumn {
|
31 |
text-align: center;
|
32 |
}
|
33 |
+
#booking_listings_interface_header .btn-group .dropdown-toggle {
|
34 |
+
box-shadow:0 1px 0 #fff inset, 0 1px 0 rgba(0, 0, 0, 0.08)
|
35 |
+
}
|
36 |
/* Row */
|
37 |
.booking-listing-row {
|
38 |
border: 1px solid #C6C6C6;
|
css/admin-mobile.css
CHANGED
@@ -14,9 +14,9 @@
|
|
14 |
}
|
15 |
|
16 |
/* Settings Top TABS */
|
17 |
-
#menu-wpdevplugin .nav-tab {
|
18 |
-
|
19 |
-
padding: 10px
|
20 |
}
|
21 |
#menu-wpdevplugin .nav-tab .nav-tab-text {
|
22 |
display:none;
|
@@ -93,6 +93,7 @@
|
|
93 |
#or_sort_selector,
|
94 |
#filter_name {
|
95 |
line-height: 16px !important;
|
|
|
96 |
}
|
97 |
.branch-3-3 .bookingpage .button,
|
98 |
.branch-3-3 .bookingpage .button-secondary,
|
@@ -173,7 +174,7 @@
|
|
173 |
padding: 3px 0;
|
174 |
}
|
175 |
#denyreason {
|
176 |
-
height:
|
177 |
}
|
178 |
.bookingpage .wpdevbk input[type="text"],
|
179 |
.bookingpage .wpdevbk select{
|
@@ -183,6 +184,14 @@
|
|
183 |
.bookingpage .wpdevbk input[type="text"]{
|
184 |
line-height: 16px !important;
|
185 |
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
186 |
/* Listing */
|
187 |
#booking_listings_interface_header .nav-tabs .dropdown.pull-right .caret{
|
188 |
/* display:none;*/
|
@@ -327,7 +336,7 @@
|
|
327 |
margin-bottom: 0;
|
328 |
}
|
329 |
.resource_table.booking_table.wpbc_rates_table .rates_collumn input[type=text] {
|
330 |
-
height: 36px;
|
331 |
text-align: right;
|
332 |
width: 50% !important;
|
333 |
float:left;
|
@@ -356,7 +365,7 @@
|
|
356 |
}
|
357 |
/* Valuation days Table ******************************************************/
|
358 |
.resource_table.booking_table.wpbc_valuationdays_table td input[type=text] {
|
359 |
-
height: 36px;
|
360 |
}
|
361 |
.resource_table.booking_table.wpbc_valuationdays_table td div,
|
362 |
.resource_table.booking_table.wpbc_valuationdays_table td div div{
|
14 |
}
|
15 |
|
16 |
/* Settings Top TABS */
|
17 |
+
#menu-wpdevplugin .nav-tab {
|
18 |
+
/* padding: 10px 4px 5px;*/
|
19 |
+
padding: 10px 15px 5px;
|
20 |
}
|
21 |
#menu-wpdevplugin .nav-tab .nav-tab-text {
|
22 |
display:none;
|
93 |
#or_sort_selector,
|
94 |
#filter_name {
|
95 |
line-height: 16px !important;
|
96 |
+
height: 36px !important;
|
97 |
}
|
98 |
.branch-3-3 .bookingpage .button,
|
99 |
.branch-3-3 .bookingpage .button-secondary,
|
174 |
padding: 3px 0;
|
175 |
}
|
176 |
#denyreason {
|
177 |
+
height: 34px !important;
|
178 |
}
|
179 |
.bookingpage .wpdevbk input[type="text"],
|
180 |
.bookingpage .wpdevbk select{
|
184 |
.bookingpage .wpdevbk input[type="text"]{
|
185 |
line-height: 16px !important;
|
186 |
}
|
187 |
+
#booking_listings_interface_header .btn-group .dropdown-toggle {
|
188 |
+
height: 36px;
|
189 |
+
margin-bottom: 1px;
|
190 |
+
box-shadow:0 1px 0 #fff inset, 0 1px 0 rgba(0, 0, 0, 0.08)
|
191 |
+
}
|
192 |
+
#booking_listings_interface_header .btn-group #start_date_selection_in_navigation_selector {
|
193 |
+
height: 34px;
|
194 |
+
}
|
195 |
/* Listing */
|
196 |
#booking_listings_interface_header .nav-tabs .dropdown.pull-right .caret{
|
197 |
/* display:none;*/
|
336 |
margin-bottom: 0;
|
337 |
}
|
338 |
.resource_table.booking_table.wpbc_rates_table .rates_collumn input[type=text] {
|
339 |
+
height: 36px !important;
|
340 |
text-align: right;
|
341 |
width: 50% !important;
|
342 |
float:left;
|
365 |
}
|
366 |
/* Valuation days Table ******************************************************/
|
367 |
.resource_table.booking_table.wpbc_valuationdays_table td input[type=text] {
|
368 |
+
height: 36px !important;
|
369 |
}
|
370 |
.resource_table.booking_table.wpbc_valuationdays_table td div,
|
371 |
.resource_table.booking_table.wpbc_valuationdays_table td div div{
|
css/admin.css
CHANGED
@@ -185,6 +185,9 @@ a.wpbc-help-tooltip:hover{
|
|
185 |
margin: 1px 5px 0;
|
186 |
}
|
187 |
|
|
|
|
|
|
|
188 |
/* Cehckbox Fix. Overwrite checbox settings of BS ********************************************/
|
189 |
.wpdevbk input[type="checkbox"]{
|
190 |
-moz-box-sizing: border-box;
|
@@ -1653,7 +1656,7 @@ html[xmlns] .clearfix-height.hidden_items {
|
|
1653 |
text-decoration: none;
|
1654 |
text-shadow: 0 1px 0 #F1F1F1;
|
1655 |
line-height: 18px;
|
1656 |
-
padding: 4px 14px 6px 34px;
|
1657 |
margin: 0;
|
1658 |
}
|
1659 |
#booking_listings_interface_header #menu-wpdevplugin .nav-tab {
|
185 |
margin: 1px 5px 0;
|
186 |
}
|
187 |
|
188 |
+
.bookingpage input[type="text"] {
|
189 |
+
height:28px;
|
190 |
+
}
|
191 |
/* Cehckbox Fix. Overwrite checbox settings of BS ********************************************/
|
192 |
.wpdevbk input[type="checkbox"]{
|
193 |
-moz-box-sizing: border-box;
|
1656 |
text-decoration: none;
|
1657 |
text-shadow: 0 1px 0 #F1F1F1;
|
1658 |
line-height: 18px;
|
1659 |
+
padding: 4px 14px 6px;/* 34px; */
|
1660 |
margin: 0;
|
1661 |
}
|
1662 |
#booking_listings_interface_header #menu-wpdevplugin .nav-tab {
|
css/client.css
CHANGED
@@ -50,9 +50,21 @@
|
|
50 |
}
|
51 |
.booking_form_div textarea,
|
52 |
.booking_form_div input[type="text"] {
|
53 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
54 |
-mox-box-sizing: content-box;
|
55 |
-
-webkit-box-sizing: content-box
|
|
|
|
|
|
|
|
|
|
|
56 |
}
|
57 |
.booking_form_div .button,
|
58 |
.booking_form_div .submit,
|
50 |
}
|
51 |
.booking_form_div textarea,
|
52 |
.booking_form_div input[type="text"] {
|
53 |
+
box-sizing: padding-box;
|
54 |
+
-mox-box-sizing: padding-box;
|
55 |
+
-webkit-box-sizing: padding-box;
|
56 |
+
height:28px;
|
57 |
+
padding:4px;
|
58 |
+
}
|
59 |
+
.booking_search_form input[type="text"] {
|
60 |
+
box-sizing: content-box;
|
61 |
-mox-box-sizing: content-box;
|
62 |
+
-webkit-box-sizing: content-box;
|
63 |
+
height:18px;
|
64 |
+
padding:4px;
|
65 |
+
}
|
66 |
+
.booking_form_div textarea {
|
67 |
+
height:auto;
|
68 |
}
|
69 |
.booking_form_div .button,
|
70 |
.booking_form_div .submit,
|
img/Form-fields-64x64.png
DELETED
Binary file
|
img/General-setting-64x64.png
DELETED
Binary file
|
img/Season-64x64.png
DELETED
Binary file
|
img/add-1-48x48.png
DELETED
Binary file
|
js/wpdev.bk.js
CHANGED
@@ -846,8 +846,9 @@
|
|
846 |
|
847 |
|
848 |
function showErrorMessage( element , errorMessage) {
|
849 |
-
|
850 |
-
|
|
|
851 |
makeScroll( element );
|
852 |
|
853 |
jQuery("[name='"+ element.name +"']")
|
846 |
|
847 |
|
848 |
function showErrorMessage( element , errorMessage) {
|
849 |
+
|
850 |
+
// bk_form_step_click(); // rollback to 1st step, if system will show warning and booking form is using this customization: in the Exmaple #2 here: http://wpbookingcalendar.com/faq/customize-booking-form-for-having-several-steps-of-reservation/
|
851 |
+
|
852 |
makeScroll( element );
|
853 |
|
854 |
jQuery("[name='"+ element.name +"']")
|
languages/wpdev-booking-pl_PL.mo
CHANGED
Binary file
|
languages/wpdev-booking-pl_PL.po
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpdev-booking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2014-06-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: wpdevelop <info@wpdevelop.com>\n"
|
8 |
"Language-Team: wpdevelop <info@wpdevelop.com>\n"
|
@@ -4011,7 +4011,7 @@ msgstr "Dane"
|
|
4011 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-lib.php:1511
|
4012 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-lib.php:1963
|
4013 |
msgid "Approved"
|
4014 |
-
msgstr "
|
4015 |
|
4016 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:421
|
4017 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_s.php:147
|
@@ -4055,12 +4055,12 @@ msgstr ""
|
|
4055 |
"zasoby\" jest wybrana. Proszę usunąć zaznaczenie, a następnie dodać nowe "
|
4056 |
"zasoby."
|
4057 |
|
4058 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:
|
4059 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1376
|
4060 |
msgid "All resources"
|
4061 |
msgstr "Wszystkie zasoby"
|
4062 |
|
4063 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:
|
4064 |
msgid "Booking resources"
|
4065 |
msgstr "Zasoby rezerwacji"
|
4066 |
|
@@ -5409,30 +5409,32 @@ msgstr "Płatność odrzucona"
|
|
5409 |
|
5410 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:112
|
5411 |
msgid "Form / Calendar"
|
5412 |
-
msgstr "
|
5413 |
|
5414 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:114
|
5415 |
-
|
5416 |
-
|
5417 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:154
|
5418 |
-
msgid "Insertion of"
|
5419 |
-
msgstr "Wstawienie"
|
5420 |
-
|
5421 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:114
|
5422 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:127
|
5423 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:140
|
5424 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:154
|
5425 |
-
msgid "settings"
|
5426 |
-
msgstr "Ustawienia"
|
5427 |
|
5428 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:125
|
5429 |
msgid "Selection of form"
|
5430 |
-
msgstr "Wybór
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5431 |
|
5432 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:152
|
5433 |
msgid "Editing of booking"
|
5434 |
msgstr "Edycja rezerwacji"
|
5435 |
|
|
|
|
|
|
|
|
|
5436 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:174
|
5437 |
#, php-format
|
5438 |
msgid ""
|
@@ -5504,13 +5506,21 @@ msgstr "Wpisz adres URL strony wyników wyszukiwania."
|
|
5504 |
msgid "Title of Search results:"
|
5505 |
msgstr "Tytuł wyniku wyszukiwania:"
|
5506 |
|
|
|
|
|
|
|
|
|
5507 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:253
|
5508 |
msgid "Type the title of Search results."
|
5509 |
msgstr "Wpisz tytuł wyników wyszukiwania."
|
5510 |
|
5511 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:259
|
5512 |
msgid "Nothing Found Message:"
|
5513 |
-
msgstr "Wiadomość
|
|
|
|
|
|
|
|
|
5514 |
|
5515 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:262
|
5516 |
msgid "Type the message, when nothing found."
|
@@ -5533,6 +5543,10 @@ msgstr ""
|
|
5533 |
msgid "Title:"
|
5534 |
msgstr "Tytuł:"
|
5535 |
|
|
|
|
|
|
|
|
|
5536 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:292
|
5537 |
msgid "Title near your select box."
|
5538 |
msgstr "Tytuł w pobliżu twojego pola do zaznaczenia."
|
@@ -5545,7 +5559,7 @@ msgstr "Widoczne miesiące:"
|
|
5545 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:315
|
5546 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-edit-toolbar-buttons.php:396
|
5547 |
msgid "Select number of month to show for calendar."
|
5548 |
-
msgstr "Wybierz liczbę miesięcy
|
5549 |
|
5550 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:337
|
5551 |
msgid ""
|
@@ -5729,7 +5743,7 @@ msgstr ""
|
|
5729 |
|
5730 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1468
|
5731 |
msgid "New for Admin"
|
5732 |
-
msgstr "
|
5733 |
|
5734 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1476
|
5735 |
msgid ""
|
@@ -5740,7 +5754,7 @@ msgstr ""
|
|
5740 |
|
5741 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1477
|
5742 |
msgid "New for Visitor"
|
5743 |
-
msgstr "
|
5744 |
|
5745 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1485
|
5746 |
msgid ""
|
@@ -5770,7 +5784,7 @@ msgstr "Dostosowanie szablonu e-mail, który wysyła po modyfikacji rezerwacji"
|
|
5770 |
|
5771 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1504
|
5772 |
msgid "Modified"
|
5773 |
-
msgstr "
|
5774 |
|
5775 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1513
|
5776 |
msgid ""
|
@@ -5906,7 +5920,7 @@ msgstr ""
|
|
5906 |
|
5907 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3260
|
5908 |
msgid "Email to \"Admin\" after a new booking"
|
5909 |
-
msgstr "Email do \"
|
5910 |
|
5911 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3280
|
5912 |
msgid "To"
|
@@ -5962,7 +5976,7 @@ msgstr "tutaj"
|
|
5962 |
|
5963 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3327
|
5964 |
msgid "Email to \"Person\" after they make a new reservation"
|
5965 |
-
msgstr "Email do \"
|
5966 |
|
5967 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3357
|
5968 |
#, php-format
|
@@ -5993,7 +6007,7 @@ msgstr ""
|
|
5993 |
|
5994 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3387
|
5995 |
msgid "Email to \"Person\" after booking is approved"
|
5996 |
-
msgstr "Email do \"Osoby\" po zaakceptowaniu
|
5997 |
|
5998 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3430
|
5999 |
#, php-format
|
@@ -6017,7 +6031,7 @@ msgstr ""
|
|
6017 |
|
6018 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3460
|
6019 |
msgid "Email to \"Person\" after their booking has been denied"
|
6020 |
-
msgstr "Email do \"Osoby\" po anulowaniu
|
6021 |
|
6022 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3505
|
6023 |
#, php-format
|
@@ -6040,7 +6054,7 @@ msgstr ""
|
|
6040 |
|
6041 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3537
|
6042 |
msgid "Email to \"Person\" after booking is modified"
|
6043 |
-
msgstr "Email do \"
|
6044 |
|
6045 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3582
|
6046 |
#, php-format
|
@@ -6391,7 +6405,7 @@ msgstr "Pokaż na stronie:"
|
|
6391 |
|
6392 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-edit-toolbar-buttons.php:425
|
6393 |
msgid "Booking form with calendar"
|
6394 |
-
msgstr "
|
6395 |
|
6396 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-edit-toolbar-buttons.php:426
|
6397 |
msgid "Only availability calendar"
|
@@ -7919,6 +7933,12 @@ msgstr ""
|
|
7919 |
msgid "Textarea Label"
|
7920 |
msgstr "Obszar tekstu etykiety"
|
7921 |
|
|
|
|
|
|
|
|
|
|
|
|
|
7922 |
#~ msgid "management"
|
7923 |
#~ msgstr "zarządzanie"
|
7924 |
|
@@ -8123,10 +8143,6 @@ msgstr "Obszar tekstu etykiety"
|
|
8123 |
#~ msgid "Set availability of days depending on the filter settings."
|
8124 |
#~ msgstr "do dyspozicji w zaleznosci od dni i od filtru"
|
8125 |
|
8126 |
-
#, fuzzy
|
8127 |
-
#~ msgid "Please enter the cost"
|
8128 |
-
#~ msgstr "wpisz koszt"
|
8129 |
-
|
8130 |
#, fuzzy
|
8131 |
#~ msgid ""
|
8132 |
#~ "of each booking resource. Enter only digits.of each booking resources. "
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpdev-booking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-06-16 10:42+0200\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: wpdevelop <info@wpdevelop.com>\n"
|
8 |
"Language-Team: wpdevelop <info@wpdevelop.com>\n"
|
4011 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-lib.php:1511
|
4012 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-lib.php:1963
|
4013 |
msgid "Approved"
|
4014 |
+
msgstr "Zaakceptowana"
|
4015 |
|
4016 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:421
|
4017 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_s.php:147
|
4055 |
"zasoby\" jest wybrana. Proszę usunąć zaznaczenie, a następnie dodać nowe "
|
4056 |
"zasoby."
|
4057 |
|
4058 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:733
|
4059 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1376
|
4060 |
msgid "All resources"
|
4061 |
msgstr "Wszystkie zasoby"
|
4062 |
|
4063 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:747
|
4064 |
msgid "Booking resources"
|
4065 |
msgstr "Zasoby rezerwacji"
|
4066 |
|
5409 |
|
5410 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:112
|
5411 |
msgid "Form / Calendar"
|
5412 |
+
msgstr "Formularz / Kalendarz"
|
5413 |
|
5414 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:114
|
5415 |
+
msgid "Insertion of booking form or availability calendar shortcodes"
|
5416 |
+
msgstr "Wstawianie skrótu formularz rezerwacji lub kalendarz"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
5417 |
|
5418 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:125
|
5419 |
msgid "Selection of form"
|
5420 |
+
msgstr "Wybór formularza"
|
5421 |
+
|
5422 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:127
|
5423 |
+
msgid "Insertion selection of booking form for specific booking resource"
|
5424 |
+
msgstr "Wstawianie skrótu konkretny zasób rezerwacji"
|
5425 |
+
|
5426 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:140
|
5427 |
+
msgid "Insertion search form shortcode"
|
5428 |
+
msgstr "Wstawianie skrótu formularz wyszukiwania"
|
5429 |
|
5430 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:152
|
5431 |
msgid "Editing of booking"
|
5432 |
msgstr "Edycja rezerwacji"
|
5433 |
|
5434 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:154
|
5435 |
+
msgid "Insertion system shortcode for booking editing"
|
5436 |
+
msgstr "Wstawianie skrótu edycja rezerwacji"
|
5437 |
+
|
5438 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:174
|
5439 |
#, php-format
|
5440 |
msgid ""
|
5506 |
msgid "Title of Search results:"
|
5507 |
msgstr "Tytuł wyniku wyszukiwania:"
|
5508 |
|
5509 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:252
|
5510 |
+
msgid "Search results:"
|
5511 |
+
msgstr "Wyniki wyszukiwania:"
|
5512 |
+
|
5513 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:253
|
5514 |
msgid "Type the title of Search results."
|
5515 |
msgstr "Wpisz tytuł wyników wyszukiwania."
|
5516 |
|
5517 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:259
|
5518 |
msgid "Nothing Found Message:"
|
5519 |
+
msgstr "Wiadomość nic nie znaleziono:"
|
5520 |
+
|
5521 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:261
|
5522 |
+
msgid "Nothing Found."
|
5523 |
+
msgstr "Nic nie znaleziono."
|
5524 |
|
5525 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:262
|
5526 |
msgid "Type the message, when nothing found."
|
5543 |
msgid "Title:"
|
5544 |
msgstr "Tytuł:"
|
5545 |
|
5546 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:291
|
5547 |
+
msgid "Please select the resource:"
|
5548 |
+
msgstr "Proszę wybrać zasób:"
|
5549 |
+
|
5550 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:292
|
5551 |
msgid "Title near your select box."
|
5552 |
msgstr "Tytuł w pobliżu twojego pola do zaznaczenia."
|
5559 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:315
|
5560 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-edit-toolbar-buttons.php:396
|
5561 |
msgid "Select number of month to show for calendar."
|
5562 |
+
msgstr "Wybierz liczbę miesięcy w kalendarzu"
|
5563 |
|
5564 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:337
|
5565 |
msgid ""
|
5743 |
|
5744 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1468
|
5745 |
msgid "New for Admin"
|
5746 |
+
msgstr "Administrator"
|
5747 |
|
5748 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1476
|
5749 |
msgid ""
|
5754 |
|
5755 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1477
|
5756 |
msgid "New for Visitor"
|
5757 |
+
msgstr "Gość"
|
5758 |
|
5759 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1485
|
5760 |
msgid ""
|
5784 |
|
5785 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1504
|
5786 |
msgid "Modified"
|
5787 |
+
msgstr "Zmodyfikowana"
|
5788 |
|
5789 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1513
|
5790 |
msgid ""
|
5920 |
|
5921 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3260
|
5922 |
msgid "Email to \"Admin\" after a new booking"
|
5923 |
+
msgstr "Email do \"Administratora\" po zrobieniu nowej rezerwacji"
|
5924 |
|
5925 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3280
|
5926 |
msgid "To"
|
5976 |
|
5977 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3327
|
5978 |
msgid "Email to \"Person\" after they make a new reservation"
|
5979 |
+
msgstr "Email do \"Gościa\" po zrobieniu nowej rezerwacji"
|
5980 |
|
5981 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3357
|
5982 |
#, php-format
|
6007 |
|
6008 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3387
|
6009 |
msgid "Email to \"Person\" after booking is approved"
|
6010 |
+
msgstr "Email do \"Osoby\" po zaakceptowaniu rezerwacji"
|
6011 |
|
6012 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3430
|
6013 |
#, php-format
|
6031 |
|
6032 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3460
|
6033 |
msgid "Email to \"Person\" after their booking has been denied"
|
6034 |
+
msgstr "Email do \"Osoby\" po anulowaniu rezerwacji"
|
6035 |
|
6036 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3505
|
6037 |
#, php-format
|
6054 |
|
6055 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3537
|
6056 |
msgid "Email to \"Person\" after booking is modified"
|
6057 |
+
msgstr "Email do \"Osoby\" po modyfikacji rezerwacji"
|
6058 |
|
6059 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:3582
|
6060 |
#, php-format
|
6405 |
|
6406 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-edit-toolbar-buttons.php:425
|
6407 |
msgid "Booking form with calendar"
|
6408 |
+
msgstr "Formularz rezerwacji i kalendarz"
|
6409 |
|
6410 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./lib/wpdev-bk-edit-toolbar-buttons.php:426
|
6411 |
msgid "Only availability calendar"
|
7933 |
msgid "Textarea Label"
|
7934 |
msgstr "Obszar tekstu etykiety"
|
7935 |
|
7936 |
+
#~ msgid "Insertion of"
|
7937 |
+
#~ msgstr "Wstawienie"
|
7938 |
+
|
7939 |
+
#~ msgid "settings"
|
7940 |
+
#~ msgstr "Ustawienia"
|
7941 |
+
|
7942 |
#~ msgid "management"
|
7943 |
#~ msgstr "zarządzanie"
|
7944 |
|
8143 |
#~ msgid "Set availability of days depending on the filter settings."
|
8144 |
#~ msgstr "do dyspozicji w zaleznosci od dni i od filtru"
|
8145 |
|
|
|
|
|
|
|
|
|
8146 |
#, fuzzy
|
8147 |
#~ msgid ""
|
8148 |
#~ "of each booking resource. Enter only digits.of each booking resources. "
|
languages/wpdev-booking.mo
CHANGED
Binary file
|
languages/wpdev-booking.pot
CHANGED
@@ -2,7 +2,7 @@ msgid ""
|
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpdev-booking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
-
"POT-Creation-Date: 2014-06-
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: wpdevelop <info@wpdevelop.com>\n"
|
8 |
"Language-Team: wpdevelop <info@wpbookingcalendar.com>\n"
|
@@ -3800,12 +3800,12 @@ msgid ""
|
|
3800 |
"option is selected. Please clear the selection, then add new resources."
|
3801 |
msgstr ""
|
3802 |
|
3803 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:
|
3804 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1376
|
3805 |
msgid "All resources"
|
3806 |
msgstr ""
|
3807 |
|
3808 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:
|
3809 |
msgid "Booking resources"
|
3810 |
msgstr ""
|
3811 |
|
@@ -5064,27 +5064,29 @@ msgid "Form / Calendar"
|
|
5064 |
msgstr ""
|
5065 |
|
5066 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:114
|
5067 |
-
|
5068 |
-
|
5069 |
-
|
5070 |
-
|
|
|
5071 |
msgstr ""
|
5072 |
|
5073 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:114
|
5074 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:127
|
5075 |
-
|
5076 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:154
|
5077 |
-
msgid "settings"
|
5078 |
msgstr ""
|
5079 |
|
5080 |
-
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:
|
5081 |
-
msgid "
|
5082 |
msgstr ""
|
5083 |
|
5084 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:152
|
5085 |
msgid "Editing of booking"
|
5086 |
msgstr ""
|
5087 |
|
|
|
|
|
|
|
|
|
5088 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:174
|
5089 |
#, php-format
|
5090 |
msgid ""
|
@@ -5144,6 +5146,10 @@ msgstr ""
|
|
5144 |
msgid "Title of Search results:"
|
5145 |
msgstr ""
|
5146 |
|
|
|
|
|
|
|
|
|
5147 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:253
|
5148 |
msgid "Type the title of Search results."
|
5149 |
msgstr ""
|
@@ -5152,6 +5158,10 @@ msgstr ""
|
|
5152 |
msgid "Nothing Found Message:"
|
5153 |
msgstr ""
|
5154 |
|
|
|
|
|
|
|
|
|
5155 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:262
|
5156 |
msgid "Type the message, when nothing found."
|
5157 |
msgstr ""
|
@@ -5170,6 +5180,10 @@ msgstr ""
|
|
5170 |
msgid "Title:"
|
5171 |
msgstr ""
|
5172 |
|
|
|
|
|
|
|
|
|
5173 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:292
|
5174 |
msgid "Title near your select box."
|
5175 |
msgstr ""
|
2 |
msgstr ""
|
3 |
"Project-Id-Version: wpdev-booking\n"
|
4 |
"Report-Msgid-Bugs-To: \n"
|
5 |
+
"POT-Creation-Date: 2014-06-16 10:42+0200\n"
|
6 |
"PO-Revision-Date: \n"
|
7 |
"Last-Translator: wpdevelop <info@wpdevelop.com>\n"
|
8 |
"Language-Team: wpdevelop <info@wpbookingcalendar.com>\n"
|
3800 |
"option is selected. Please clear the selection, then add new resources."
|
3801 |
msgstr ""
|
3802 |
|
3803 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:733
|
3804 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:1376
|
3805 |
msgid "All resources"
|
3806 |
msgstr ""
|
3807 |
|
3808 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/lib_p.php:747
|
3809 |
msgid "Booking resources"
|
3810 |
msgstr ""
|
3811 |
|
5064 |
msgstr ""
|
5065 |
|
5066 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:114
|
5067 |
+
msgid "Insertion of booking form or availability calendar shortcodes"
|
5068 |
+
msgstr ""
|
5069 |
+
|
5070 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:125
|
5071 |
+
msgid "Selection of form"
|
5072 |
msgstr ""
|
5073 |
|
|
|
5074 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:127
|
5075 |
+
msgid "Insertion selection of booking form for specific booking resource"
|
|
|
|
|
5076 |
msgstr ""
|
5077 |
|
5078 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:140
|
5079 |
+
msgid "Insertion search form shortcode"
|
5080 |
msgstr ""
|
5081 |
|
5082 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:152
|
5083 |
msgid "Editing of booking"
|
5084 |
msgstr ""
|
5085 |
|
5086 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:154
|
5087 |
+
msgid "Insertion system shortcode for booking editing"
|
5088 |
+
msgstr ""
|
5089 |
+
|
5090 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:174
|
5091 |
#, php-format
|
5092 |
msgid ""
|
5146 |
msgid "Title of Search results:"
|
5147 |
msgstr ""
|
5148 |
|
5149 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:252
|
5150 |
+
msgid "Search results:"
|
5151 |
+
msgstr ""
|
5152 |
+
|
5153 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:253
|
5154 |
msgid "Type the title of Search results."
|
5155 |
msgstr ""
|
5158 |
msgid "Nothing Found Message:"
|
5159 |
msgstr ""
|
5160 |
|
5161 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:261
|
5162 |
+
msgid "Nothing Found."
|
5163 |
+
msgstr ""
|
5164 |
+
|
5165 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:262
|
5166 |
msgid "Type the message, when nothing found."
|
5167 |
msgstr ""
|
5180 |
msgid "Title:"
|
5181 |
msgstr ""
|
5182 |
|
5183 |
+
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:291
|
5184 |
+
msgid "Please select the resource:"
|
5185 |
+
msgstr ""
|
5186 |
+
|
5187 |
#: w:\www\home\dev\www\wp-content\plugins\booking\./inc/personal.php:292
|
5188 |
msgid "Title near your select box."
|
5189 |
msgstr ""
|
lib/wpbc-constants.php
CHANGED
@@ -24,7 +24,7 @@ if (!defined('WP_BK_CUSTOM_FORMS_FOR_REGULAR_USERS')) define('WP_BK_CUSTOM_FOR
|
|
24 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
25 |
// SYSTEM CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
|
26 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
27 |
-
if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '5.1.
|
28 |
if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', true );
|
29 |
if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
|
30 |
if (!defined('WP_BK_DEBUG_MODE')) define('WP_BK_DEBUG_MODE', false );
|
24 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
25 |
// SYSTEM CONSTANTS //////////////////////////////////////////////////////////////////////////////////////////////////
|
26 |
////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
27 |
+
if (!defined('WP_BK_VERSION_NUM')) define('WP_BK_VERSION_NUM', '5.1.5' );
|
28 |
if (!defined('WP_BK_MINOR_UPDATE')) define('WP_BK_MINOR_UPDATE', true );
|
29 |
if (!defined('IS_USE_WPDEV_BK_CACHE')) define('IS_USE_WPDEV_BK_CACHE', true );
|
30 |
if (!defined('WP_BK_DEBUG_MODE')) define('WP_BK_DEBUG_MODE', false );
|
lib/wpbc-include.php
CHANGED
@@ -30,6 +30,8 @@ require_once WPDEV_BK_PLUGIN_DIR . '/lib/wpbc-booking-new.php';
|
|
30 |
|
31 |
require_once WPDEV_BK_PLUGIN_DIR . '/lib/wpbc-scripts.php'; // Load CSS and JS
|
32 |
|
|
|
|
|
33 |
if( is_admin() ) {
|
34 |
|
35 |
require_once WPDEV_BK_PLUGIN_DIR . '/lib/wpdev-settings-general.php'; // S e t t i n g s
|
30 |
|
31 |
require_once WPDEV_BK_PLUGIN_DIR . '/lib/wpbc-scripts.php'; // Load CSS and JS
|
32 |
|
33 |
+
// require_once WPDEV_BK_PLUGIN_DIR . '/lib/wpbc-google-calendar.php'; // Sync with Google Calendar 5.2.0
|
34 |
+
|
35 |
if( is_admin() ) {
|
36 |
|
37 |
require_once WPDEV_BK_PLUGIN_DIR . '/lib/wpdev-settings-general.php'; // S e t t i n g s
|
lib/wpbc-scripts.php
CHANGED
@@ -181,15 +181,15 @@ function wpbc_load_css( $where_to_load = 'both') {
|
|
181 |
if ( ( $where_to_load == 'admin' ) || ( $where_to_load == 'both' ) ) {
|
182 |
// Admin
|
183 |
wp_enqueue_style('wpbc-css-chosen', WPDEV_BK_PLUGIN_URL . '/interface/chosen/chosen'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.0');
|
184 |
-
wp_enqueue_style('wpbc-css-admin', WPDEV_BK_PLUGIN_URL . '/css/admin'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.
|
185 |
-
wp_enqueue_style('wpbc-css-admin-booking-listing', WPDEV_BK_PLUGIN_URL . '/css/admin-booking-listing'.((WP_BK_MIN)?'.min':'').'.css', array( 'wpbc-css-admin' ), '1.
|
186 |
-
wp_enqueue_style('wpbc-css-admin-mobile', WPDEV_BK_PLUGIN_URL . '/css/admin-mobile'.((WP_BK_MIN)?'.min':'').'.css', array( 'wpbc-css-admin' ), '1.
|
187 |
// wp_enqueue_style( 'wpdev-bk-jquery-ui', WPDEV_BK_PLUGIN_URL. '/css/jquery-ui.css', array(), false, 'screen' );
|
188 |
}
|
189 |
|
190 |
if ( ( $where_to_load == 'client' ) || ( $where_to_load == 'both' ) ) {
|
191 |
// Client
|
192 |
-
wp_enqueue_style('wpbc-css-client', WPDEV_BK_PLUGIN_URL . '/css/client'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.
|
193 |
wp_enqueue_style('wpbc-css-calendar', WPDEV_BK_PLUGIN_URL . '/css/calendar'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.0');
|
194 |
wp_enqueue_style('wpbc-css-calendar-skin', WPDEV_BK_PLUGIN_URL . str_replace(WPDEV_BK_PLUGIN_URL, '', get_bk_option( 'booking_skin')) , array( ), '1.0');
|
195 |
}
|
181 |
if ( ( $where_to_load == 'admin' ) || ( $where_to_load == 'both' ) ) {
|
182 |
// Admin
|
183 |
wp_enqueue_style('wpbc-css-chosen', WPDEV_BK_PLUGIN_URL . '/interface/chosen/chosen'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.0');
|
184 |
+
wp_enqueue_style('wpbc-css-admin', WPDEV_BK_PLUGIN_URL . '/css/admin'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.1');
|
185 |
+
wp_enqueue_style('wpbc-css-admin-booking-listing', WPDEV_BK_PLUGIN_URL . '/css/admin-booking-listing'.((WP_BK_MIN)?'.min':'').'.css', array( 'wpbc-css-admin' ), '1.1');
|
186 |
+
wp_enqueue_style('wpbc-css-admin-mobile', WPDEV_BK_PLUGIN_URL . '/css/admin-mobile'.((WP_BK_MIN)?'.min':'').'.css', array( 'wpbc-css-admin' ), '1.1');
|
187 |
// wp_enqueue_style( 'wpdev-bk-jquery-ui', WPDEV_BK_PLUGIN_URL. '/css/jquery-ui.css', array(), false, 'screen' );
|
188 |
}
|
189 |
|
190 |
if ( ( $where_to_load == 'client' ) || ( $where_to_load == 'both' ) ) {
|
191 |
// Client
|
192 |
+
wp_enqueue_style('wpbc-css-client', WPDEV_BK_PLUGIN_URL . '/css/client'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.1');
|
193 |
wp_enqueue_style('wpbc-css-calendar', WPDEV_BK_PLUGIN_URL . '/css/calendar'.((WP_BK_MIN)?'.min':'').'.css', array( ), '1.0');
|
194 |
wp_enqueue_style('wpbc-css-calendar-skin', WPDEV_BK_PLUGIN_URL . str_replace(WPDEV_BK_PLUGIN_URL, '', get_bk_option( 'booking_skin')) , array( ), '1.0');
|
195 |
}
|
lib/wpdev-bk-lib.php
CHANGED
@@ -1369,7 +1369,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
1369 |
<div class="nav-tabs-wrapper">
|
1370 |
<div class="nav-tabs">
|
1371 |
|
1372 |
-
<?php $title = __('Filter', 'wpdev-booking'); $my_icon = '
|
1373 |
<?php if ($_REQUEST['tab'] == 'filter') { $slct_a = 'selected'; $selected_title = $title; $selected_icon = $my_icon; } else { $slct_a = ''; } ?><a class="nav-tab <?php if ($slct_a == 'selected') { echo ' nav-tab-active '; } echo $my_additinal_class; ?>" title="<?php //echo __('Customization of booking form fields','wpdev-booking'); ?>" href="javascript:void(0)" onclick="javascript:
|
1374 |
jQuery('.visibility_container').hide();
|
1375 |
jQuery('#<?php echo $my_tab; ?>').show();
|
@@ -1377,9 +1377,9 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
1377 |
jQuery(this).addClass('nav-tab-active');
|
1378 |
jQuery('.nav-tab i.icon-white').removeClass('icon-white');
|
1379 |
jQuery('.nav-tab-active i').addClass('icon-white');"
|
1380 |
-
><i class="<?php if ($slct_a == 'selected') echo 'icon-white '; ?>icon-cog"></i><span class="nav-tab-text"> <?php
|
1381 |
|
1382 |
-
<?php $title = __('Actions', 'wpdev-booking'); $my_icon = '
|
1383 |
<?php if ($_REQUEST['tab'] == 'actions') { $slct_a = 'selected'; $selected_title = $title; $selected_icon = $my_icon; } else { $slct_a = ''; } ?><a class="nav-tab <?php if ($slct_a == 'selected') { echo ' nav-tab-active '; } echo $my_additinal_class; ?>" title="<?php //echo __('Customization of booking form fields','wpdev-booking'); ?>" href="javascript:void(0)" onclick="javascript:
|
1384 |
jQuery('.visibility_container').hide();
|
1385 |
jQuery('#<?php echo $my_tab; ?>').show();
|
@@ -1387,7 +1387,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
1387 |
jQuery(this).addClass('nav-tab-active');
|
1388 |
jQuery('.nav-tab i.icon-white').removeClass('icon-white');
|
1389 |
jQuery('.nav-tab-active i').addClass('icon-white');"
|
1390 |
-
><i class="<?php if ($slct_a == 'selected') echo 'icon-white '; ?>icon-fire"></i><span class="nav-tab-text"> <?php
|
1391 |
|
1392 |
<?php wpdevbk_show_help_dropdown_menu_in_top_menu_line(); ?>
|
1393 |
|
@@ -1823,6 +1823,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
1823 |
$bk_remark = (isset($bk->remark))?$bk->remark:''; //
|
1824 |
//BS
|
1825 |
$bk_cost = (isset($bk->cost))?$bk->cost:''; // 150.00
|
|
|
1826 |
$bk_pay_status = (isset($bk->pay_status))?$bk->pay_status:''; // 30800
|
1827 |
$bk_pay_request = (isset($bk->pay_request))?$bk->pay_request:''; // 0
|
1828 |
$bk_status = (isset($bk->status))?$bk->status:'';
|
1369 |
<div class="nav-tabs-wrapper">
|
1370 |
<div class="nav-tabs">
|
1371 |
|
1372 |
+
<?php $title = __('Filter', 'wpdev-booking'); $my_icon = ''; $my_tab = 'filter'; $my_additinal_class= ''; ?>
|
1373 |
<?php if ($_REQUEST['tab'] == 'filter') { $slct_a = 'selected'; $selected_title = $title; $selected_icon = $my_icon; } else { $slct_a = ''; } ?><a class="nav-tab <?php if ($slct_a == 'selected') { echo ' nav-tab-active '; } echo $my_additinal_class; ?>" title="<?php //echo __('Customization of booking form fields','wpdev-booking'); ?>" href="javascript:void(0)" onclick="javascript:
|
1374 |
jQuery('.visibility_container').hide();
|
1375 |
jQuery('#<?php echo $my_tab; ?>').show();
|
1377 |
jQuery(this).addClass('nav-tab-active');
|
1378 |
jQuery('.nav-tab i.icon-white').removeClass('icon-white');
|
1379 |
jQuery('.nav-tab-active i').addClass('icon-white');"
|
1380 |
+
><i class="<?php if ($slct_a == 'selected') echo 'icon-white '; ?>icon-cog"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?></span></a>
|
1381 |
|
1382 |
+
<?php $title = __('Actions', 'wpdev-booking'); $my_icon = ''; $my_tab = 'actions'; $my_additinal_class= ''; ?>
|
1383 |
<?php if ($_REQUEST['tab'] == 'actions') { $slct_a = 'selected'; $selected_title = $title; $selected_icon = $my_icon; } else { $slct_a = ''; } ?><a class="nav-tab <?php if ($slct_a == 'selected') { echo ' nav-tab-active '; } echo $my_additinal_class; ?>" title="<?php //echo __('Customization of booking form fields','wpdev-booking'); ?>" href="javascript:void(0)" onclick="javascript:
|
1384 |
jQuery('.visibility_container').hide();
|
1385 |
jQuery('#<?php echo $my_tab; ?>').show();
|
1387 |
jQuery(this).addClass('nav-tab-active');
|
1388 |
jQuery('.nav-tab i.icon-white').removeClass('icon-white');
|
1389 |
jQuery('.nav-tab-active i').addClass('icon-white');"
|
1390 |
+
><i class="<?php if ($slct_a == 'selected') echo 'icon-white '; ?>icon-fire"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?></span></a>
|
1391 |
|
1392 |
<?php wpdevbk_show_help_dropdown_menu_in_top_menu_line(); ?>
|
1393 |
|
1823 |
$bk_remark = (isset($bk->remark))?$bk->remark:''; //
|
1824 |
//BS
|
1825 |
$bk_cost = (isset($bk->cost))?$bk->cost:''; // 150.00
|
1826 |
+
|
1827 |
$bk_pay_status = (isset($bk->pay_status))?$bk->pay_status:''; // 30800
|
1828 |
$bk_pay_request = (isset($bk->pay_request))?$bk->pay_request:''; // 0
|
1829 |
$bk_status = (isset($bk->status))?$bk->status:'';
|
lib/wpdev-booking-class.php
CHANGED
@@ -1146,7 +1146,7 @@ class wpdev_booking {
|
|
1146 |
// Show top line menu
|
1147 |
function settings_menu_top_line() {
|
1148 |
|
1149 |
-
$selected_icon = '
|
1150 |
$version = get_bk_version();
|
1151 |
|
1152 |
if (! isset($_GET['tab'])) $_GET['tab'] = '';
|
@@ -1158,42 +1158,42 @@ class wpdev_booking {
|
|
1158 |
<div style="height:1px;clear:both;margin-top:20px;"></div>
|
1159 |
<div id="menu-wpdevplugin">
|
1160 |
<div class="nav-tabs-wrapper">
|
1161 |
-
<div class="nav-tabs" style="width:100%;">
|
1162 |
<?php $is_can = apply_bk_filter('multiuser_is_user_can_be_here', true, 'only_super_admin');
|
1163 |
if ($is_can) { ?>
|
1164 |
|
1165 |
<?php $title = __('General', 'wpdev-booking');
|
1166 |
-
$my_icon = '
|
1167 |
<?php if ( ($_GET['tab'] == 'main') ||($_GET['tab'] == '') || (! isset($_GET['tab'])) ) { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1168 |
<?php if ($slct_a == 'selected') { $selected_title = __('General Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a
|
1169 |
-
title="<?php echo __('Customization of General Settings','wpdev-booking'); ?>" rel="tooltip" class="nav-tab tooltip_bottom" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1170 |
<?php } else {
|
1171 |
if ( (! isset($_GET['tab'])) || ($_GET['tab']=='') ) $_GET['tab'] = 'form'; // For multiuser - common user set firt selected tab -> Form
|
1172 |
} ?>
|
1173 |
|
1174 |
|
1175 |
<?php $title = __('Fields', 'wpdev-booking');
|
1176 |
-
$my_icon = '
|
1177 |
<?php if ($_GET['tab'] == 'form') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1178 |
-
<?php if ($slct_a == 'selected') { $selected_title = __('Fields Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Customization of booking form fields','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1179 |
|
1180 |
<?php $is_can_be_here = true; //Reduction version 3.0
|
1181 |
if ($version == 'free') $is_can_be_here = false;
|
1182 |
if ($is_can_be_here) { //Reduction version 3.0 ?>
|
1183 |
|
1184 |
<?php $title = __('Emails', 'wpdev-booking');
|
1185 |
-
$my_icon = '
|
1186 |
<?php if ($_GET['tab'] == 'email') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1187 |
-
<?php if ($slct_a == 'selected') { $selected_title = __('Emails Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Customization of email templates','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1188 |
|
1189 |
<?php $is_can = true;
|
1190 |
//$is_can = apply_bk_filter('multiuser_is_user_can_be_here', true, 'only_super_admin'); ?>
|
1191 |
<?php if ( ( ($version == 'free') || ($version == 'biz_s') || ($version == 'biz_l') || ($version == 'biz_m') ) && ($is_can) ){ ?>
|
1192 |
|
1193 |
<?php $title = __('Payments', 'wpdev-booking');
|
1194 |
-
$my_icon = '
|
1195 |
<?php if ($_GET['tab'] == 'payment') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1196 |
-
<?php if ($slct_a == 'selected') { $selected_title = __('Payments Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Integration of payment systems','wpdev-booking') ; ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1197 |
<?php } ?>
|
1198 |
|
1199 |
<?php if ( ($version == 'free') || ($version == 'biz_l') || ($version == 'biz_m') ) { ?>
|
@@ -1204,18 +1204,18 @@ class wpdev_booking {
|
|
1204 |
<?php $is_can = apply_bk_filter('multiuser_is_user_can_be_here', true, 'only_super_admin'); ?>
|
1205 |
<?php if ($is_can) { ?>
|
1206 |
<?php $title = __('Search', 'wpdev-booking');
|
1207 |
-
$my_icon = '
|
1208 |
<?php if ($_GET['tab'] == 'search') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1209 |
-
<?php if ($slct_a == 'selected') { $selected_title = __('Search Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Customization of search form','wpdev-booking') ; ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1210 |
<?php } ?>
|
1211 |
<?php } ?>
|
1212 |
|
1213 |
|
1214 |
<?php if ( ($version == 'free') ) { ?>
|
1215 |
<?php $title = __('Users', 'wpdev-booking');
|
1216 |
-
$my_icon = '
|
1217 |
<?php if ($_GET['tab'] == 'users') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1218 |
-
<?php if ($slct_a == 'selected') { $selected_title = __('Users Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php _e('Manage users settings','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1219 |
<?php } ?>
|
1220 |
<?php } ?>
|
1221 |
|
@@ -1231,17 +1231,17 @@ class wpdev_booking {
|
|
1231 |
<?php if ( ($version == 'free') ) { ?>
|
1232 |
|
1233 |
<?php $title = __('Buy now', 'wpdev-booking');
|
1234 |
-
$my_icon = '
|
1235 |
<?php if ( ($_GET['tab'] == $my_tab) ) { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1236 |
-
<?php if ($slct_a == 'selected') { $selected_title = $title; $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a class="nav-tab" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1237 |
|
1238 |
<?php } elseif ( ( ($version !== 'biz_l') && ( ! wpdev_bk_is_this_demo() ) ) ||
|
1239 |
(($version === 'biz_l') && (class_exists('wpdev_bk_biz_l') === false) )
|
1240 |
) { ?>
|
1241 |
<?php $title = __('Upgrade', 'wpdev-booking');
|
1242 |
-
$my_icon = '
|
1243 |
<?php if ( ($_GET['tab'] == $my_tab) ) { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1244 |
-
<?php if ($slct_a == 'selected') { $selected_title = $title; $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active" style="float:right;"><?php } else { ?><a class="nav-tab tooltip_bottom" style="float:right;" title="<?php echo __('Upgrade to higher versions.','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><
|
1245 |
<?php } ?>
|
1246 |
<?php } //Reduction version 3.0 ?>
|
1247 |
</div>
|
@@ -1265,8 +1265,8 @@ class wpdev_booking {
|
|
1265 |
</div>';
|
1266 |
?>
|
1267 |
<script type="text/javascript">
|
1268 |
-
var val1 = '<img src="<?php echo WPDEV_BK_PLUGIN_URL; ?>/img/<?php echo $selected_icon; ?>"><br />';
|
1269 |
-
jQuery('div.wrap div.icon32').html(val1);
|
1270 |
jQuery('div.bookingpage h2').after('<?php echo $support_links; ?>');
|
1271 |
jQuery('div.bookingpage h2').html( '<?php echo $selected_title; ?>');
|
1272 |
</script><?php
|
@@ -1539,6 +1539,8 @@ class wpdev_booking {
|
|
1539 |
|
1540 |
$calendar .= '<textarea id="date_booking'.$bk_type.'" name="date_booking'.$bk_type.'" autocomplete="off" style="display:none;"></textarea>'; // Calendar code
|
1541 |
|
|
|
|
|
1542 |
return $calendar;
|
1543 |
}
|
1544 |
|
@@ -1719,7 +1721,7 @@ class wpdev_booking {
|
|
1719 |
|
1720 |
$my_result = '<div style="clear:both;height:10px;"></div>' . $this->pre_get_calendar_html( $bk_type, $cal_count, $bk_otions );
|
1721 |
|
1722 |
-
$my_result .= $this->get_legend(); // Get Legend code here
|
1723 |
|
1724 |
$my_result .= ' ' . $start_script_code ;
|
1725 |
|
@@ -1740,7 +1742,7 @@ class wpdev_booking {
|
|
1740 |
} else {
|
1741 |
$calendar = '<textarea rows="3" cols="50" id="date_booking'.$my_boook_type.'" name="date_booking'.$my_boook_type.'" autocomplete="off" style="display:none;">'.$my_selected_dates_without_calendar.'</textarea>'; // Calendar code
|
1742 |
}
|
1743 |
-
$calendar .= $this->get_legend(); // Get Legend code here
|
1744 |
|
1745 |
|
1746 |
$form = '<a name="bklnk'.$my_boook_type.'"></a><div id="booking_form_div'.$my_boook_type.'" class="booking_form_div">';
|
1146 |
// Show top line menu
|
1147 |
function settings_menu_top_line() {
|
1148 |
|
1149 |
+
$selected_icon = '';
|
1150 |
$version = get_bk_version();
|
1151 |
|
1152 |
if (! isset($_GET['tab'])) $_GET['tab'] = '';
|
1158 |
<div style="height:1px;clear:both;margin-top:20px;"></div>
|
1159 |
<div id="menu-wpdevplugin">
|
1160 |
<div class="nav-tabs-wrapper">
|
1161 |
+
<div class="nav-tabs wpdevbk" style="width:100%;">
|
1162 |
<?php $is_can = apply_bk_filter('multiuser_is_user_can_be_here', true, 'only_super_admin');
|
1163 |
if ($is_can) { ?>
|
1164 |
|
1165 |
<?php $title = __('General', 'wpdev-booking');
|
1166 |
+
$my_icon = 'icon-asterisk'; $my_tab = 'main'; ?>
|
1167 |
<?php if ( ($_GET['tab'] == 'main') ||($_GET['tab'] == '') || (! isset($_GET['tab'])) ) { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1168 |
<?php if ($slct_a == 'selected') { $selected_title = __('General Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a
|
1169 |
+
title="<?php echo __('Customization of General Settings','wpdev-booking'); ?>" rel="tooltip" class="nav-tab tooltip_bottom" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1170 |
<?php } else {
|
1171 |
if ( (! isset($_GET['tab'])) || ($_GET['tab']=='') ) $_GET['tab'] = 'form'; // For multiuser - common user set firt selected tab -> Form
|
1172 |
} ?>
|
1173 |
|
1174 |
|
1175 |
<?php $title = __('Fields', 'wpdev-booking');
|
1176 |
+
$my_icon = 'icon-text-height'; $my_tab = 'form'; ?>
|
1177 |
<?php if ($_GET['tab'] == 'form') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1178 |
+
<?php if ($slct_a == 'selected') { $selected_title = __('Fields Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Customization of booking form fields','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1179 |
|
1180 |
<?php $is_can_be_here = true; //Reduction version 3.0
|
1181 |
if ($version == 'free') $is_can_be_here = false;
|
1182 |
if ($is_can_be_here) { //Reduction version 3.0 ?>
|
1183 |
|
1184 |
<?php $title = __('Emails', 'wpdev-booking');
|
1185 |
+
$my_icon = 'icon-envelope'; $my_tab = 'email'; ?>
|
1186 |
<?php if ($_GET['tab'] == 'email') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1187 |
+
<?php if ($slct_a == 'selected') { $selected_title = __('Emails Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Customization of email templates','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1188 |
|
1189 |
<?php $is_can = true;
|
1190 |
//$is_can = apply_bk_filter('multiuser_is_user_can_be_here', true, 'only_super_admin'); ?>
|
1191 |
<?php if ( ( ($version == 'free') || ($version == 'biz_s') || ($version == 'biz_l') || ($version == 'biz_m') ) && ($is_can) ){ ?>
|
1192 |
|
1193 |
<?php $title = __('Payments', 'wpdev-booking');
|
1194 |
+
$my_icon = 'icon-shopping-cart'; $my_tab = 'payment'; ?>
|
1195 |
<?php if ($_GET['tab'] == 'payment') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1196 |
+
<?php if ($slct_a == 'selected') { $selected_title = __('Payments Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Integration of payment systems','wpdev-booking') ; ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1197 |
<?php } ?>
|
1198 |
|
1199 |
<?php if ( ($version == 'free') || ($version == 'biz_l') || ($version == 'biz_m') ) { ?>
|
1204 |
<?php $is_can = apply_bk_filter('multiuser_is_user_can_be_here', true, 'only_super_admin'); ?>
|
1205 |
<?php if ($is_can) { ?>
|
1206 |
<?php $title = __('Search', 'wpdev-booking');
|
1207 |
+
$my_icon = 'icon-search'; $my_tab = 'search'; ?>
|
1208 |
<?php if ($_GET['tab'] == 'search') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1209 |
+
<?php if ($slct_a == 'selected') { $selected_title = __('Search Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php echo __('Customization of search form','wpdev-booking') ; ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1210 |
<?php } ?>
|
1211 |
<?php } ?>
|
1212 |
|
1213 |
|
1214 |
<?php if ( ($version == 'free') ) { ?>
|
1215 |
<?php $title = __('Users', 'wpdev-booking');
|
1216 |
+
$my_icon = 'icon-user'; $my_tab = 'users'; ?>
|
1217 |
<?php if ($_GET['tab'] == 'users') { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1218 |
+
<?php if ($slct_a == 'selected') { $selected_title = __('Users Settings', 'wpdev-booking'); $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a rel="tooltip" class="nav-tab tooltip_bottom" title="<?php _e('Manage users settings','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1219 |
<?php } ?>
|
1220 |
<?php } ?>
|
1221 |
|
1231 |
<?php if ( ($version == 'free') ) { ?>
|
1232 |
|
1233 |
<?php $title = __('Buy now', 'wpdev-booking');
|
1234 |
+
$my_icon = 'icon-shopping-cart'; $my_tab = 'buy'; ?>
|
1235 |
<?php if ( ($_GET['tab'] == $my_tab) ) { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1236 |
+
<?php if ($slct_a == 'selected') { $selected_title = $title; $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active"><?php } else { ?><a class="nav-tab" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1237 |
|
1238 |
<?php } elseif ( ( ($version !== 'biz_l') && ( ! wpdev_bk_is_this_demo() ) ) ||
|
1239 |
(($version === 'biz_l') && (class_exists('wpdev_bk_biz_l') === false) )
|
1240 |
) { ?>
|
1241 |
<?php $title = __('Upgrade', 'wpdev-booking');
|
1242 |
+
$my_icon = 'icon-shopping-cart'; $my_tab = 'upgrade'; ?>
|
1243 |
<?php if ( ($_GET['tab'] == $my_tab) ) { $slct_a = 'selected'; } else { $slct_a = ''; } ?>
|
1244 |
+
<?php if ($slct_a == 'selected') { $selected_title = $title; $selected_icon = $my_icon; ?><span class="nav-tab nav-tab-active" style="float:right;"><?php } else { ?><a class="nav-tab tooltip_bottom" style="float:right;" title="<?php echo __('Upgrade to higher versions.','wpdev-booking'); ?>" href="admin.php?page=<?php echo WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME ; ?>wpdev-booking-option&tab=<?php echo $my_tab; ?>"><?php } ?><i class="<?php if ($slct_a == 'selected') { echo 'icon-white '; } echo $my_icon; ?>"></i><span class="nav-tab-text"> <?php if ($is_only_icons) echo ' '; else echo $title; ?><?php if ($slct_a == 'selected') { ?></span></span><?php } else { ?></span></a><?php } ?>
|
1245 |
<?php } ?>
|
1246 |
<?php } //Reduction version 3.0 ?>
|
1247 |
</div>
|
1265 |
</div>';
|
1266 |
?>
|
1267 |
<script type="text/javascript">
|
1268 |
+
//var val1 = '<img src="<?php echo WPDEV_BK_PLUGIN_URL; ?>/img/<?php echo $selected_icon; ?>"><br />';
|
1269 |
+
//jQuery('div.wrap div.icon32').html(val1);
|
1270 |
jQuery('div.bookingpage h2').after('<?php echo $support_links; ?>');
|
1271 |
jQuery('div.bookingpage h2').html( '<?php echo $selected_title; ?>');
|
1272 |
</script><?php
|
1539 |
|
1540 |
$calendar .= '<textarea id="date_booking'.$bk_type.'" name="date_booking'.$bk_type.'" autocomplete="off" style="display:none;"></textarea>'; // Calendar code
|
1541 |
|
1542 |
+
$calendar .= $this->get_legend();
|
1543 |
+
|
1544 |
return $calendar;
|
1545 |
}
|
1546 |
|
1721 |
|
1722 |
$my_result = '<div style="clear:both;height:10px;"></div>' . $this->pre_get_calendar_html( $bk_type, $cal_count, $bk_otions );
|
1723 |
|
1724 |
+
// $my_result .= $this->get_legend(); // Get Legend code here
|
1725 |
|
1726 |
$my_result .= ' ' . $start_script_code ;
|
1727 |
|
1742 |
} else {
|
1743 |
$calendar = '<textarea rows="3" cols="50" id="date_booking'.$my_boook_type.'" name="date_booking'.$my_boook_type.'" autocomplete="off" style="display:none;">'.$my_selected_dates_without_calendar.'</textarea>'; // Calendar code
|
1744 |
}
|
1745 |
+
// $calendar .= $this->get_legend(); // Get Legend code here
|
1746 |
|
1747 |
|
1748 |
$form = '<a name="bklnk'.$my_boook_type.'"></a><div id="booking_form_div'.$my_boook_type.'" class="booking_form_div">';
|
lib/wpdev-settings-general.php
CHANGED
@@ -927,8 +927,7 @@ if ( ! defined( 'ABSPATH' ) ) exit;
|
|
927 |
<div <?php $my_close_open_win_id = 'bk_general_settings_recomended_plugins'; ?> id="<?php echo $my_close_open_win_id; ?>" class="gdrgrid postbox <?php if ( '1' == get_user_option( 'booking_win_' . $my_close_open_win_id ) ) echo 'closed'; ?>" > <div title="<?php _e('Click to toggle','wpdev-booking'); ?>" class="handlediv" onclick="javascript:verify_window_opening(<?php echo get_bk_current_user_id(); ?>, '<?php echo $my_close_open_win_id; ?>');"><br></div>
|
928 |
<h3 class='hndle'><span><?php _e('Recommended WordPress Plugins','wpdev-booking'); ?></span></h3>
|
929 |
<div class="inside">
|
930 |
-
<h2 style="margin:10px;"><?php _e('Booking Manager - show all old bookings'); ?> </h2>
|
931 |
-
<img src="<?php echo WPDEV_BK_PLUGIN_URL . '/img/users-48x48.png'; ?>" style="float:left; padding:0px 10px 10px 0px;">
|
932 |
|
933 |
<p style="margin:0px;">
|
934 |
<?php printf(__('This wordpress plugin is %sshow all approved and pending bookings from past%s. Show how many each customer is made bookings. Paid versions support %sexport to CSV, print layout, advanced filter%s. ','wpdev-booking'),'<strong>','</strong>','<strong>','</strong>'); ?> <br/>
|
927 |
<div <?php $my_close_open_win_id = 'bk_general_settings_recomended_plugins'; ?> id="<?php echo $my_close_open_win_id; ?>" class="gdrgrid postbox <?php if ( '1' == get_user_option( 'booking_win_' . $my_close_open_win_id ) ) echo 'closed'; ?>" > <div title="<?php _e('Click to toggle','wpdev-booking'); ?>" class="handlediv" onclick="javascript:verify_window_opening(<?php echo get_bk_current_user_id(); ?>, '<?php echo $my_close_open_win_id; ?>');"><br></div>
|
928 |
<h3 class='hndle'><span><?php _e('Recommended WordPress Plugins','wpdev-booking'); ?></span></h3>
|
929 |
<div class="inside">
|
930 |
+
<h2 style="margin:10px;"><?php _e('Booking Manager - show all old bookings'); ?> </h2>
|
|
|
931 |
|
932 |
<p style="margin:0px;">
|
933 |
<?php printf(__('This wordpress plugin is %sshow all approved and pending bookings from past%s. Show how many each customer is made bookings. Paid versions support %sexport to CSV, print layout, advanced filter%s. ','wpdev-booking'),'<strong>','</strong>','<strong>','</strong>'); ?> <br/>
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpbookingcalendar.com/buy/
|
|
4 |
Tags: booking, booking calendar, accommodations, appointment, availability, availability calendar, bed and breakfast, booking form, booking system, bookings, calendar, contact form, event, event calendar, events, hotel, meeting, online booking calendar, online reservation, reservation, reservation plugin, rooms, schedule, scheduling
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.9.1
|
7 |
-
Stable tag: 5.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -148,6 +148,14 @@ If you have any further questions, please fill free to <a href="mailto:support@w
|
|
148 |
10. **Calendar Skins**. Select calendar skin for better fitting to your site design.
|
149 |
|
150 |
== Changelog ==
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
151 |
= 5.1.4 =
|
152 |
- Features and issue fixings in All versions:
|
153 |
* Improvement. Huge source code refactoring.
|
4 |
Tags: booking, booking calendar, accommodations, appointment, availability, availability calendar, bed and breakfast, booking form, booking system, bookings, calendar, contact form, event, event calendar, events, hotel, meeting, online booking calendar, online reservation, reservation, reservation plugin, rooms, schedule, scheduling
|
5 |
Requires at least: 3.3
|
6 |
Tested up to: 3.9.1
|
7 |
+
Stable tag: 5.1.5
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
148 |
10. **Calendar Skins**. Select calendar skin for better fitting to your site design.
|
149 |
|
150 |
== Changelog ==
|
151 |
+
= 5.1.5 =
|
152 |
+
- Features and issue fixings in All versions:
|
153 |
+
* New icons at setting tabs.
|
154 |
+
* CSS improvements for the text fields.
|
155 |
+
* Updates Polish translation, by Danek Szczepan
|
156 |
+
- Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
157 |
+
* New. Ability to use "placeholders" for the text fields in booking form fields customizaion. Exmaple: First Name (required: [text* name placeholder:First_Name] , where "_" is meaning white space " ". (Personal, Business Small/Medium/Large, MultiUser)
|
158 |
+
|
159 |
= 5.1.4 =
|
160 |
- Features and issue fixings in All versions:
|
161 |
* Improvement. Huge source code refactoring.
|
wpdev-booking.php
CHANGED
@@ -3,7 +3,7 @@
|
|
3 |
Plugin Name: Booking Calendar
|
4 |
Plugin URI: http://wpbookingcalendar.com/demo/
|
5 |
Description: Online reservation and availability checking service for your site.
|
6 |
-
Version: 5.1.
|
7 |
Author: wpdevelop
|
8 |
Author URI: http://wpbookingcalendar.com/
|
9 |
Tested WordPress Versions: 3.3 - 3.9.1
|
@@ -31,16 +31,26 @@ Change Log and Features for Future Releases :
|
|
31 |
-----------------------------------------------
|
32 |
* New/OLD Files:
|
33 |
* =====================================
|
34 |
-
*
|
35 |
-
*
|
36 |
-
*
|
37 |
-
*
|
38 |
-
*
|
39 |
-
* - ../
|
40 |
-
* - ../img/
|
41 |
-
* - ../img/
|
42 |
-
* - ../img/
|
43 |
-
* - ../img/
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
44 |
* ====================================
|
45 |
*/
|
46 |
|
3 |
Plugin Name: Booking Calendar
|
4 |
Plugin URI: http://wpbookingcalendar.com/demo/
|
5 |
Description: Online reservation and availability checking service for your site.
|
6 |
+
Version: 5.1.5
|
7 |
Author: wpdevelop
|
8 |
Author URI: http://wpbookingcalendar.com/
|
9 |
Tested WordPress Versions: 3.3 - 3.9.1
|
31 |
-----------------------------------------------
|
32 |
* New/OLD Files:
|
33 |
* =====================================
|
34 |
+
* - ../img/shopping_trolley.png
|
35 |
+
* - ../img/Season-64x64.png
|
36 |
+
* - ../img/users-48x48.png
|
37 |
+
* - ../img/General-setting-64x64.png
|
38 |
+
* - ../img/E-mail-64x64.png
|
39 |
+
* - ../img/Form-fields-64x64.png
|
40 |
+
* - ../img/availability.png
|
41 |
+
* - ../img/advanced_cost.png
|
42 |
+
* - ../img/coupon.png
|
43 |
+
* - ../img/Paypal-cost-64x64.png
|
44 |
+
* - ../img/Resources-64x64.png
|
45 |
+
* - ../img/Booking-search-64x64.png
|
46 |
+
* - ../img/Booking-costs-64x64.png
|
47 |
+
* - ../img/add-1-48x48.png
|
48 |
+
* - ../img/
|
49 |
+
* - ../img/
|
50 |
+
* - ../img/
|
51 |
+
* - ../img/
|
52 |
+
*
|
53 |
+
*
|
54 |
* ====================================
|
55 |
*/
|
56 |
|