Changeset 1867353
- Timestamp:
- 05/02/2018 07:55:34 AM (8 years ago)
- Location:
- ginger
- Files:
-
- 14 edited
- 1 copied
-
tags/4.1.6 (copied) (copied from ginger/trunk)
-
tags/4.1.6/addon/logger/ginger.logger.php (modified) (1 diff)
-
tags/4.1.6/admin/ginger.admin.php (modified) (2 diffs)
-
tags/4.1.6/admin/partial/policy.php (modified) (4 diffs)
-
tags/4.1.6/front/gingerfront.core.php (modified) (1 diff)
-
tags/4.1.6/ginger-eu-cookie-law.php (modified) (1 diff)
-
tags/4.1.6/readme.txt (modified) (2 diffs)
-
tags/4.1.6/uninstall.php (modified) (1 diff)
-
trunk/addon/logger/ginger.logger.php (modified) (1 diff)
-
trunk/admin/ginger.admin.php (modified) (2 diffs)
-
trunk/admin/partial/policy.php (modified) (4 diffs)
-
trunk/front/gingerfront.core.php (modified) (1 diff)
-
trunk/ginger-eu-cookie-law.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/uninstall.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
ginger/tags/4.1.6/addon/logger/ginger.logger.php
r1735994 r1867353 174 174 function ginger_do_log($url = "", $status = "Y"){ 175 175 global $wpdb; 176 177 $disable_logger = get_option('ginger_policy_disable_logger', false); 178 if($disable_logger) return; 179 176 180 if($url == "") 177 181 $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; -
ginger/tags/4.1.6/admin/ginger.admin.php
r1689549 r1867353 67 67 endif; 68 68 update_option($key.'_disable_ginger', $_POST["ginger_privacy_click_scroll"]); 69 update_option($key.'_disable_logger', $_POST["ginger_disable_logger"] == '1'); 69 70 70 71 }else{ … … 79 80 // recupero la option per il disable click out e scroll in privacy policy page 80 81 $options2 = get_option($key.'_disable_ginger'); 82 $options_disable_logger = get_option($key.'_disable_logger'); 81 83 82 84 endif; -
ginger/tags/4.1.6/admin/partial/policy.php
r1344130 r1867353 10 10 11 11 <tr> 12 <th scope="row" style="padding-left:20px;" >12 <th scope="row" style="padding-left:20px;" colspan="2"> 13 13 <label> 14 14 <input name="choice" type="radio" value="page" onclick="javascript:select_privacy_page();" <?php if ($options != "") echo ' checked="checked" '; ?>> <?php _e("Select your privacy policy page", "ginger"); ?> … … 63 63 </tr> 64 64 <tr> 65 <th scope="row" style="padding-left:20px;" >65 <th scope="row" style="padding-left:20px;" colspan="2"> 66 66 <label> 67 67 <input name="choice" type="radio" value="new_page" onclick="javascript:new_privacy_page();"><?php _e("or create your privacy policy page", "ginger"); ?> … … 106 106 <tr> 107 107 <th scope="row" style="padding-left:20px;"><?php _e("Disable Click-out and Scroll to accept cookies in Privacy Policy page", "ginger"); ?></th> 108 </tr> 109 <tr> 110 <td colspan="2" style="padding-left:20px;"> 108 <td> 111 109 <fieldset> 112 110 <p> … … 122 120 </fieldset> 123 121 </td> 122 </tr> 123 <tr> 124 <th scope="row" style="padding-left:20px;"><?php _e("Disable logging of activities and IPs", "ginger"); ?></th> 125 <td> 126 <fieldset> 127 <legend class="screen-reader-text"> 128 <span><?php _e("Disable logging of activities and IPs", "ginger"); ?></span> 129 </legend> 130 <p> 131 <label> 132 <input name="ginger_disable_logger" type="radio" value="1" class="tog" <?php if($options_disable_logger == "1") echo ' checked="checked" '; ?>><?php _e("Yes", "ginger"); ?> 133 </label> 134 </p> 135 <p> 136 <label> 137 <input name="ginger_disable_logger" type="radio" value="0" class="tog" <?php if($options_disable_logger == "0") echo ' checked="checked" '; ?>><?php _e("No", "ginger"); ?> 138 </label> 139 </p> 140 </fieldset> 141 </td> 124 142 </tr> 125 143 </tbody> -
ginger/tags/4.1.6/front/gingerfront.core.php
r1344130 r1867353 115 115 // We'll need to get the number of ob levels we're in, so that we can iterate over each, collecting 116 116 // that buffer's output into the final output. 117 $levels = count(ob_get_level());117 $levels = ob_get_level(); 118 118 119 119 for ($i = 0; $i < $levels; $i++){ -
ginger/tags/4.1.6/ginger-eu-cookie-law.php
r1735994 r1867353 4 4 Plugin URI: http://www.ginger-cookielaw.com/ 5 5 Description: Make your website compliant with EU Cookie Policy! Now totally free and unlocked 6 Version: 4.1. 56 Version: 4.1.6 7 7 Author: Manafactory 8 8 Author URI: http://manafactory.it/ -
ginger/tags/4.1.6/readme.txt
r1735994 r1867353 4 4 Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia, wpml, polylang 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 7.37 Stable tag: 4.1. 56 Tested up to: 4.9.5 7 Stable tag: 4.1.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 == Changelog == 92 92 93 = 4.1.6 = 94 * option to enable / disable logger 95 93 96 = 4.1.5 = 94 97 * fix notice -
ginger/tags/4.1.6/uninstall.php
r1256991 r1867353 11 11 delete_option('ginger_banner'); 12 12 delete_option('ginger_policy'); 13 delete_option('ginger_policy_disable_logger'); -
ginger/trunk/addon/logger/ginger.logger.php
r1735994 r1867353 174 174 function ginger_do_log($url = "", $status = "Y"){ 175 175 global $wpdb; 176 177 $disable_logger = get_option('ginger_policy_disable_logger', false); 178 if($disable_logger) return; 179 176 180 if($url == "") 177 181 $url = (isset($_SERVER['HTTPS']) ? "https" : "http") . "://$_SERVER[HTTP_HOST]$_SERVER[REQUEST_URI]"; -
ginger/trunk/admin/ginger.admin.php
r1689549 r1867353 67 67 endif; 68 68 update_option($key.'_disable_ginger', $_POST["ginger_privacy_click_scroll"]); 69 update_option($key.'_disable_logger', $_POST["ginger_disable_logger"] == '1'); 69 70 70 71 }else{ … … 79 80 // recupero la option per il disable click out e scroll in privacy policy page 80 81 $options2 = get_option($key.'_disable_ginger'); 82 $options_disable_logger = get_option($key.'_disable_logger'); 81 83 82 84 endif; -
ginger/trunk/admin/partial/policy.php
r1344130 r1867353 10 10 11 11 <tr> 12 <th scope="row" style="padding-left:20px;" >12 <th scope="row" style="padding-left:20px;" colspan="2"> 13 13 <label> 14 14 <input name="choice" type="radio" value="page" onclick="javascript:select_privacy_page();" <?php if ($options != "") echo ' checked="checked" '; ?>> <?php _e("Select your privacy policy page", "ginger"); ?> … … 63 63 </tr> 64 64 <tr> 65 <th scope="row" style="padding-left:20px;" >65 <th scope="row" style="padding-left:20px;" colspan="2"> 66 66 <label> 67 67 <input name="choice" type="radio" value="new_page" onclick="javascript:new_privacy_page();"><?php _e("or create your privacy policy page", "ginger"); ?> … … 106 106 <tr> 107 107 <th scope="row" style="padding-left:20px;"><?php _e("Disable Click-out and Scroll to accept cookies in Privacy Policy page", "ginger"); ?></th> 108 </tr> 109 <tr> 110 <td colspan="2" style="padding-left:20px;"> 108 <td> 111 109 <fieldset> 112 110 <p> … … 122 120 </fieldset> 123 121 </td> 122 </tr> 123 <tr> 124 <th scope="row" style="padding-left:20px;"><?php _e("Disable logging of activities and IPs", "ginger"); ?></th> 125 <td> 126 <fieldset> 127 <legend class="screen-reader-text"> 128 <span><?php _e("Disable logging of activities and IPs", "ginger"); ?></span> 129 </legend> 130 <p> 131 <label> 132 <input name="ginger_disable_logger" type="radio" value="1" class="tog" <?php if($options_disable_logger == "1") echo ' checked="checked" '; ?>><?php _e("Yes", "ginger"); ?> 133 </label> 134 </p> 135 <p> 136 <label> 137 <input name="ginger_disable_logger" type="radio" value="0" class="tog" <?php if($options_disable_logger == "0") echo ' checked="checked" '; ?>><?php _e("No", "ginger"); ?> 138 </label> 139 </p> 140 </fieldset> 141 </td> 124 142 </tr> 125 143 </tbody> -
ginger/trunk/front/gingerfront.core.php
r1344130 r1867353 115 115 // We'll need to get the number of ob levels we're in, so that we can iterate over each, collecting 116 116 // that buffer's output into the final output. 117 $levels = count(ob_get_level());117 $levels = ob_get_level(); 118 118 119 119 for ($i = 0; $i < $levels; $i++){ -
ginger/trunk/ginger-eu-cookie-law.php
r1735994 r1867353 4 4 Plugin URI: http://www.ginger-cookielaw.com/ 5 5 Description: Make your website compliant with EU Cookie Policy! Now totally free and unlocked 6 Version: 4.1. 56 Version: 4.1.6 7 7 Author: Manafactory 8 8 Author URI: http://manafactory.it/ -
ginger/trunk/readme.txt
r1735994 r1867353 4 4 Tags: EU Cookie Law, cookie law, block cookie, cookie consent, cookie law, cookie policy, privacy policy, cookie banner, italian cookie law, cookie italia, wpml, polylang 5 5 Requires at least: 3.0.1 6 Tested up to: 4. 7.37 Stable tag: 4.1. 56 Tested up to: 4.9.5 7 Stable tag: 4.1.6 8 8 License: GPLv2 or later 9 9 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 91 91 == Changelog == 92 92 93 = 4.1.6 = 94 * option to enable / disable logger 95 93 96 = 4.1.5 = 94 97 * fix notice -
ginger/trunk/uninstall.php
r1256991 r1867353 11 11 delete_option('ginger_banner'); 12 12 delete_option('ginger_policy'); 13 delete_option('ginger_policy_disable_logger');
Note: See TracChangeset
for help on using the changeset viewer.