@@ -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 | |
@@ -387,7 +387,7 @@ discard block |
||
| 387 | 387 | |
| 388 | 388 | check_ajax_referer( 'send_to_frnd_'.$pid ); |
| 389 | 389 | |
| 390 | - }else{
|
|
| 390 | + } else{
|
|
| 391 | 391 | gd_die(); |
| 392 | 392 | } |
| 393 | 393 | |
@@ -2274,7 +2274,7 @@ discard block |
||
| 2274 | 2274 | |
| 2275 | 2275 | if ( $new_style ) {
|
| 2276 | 2276 | $default_search_button_label = '<i class="fa fa-search" aria-hidden="true"></i>'; |
| 2277 | - }else{
|
|
| 2277 | + } else{
|
|
| 2278 | 2278 | $default_search_button_label = 'Search'; |
| 2279 | 2279 | } |
| 2280 | 2280 | if ( get_option( 'geodir_search_button_label' ) && get_option( 'geodir_search_button_label' ) != 'Search' ) {
|
@@ -2301,7 +2301,7 @@ discard block |
||
| 2301 | 2301 | if ( $new_style ) {
|
| 2302 | 2302 | ?> |
| 2303 | 2303 | <button class="geodir_submit_search <?php echo $fa_class; ?>"><?php _e( $default_search_button_label ,'geodirectory'); ?></button> |
| 2304 | - <?php }else{?>
|
|
| 2304 | + <?php } else{?>
|
|
| 2305 | 2305 | <input type="button" value="<?php esc_attr_e( $default_search_button_label ); ?>" |
| 2306 | 2306 | class="geodir_submit_search <?php echo $fa_class; ?>"/> |
| 2307 | 2307 | <?php } |
@@ -2351,17 +2351,17 @@ discard block |
||
| 2351 | 2351 | if ( $new_style ) {
|
| 2352 | 2352 | echo "</div>"; |
| 2353 | 2353 | } |
| 2354 | - }else{
|
|
| 2354 | + } else{
|
|
| 2355 | 2355 | if(! empty( $post_types )){
|
| 2356 | 2356 | $pt_arr = (array)$post_types; |
| 2357 | 2357 | echo '<input type="hidden" name="stype" value="' . key( $pt_arr ) . '" />'; |
| 2358 | - }else{
|
|
| 2358 | + } else{
|
|
| 2359 | 2359 | echo '<input type="hidden" name="stype" value="gd_place" />'; |
| 2360 | 2360 | } |
| 2361 | 2361 | |
| 2362 | 2362 | } |
| 2363 | 2363 | |
| 2364 | - }elseif ( ! empty( $post_types ) ) {
|
|
| 2364 | + } elseif ( ! empty( $post_types ) ) {
|
|
| 2365 | 2365 | echo '<input type="hidden" name="stype" value="gd_place" />'; |
| 2366 | 2366 | } |
| 2367 | 2367 | } |