@@ -80,11 +80,7 @@ public function mailjet_enable_sending_cb( $args ) {
8080 _e ('From: Name ' , 'mailjet-for-wordpress ' );
8181 ?>
8282 </b></label>
83- <input name="mailjet_from_name" type="text" id="mailjet_from_name" value="
84- <?php
85- echo esc_attr ($ mailjetFromName );
86- ?>
87- " class="regular-text code">
83+ <input name="mailjet_from_name" type="text" id="mailjet_from_name" value="<?php echo esc_attr ($ mailjetFromName );?> " class="regular-text code">
8884 </div>
8985 <div id="mailjet_from_email_fields" class="fromFld">
9086 <label class="mj-label" for="mailjet_from_email"><b>
@@ -114,11 +110,7 @@ public function mailjet_enable_sending_cb( $args ) {
114110 }
115111 }
116112 ?>
117- <option value="
118- <?php
119- echo esc_attr ($ mailjetSender ['Email ' ]);
120- ?>
121- "
113+ <option value="<?php echo esc_attr ($ mailjetSender ['Email ' ]);?> "
122114 <?php
123115 echo esc_attr ($ mailjetFromEmail == $ mailjetSender ['Email ' ]) ? 'selected="selected" ' : '' ;
124116 ?>
@@ -156,7 +148,7 @@ public function mailjet_enable_sending_cb( $args ) {
156148 echo esc_attr ($ mailjetPort ) == 25 ? 'selected="selected" ' : '' ;
157149 ?>
158150 > 25 </option>
159- <option value="465"
151+ <option value="465"
160152 <?php
161153 echo esc_attr ($ mailjetPort ) == 465 ? 'selected="selected" ' : '' ;
162154 ?>
@@ -206,11 +198,7 @@ public function mailjet_enable_sending_cb( $args ) {
206198 </b></label>
207199 <div class="test_email_fields_group">
208200 <input type="text" size="30" name="mailjet_test_address" id="mailjet_test_address" />
209- <input type="submit" value="
210- <?php
211- _e ('Send ' , 'mailjet-for-wordpress ' );
212- ?>
213- " name="send_test_email_btn" class="mj-btn btnSecondary MailjetSubmit" id="send_test_email_btn"/>
201+ <input type="submit" value="<?php _e ('Send ' , 'mailjet-for-wordpress ' );?> " name="send_test_email_btn" class="mj-btn btnSecondary MailjetSubmit" id="send_test_email_btn"/>
214202 </div>
215203 </div>
216204 </div>
0 commit comments