Changeset 2790218
- Timestamp:
- 09/26/2022 11:16:53 AM (3 years ago)
- Location:
- taboola/trunk
- Files:
-
- 3 edited
-
readme.txt (modified) (1 diff)
-
settings.php (modified) (1 diff)
-
taboola_widget.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
taboola/trunk/readme.txt
r2787580 r2790218 63 63 == Changelog == 64 64 65 = 1.0.12 =66 * Minor fix for PHP 8.0.x67 68 65 = 1.0.11 = 69 66 * Support for PHP 8.0.x -
taboola/trunk/settings.php
r2787580 r2790218 126 126 <td colspan='2' style='line-height: 26px; font-size: 13px;'> 127 127 Don't have a Publisher ID? 128 <a style='float: inherit; margin-left:5px; class='request_link' href=' http://taboola.com/contact' target='_blank'>Contact Taboola </a>128 <a style='float: inherit; margin-left:5px; class='request_link' href=' http://taboola.com/contact' target='_blank'>Contact Taboola here</a> 129 129 </td> 130 130 </tr> -
taboola/trunk/taboola_widget.php
r2787580 r2790218 2 2 /** 3 3 * Plugin Name: Taboola 4 * Plugin URI: http s://developers.taboola.com/web-integrations/discuss4 * Plugin URI: http://taboola.com 5 5 * Description: Taboola 6 * Version: 1.0.1 26 * Version: 1.0.11 7 7 * Author: Taboola 8 8 */ … … 14 14 define ("TABOOLA_CONTENT_FORMAT_SCRIPT",'script'); 15 15 define ("TABOOLA_CONTENT_FORMAT_HTML",'html'); 16 define ("TABOOLA_PLUGIN_VERSION","1.0.1 2");16 define ("TABOOLA_PLUGIN_VERSION","1.0.11"); 17 17 18 18 … … 289 289 $taboola_errors[] = "Please add a 'Publisher ID' in order to apply changes to your widgets"; 290 290 } 291 if(( isset($_POST['first_bc_enabled'])&& trim($_POST['first_bc_widget_id']) == '') ||292 ( isset($_POST['second_bc_enabled'])&& trim($_POST['second_bc_widget_id']) == '')291 if(($_POST['first_bc_enabled'] == 'on' && trim($_POST['first_bc_widget_id']) == '') || 292 ($_POST['second_bc_enabled'] == 'on' && trim($_POST['second_bc_widget_id']) == '') 293 293 ){ 294 294 $taboola_errors[] = "Please add a 'Widget ID' in order to apply changes to your widgets"; … … 301 301 $data = array( 302 302 "publisher_id" => trim($_POST['publisher_id']), 303 "first_bc_enabled" => isset($_POST['first_bc_enabled'])? true : false,303 "first_bc_enabled" => $_POST['first_bc_enabled'] == 'on' ? true : false, 304 304 "first_bc_widget_id" => trim($_POST['first_bc_widget_id']), 305 "second_bc_enabled" => isset($_POST['second_bc_enabled'])? true : false,305 "second_bc_enabled" => $_POST['second_bc_enabled'] == 'on' ? true : false, 306 306 "second_bc_widget_id" => trim($_POST['second_bc_widget_id']), 307 307 "location_string" => trim($_POST['location_string']), 308 "out_of_content_enabled" => isset($_POST['out_of_content_enabled'])? true : false308 "out_of_content_enabled" => $_POST['out_of_content_enabled'] == 'on' ? true : false 309 309 ); 310 310
Note: See TracChangeset
for help on using the changeset viewer.