fixed 80 char limit line
This commit is contained in:
@ -34,7 +34,9 @@ class Widget extends \WP_Widget {
|
|||||||
$title = isset($instance['title']) ? strip_tags($instance['title']) : '';
|
$title = isset($instance['title']) ? strip_tags($instance['title']) : '';
|
||||||
?>
|
?>
|
||||||
<p>
|
<p>
|
||||||
<label for="<?php $this->get_field_id( 'title' ) ?>"><?php _e( 'Title:' ); ?></label>
|
<label for="<?php $this->get_field_id( 'title' ) ?>">
|
||||||
|
<?php _e( 'Title:' ); ?>
|
||||||
|
</label>
|
||||||
<input
|
<input
|
||||||
type="text"
|
type="text"
|
||||||
class="widefat"
|
class="widefat"
|
||||||
@ -44,7 +46,9 @@ class Widget extends \WP_Widget {
|
|||||||
/>
|
/>
|
||||||
</p>
|
</p>
|
||||||
<p>
|
<p>
|
||||||
<a href="javascript:;" class="mailpoet_form_new"><?php _e("Create a new form"); ?></a>
|
<a href="javascript:;" class="mailpoet_form_new">
|
||||||
|
<?php _e("Create a new form"); ?>
|
||||||
|
</a>
|
||||||
</p>
|
</p>
|
||||||
<?php
|
<?php
|
||||||
}
|
}
|
||||||
@ -75,7 +79,11 @@ class Widget extends \WP_Widget {
|
|||||||
$form_type = 'widget';
|
$form_type = 'widget';
|
||||||
$output .= '<div class="mailpoet_form mailpoet_form_'.$form_type.'">';
|
$output .= '<div class="mailpoet_form mailpoet_form_'.$form_type.'">';
|
||||||
|
|
||||||
$output .= '<form id="'.$form_id.'" method="post" action="'.admin_url('admin-post.php?action=mailpoet_form_subscribe').'" class="mailpoet_form mailpoet_form_'.$form_type.'" novalidate>';
|
$output .= '<form '.
|
||||||
|
'id="'.$form_id.'" '.
|
||||||
|
'method="post" '.
|
||||||
|
'action="'.admin_url('admin-post.php?action=mailpoet_form_subscribe').'" '.
|
||||||
|
'class="mailpoet_form mailpoet_form_'.$form_type.'" novalidate>';
|
||||||
|
|
||||||
$output .= ' <p>';
|
$output .= ' <p>';
|
||||||
$output .= ' <label>';
|
$output .= ' <label>';
|
||||||
|
Reference in New Issue
Block a user