PluginProbe
Property Hive / 1.4.56
Property Hive v1.4.56
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 / account / details.php

details.php in Property Hive 1.4.56, at templates/account/details.php

41 lines 1.5 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 /**
3 * Outputs the 'My Details' form shown within 'My Account'
4 *
5 * This template can be overridden by copying it to yourtheme/propertyhive/account/details.php.
6 *
7 * @author PropertyHive
8 * @package PropertyHive/Templates
9 * @version 1.0.0
10 */
11
12 if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
13 ?>
14
15 <form name="ph_account_details_form" class="propertyhive-form account-details-form" action="" method="post">
16
17 <div id="detailsSuccess" style="display:none;" class="alert alert-success alert-box success">
18 <?php _e( 'Thank you. Your details have been updated succesfully.', 'propertyhive' ); ?>
19 </div>
20 <div id="detailsError" style="display:none;" class="alert alert-danger alert-box">
21 <?php _e( 'An error occurred whilst trying to update your details. Please try again.', 'propertyhive' ); ?>
22 </div>
23 <div id="detailsValidation" style="display:none;" class="alert alert-danger alert-box">
24 <?php _e( 'Please ensure all required fields have been completed', 'propertyhive' ); ?>
25 </div>
26
27 <?php do_action( 'propertyhive_account_details_form_start' ); ?>
28
29 <?php foreach ( $form_controls as $key => $field ) : ?>
30
31 <?php ph_form_field( $key, $field ); ?>
32
33 <?php endforeach; ?>
34
35 <?php do_action( 'propertyhive_account_details_form' ); ?>
36
37 <input type="submit" value="<?php _e( 'Update Details', 'propertyhive' ); ?>">
38
39 <?php do_action( 'propertyhive_account_details_form_end' ); ?>
40
41 </form>