geodirectory-widgets/geodirectory_popular_widget.php 1 location
|
@@ 193-196 (lines=4) @@
|
| 190 |
|
$instance['listing_width'] = strip_tags($new_instance['listing_width']);
|
| 191 |
|
$instance['list_sort'] = strip_tags($new_instance['list_sort']);
|
| 192 |
|
$instance['character_count'] = $new_instance['character_count'];
|
| 193 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '')
|
| 194 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']);
|
| 195 |
|
else
|
| 196 |
|
$instance['add_location_filter'] = '0';
|
| 197 |
|
|
| 198 |
|
$instance['show_featured_only'] = isset($new_instance['show_featured_only']) && $new_instance['show_featured_only'] ? 1 : 0;
|
| 199 |
|
$instance['show_special_only'] = isset($new_instance['show_special_only']) && $new_instance['show_special_only'] ? 1 : 0;
|
geodirectory-widgets/geodirectory_related_listing_widget.php 1 location
|
@@ 121-124 (lines=4) @@
|
| 118 |
|
$instance['listing_width'] = strip_tags($new_instance['listing_width']); |
| 119 |
|
$instance['list_sort'] = strip_tags($new_instance['list_sort']); |
| 120 |
|
$instance['character_count'] = $new_instance['character_count']; |
| 121 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '') |
| 122 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']); |
| 123 |
|
else |
| 124 |
|
$instance['add_location_filter'] = '0'; |
| 125 |
|
|
| 126 |
|
return $instance; |
| 127 |
|
} |
geodirectory-widgets/geodirectory_listing_slider_widget.php 1 location
|
@@ 77-80 (lines=4) @@
|
| 74 |
|
$instance['animation'] = $new_instance['animation'];
|
| 75 |
|
$instance['list_sort'] = isset($new_instance['list_sort']) ? $new_instance['list_sort'] : '';
|
| 76 |
|
$instance['show_featured_only'] = isset($new_instance['show_featured_only']) && $new_instance['show_featured_only'] ? 1 : 0;
|
| 77 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '')
|
| 78 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']);
|
| 79 |
|
else
|
| 80 |
|
$instance['add_location_filter'] = '0';
|
| 81 |
|
|
| 82 |
|
return $instance;
|
| 83 |
|
}
|
geodirectory-widgets/geodirectory_bestof_widget.php 1 location
|
@@ 365-368 (lines=4) @@
|
| 362 |
|
$instance['character_count'] = $new_instance['character_count']; |
| 363 |
|
$instance['tab_layout'] = $new_instance['tab_layout']; |
| 364 |
|
$instance['excerpt_type'] = $new_instance['excerpt_type']; |
| 365 |
|
if (isset($new_instance['add_location_filter']) && $new_instance['add_location_filter'] != '') |
| 366 |
|
$instance['add_location_filter'] = strip_tags($new_instance['add_location_filter']); |
| 367 |
|
else |
| 368 |
|
$instance['add_location_filter'] = '0'; |
| 369 |
|
$instance['use_viewing_post_type'] = isset($new_instance['use_viewing_post_type']) && $new_instance['use_viewing_post_type'] ? 1 : 0; |
| 370 |
|
return $instance; |
| 371 |
|
} |