WP Simple Booking Calendar - Version 1.2

Version Description

  • Changed .live() to .on() for better compatibility with jQuery
Download this release

Release Info

Developer bryght
Plugin Icon 128x128 WP Simple Booking Calendar
Version 1.2
Comparing to
See all releases

Code changes from version 1.1 to 1.2

css/sbc-controller.css CHANGED
@@ -59,21 +59,28 @@
59
 
60
 
61
  div.buy-full h1 {font-weight:bold; font-size:20px; line-height:30px; margin-top:30px;}
62
- div.buy-full ul {width:466px; border:1px solid #336699; padding:0 6px 6px 6px;}
63
- div.buy-full ul li {width:466px; height:30px; background-color:#f9f9f9; margin-bottom:0px !important;}
64
- div.buy-full ul li.even {background-color:#ffffff;}
65
- div.buy-full ul li span {float:left; display:block; color:#000000; font-size:14px; line-height:30px;}
66
- div.buy-full ul li span.col1 {width:216px; padding-left:6px; margin-right:10px;}
67
- div.buy-full ul li span.col2 {width:100px; text-align:center; margin-right:20px;}
68
- div.buy-full ul li span.col3 {width:100px; text-align:center; position:relative;}
69
- div.buy-full ul li span.col3 img {position:absolute; top:7px; left:50%; margin-left:-8px;}
70
-
71
- div.buy-full ul li.title {background-color:#ffffff; border-bottom:1px solid #cccccc;}
72
- div.buy-full ul li.title span.col1 {height:2px;}
73
- div.buy-full ul li.title span.col2 {font-weight:bold;}
74
- div.buy-full ul li.title span.col3 {font-weight:bold; color:#336699;}
75
-
76
- div.buy-full p {border-top:1px solid #cccccc; color:#336699; font-size:14px; line-height:30px; margin:0; padding:15px 0 10px 0;}
77
- div.buy-full p strong {font-weight:normal; text-decoration:underline;}
78
-
79
- div.buy-full a.button {margin-left:55px;}
 
 
 
 
 
 
 
59
 
60
 
61
  div.buy-full h1 {font-weight:bold; font-size:20px; line-height:30px; margin-top:30px;}
62
+ div.buy-full .box {float:left; padding:15px 15px 7px 15px; width:225px; border:1px solid #cccccc; margin-right:15px;}
63
+ div.buy-full .box h1 {padding:0px; margin:0px; border-bottom:1px solid #cccccc; color:#0084ff; font-weight:normal; font-size:26px; display:block; text-align:center; padding:11px 0 26px 0;}
64
+ div.buy-full .box ul {list-style:none; padding-top:9px;}
65
+ div.buy-full .box ul li {background: transparent url(../images/checked-icon.jpg) no-repeat left 6px; color:#666666; font-size:14px; padding:6px 0 5px 21px;}
66
+ div.buy-full .box h2 {font-weight:normal; display:block; text-align:center; color:#0084ff; font-size:30px; float:left; margin:0 0 0 25px;}
67
+ div.buy-full .box small {color:#0084ff; font-size:14px; display:block; margin:7px 0 0 -7px; float:left;}
68
+ div.buy-full .box span {display:block; height:30px; line-height:30px; text-align:center;}
69
+ div.buy-full .box p {font-size:14px; color:#666666; padding:13px 20px 6px 20px;}
70
+ div.buy-full .box strong {font-weight:normal; color:#0084ff;}
71
+ div.buy-full .box a.button {-webkit-border-radius: 4px; -moz-border-radius: 4px; border-radius: 4px;font-size:18px; color:#ffffff; text-shadow:0px 2px 2px rgba(0, 0, 0, 0.4); display:block; height:45px; line-height:45px; text-align:center; background: transparent url(../images/button-bg.png) repeat-x left top; border:none; text-decoration:none; clear:both;}
72
+ div.buy-full .box a.button:hover {background-position:left bottom;}
73
+ div.buy-full .box div.bottom {background-color:#ececec; padding:15px; width:225px; margin:19px 0 0 -15px;}
74
+ div.buy-full .box.first {padding-bottom:31px;}
75
+ div.buy-full .box.first div.bottom {height:75px; line-height:75px; text-align:center; margin-top:331px; padding-top:0px; padding-bottom:0px;}
76
+ div.buy-full .box.first div.bottom p {line-height:75px; text-align:center; padding:0px; margin:0px;}
77
+ div.buy-full .box small.bottom {color:#666666; font-size:12px; display:block; text-align:center; float:none;}
78
+
79
+
80
+
81
+
82
+
83
+ @media screen and (-webkit-min-device-pixel-ratio:0) {
84
+ div.buy-full .box.first div.bottom {margin-top:325px;}
85
+ div.buy-full .box p {padding:13px 20px 10px 20px;}
86
+ }
css/sbc.css CHANGED
@@ -7,6 +7,12 @@
7
  overflow: hidden;
8
  }
9
 
 
 
 
 
 
 
10
  #sbc-calendar-wrapper .sbc-status-free {
11
  background-color: #dfc;
12
  }
@@ -37,7 +43,7 @@
37
 
38
  #sbc-calendar {
39
  float: left;
40
- margin: 0 20px 30px 0;
41
  }
42
 
43
  .sbc-calendar-month {
@@ -55,9 +61,11 @@
55
  }
56
 
57
  #sbc-calendar .sbc-navigation select {
58
- margin: 0;
59
  }
60
 
 
 
61
  #sbc-calendar .sbc-loader {
62
  background-color: #ffc0bd;
63
  font-weight: bold;
@@ -120,6 +128,7 @@
120
  border: 1px solid #ccc;
121
  float: left;
122
  padding: 5px;
 
123
  }
124
 
125
  #sbc-editor td.sbc-editor-day {
@@ -131,6 +140,7 @@
131
 
132
  #sbc-editor td.sbc-editor-status select {
133
  width: 120px;
 
134
  }
135
 
136
 
7
  overflow: hidden;
8
  }
9
 
10
+ #sbc-calendar-wrapper, #sbc-calendar-wrapper * {
11
+ -webkit-box-sizing: content-box; /* Safari/Chrome, other WebKit */
12
+ -moz-box-sizing: content-box; /* Firefox, other Gecko */
13
+ box-sizing: content-box;
14
+ }
15
+
16
  #sbc-calendar-wrapper .sbc-status-free {
17
  background-color: #dfc;
18
  }
43
 
44
  #sbc-calendar {
45
  float: left;
46
+ margin: 0 5px 30px 0;
47
  }
48
 
49
  .sbc-calendar-month {
61
  }
62
 
63
  #sbc-calendar .sbc-navigation select {
64
+ margin: 0; padding: 0 !important; width: auto; height: auto;
65
  }
66
 
67
+ #sbc-calendar form {margin: 0 !important;}
68
+
69
  #sbc-calendar .sbc-loader {
70
  background-color: #ffc0bd;
71
  font-weight: bold;
128
  border: 1px solid #ccc;
129
  float: left;
130
  padding: 5px;
131
+ background-color:#ffffff;
132
  }
133
 
134
  #sbc-editor td.sbc-editor-day {
140
 
141
  #sbc-editor td.sbc-editor-status select {
142
  width: 120px;
143
+ height:auto !important;
144
  }
145
 
146
 
images/button-bg.png ADDED
Binary file
images/checked-icon.jpg ADDED
Binary file
js/sbc-controller.js CHANGED
@@ -46,7 +46,7 @@ jQuery(function($) {
46
  });
47
 
48
  // Status selector
49
- $('#sbc-editor select').live('change', function() {
50
  var $this = $(this);
51
  var statusClass = $this.find('option:selected').attr('class');
52
 
@@ -94,12 +94,12 @@ jQuery(function($) {
94
  });
95
  }
96
 
97
- $('a.sbc-prev-month, a.sbc-next-month', $('#sbc-calendar-wrapper')).live('click', function(event) {
98
  event.preventDefault();
99
  ajaxCalendarUpdate($(this).is('.sbc-prev-month') ? 'prevMonth' : 'nextMonth');
100
  });
101
 
102
- $('#sbc-calendar .sbc-navigation select').live('change', function() {
103
  ajaxCalendarUpdate('date');
104
  });
105
  });
46
  });
47
 
48
  // Status selector
49
+ $(document).on('change', '#sbc-editor select', function() {
50
  var $this = $(this);
51
  var statusClass = $this.find('option:selected').attr('class');
52
 
94
  });
95
  }
96
 
97
+ $($('#sbc-calendar-wrapper')).on('click','a.sbc-prev-month, a.sbc-next-month', function(event) {
98
  event.preventDefault();
99
  ajaxCalendarUpdate($(this).is('.sbc-prev-month') ? 'prevMonth' : 'nextMonth');
100
  });
101
 
102
+ $(document).on('change','#sbc-calendar .sbc-navigation select', function() {
103
  ajaxCalendarUpdate('date');
104
  });
105
  });
js/sbc.js CHANGED
@@ -34,7 +34,7 @@ jQuery(function($) {
34
  }
35
 
36
  // Prev/next month
37
- $('a.sbc-prev-month, a.sbc-next-month', $calendar).live('click', function(event) {
38
  event.preventDefault();
39
  ajaxCalendarUpdate($(this).is('.sbc-prev-month') ? 'prevMonth' : 'nextMonth');
40
  });
34
  }
35
 
36
  // Prev/next month
37
+ $($calendar).on('click','a.sbc-prev-month, a.sbc-next-month', function(event) {
38
  event.preventDefault();
39
  ajaxCalendarUpdate($(this).is('.sbc-prev-month') ? 'prevMonth' : 'nextMonth');
40
  });
languages/sbc-de_DE.mo CHANGED
Binary file
languages/sbc-de_DE.po CHANGED
@@ -3,23 +3,22 @@ msgstr ""
3
  "Project-Id-Version: Beschikbaarheid\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-01-26 10:51+0100\n"
6
- "PO-Revision-Date: 2011-08-11 12:21+0200\n"
7
- "Last-Translator: BWS <zos@bestwebsoft.com>\n"
8
  "Language-Team: Lennart Visscher <lennart@local-marketing.nl>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
13
  "X-Poedit-Basepath: .\n"
14
- "X-Poedit-Language: English\n"
15
- "X-Poedit-Country: UNITED STATES\n"
16
  "X-Poedit-SourceCharset: utf-8\n"
 
 
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: library/WpSimpleBookingCalendar/Controller.php:56
20
  #: library/WpSimpleBookingCalendar/Widget.php:25
21
- #: views/controller/edit.phtml:11
22
- #: views/controller/index.phtml:11
23
  msgid "Beschikbaarheid"
24
  msgstr ""
25
 
@@ -83,24 +82,21 @@ msgstr "Loading..."
83
 
84
  #: views/calendar/calendar.phtml:54
85
  msgid "&lt;&lt; Previous"
86
- msgstr "&lt;&lt; Züruck"
87
 
88
  #: views/calendar/calendar.phtml:54
89
  msgid "Next &gt;&gt;"
90
  msgstr "Weiter &gt;&gt;"
91
 
92
- #: views/calendar/calendar.phtml:93
93
- #: views/calendar/calendar.phtml:117
94
  msgid "Free"
95
  msgstr "Frei"
96
 
97
- #: views/calendar/calendar.phtml:97
98
- #: views/calendar/calendar.phtml:117
99
  msgid "Booked"
100
  msgstr "Belegt"
101
 
102
- #: views/calendar/calendar.phtml:101
103
- #: views/calendar/calendar.phtml:117
104
  msgid "Changeover"
105
  msgstr "Wechseltag"
106
 
@@ -108,8 +104,7 @@ msgstr "Wechseltag"
108
  msgid "Click to toggle"
109
  msgstr ""
110
 
111
- #: views/controller/edit.phtml:24
112
- #: views/controller/index.phtml:17
113
  msgid "Calendar Name"
114
  msgstr ""
115
 
@@ -129,8 +124,7 @@ msgstr ""
129
  msgid "Modified"
130
  msgstr ""
131
 
132
- #: views/controller/index.phtml:26
133
- #: views/controller/index.phtml:28
134
  msgid "Edit"
135
  msgstr ""
136
 
@@ -150,32 +144,26 @@ msgstr ""
150
  msgid "No calendars found."
151
  msgstr ""
152
 
153
- #: views/shortcode/metabox.phtml:30
154
- #: views/widget/form.phtml:23
155
  msgid "Yes"
156
  msgstr ""
157
 
158
- #: views/shortcode/metabox.phtml:30
159
- #: views/widget/form.phtml:23
160
  msgid "No"
161
  msgstr ""
162
 
163
- #: views/shortcode/metabox.phtml:31
164
- #: views/widget/form.phtml:24
165
  msgid "Select Calendar"
166
  msgstr ""
167
 
168
- #: views/shortcode/metabox.phtml:32
169
- #: views/widget/form.phtml:25
170
  msgid "Show Legend"
171
  msgstr ""
172
 
173
- #: views/shortcode/metabox.phtml:33
174
- #: views/widget/form.phtml:26
175
  msgid "Show Calendar Title"
176
  msgstr ""
177
 
178
  #: views/shortcode/metabox.phtml:39
179
  msgid "Send Token to Editor &raquo;"
180
  msgstr ""
181
-
3
  "Project-Id-Version: Beschikbaarheid\n"
4
  "Report-Msgid-Bugs-To: \n"
5
  "POT-Creation-Date: 2011-01-26 10:51+0100\n"
6
+ "PO-Revision-Date: 2013-09-09 09:59+0100\n"
7
+ "Last-Translator: \n"
8
  "Language-Team: Lennart Visscher <lennart@local-marketing.nl>\n"
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
12
  "X-Poedit-KeywordsList: __;_e;esc_attr__;esc_attr_e;esc_html__;esc_html_e\n"
13
  "X-Poedit-Basepath: .\n"
 
 
14
  "X-Poedit-SourceCharset: utf-8\n"
15
+ "Language: en_US\n"
16
+ "X-Generator: Poedit 1.5.7\n"
17
  "X-Poedit-SearchPath-0: .\n"
18
 
19
  #: library/WpSimpleBookingCalendar/Controller.php:56
20
  #: library/WpSimpleBookingCalendar/Widget.php:25
21
+ #: views/controller/edit.phtml:11 views/controller/index.phtml:11
 
22
  msgid "Beschikbaarheid"
23
  msgstr ""
24
 
82
 
83
  #: views/calendar/calendar.phtml:54
84
  msgid "&lt;&lt; Previous"
85
+ msgstr "&lt;&lt; Zurück"
86
 
87
  #: views/calendar/calendar.phtml:54
88
  msgid "Next &gt;&gt;"
89
  msgstr "Weiter &gt;&gt;"
90
 
91
+ #: views/calendar/calendar.phtml:93 views/calendar/calendar.phtml:117
 
92
  msgid "Free"
93
  msgstr "Frei"
94
 
95
+ #: views/calendar/calendar.phtml:97 views/calendar/calendar.phtml:117
 
96
  msgid "Booked"
97
  msgstr "Belegt"
98
 
99
+ #: views/calendar/calendar.phtml:101 views/calendar/calendar.phtml:117
 
100
  msgid "Changeover"
101
  msgstr "Wechseltag"
102
 
104
  msgid "Click to toggle"
105
  msgstr ""
106
 
107
+ #: views/controller/edit.phtml:24 views/controller/index.phtml:17
 
108
  msgid "Calendar Name"
109
  msgstr ""
110
 
124
  msgid "Modified"
125
  msgstr ""
126
 
127
+ #: views/controller/index.phtml:26 views/controller/index.phtml:28
 
128
  msgid "Edit"
129
  msgstr ""
130
 
144
  msgid "No calendars found."
145
  msgstr ""
146
 
147
+ #: views/shortcode/metabox.phtml:30 views/widget/form.phtml:23
 
148
  msgid "Yes"
149
  msgstr ""
150
 
151
+ #: views/shortcode/metabox.phtml:30 views/widget/form.phtml:23
 
152
  msgid "No"
153
  msgstr ""
154
 
155
+ #: views/shortcode/metabox.phtml:31 views/widget/form.phtml:24
 
156
  msgid "Select Calendar"
157
  msgstr ""
158
 
159
+ #: views/shortcode/metabox.phtml:32 views/widget/form.phtml:25
 
160
  msgid "Show Legend"
161
  msgstr ""
162
 
163
+ #: views/shortcode/metabox.phtml:33 views/widget/form.phtml:26
 
164
  msgid "Show Calendar Title"
165
  msgstr ""
166
 
167
  #: views/shortcode/metabox.phtml:39
168
  msgid "Send Token to Editor &raquo;"
169
  msgstr ""
 
languages/{sbc-fr-FR.po → sbc-fr_FR.po} RENAMED
File without changes
languages/{sbc-it-IT.po → sbc-it_IT.po} RENAMED
File without changes
readme.txt CHANGED
@@ -1,39 +1,46 @@
1
  === WP Simple Booking Calendar ===
2
  Contributors: Bryght, BestWebSoft
3
- Tags: availability calendar, booking calendar, reservation calendar, availability, booking, calendar, hotel, holiday home, dateblocker, date blocker, scheme, bed and breakfast
4
  Requires at least: 3.0
5
- Tested up to: 3.5
6
- Stable tag: 1.1
7
-
8
- Availability calendar / booking calendar to show when something is booked or free, for example your holiday home.
9
 
 
10
 
11
  == Description ==
12
- Availability calendar for WordPress. See http://www.wpsimplebookingcalendar.com for more info!
13
 
14
- You can use the calendar as:
 
 
15
 
16
- * Availability calendar / booking calendar for a holiday house
17
- * Availability calendar / booking calendar for a Bed & Breakfast
18
- * Reservation scheme for an object
19
- * Availability of employees
 
20
  * Whatever you like!
21
 
22
  Features of the free version:
23
 
24
- * Create a calendar and set status per date
25
- * Generate a token to insert the calendar in a page or post
26
- * WP Simple Booking Calendar Widget
27
- * Can be translated in any language using PO files
28
 
29
  Features of the full version:
30
 
31
- * Create an unlimited number of calendars
32
- * Show a legend near the calendar
33
- * Multiple month view
34
- * Generate a token to insert the calendar in a page or post
35
- * WP Simple Booking Calendar Widget
36
- * Can be translated in any language using PO files
 
 
 
 
 
 
37
  * Download the full version at: http://www.wpsimplebookingcalendar.com
38
 
39
 
@@ -49,11 +56,11 @@ A sidebar widget is also available.
49
 
50
  == Frequently Asked Questions ==
51
 
52
- = How can I embed the calendar on a page or post? =
53
 
54
- Use the 'Generate token' field below your editor. An example of a token: [sbc id="1" legend="no" title="yes" view="1"]. If you paste this token in a page it will show the calendar with ID 1, no legend, with title and a 1 month view.
55
 
56
- = How can I remove the calendar title from displaying? =
57
 
58
  Edit the shortcode: title="no".
59
 
@@ -65,11 +72,14 @@ Please see http://www.wpsimplebookingcalendar.com for more information and ask y
65
  == Screenshots ==
66
 
67
  1. Two month view of the booking calendar (free version supports one month view only)
68
- 2. The calendar in a sidebar as widget
69
- 3. Editing the calendar
70
 
71
  == Changelog ==
72
 
 
 
 
73
  = 1.1 =
74
  * Fixed Warning: array_key_exists() error some users experienced
75
  * Fixed enqueue_scripts
@@ -79,6 +89,9 @@ Please see http://www.wpsimplebookingcalendar.com for more information and ask y
79
 
80
  == Upgrade Notice ==
81
 
 
 
 
82
  = 1.1 =
83
  * Two small fixes
84
 
1
  === WP Simple Booking Calendar ===
2
  Contributors: Bryght, BestWebSoft
3
+ Tags: booking calendar, bookings, booking, bookable, calendar, availability calendar, availability, reservation calendar, reservations, scheduling, schedule, rooms, hotel, holiday home, accommodations, dateblocker, date blocker, bed and breakfast, belegungsplan, beschikbaarheidskalender
4
  Requires at least: 3.0
5
+ Tested up to: 3.7.1
6
+ Stable tag: 1.2
 
 
7
 
8
+ This booking calendar shows when something is booked or available. Use it to show when your holiday home is available for rent, for example.
9
 
10
  == Description ==
 
11
 
12
+ Create a booking calendar for your website! Do you want to show people when your holiday home (or something else) is available for rent? You can create, edit and publish a booking calendar with just a few clicks with the WP Simple Booking Calendar. This booking calendar is very easy to use! You can manage the bookings (availability) on a daily basis and embedding the booking calendar on a page takes only one mouse click. You can also use the WP Simple Booking Calendar Widget to show a booking calendar on your WordPress website. Check out http://www.wpsimplebookingcalendar.com for more information about this booking calendar.
13
+
14
+ You can use this booking calendar as:
15
 
16
+ * Booking calendar / availability calendar for a holiday home, bed & breakfast, condo or hotel
17
+ * Booking calendar / availability calendar for a room or office
18
+ * Booking calendar / availability calendar for a car or boat
19
+ * A booking calendar for equipment
20
+ * A shift calendar
21
  * Whatever you like!
22
 
23
  Features of the free version:
24
 
25
+ * Create a booking calendar and set a status per date
26
+ * Generate a token to insert the booking calendar in a page or post
27
+ * WP Simple Booking Calendar Widget (booking calendar as widget)
28
+ * Can be translated into other languages using PO files
29
 
30
  Features of the full version:
31
 
32
+ * Create an unlimited number of booking calendars
33
+ * Display multiple months
34
+ * Edit multiple dates with one click
35
+ * Display a legend near the calendar
36
+ * Create your own legend (apply your own colours and translations)
37
+ * Change the first day of the week
38
+ * Change the start month / year
39
+ * Add and save booking information for each day on each of your booking calendars
40
+ * Users with the Editor role also have access to the booking calendars
41
+ * Generate a token to insert the booking calendar in a page or post
42
+ * WP Simple Booking Calendar Widget (booking calendar as widget)
43
+ * Easy to translate into your own language
44
  * Download the full version at: http://www.wpsimplebookingcalendar.com
45
 
46
 
56
 
57
  == Frequently Asked Questions ==
58
 
59
+ = How can I embed the booking calendar on a page or post? =
60
 
61
+ Use the 'Generate token' field below your editor. An example of a token: [sbc title="yes"]. If you paste this token in a page it will show your booking calendar with the title.
62
 
63
+ = How can I remove the booking calendar title from displaying? =
64
 
65
  Edit the shortcode: title="no".
66
 
72
  == Screenshots ==
73
 
74
  1. Two month view of the booking calendar (free version supports one month view only)
75
+ 2. The booking calendar in a sidebar as widget
76
+ 3. Editing the booking calendar
77
 
78
  == Changelog ==
79
 
80
+ = 1.2 =
81
+ * Changed .live() to .on() for better compatibility with jQuery
82
+
83
  = 1.1 =
84
  * Fixed Warning: array_key_exists() error some users experienced
85
  * Fixed enqueue_scripts
89
 
90
  == Upgrade Notice ==
91
 
92
+ = 1.2 =
93
+ * Small improvement for the free version
94
+
95
  = 1.1 =
96
  * Two small fixes
97
 
views/controller/index.phtml CHANGED
@@ -43,65 +43,43 @@
43
  </tr>
44
  </tbody>
45
  </table>
 
 
 
 
 
46
  <div class="buy-full">
47
- <h1>Download the full version for more nice features!</h1>
48
- <ul>
49
- <li class="title">
50
- <span class="col1"></span>
51
- <span class="col2">Free version</span>
52
- <span class="col3">Full version</span>
53
- <div class="clear"><!-- --></div>
54
- </li>
55
- <li>
56
- <span class="col1">Number of calendars</span>
57
- <span class="col2">1</span>
58
- <span class="col3">Unlimited</span>
59
- <div class="clear"><!-- --></div>
60
- </li>
61
- <li class="even">
62
- <span class="col1">Edit multiple dates in one click</span>
63
- <span class="col2">-</span>
64
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
65
- <div class="clear"><!-- --></div>
66
- </li>
67
- <li>
68
- <span class="col1">Show multiple months</span>
69
- <span class="col2">-</span>
70
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
71
- <div class="clear"><!-- --></div>
72
- </li>
73
- <li class="even">
74
- <span class="col1">Show a legend (key)</span>
75
- <span class="col2">-</span>
76
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
77
- <div class="clear"><!-- --></div>
78
- </li>
79
- <li>
80
- <span class="col1">Months dropdown</span>
81
- <span class="col2">-</span>
82
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
83
- <div class="clear"><!-- --></div>
84
- </li>
85
- <li class="even">
86
- <span class="col1">Change first day of week</span>
87
- <span class="col2">-</span>
88
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
89
- <div class="clear"><!-- --></div>
90
- </li>
91
- <li>
92
- <span class="col1">Save notes per date</span>
93
- <span class="col2">-</span>
94
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
95
- <div class="clear"><!-- --></div>
96
- </li>
97
- <li class="even">
98
- <span class="col1">Money back guarantee!</span>
99
- <span class="col2">-</span>
100
- <span class="col3"><img src="<?php echo SBC_DIR_URL ;?>images/checked.png" /></span>
101
- <div class="clear"><!-- --></div>
102
- </li>
103
- <p>Just $25, <strong>no</strong> subscription or registration needed! <a class="button-primary button" href="http://www.wpsimplebookingcalendar.com/" target="_blank">Read more</a></p>
104
- </ul>
105
  </div>
106
  <?php else: ?>
107
  <p><?php esc_html_e('No calendar found.', 'sbc') ?></p>
43
  </tr>
44
  </tbody>
45
  </table>
46
+ <br />
47
+ <div class="updated">
48
+ <p style="font-size: 12px;">Paste the shortcode <strong>[sbc title="yes"]</strong> or <strong>[sbc title="no"]</strong> in a page or post to display the calendar on your website. Think you've found a bug? <a href="http://www.emailmeform.com/builder/form/mT37c0cufIwbQ4kJnCL" target="_blank">Click here</a> to report it.
49
+ </p>
50
+ </div>
51
  <div class="buy-full">
52
+ <h1>Need more calendars? Want a better booking calendar?</h1>
53
+ <div class="box first">
54
+ <h1>Free</h1>
55
+ <ul>
56
+ <li>Create 1 calendar</li>
57
+ </ul>
58
+ <div class="bottom">
59
+ <p>Your current version</p>
60
+ </div>
61
+ </div>
62
+
63
+ <div class="box">
64
+ <h1>Premium</h1>
65
+ <ul>
66
+ <li>Create unlimited calendars</li>
67
+ <li>Display multiple months</li>
68
+ <li>Edit multiple dates with one click</li>
69
+ <li>Display a legend</li>
70
+ <li>Create your own legend</li>
71
+ <li>Change the first day of week</li>
72
+ <li>Change the start month & year</li>
73
+ <li>Save booking information</li>
74
+ <li>Editor role access</li>
75
+ </ul>
76
+ <span><h2>&dollar;29 </h2><small>one-time payment</small></span>
77
+ <div class="bottom">
78
+ <a href="http://www.wpsimplebookingcalendar.com/premium/" target="_blank" class="button">Read more</a>
79
+ </div>
80
+ <small class="bottom">100% money-back guarantee!</small>
81
+ </div>
82
+
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  </div>
84
  <?php else: ?>
85
  <p><?php esc_html_e('No calendar found.', 'sbc') ?></p>
wp-simple-booking-calendar.php CHANGED
@@ -3,7 +3,7 @@
3
  * Plugin Name: WP Simple Booking Calendar
4
  * Plugin URI: http://www.wpsimplebookingcalendar.com
5
  * Description: WP Simple Booking Calendar - Free Version.
6
- * Version: 1.1
7
  * Author: WP Simple Booking Calendar
8
  * Author URI: http://www.wpsimplebookingcalendar.com
9
  * License: GPL2
3
  * Plugin Name: WP Simple Booking Calendar
4
  * Plugin URI: http://www.wpsimplebookingcalendar.com
5
  * Description: WP Simple Booking Calendar - Free Version.
6
+ * Version: 1.2
7
  * Author: WP Simple Booking Calendar
8
  * Author URI: http://www.wpsimplebookingcalendar.com
9
  * License: GPL2