Version Description
- Fix issue with links in pagination at the Resources page (in paid versions).
- Correct of font size in the links of "Powered by" notice.
Download this release
Release Info
Developer | wpdevelop |
Plugin | Booking Calendar |
Version | 4.1.2 |
Comparing to | |
See all releases |
Code changes from version 4.1.1 to 4.1.2
- lib/wpdev-bk-lib.php +3 -1
- lib/wpdev-booking-class.php +2 -2
- readme.txt +4 -1
- wpdev-booking.php +13 -1
lib/wpdev-bk-lib.php
CHANGED
@@ -49,7 +49,9 @@
|
|
49 |
function get_params_in_url( $exclude_prms = array(), $only_these_parameters = false ){
|
50 |
|
51 |
//$url_start = 'admin.php?'; //$url_start = 'admin.php?page='. WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME. 'wpdev-booking';
|
52 |
-
$
|
|
|
|
|
53 |
$exclude_prms[]='page';
|
54 |
foreach ($_REQUEST as $prm_key => $prm_value) {
|
55 |
if ( ! in_array($prm_key, $exclude_prms ) )
|
49 |
function get_params_in_url( $exclude_prms = array(), $only_these_parameters = false ){
|
50 |
|
51 |
//$url_start = 'admin.php?'; //$url_start = 'admin.php?page='. WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME. 'wpdev-booking';
|
52 |
+
$my_page = WPDEV_BK_PLUGIN_DIRNAME . '/'. WPDEV_BK_PLUGIN_FILENAME . 'wpdev-booking';
|
53 |
+
if ( isset($_GET['page']) ) $my_page = $_GET['page'] ;
|
54 |
+
$url_start = 'admin.php?page=' . $my_page . '&' ;
|
55 |
$exclude_prms[]='page';
|
56 |
foreach ($_REQUEST as $prm_key => $prm_value) {
|
57 |
if ( ! in_array($prm_key, $exclude_prms ) )
|
lib/wpdev-booking-class.php
CHANGED
@@ -2951,7 +2951,7 @@ if ( jQuery('#togle_settings_range_times').length > 0 ) { jQuery('#togle_set
|
|
2951 |
// Write copyright notice if its saved
|
2952 |
function wp_footer() {
|
2953 |
if ( ( get_bk_option( 'booking_wpdev_copyright' ) == 'On' ) && (! defined('WPDEV_COPYRIGHT')) ) {
|
2954 |
-
printf(__('%sPowered by wordpress plugins developed by %s', 'wpdev-booking'),'<center><span style="font-size:9px;text-align:center;margin:0 auto;">','<a href="http://www.wpdevelop.com" target="_blank">www.wpdevelop.com</a></span></center>','&');
|
2955 |
define('WPDEV_COPYRIGHT', 1 );
|
2956 |
}
|
2957 |
}
|
@@ -3477,7 +3477,7 @@ if ( jQuery('#togle_settings_range_times').length > 0 ) { jQuery('#togle_set
|
|
3477 |
$booking_is_show_powered_by_notice = get_bk_option( 'booking_is_show_powered_by_notice' ); // check
|
3478 |
if( $this->wpdev_bk_personal == false )
|
3479 |
if ($booking_is_show_powered_by_notice == 'On')
|
3480 |
-
$calendar .= '<div style="font-size:9px;text-align:left;">Powered by <a href="http://wpbookingcalendar.com" target="_blank">WP Booking Calendar</a></div>';
|
3481 |
$calendar .= '<textarea rows="3" cols="50" id="date_booking'.$my_boook_type.'" name="date_booking'.$my_boook_type.'" style="display:none;"></textarea>'; // Calendar code
|
3482 |
} else {
|
3483 |
$calendar = '';
|
2951 |
// Write copyright notice if its saved
|
2952 |
function wp_footer() {
|
2953 |
if ( ( get_bk_option( 'booking_wpdev_copyright' ) == 'On' ) && (! defined('WPDEV_COPYRIGHT')) ) {
|
2954 |
+
printf(__('%sPowered by wordpress plugins developed by %s', 'wpdev-booking'),'<center><span style="font-size:9px;text-align:center;margin:0 auto;">','<a style="font-size:9px;" href="http://www.wpdevelop.com" target="_blank">www.wpdevelop.com</a></span></center>','&');
|
2955 |
define('WPDEV_COPYRIGHT', 1 );
|
2956 |
}
|
2957 |
}
|
3477 |
$booking_is_show_powered_by_notice = get_bk_option( 'booking_is_show_powered_by_notice' ); // check
|
3478 |
if( $this->wpdev_bk_personal == false )
|
3479 |
if ($booking_is_show_powered_by_notice == 'On')
|
3480 |
+
$calendar .= '<div style="font-size:9px;text-align:left;">Powered by <a style="font-size:9px;" href="http://wpbookingcalendar.com" target="_blank">WP Booking Calendar</a></div>';
|
3481 |
$calendar .= '<textarea rows="3" cols="50" id="date_booking'.$my_boook_type.'" name="date_booking'.$my_boook_type.'" style="display:none;"></textarea>'; // Calendar code
|
3482 |
} else {
|
3483 |
$calendar = '';
|
readme.txt
CHANGED
@@ -4,7 +4,7 @@ Donate link: http://wpbookingcalendar.com/buy/
|
|
4 |
Tags: booking calendar, booking, bookings, to book, calendar, reservation, calendar, hotel, rooms, rent, appointment, scheduling, availability, availability calendar, event, events, event calendar, resource scheduling, rental, meeting scheduling, reservation plugin, accommodations, bookable, bookable events
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 3.5.2
|
7 |
-
Stable tag: 4.1.
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
@@ -65,6 +65,9 @@ If you have any further questions, please fill free to <a href="mailto:info@wpbo
|
|
65 |
9. General Booking Settings page.
|
66 |
10. Booking Listing (Filters tab) admin panel. Apply filter, for looking of your required bookings.
|
67 |
== Changelog ==
|
|
|
|
|
|
|
68 |
= 4.1.1 =
|
69 |
* Fix issue of showing the warning message "mktime() expects parameter 1 to be long, string given in" if the time is not selected.
|
70 |
* Fix issue of showing the "You do not have sufficient permissions to access this page" error.
|
4 |
Tags: booking calendar, booking, bookings, to book, calendar, reservation, calendar, hotel, rooms, rent, appointment, scheduling, availability, availability calendar, event, events, event calendar, resource scheduling, rental, meeting scheduling, reservation plugin, accommodations, bookable, bookable events
|
5 |
Requires at least: 2.7
|
6 |
Tested up to: 3.5.2
|
7 |
+
Stable tag: 4.1.2
|
8 |
License: GPLv2 or later
|
9 |
License URI: http://www.gnu.org/licenses/gpl-2.0.html
|
10 |
|
65 |
9. General Booking Settings page.
|
66 |
10. Booking Listing (Filters tab) admin panel. Apply filter, for looking of your required bookings.
|
67 |
== Changelog ==
|
68 |
+
= 4.1.2 =
|
69 |
+
* Fix issue with links in pagination at the Resources page (in paid versions).
|
70 |
+
* Correct of font size in the links of "Powered by" notice.
|
71 |
= 4.1.1 =
|
72 |
* Fix issue of showing the warning message "mktime() expects parameter 1 to be long, string given in" if the time is not selected.
|
73 |
* Fix issue of showing the "You do not have sufficient permissions to access this page" error.
|
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: 4.1.
|
7 |
Author: wpdevelop
|
8 |
Author URI: http://wpbookingcalendar.com/
|
9 |
Tested WordPress Versions: 2.8.3 - 3.5.2
|
@@ -33,6 +33,18 @@ Tested WordPress Versions: 2.8.3 - 3.5.2
|
|
33 |
-----------------------------------------------
|
34 |
Change Log and Features for Future Releases :
|
35 |
-----------------------------------------------
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
36 |
= 4.1.1 =
|
37 |
* Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
38 |
* Fix issue of showing the warning message "mktime() expects parameter 1 to be long, string given in" if the time is not selected.
|
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: 4.1.2
|
7 |
Author: wpdevelop
|
8 |
Author URI: http://wpbookingcalendar.com/
|
9 |
Tested WordPress Versions: 2.8.3 - 3.5.2
|
33 |
-----------------------------------------------
|
34 |
Change Log and Features for Future Releases :
|
35 |
-----------------------------------------------
|
36 |
+
= 4.1.3 =
|
37 |
+
* Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
38 |
+
*
|
39 |
+
* Features and issue fixings in All versions:
|
40 |
+
*
|
41 |
+
|
42 |
+
= 4.1.2 =
|
43 |
+
* Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
44 |
+
* Fix issue with links in pagination at the Resources page.
|
45 |
+
* Features and issue fixings in All versions:
|
46 |
+
* Correct of font size in the links of "Powered by" notice.
|
47 |
+
|
48 |
= 4.1.1 =
|
49 |
* Personal / Business Small / Business Medium / Business Large / MultiUser versions features:
|
50 |
* Fix issue of showing the warning message "mktime() expects parameter 1 to be long, string given in" if the time is not selected.
|