PluginProbe
Property Hive / 1.4.62
Property Hive v1.4.62
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 / includes / admin / views / html-admin-matching-properties-email.php

html-admin-matching-properties-email.php in Property Hive 1.4.62, at includes/admin/views/html-admin-matching-properties-email.php

54 lines 1.8 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2 $current_user = wp_get_current_user();
3 ?>
4 <h1>Emailing <?php echo count($_POST['email_property_id']); ?> Suitable Properties To <?php echo get_the_title($contact_id); ?></h1>
5
6 <table class="form-table">
7
8 <tr valign="top">
9 <th scope="row" class="titledesc"><?php echo __( 'To', 'propertyhive' ); ?></th>
10 <td class="forminp">
11 <input type="text" name="to_email_address" value="<?php echo get_post_meta( $contact_id, '_email_address', TRUE ); ?>" style="width:100%;">
12 </td>
13 </tr>
14
15 <tr valign="top">
16 <th scope="row" class="titledesc"><?php echo __( 'From Name', 'propertyhive' ); ?></th>
17 <td class="forminp">
18 <input type="text" name="from_name" value="<?php
19
20 echo get_bloginfo('name');
21
22 ?>" style="width:100%;">
23 </td>
24 </tr>
25
26 <tr valign="top">
27 <th scope="row" class="titledesc"><?php echo __( 'From Email Address', 'propertyhive' ); ?></th>
28 <td class="forminp">
29 <input type="text" name="from_email_address" value="<?php
30
31 if ( trim($current_user->user_email) != '' )
32 {
33 echo $current_user->user_email;
34 }
35
36 ?>" style="width:100%;">
37 </td>
38 </tr>
39
40 <tr valign="top">
41 <th scope="row" class="titledesc"><?php echo __( 'Subject', 'propertyhive' ); ?></th>
42 <td class="forminp">
43 <input type="text" name="subject" value="<?php echo $subject; ?>" style="width:100%;">
44 </td>
45 </tr>
46
47 <tr valign="top">
48 <th scope="row" class="titledesc"><?php echo __( 'Email Body', 'propertyhive' ); ?></th>
49 <td class="forminp">
50 <textarea name="body" style="width:100%; height:300px;"><?php echo $body; ?></textarea>
51 </td>
52 </tr>
53
54 </table>