PluginProbe
Taboola / 1.0.3
Taboola v1.0.3
1.0.4 1.0.5 1.0.6 1.0.8 2.0.1 2.0.2 2.1.0 2.1.1 2.2.2 2.2.3 3.0.0 3.0.1 3.0.2 3.1.0 trunk 1.0 1.0.1 1.0.10 1.0.11 1.0.12 1.0.13 1.0.14 1.0.15 1.0.2 1.0.3
← All changes | settings.php +0 -31 1.0.101.0.3 View file →
@@ -199,44 +199,18 @@
199 199 <img src='<?php echo $this->plugin_url.'img/question-mark.png' ?>'/>
200 200 <div>This field controls the location of these widgets on the page. If you would like to move your widget from its default location directly below the article a Taboola representative will provide you with the necessary information.</div>
201 201 </td>
202 202 </tr>
203 - <tr>
204 - <td colspan="2"> <div class='checkbox'>
205 - <input id="out_of_content_enabled" type="checkbox" <?php echo $settings->out_of_content_enabled ? "checked='checked'" : "" ?> name="out_of_content_enabled"/>
206 - Place widget after main content DOM element
207 - </div></td>
208 - <td class='tooltip'>
209 - <img src='<?php echo $this->plugin_url.'img/question-mark.png' ?>'/>
210 - <div>This may be disabled if your website doesn't use Taboola's "Read more" feature, or if the widget is not placed correctly. DO NOT disable it if your widget includes "Read More"</div>
211 - </td>
212 203
213 - </tr>
214 -
215 -
216 204 </table>
217 205 <input class='button-secondary apply_button' type="submit" value="Apply Changes ✔"/>
218 206 <!-- <a class='request_link' href=' http://taboola.com/contact' target='_blank'>Request Widget</a> -->
219 207 </form>
220 208 <div style='clear:both'></div>
221 -
222 209 <?php
223 - $logPublisher = ($settings->publisher_id == "") ? "wordpressplugin" : $settings->publisher_id;
224 - $userDetails = wp_get_current_user();
225 - $detailsString = $userDetails->first_name." ".$userDetails->last_name;
226 - ?>
227 - <img src="https://logs-01.loggly.com/inputs/d14862f3-64ad-49ca-b28d-1b5d155414ec.gif?source=wp&type=settings&pub=<?=$logPublisher?>&user=<?=urlencode($detailsString)?>&email=<?=urlencode($userDetails->user_email)?>&url=<?=urlencode("//{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}")?>"/>
228 - <!-- <form name="install_log" style="display:none;" method="post" action="http://logs-01.loggly.com/inputs/d14862f3-64ad-49ca-b28d-1b5d155414ec/tag/http/">
229 - <input name="tim" type="hidden" value="<?=date("H:i:s.000")?>">
230 - <input name="pub" type="hidden" value="<?=$logPublisher?>">
231 - <input name="data" type="hideen" value="WORDPRESS_PLUGIN_INSTALL|<?="//{$_SERVER['HTTP_HOST']}{$_SERVER['REQUEST_URI']}|{$detailsString}"?>">
232 - </form> -->
233 -
234 - <?php
235 210 if($_SERVER['REQUEST_METHOD'] == 'POST' && count($taboola_errors) == 0){
236 211 echo "<span class='label-success'>Your changes have been made! You can now see them on your site</span>";
237 212 }
238 -
239 213 if(count($taboola_errors) > 0){
240 214 for($i = 0; $i < count($taboola_errors); $i++){
241 215 echo "<span class='label-error'>".$taboola_errors[$i]."</span>";
242 216 }
@@ -264,10 +238,5 @@
264 238 jQuery('.location_section').toggle();
265 239 }
266 240 jQuery('.toggle_icon').toggleClass('toggle_icon_on');
267 241 });
268 -
269 - window.onload = function(){
270 - document.forms['install_log'].submit()
271 -
272 - }
273 242 </script>