PluginProbe
Property Hive / 1.4.52
Property Hive v1.4.52
2.3.1 2.3.0 2.2.6 2.2.5 2.2.4 2.2.3 2.2.2 1.4.46 1.4.47 1.4.48 1.4.49 1.4.5 1.4.50 1.4.51 1.4.52 1.4.53 1.4.54 1.4.55 1.4.56 1.4.57 1.4.58 1.4.59 1.4.6 1.4.60 1.4.61 All 261 releases
propertyhive / templates / global / make-enquiry-form.php

make-enquiry-form.php in Property Hive 1.4.52, at templates/global/make-enquiry-form.php

33 lines 1.1 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Property enquiry form
4 *
5 * @author PropertyHive
6 * @package PropertyHive/Templates
7 * @version 1.0.0
8 */
9
10 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
11 ?>
12
13 <form name="ph_property_enquiry" class="property-enquiry-form" action="" method="post">
14
15 <div id="enquirySuccess" style="display:none;" class="alert alert-success alert-box success">
16 <?php _e( 'Thank you. Your enquiry has been sent succesfully.', 'propertyhive' ); ?>
17 </div>
18 <div id="enquiryError" style="display:none;" class="alert alert-danger alert-box">
19 <?php _e( 'An error occurred whilst trying to send your enquiry. Please try again.', 'propertyhive' ); ?>
20 </div>
21 <div id="enquiryValidation" style="display:none;" class="alert alert-danger alert-box">
22 <?php _e( 'Please ensure all required fields have been completed', 'propertyhive' ); ?>
23 </div>
24
25 <?php foreach ( $form_controls as $key => $field ) : ?>
26
27 <?php ph_form_field( $key, $field ); ?>
28
29 <?php endforeach; ?>
30
31 <input type="submit" value="<?php _e( 'Submit', 'propertyhive' ); ?>">
32
33 </form>