@@ -242,7 +242,7 @@ discard block |
||
| 242 | 242 | |
| 243 | 243 | $author_id = $p_post->post_author; |
| 244 | 244 | |
| 245 | - }else{
|
|
| 245 | + } else{
|
|
| 246 | 246 | gd_die(); |
| 247 | 247 | } |
| 248 | 248 | |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | |
| 390 | 390 | check_ajax_referer( 'send_to_frnd_'.$pid ); |
| 391 | 391 | |
| 392 | - }else{
|
|
| 392 | + } else{
|
|
| 393 | 393 | gd_die(); |
| 394 | 394 | } |
| 395 | 395 | |
@@ -2283,7 +2283,7 @@ discard block |
||
| 2283 | 2283 | |
| 2284 | 2284 | if ( $new_style ) {
|
| 2285 | 2285 | $default_search_button_label = '<i class="fas fa-search" aria-hidden="true"></i>'; |
| 2286 | - }else{
|
|
| 2286 | + } else{
|
|
| 2287 | 2287 | $default_search_button_label = 'Search'; |
| 2288 | 2288 | } |
| 2289 | 2289 | if ( get_option( 'geodir_search_button_label' ) && get_option( 'geodir_search_button_label' ) != 'Search' ) {
|
@@ -2309,7 +2309,7 @@ discard block |
||
| 2309 | 2309 | if ( ! empty( $new_style ) ) {
|
| 2310 | 2310 | ?> |
| 2311 | 2311 | <button class="geodir_submit_search"><?php _e( $default_search_button_label ,'geodirectory'); ?></button> |
| 2312 | - <?php }else{?>
|
|
| 2312 | + <?php } else{?>
|
|
| 2313 | 2313 | <input type="button" value="<?php esc_attr_e( $default_search_button_label ); ?>" class="geodir_submit_search"/> |
| 2314 | 2314 | <?php } |
| 2315 | 2315 | } |
@@ -2358,17 +2358,17 @@ discard block |
||
| 2358 | 2358 | if ( $new_style ) {
|
| 2359 | 2359 | echo "</div>"; |
| 2360 | 2360 | } |
| 2361 | - }else{
|
|
| 2361 | + } else{
|
|
| 2362 | 2362 | if(! empty( $post_types )){
|
| 2363 | 2363 | $pt_arr = (array)$post_types; |
| 2364 | 2364 | echo '<input type="hidden" name="stype" value="' . key( $pt_arr ) . '" />'; |
| 2365 | - }else{
|
|
| 2365 | + } else{
|
|
| 2366 | 2366 | echo '<input type="hidden" name="stype" value="gd_place" />'; |
| 2367 | 2367 | } |
| 2368 | 2368 | |
| 2369 | 2369 | } |
| 2370 | 2370 | |
| 2371 | - }elseif ( ! empty( $post_types ) ) {
|
|
| 2371 | + } elseif ( ! empty( $post_types ) ) {
|
|
| 2372 | 2372 | echo '<input type="hidden" name="stype" value="gd_place" />'; |
| 2373 | 2373 | } |
| 2374 | 2374 | } |