Test Failed
Push — master ( a5e425...6adb05 )
by Stiofan
23:07
created
geodirectory-templates/popup-forms.php 1 patch
Indentation   +80 added lines, -80 removed lines patch added patch discarded remove patch
@@ -27,92 +27,92 @@  discard block
 block discarded – undo
27 27
         <form name="send_to_frnd" id="send_to_frnd" action="<?php echo get_permalink($post_info->ID); ?>" method="post">
28 28
 
29 29
             <?php
30
-            wp_nonce_field( 'send_to_frnd_'.$post_info->ID );
31
-            ?>
30
+			wp_nonce_field( 'send_to_frnd_'.$post_info->ID );
31
+			?>
32 32
 
33 33
             <input type="hidden" name="sendact" value="email_frnd"/>
34 34
             <input type="hidden" id="send_to_Frnd_pid" name="pid" value="<?php echo $post_info->ID;?>"/>
35 35
 
36 36
             <h3><?php
37
-                /**
38
-                 * Filter the title for the send to friend popup form.
39
-                 *
40
-                 * @since 1.0.0
41
-                 * @param string $title The title for the form, defaults to global `SEND_TO_FRIEND` text.
42
-                 */
43
-                echo apply_filters('geodir_send_to_friend_page_title', SEND_TO_FRIEND);?></h3>
37
+				/**
38
+				 * Filter the title for the send to friend popup form.
39
+				 *
40
+				 * @since 1.0.0
41
+				 * @param string $title The title for the form, defaults to global `SEND_TO_FRIEND` text.
42
+				 */
43
+				echo apply_filters('geodir_send_to_friend_page_title', SEND_TO_FRIEND);?></h3>
44 44
 
45 45
             <p id="reply_send_success" class="sucess_msg" style="display:none;"></p>
46 46
             <?php
47
-            /**
48
-             * Called before each field in the send to friend popup template.
49
-             *
50
-             * @since 1.0.0
51
-             * @param string $field The field name the actions is called before.
52
-             */
53
-            do_action('geodir_before_stf_form_field', 'to_name');?>
47
+			/**
48
+			 * Called before each field in the send to friend popup template.
49
+			 *
50
+			 * @since 1.0.0
51
+			 * @param string $field The field name the actions is called before.
52
+			 */
53
+			do_action('geodir_before_stf_form_field', 'to_name');?>
54 54
             <div class="row clearfix">
55 55
                     <input required field_type="text" name="to_name" id="to_name" type="text" value="" placeholder="<?php _e('Friend Name', 'geodirectory');?>"/>
56 56
             </div>
57 57
             <?php
58
-            /**
59
-             * Called after each field in the send to friend popup template.
60
-             *
61
-             * @since 1.0.0
62
-             * @param string $field The field name the actions is called after.
63
-             */
64
-            do_action('geodir_after_stf_form_field', 'to_name');?>
58
+			/**
59
+			 * Called after each field in the send to friend popup template.
60
+			 *
61
+			 * @since 1.0.0
62
+			 * @param string $field The field name the actions is called after.
63
+			 */
64
+			do_action('geodir_after_stf_form_field', 'to_name');?>
65 65
             <?php
66
-            /** This action is documented in geodirectory-templates/popup-forms.php */
67
-            do_action('geodir_before_stf_form_field', 'to_email');?>
66
+			/** This action is documented in geodirectory-templates/popup-forms.php */
67
+			do_action('geodir_before_stf_form_field', 'to_email');?>
68 68
             <div class="row  clearfix">
69 69
                     <input required field_type="email" name="to_email" id="to_email" type="email" value="" placeholder="<?php _e('Friend Email', 'geodirectory');?>"/>
70 70
             </div>
71 71
             <?php
72
-            /** This action is documented in geodirectory-templates/popup-forms.php */
73
-            do_action('geodir_after_stf_form_field', 'to_email');?>
72
+			/** This action is documented in geodirectory-templates/popup-forms.php */
73
+			do_action('geodir_after_stf_form_field', 'to_email');?>
74 74
             <?php
75
-            /** This action is documented in geodirectory-templates/popup-forms.php */
76
-            do_action('geodir_before_stf_form_field', 'yourname');?>
75
+			/** This action is documented in geodirectory-templates/popup-forms.php */
76
+			do_action('geodir_before_stf_form_field', 'yourname');?>
77 77
             <div class="row  clearfix">
78 78
                     <input required field_type="text" name="yourname" id="yourname" type="text" value="" placeholder="<?php _e('Your Name', 'geodirectory');?>"/>
79 79
             </div>
80 80
             <?php
81
-            /** This action is documented in geodirectory-templates/popup-forms.php */
82
-            do_action('geodir_after_stf_form_field', 'yourname');?>
81
+			/** This action is documented in geodirectory-templates/popup-forms.php */
82
+			do_action('geodir_after_stf_form_field', 'yourname');?>
83 83
             <?php
84
-            /** This action is documented in geodirectory-templates/popup-forms.php */
85
-            do_action('geodir_before_stf_form_field', 'youremail');?>
84
+			/** This action is documented in geodirectory-templates/popup-forms.php */
85
+			do_action('geodir_before_stf_form_field', 'youremail');?>
86 86
             <div class="row  clearfix">
87 87
                     <input required field_type="email" name="youremail" id="youremail" type="email" value="" placeholder="<?php _e('Your Email', 'geodirectory');?>"/>
88 88
             </div>
89 89
             <?php
90
-            /** This action is documented in geodirectory-templates/popup-forms.php */
91
-            do_action('geodir_after_stf_form_field', 'youremail');?>
90
+			/** This action is documented in geodirectory-templates/popup-forms.php */
91
+			do_action('geodir_after_stf_form_field', 'youremail');?>
92 92
             <?php
93
-            /** This action is documented in geodirectory-templates/popup-forms.php */
94
-            do_action('geodir_before_stf_form_field', 'frnd_subject');?>
93
+			/** This action is documented in geodirectory-templates/popup-forms.php */
94
+			do_action('geodir_before_stf_form_field', 'frnd_subject');?>
95 95
             <div class="row  clearfix">
96 96
                     <input required field_type="text" name="frnd_subject"
97 97
                            value="<?php echo __('About', 'geodirectory') . ' ' . $post_info->post_title;?>"
98 98
                            id="frnd_subject" type="text"  placeholder="<?php _e('Subject', 'geodirectory');?>"/>
99 99
             </div>
100 100
             <?php
101
-            /** This action is documented in geodirectory-templates/popup-forms.php */
102
-            do_action('geodir_after_stf_form_field', 'frnd_subject');?>
101
+			/** This action is documented in geodirectory-templates/popup-forms.php */
102
+			do_action('geodir_after_stf_form_field', 'frnd_subject');?>
103 103
             <?php
104
-            /** This action is documented in geodirectory-templates/popup-forms.php */
105
-            do_action('geodir_before_stf_form_field', 'frnd_comments');?>
104
+			/** This action is documented in geodirectory-templates/popup-forms.php */
105
+			do_action('geodir_before_stf_form_field', 'frnd_comments');?>
106 106
             <div class="row  clearfix">
107 107
                     <textarea required field_type="textarea" name="frnd_comments" id="frnd_comments" cols=""
108 108
                               rows="" placeholder="<?php echo SEND_TO_FRIEND_SAMPLE_CONTENT;?>"><?php echo SEND_TO_FRIEND_SAMPLE_CONTENT;?></textarea>
109 109
             </div>
110 110
             <?php
111
-            /** This action is documented in geodirectory-templates/popup-forms.php */
112
-            do_action('geodir_after_stf_form_field', 'frnd_comments');?>
111
+			/** This action is documented in geodirectory-templates/popup-forms.php */
112
+			do_action('geodir_after_stf_form_field', 'frnd_comments');?>
113 113
             <?php if (function_exists('geodir_get_captch')) {
114
-                geodir_get_captch('-1');
115
-            }?>
114
+				geodir_get_captch('-1');
115
+			}?>
116 116
             <input name="Send" type="submit" value="<?php _e('Send', 'geodirectory')?> " class="button "/>
117 117
         </form>
118 118
     </div> <?php
@@ -124,68 +124,68 @@  discard block
 block discarded – undo
124 124
               action="<?php echo get_permalink($post_info->ID); ?>">
125 125
 
126 126
             <?php
127
-            wp_nonce_field( 'send_inquiry_'.$post_info->ID );
128
-            ?>
127
+			wp_nonce_field( 'send_inquiry_'.$post_info->ID );
128
+			?>
129 129
             <input type="hidden" name="sendact" value="send_inqury"/>
130 130
             <input type="hidden" name="pid" value="<?php echo $post_info->ID;?>"/>
131 131
 
132 132
             <h3><?php
133
-                /**
134
-                 * Filter the title for the send inquiry popup form.
135
-                 *
136
-                 * @since 1.0.0
137
-                 * @param string $title The title for the form, defaults to global `SEND_INQUIRY` text.
138
-                 */
139
-                echo apply_filters('geodir_send_inquiry_page_title', SEND_INQUIRY);?> </h3>
133
+				/**
134
+				 * Filter the title for the send inquiry popup form.
135
+				 *
136
+				 * @since 1.0.0
137
+				 * @param string $title The title for the form, defaults to global `SEND_INQUIRY` text.
138
+				 */
139
+				echo apply_filters('geodir_send_inquiry_page_title', SEND_INQUIRY);?> </h3>
140 140
 
141 141
             <p id="inquiry_send_success" class="sucess_msg" style="display:none;"></p>
142 142
             <?php
143
-            /**
144
-             * Called before each field in the send to friend inquiry template.
145
-             *
146
-             * @since 1.0.0
147
-             * @param string $field The field name the actions is called before.
148
-             */
149
-            do_action('geodir_before_inquiry_form_field', 'inq_name');?>
143
+			/**
144
+			 * Called before each field in the send to friend inquiry template.
145
+			 *
146
+			 * @since 1.0.0
147
+			 * @param string $field The field name the actions is called before.
148
+			 */
149
+			do_action('geodir_before_inquiry_form_field', 'inq_name');?>
150 150
             <div class="row  clearfix">
151 151
                     <input required field_type="text" name="inq_name" type="text" value="" placeholder="<?php _e('Your Name', 'geodirectory');?>"/>
152 152
             </div>
153 153
             <?php
154
-            /**
155
-             * Called after each field in the send to friend inquiry template.
156
-             *
157
-             * @since 1.0.0
158
-             * @param string $field The field name the actions is called after.
159
-             */
160
-            do_action('geodir_after_inquiry_form_field', 'inq_name');?>
154
+			/**
155
+			 * Called after each field in the send to friend inquiry template.
156
+			 *
157
+			 * @since 1.0.0
158
+			 * @param string $field The field name the actions is called after.
159
+			 */
160
+			do_action('geodir_after_inquiry_form_field', 'inq_name');?>
161 161
             <?php
162
-            /** This action is documented in geodirectory-templates/popup-forms.php */
163
-            do_action('geodir_before_inquiry_form_field', 'inq_email');?>
162
+			/** This action is documented in geodirectory-templates/popup-forms.php */
163
+			do_action('geodir_before_inquiry_form_field', 'inq_email');?>
164 164
             <div class="row  clearfix">
165 165
                     <input required field_type="email" name="inq_email" type="email" value="" placeholder="<?php _e('Email', 'geodirectory');?>"/>
166 166
             </div>
167 167
             <?php
168
-            /** This action is documented in geodirectory-templates/popup-forms.php */
169
-            do_action('geodir_after_inquiry_form_field', 'inq_email');?>
168
+			/** This action is documented in geodirectory-templates/popup-forms.php */
169
+			do_action('geodir_after_inquiry_form_field', 'inq_email');?>
170 170
             <?php
171
-            /** This action is documented in geodirectory-templates/popup-forms.php */
172
-            do_action('geodir_before_inquiry_form_field', 'inq_phone');?>
171
+			/** This action is documented in geodirectory-templates/popup-forms.php */
172
+			do_action('geodir_before_inquiry_form_field', 'inq_phone');?>
173 173
             <div class="row  clearfix">
174 174
                     <input name="inq_phone" id="agt_mail_phone" type="text" value="" placeholder="<?php _e('Phone number', 'geodirectory');?>"/>
175 175
             </div>
176 176
             <?php
177
-            /** This action is documented in geodirectory-templates/popup-forms.php */
178
-            do_action('geodir_after_inquiry_form_field', 'inq_phone');?>
177
+			/** This action is documented in geodirectory-templates/popup-forms.php */
178
+			do_action('geodir_after_inquiry_form_field', 'inq_phone');?>
179 179
             <?php
180
-            /** This action is documented in geodirectory-templates/popup-forms.php */
181
-            do_action('geodir_before_inquiry_form_field', 'inq_msg');?>
180
+			/** This action is documented in geodirectory-templates/popup-forms.php */
181
+			do_action('geodir_before_inquiry_form_field', 'inq_msg');?>
182 182
             <div class="row  clearfix">
183 183
                     <textarea required field_type="textarea" name="inq_msg" cols=""
184 184
                               rows="" placeholder="<?php echo SEND_INQUIRY_SAMPLE_CONTENT;?>"></textarea>
185 185
             </div>
186 186
             <?php
187
-            /** This action is documented in geodirectory-templates/popup-forms.php */
188
-            do_action('geodir_after_inquiry_form_field', 'inq_msg');?>
187
+			/** This action is documented in geodirectory-templates/popup-forms.php */
188
+			do_action('geodir_after_inquiry_form_field', 'inq_msg');?>
189 189
             <input name="Send" type="submit" value="<?php _e('Send', 'geodirectory');?>"
190 190
                    class="button clearfix"/>
191 191
         </form>
Please login to merge, or discard this patch.