@@ -19,14 +19,14 @@ discard block |
||
19 | 19 | * @param int $post_id The post id requested by the popup. |
20 | 20 | * @param object $post_info The post object requested by the popup. |
21 | 21 | */ |
22 | -do_action('geodir_popup_forms_template_start',$post_id,$post_info); |
|
22 | +do_action('geodir_popup_forms_template_start', $post_id, $post_info); |
|
23 | 23 | |
24 | 24 | if ($_REQUEST['popuptype'] == 'b_sendtofriend') { ?> |
25 | 25 | |
26 | 26 | <div id="basic-modal-content" class="clearfix"> |
27 | 27 | <form name="send_to_frnd" id="send_to_frnd" action="<?php echo get_permalink($post_info->ID); ?>" method="post"> |
28 | 28 | <input type="hidden" name="sendact" value="email_frnd"/> |
29 | - <input type="hidden" id="send_to_Frnd_pid" name="pid" value="<?php echo $post_info->ID;?>"/> |
|
29 | + <input type="hidden" id="send_to_Frnd_pid" name="pid" value="<?php echo $post_info->ID; ?>"/> |
|
30 | 30 | |
31 | 31 | <h3><?php |
32 | 32 | /** |
@@ -35,7 +35,7 @@ discard block |
||
35 | 35 | * @since 1.0.0 |
36 | 36 | * @param string $title The title for the form, defaults to global `SEND_TO_FRIEND` text. |
37 | 37 | */ |
38 | - echo apply_filters('geodir_send_to_friend_page_title', SEND_TO_FRIEND);?></h3> |
|
38 | + echo apply_filters('geodir_send_to_friend_page_title', SEND_TO_FRIEND); ?></h3> |
|
39 | 39 | |
40 | 40 | <p id="reply_send_success" class="sucess_msg" style="display:none;"></p> |
41 | 41 | <?php |
@@ -45,9 +45,9 @@ discard block |
||
45 | 45 | * @since 1.0.0 |
46 | 46 | * @param string $field The field name the actions is called before. |
47 | 47 | */ |
48 | - do_action('geodir_before_stf_form_field', 'to_name');?> |
|
48 | + do_action('geodir_before_stf_form_field', 'to_name'); ?> |
|
49 | 49 | <div class="row clearfix"> |
50 | - <input required field_type="text" name="to_name" id="to_name" type="text" value="" placeholder="<?php _e('Friend Name', 'geodirectory');?>"/> |
|
50 | + <input required field_type="text" name="to_name" id="to_name" type="text" value="" placeholder="<?php _e('Friend Name', 'geodirectory'); ?>"/> |
|
51 | 51 | </div> |
52 | 52 | <?php |
53 | 53 | /** |
@@ -56,55 +56,55 @@ discard block |
||
56 | 56 | * @since 1.0.0 |
57 | 57 | * @param string $field The field name the actions is called after. |
58 | 58 | */ |
59 | - do_action('geodir_after_stf_form_field', 'to_name');?> |
|
59 | + do_action('geodir_after_stf_form_field', 'to_name'); ?> |
|
60 | 60 | <?php |
61 | 61 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
62 | - do_action('geodir_before_stf_form_field', 'to_email');?> |
|
62 | + do_action('geodir_before_stf_form_field', 'to_email'); ?> |
|
63 | 63 | <div class="row clearfix"> |
64 | - <input required field_type="email" name="to_email" id="to_email" type="email" value="" placeholder="<?php _e('Friend Email', 'geodirectory');?>"/> |
|
64 | + <input required field_type="email" name="to_email" id="to_email" type="email" value="" placeholder="<?php _e('Friend Email', 'geodirectory'); ?>"/> |
|
65 | 65 | </div> |
66 | 66 | <?php |
67 | 67 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
68 | - do_action('geodir_after_stf_form_field', 'to_email');?> |
|
68 | + do_action('geodir_after_stf_form_field', 'to_email'); ?> |
|
69 | 69 | <?php |
70 | 70 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
71 | - do_action('geodir_before_stf_form_field', 'yourname');?> |
|
71 | + do_action('geodir_before_stf_form_field', 'yourname'); ?> |
|
72 | 72 | <div class="row clearfix"> |
73 | - <input required field_type="text" name="yourname" id="yourname" type="text" value="" placeholder="<?php _e('Your Name', 'geodirectory');?>"/> |
|
73 | + <input required field_type="text" name="yourname" id="yourname" type="text" value="" placeholder="<?php _e('Your Name', 'geodirectory'); ?>"/> |
|
74 | 74 | </div> |
75 | 75 | <?php |
76 | 76 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
77 | - do_action('geodir_after_stf_form_field', 'yourname');?> |
|
77 | + do_action('geodir_after_stf_form_field', 'yourname'); ?> |
|
78 | 78 | <?php |
79 | 79 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
80 | - do_action('geodir_before_stf_form_field', 'youremail');?> |
|
80 | + do_action('geodir_before_stf_form_field', 'youremail'); ?> |
|
81 | 81 | <div class="row clearfix"> |
82 | - <input required field_type="email" name="youremail" id="youremail" type="email" value="" placeholder="<?php _e('Your Email', 'geodirectory');?>"/> |
|
82 | + <input required field_type="email" name="youremail" id="youremail" type="email" value="" placeholder="<?php _e('Your Email', 'geodirectory'); ?>"/> |
|
83 | 83 | </div> |
84 | 84 | <?php |
85 | 85 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
86 | - do_action('geodir_after_stf_form_field', 'youremail');?> |
|
86 | + do_action('geodir_after_stf_form_field', 'youremail'); ?> |
|
87 | 87 | <?php |
88 | 88 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
89 | - do_action('geodir_before_stf_form_field', 'frnd_subject');?> |
|
89 | + do_action('geodir_before_stf_form_field', 'frnd_subject'); ?> |
|
90 | 90 | <div class="row clearfix"> |
91 | 91 | <input required field_type="text" name="frnd_subject" |
92 | - value="<?php echo __('About', 'geodirectory') . ' ' . $post_info->post_title;?>" |
|
93 | - id="frnd_subject" type="text" placeholder="<?php _e('Subject', 'geodirectory');?>"/> |
|
92 | + value="<?php echo __('About', 'geodirectory').' '.$post_info->post_title; ?>" |
|
93 | + id="frnd_subject" type="text" placeholder="<?php _e('Subject', 'geodirectory'); ?>"/> |
|
94 | 94 | </div> |
95 | 95 | <?php |
96 | 96 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
97 | - do_action('geodir_after_stf_form_field', 'frnd_subject');?> |
|
97 | + do_action('geodir_after_stf_form_field', 'frnd_subject'); ?> |
|
98 | 98 | <?php |
99 | 99 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
100 | - do_action('geodir_before_stf_form_field', 'frnd_comments');?> |
|
100 | + do_action('geodir_before_stf_form_field', 'frnd_comments'); ?> |
|
101 | 101 | <div class="row clearfix"> |
102 | 102 | <textarea required field_type="textarea" name="frnd_comments" id="frnd_comments" cols="" |
103 | - rows="" placeholder="<?php echo SEND_TO_FRIEND_SAMPLE_CONTENT;?>"><?php echo SEND_TO_FRIEND_SAMPLE_CONTENT;?></textarea> |
|
103 | + rows="" placeholder="<?php echo SEND_TO_FRIEND_SAMPLE_CONTENT; ?>"><?php echo SEND_TO_FRIEND_SAMPLE_CONTENT; ?></textarea> |
|
104 | 104 | </div> |
105 | 105 | <?php |
106 | 106 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
107 | - do_action('geodir_after_stf_form_field', 'frnd_comments');?> |
|
107 | + do_action('geodir_after_stf_form_field', 'frnd_comments'); ?> |
|
108 | 108 | <?php if (function_exists('geodir_get_captch')) { |
109 | 109 | geodir_get_captch('-1'); |
110 | 110 | }?> |
@@ -118,7 +118,7 @@ discard block |
||
118 | 118 | <form method="post" name="agt_mail_agent" id="agt_mail_agent" |
119 | 119 | action="<?php echo get_permalink($post_info->ID); ?>"> |
120 | 120 | <input type="hidden" name="sendact" value="send_inqury"/> |
121 | - <input type="hidden" name="pid" value="<?php echo $post_info->ID;?>"/> |
|
121 | + <input type="hidden" name="pid" value="<?php echo $post_info->ID; ?>"/> |
|
122 | 122 | |
123 | 123 | <h3><?php |
124 | 124 | /** |
@@ -127,7 +127,7 @@ discard block |
||
127 | 127 | * @since 1.0.0 |
128 | 128 | * @param string $title The title for the form, defaults to global `SEND_INQUIRY` text. |
129 | 129 | */ |
130 | - echo apply_filters('geodir_send_inquiry_page_title', SEND_INQUIRY);?> </h3> |
|
130 | + echo apply_filters('geodir_send_inquiry_page_title', SEND_INQUIRY); ?> </h3> |
|
131 | 131 | |
132 | 132 | <p id="inquiry_send_success" class="sucess_msg" style="display:none;"></p> |
133 | 133 | <?php |
@@ -137,9 +137,9 @@ discard block |
||
137 | 137 | * @since 1.0.0 |
138 | 138 | * @param string $field The field name the actions is called before. |
139 | 139 | */ |
140 | - do_action('geodir_before_inquiry_form_field', 'inq_name');?> |
|
140 | + do_action('geodir_before_inquiry_form_field', 'inq_name'); ?> |
|
141 | 141 | <div class="row clearfix"> |
142 | - <input required field_type="text" name="inq_name" type="text" value="" placeholder="<?php _e('Your Name', 'geodirectory');?>"/> |
|
142 | + <input required field_type="text" name="inq_name" type="text" value="" placeholder="<?php _e('Your Name', 'geodirectory'); ?>"/> |
|
143 | 143 | </div> |
144 | 144 | <?php |
145 | 145 | /** |
@@ -148,36 +148,36 @@ discard block |
||
148 | 148 | * @since 1.0.0 |
149 | 149 | * @param string $field The field name the actions is called after. |
150 | 150 | */ |
151 | - do_action('geodir_after_inquiry_form_field', 'inq_name');?> |
|
151 | + do_action('geodir_after_inquiry_form_field', 'inq_name'); ?> |
|
152 | 152 | <?php |
153 | 153 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
154 | - do_action('geodir_before_inquiry_form_field', 'inq_email');?> |
|
154 | + do_action('geodir_before_inquiry_form_field', 'inq_email'); ?> |
|
155 | 155 | <div class="row clearfix"> |
156 | - <input required field_type="email" name="inq_email" type="email" value="" placeholder="<?php _e('Email', 'geodirectory');?>"/> |
|
156 | + <input required field_type="email" name="inq_email" type="email" value="" placeholder="<?php _e('Email', 'geodirectory'); ?>"/> |
|
157 | 157 | </div> |
158 | 158 | <?php |
159 | 159 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
160 | - do_action('geodir_after_inquiry_form_field', 'inq_email');?> |
|
160 | + do_action('geodir_after_inquiry_form_field', 'inq_email'); ?> |
|
161 | 161 | <?php |
162 | 162 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
163 | - do_action('geodir_before_inquiry_form_field', 'inq_phone');?> |
|
163 | + do_action('geodir_before_inquiry_form_field', 'inq_phone'); ?> |
|
164 | 164 | <div class="row clearfix"> |
165 | - <input name="inq_phone" id="agt_mail_phone" type="text" value="" placeholder="<?php _e('Phone number', 'geodirectory');?>"/> |
|
165 | + <input name="inq_phone" id="agt_mail_phone" type="text" value="" placeholder="<?php _e('Phone number', 'geodirectory'); ?>"/> |
|
166 | 166 | </div> |
167 | 167 | <?php |
168 | 168 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
169 | - do_action('geodir_after_inquiry_form_field', 'inq_phone');?> |
|
169 | + do_action('geodir_after_inquiry_form_field', 'inq_phone'); ?> |
|
170 | 170 | <?php |
171 | 171 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
172 | - do_action('geodir_before_inquiry_form_field', 'inq_msg');?> |
|
172 | + do_action('geodir_before_inquiry_form_field', 'inq_msg'); ?> |
|
173 | 173 | <div class="row clearfix"> |
174 | 174 | <textarea required field_type="textarea" name="inq_msg" cols="" |
175 | - rows="" placeholder="<?php echo SEND_INQUIRY_SAMPLE_CONTENT;?>"></textarea> |
|
175 | + rows="" placeholder="<?php echo SEND_INQUIRY_SAMPLE_CONTENT; ?>"></textarea> |
|
176 | 176 | </div> |
177 | 177 | <?php |
178 | 178 | /** This action is documented in geodirectory-templates/popup-forms.php */ |
179 | - do_action('geodir_after_inquiry_form_field', 'inq_msg');?> |
|
180 | - <input name="Send" type="submit" value="<?php _e('Send', 'geodirectory');?>" |
|
179 | + do_action('geodir_after_inquiry_form_field', 'inq_msg'); ?> |
|
180 | + <input name="Send" type="submit" value="<?php _e('Send', 'geodirectory'); ?>" |
|
181 | 181 | class="button clearfix"/> |
182 | 182 | </form> |
183 | 183 | </div> <?php |