WP Simple Booking Calendar - Version 1.3

Version Description

  • Small CSS tweaks for WordPress 3.8
Download this release

Release Info

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

Code changes from version 1.2 to 1.3

css/sbc-controller.css CHANGED
@@ -7,6 +7,11 @@
7
  width: 440px;
8
  }
9
 
 
 
 
 
 
10
  #sbc-wrapper div.postbox div.inside {
11
  margin: 14px 18px 18px;
12
  position: relative;
@@ -58,10 +63,12 @@
58
  }
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;}
@@ -70,9 +77,9 @@ 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
 
@@ -81,6 +88,5 @@ div.buy-full .box small.bottom {color:#666666; font-size:12px; display:block; te
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
  }
7
  width: 440px;
8
  }
9
 
10
+ #sbc-calendar {
11
+ float: left;
12
+ margin: 0 3px 30px 0;
13
+ }
14
+
15
  #sbc-wrapper div.postbox div.inside {
16
  margin: 14px 18px 18px;
17
  position: relative;
63
  }
64
 
65
 
66
+
67
  div.buy-full h1 {font-weight:bold; font-size:20px; line-height:30px; margin-top:30px;}
68
+ div.buy-full .box {float:left; padding:15px 15px 7px 15px; width:255px; border:1px solid #cccccc; margin-right:15px; background-color:#fff;}
69
  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;}
70
+ div.buy-full .box ul {list-style:none; padding-top:9px; display:block; height:290px;}
71
+
72
  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;}
73
  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;}
74
  div.buy-full .box small {color:#0084ff; font-size:14px; display:block; margin:7px 0 0 -7px; float:left;}
77
  div.buy-full .box strong {font-weight:normal; color:#0084ff;}
78
  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;}
79
  div.buy-full .box a.button:hover {background-position:left bottom;}
80
+ div.buy-full .box div.bottom {background-color:#ececec; padding:15px; width:255px; margin:19px 0 0 -15px;}
81
+
82
+ div.buy-full .box.first div.bottom {height:75px; line-height:75px; text-align:center; padding-top:0px; padding-bottom:0px;}
83
  div.buy-full .box.first div.bottom p {line-height:75px; text-align:center; padding:0px; margin:0px;}
84
  div.buy-full .box small.bottom {color:#666666; font-size:12px; display:block; text-align:center; float:none;}
85
 
88
 
89
 
90
  @media screen and (-webkit-min-device-pixel-ratio:0) {
 
91
  div.buy-full .box p {padding:13px 20px 10px 20px;}
92
  }
css/sbc.css CHANGED
@@ -31,8 +31,14 @@
31
  border-spacing: 2px;
32
  table-layout: fixed;
33
  margin: 0;
 
 
 
34
  padding: 0;
35
  }
 
 
 
36
 
37
  #sbc-calendar-wrapper table tr td {
38
  border: 0;
@@ -92,6 +98,7 @@
92
  padding: 8px 0 4px;
93
  width: 22px;
94
  height: 22px;
 
95
  }
96
 
97
  #sbc-calendar table tfoot td {
31
  border-spacing: 2px;
32
  table-layout: fixed;
33
  margin: 0;
34
+ -webkit-border-radius: 0px;
35
+ -moz-border-radius: 0px;
36
+ border-radius: 0px;
37
  padding: 0;
38
  }
39
+ #sbc-calendar-wrapper table tr, #sbc-calendar-wrapper table th {
40
+ background: none !important;
41
+ }
42
 
43
  #sbc-calendar-wrapper table tr td {
44
  border: 0;
98
  padding: 8px 0 4px;
99
  width: 22px;
100
  height: 22px;
101
+ border:none;
102
  }
103
 
104
  #sbc-calendar table tfoot td {
readme.txt CHANGED
@@ -2,8 +2,8 @@
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
 
@@ -20,14 +20,14 @@ You can use this booking calendar as:
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
@@ -37,11 +37,13 @@ Features of the full version:
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
 
47
  == Installation ==
@@ -77,6 +79,9 @@ Please see http://www.wpsimplebookingcalendar.com for more information and ask y
77
 
78
  == Changelog ==
79
 
 
 
 
80
  = 1.2 =
81
  * Changed .live() to .on() for better compatibility with jQuery
82
 
@@ -89,6 +94,9 @@ Please see http://www.wpsimplebookingcalendar.com for more information and ask y
89
 
90
  == Upgrade Notice ==
91
 
 
 
 
92
  = 1.2 =
93
  * Small improvement for the free version
94
 
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.9.1
6
+ Stable tag: 1.3
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
 
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 Premium version:
31
 
32
  * Create an unlimited number of booking calendars
33
  * Display multiple months
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
+ * User management: assign users to calendars
41
+ * Display a tooltip with info (you can enter info for each day)
42
+ * Show the week's number
43
  * Generate a token to insert the booking calendar in a page or post
44
  * WP Simple Booking Calendar Widget (booking calendar as widget)
45
  * Easy to translate into your own language
46
+ * Download the Premium version at: http://www.wpsimplebookingcalendar.com
47
 
48
 
49
  == Installation ==
79
 
80
  == Changelog ==
81
 
82
+ = 1.3 =
83
+ * Small CSS tweaks for WordPress 3.8
84
+
85
  = 1.2 =
86
  * Changed .live() to .on() for better compatibility with jQuery
87
 
94
 
95
  == Upgrade Notice ==
96
 
97
+ = 1.3 =
98
+ * Small CSS tweaks
99
+
100
  = 1.2 =
101
  * Small improvement for the free version
102
 
views/controller/index.phtml CHANGED
@@ -55,12 +55,14 @@
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>
@@ -69,9 +71,9 @@
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">
@@ -79,7 +81,7 @@
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>
55
  <ul>
56
  <li>Create 1 calendar</li>
57
  </ul>
58
+ <span></span>
59
  <div class="bottom">
60
  <p>Your current version</p>
61
  </div>
62
+ <small class="bottom">&nbsp;</small>
63
  </div>
64
 
65
+ <div class="box second">
66
  <h1>Premium</h1>
67
  <ul>
68
  <li>Create unlimited calendars</li>
71
  <li>Display a legend</li>
72
  <li>Create your own legend</li>
73
  <li>Change the first day of week</li>
74
+ <li>Change the start month &amp; year</li>
75
  <li>Save booking information</li>
76
+ <li>Assign users to calendars</li>
77
  </ul>
78
  <span><h2>&dollar;29 </h2><small>one-time payment</small></span>
79
  <div class="bottom">
81
  </div>
82
  <small class="bottom">100% money-back guarantee!</small>
83
  </div>
84
+
85
  </div>
86
  <?php else: ?>
87
  <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.2
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.3
7
  * Author: WP Simple Booking Calendar
8
  * Author URI: http://www.wpsimplebookingcalendar.com
9
  * License: GPL2