Genesis eNews Extended - Version 1.0.0

Version Description

  • Adds ability to edit "First Name" and "Last Name" displayed on front-end.
  • Moves class function out of primary plugin file, renames primary plugin file, and other code cleanup.
  • Security update.
  • Version numbering now using semver.org rationale.
Download this release

Release Info

Developer kraftbj
Plugin Icon wp plugin Genesis eNews Extended
Version 1.0.0
Comparing to
See all releases

Code changes from version 0.2.0 to 1.0.0

class-bjgk-genesis-enews-extended.php ADDED
@@ -0,0 +1,209 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ <?php
2
+ /**
3
+ * Genesis eNews Extended
4
+ *
5
+ * @package BJGK\Genesis_enews_extended
6
+ * @version 1.0.0
7
+ * @author Brandon Kraft <public@brandonkraft.com>
8
+ * @link http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
9
+ * @copyright Copyright (c) 2012, Brandon Kraft
10
+ * @license GPL-2.0+
11
+ */
12
+
13
+ /**
14
+ * Main plugin class.
15
+ *
16
+ * @package BJGK\Genesis_enews_extended
17
+ * @author Brandon Kraft <public@brandonkraft.com>
18
+ */
19
+ class BJGK_Genesis_eNews_Extended extends WP_Widget {
20
+
21
+ /**
22
+ * Holds widget settings defaults, populated in constructor.
23
+ *
24
+ * @var array
25
+ */
26
+ protected $defaults;
27
+
28
+ /**
29
+ * Constructor. Set the default widget options and create widget.
30
+ *
31
+ * @since 0.1.0
32
+ */
33
+ function __construct() {
34
+ $this->defaults = array(
35
+ 'title' => '',
36
+ 'text' => '',
37
+ 'hidden_fields' => '',
38
+ 'open_same_window' => 0,
39
+ 'fname-field' => '',
40
+ 'lname-field' => '',
41
+ 'input_text' => '',
42
+ 'fname_text' => '',
43
+ 'lname_text' => '',
44
+ 'button_text' => '',
45
+ 'action' => '',
46
+ );
47
+
48
+ $widget_ops = array(
49
+ 'classname' => 'enews-widget',
50
+ 'description' => __( 'Displays subscribe form', 'genesis-enews-extended' ),
51
+ );
52
+
53
+ parent::__construct( 'enews-ext', __( 'Genesis - eNews Extended', 'genesis-enews-extended' ), $widget_ops );
54
+ }
55
+
56
+ /**
57
+ * Echo the widget content.
58
+ *
59
+ * @since 0.1.0
60
+ *
61
+ * @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
62
+ * @param array $instance The settings for the particular instance of the widget.
63
+ */
64
+ function widget( $args, $instance ) {
65
+ extract( $args );
66
+
67
+ // Merge with defaults
68
+ $instance = wp_parse_args( (array) $instance, $this->defaults );
69
+
70
+ echo $before_widget . '<div class="enews">';
71
+
72
+ // Set default fname_text, lname_text for backwards compat for installs upgraded from 0.1.6+ to 0.3.0+
73
+ if (empty($instance['fname_text'])) {
74
+ $instance['fname_text'] = "First Name";
75
+ }
76
+ if (empty($instance['lname_text'])) {
77
+ $instance['lname_text'] = "Last Name";
78
+ }
79
+
80
+ if ( ! empty( $instance['title'] ) )
81
+ echo $before_title . apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ) . $after_title;
82
+
83
+ echo wpautop( $instance['text'] ); // We run KSES on update
84
+
85
+ if ( ! empty( $instance['id'] ) ) : ?>
86
+ <form id="subscribe" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open( 'http://feedburner.google.com/fb/a/mailverify?uri=<?php echo esc_js( $instance['id'] ); ?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
87
+ <input type="text" value="<?php echo esc_attr( $instance['input_text'] ); ?>" id="subbox" onfocus="if ( this.value == '<?php echo esc_js( $instance['input_text'] ); ?>') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = '<?php echo esc_js( $instance['input_text'] ); ?>'; }" name="email" />
88
+ <input type="hidden" name="uri" value="<?php echo esc_attr( $instance['id'] ); ?>" />
89
+ <input type="hidden" name="loc" value="<?php echo esc_attr( get_locale() ); ?>" />
90
+ <input type="submit" value="<?php echo esc_attr( $instance['button_text'] ); ?>" id="subbutton" />
91
+ </form>
92
+ <?php elseif ( ! empty( $instance['action'] ) ) : ?>
93
+ <form id="subscribe" action="<?php echo esc_js( $instance['action'] ); ?>" method="post" <?php if ($instance['open_same_window'] == 0 ) : ?> target="_blank"<?php endif; ?>>
94
+ <?php if ( ! empty($instance['fname-field'] ) ) : ?><input type="text" id="subbox1" class="enews-subbox" value="<?php echo esc_attr( $instance['fname_text'] ); ?>" onfocus="if ( this.value == '<?php echo esc_attr( $instance['fname_text'] ); ?>') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = '<?php echo esc_attr( $instance['fname_text'] ); ?>'; }" name="<?php echo esc_js( $instance['fname-field'] ); ?>" /><?php endif ?>
95
+ <?php if ( ! empty($instance['lname-field'] ) ) : ?><input type="text" id="subbox2" class="enews-subbox" value="<?php echo esc_attr( $instance['lname_text'] ); ?>" onfocus="if ( this.value == '<?php echo esc_attr( $instance['lname_text'] ); ?>') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = '<?php echo esc_attr( $instance['lname_text'] ); ?>'; }" name="<?php echo esc_js( $instance['lname-field'] ); ?>" /><?php endif ?>
96
+ <input type="text" value="<?php echo esc_attr( $instance['input_text'] ); ?>" id="subbox" onfocus="if ( this.value == '<?php echo esc_js( $instance['input_text'] ); ?>') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = '<?php echo esc_js( $instance['input_text'] ); ?>'; }" name="<?php echo esc_js( $instance['email-field'] ); ?>" />
97
+ <?php echo $instance['hidden_fields']; ?>
98
+ <input type="submit" value="<?php echo esc_attr( $instance['button_text'] ); ?>" id="subbutton" />
99
+ </form>
100
+ <?php endif;
101
+
102
+ echo '</div>' . $after_widget;
103
+ }
104
+
105
+ /**
106
+ * Update a particular instance.
107
+ *
108
+ * This function should check that $new_instance is set correctly.
109
+ * The newly calculated value of $instance should be returned.
110
+ * If false is returned, the instance won't be saved / updated.
111
+ *
112
+ * @since 0.1.0
113
+ *
114
+ * @param array $new_instance New settings for this instance as input by the user via form().
115
+ * @param array $old_instance Old settings for this instance.
116
+ *
117
+ * @return array Settings to save or bool false to cancel saving
118
+ */
119
+ function update( $new_instance, $old_instance ) {
120
+ $new_instance['title'] = strip_tags( $new_instance['title'] );
121
+ $new_instance['text'] = wp_kses( $new_instance['text'], genesis_formatting_allowedtags() );
122
+ $new_instance['hidden_fields'] = strip_tags( $new_instance['hidden_fields'], "<input>" );
123
+ return $new_instance;
124
+ }
125
+
126
+ /**
127
+ * Echo the settings update form.
128
+ *
129
+ * @since 0.1.0
130
+ *
131
+ * @param array $instance Current settings.
132
+ */
133
+ function form( $instance ) {
134
+ // Merge with defaults
135
+ $instance = wp_parse_args( (array) $instance, $this->defaults );
136
+ ?>
137
+ <p>
138
+ <label for="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>"><?php _e( 'Title', 'genesis-enews-extended' ); ?>:</label><br />
139
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'title' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'title' ) ); ?>" value="<?php echo esc_attr( $instance['title'] ); ?>" class="widefat" />
140
+ </p>
141
+
142
+ <p>
143
+ <label for="<?php echo esc_attr( $this->get_field_id( 'text' ) ); ?>"><?php _e( 'Text To Show', 'genesis-enews-extended' ); ?>:</label><br />
144
+ <textarea id="<?php echo esc_attr( $this->get_field_id( 'text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'text' ) ); ?>" class="widefat" rows="6" cols="4"><?php echo htmlspecialchars( $instance['text'] ); ?></textarea>
145
+ </p>
146
+ <hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;">
147
+ <p>
148
+ <label for="<?php echo esc_attr( $this->get_field_id( 'id' ) ); ?>"><?php _e( 'Google/Feedburner ID', 'genesis-enews-extended' ); ?>:</label>
149
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'id' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'id' ) ); ?>" value="<?php echo esc_attr( $instance['id'] ); ?>" class="widefat" /><br />
150
+ <small><?php _e( 'Entering your Feedburner ID here will deactivate the custom options below.', 'genesis-enews-extended' ); ?></small>
151
+ </p>
152
+ <hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;">
153
+ <p>
154
+ <label for="<?php echo esc_attr( $this->get_field_id( 'action' ) ); ?>"><?php _e( 'Form Action', 'genesis-enews-extended' ); ?>:</label>
155
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'action' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'action' ) ); ?>" value="<?php echo esc_attr( $instance['action'] ); ?>" class="widefat" />
156
+ </p>
157
+
158
+ <p>
159
+ <label for="<?php echo esc_attr( $this->get_field_id( 'email-field' ) ); ?>"><?php _e( 'E-Mail Field', 'genesis-enews-extended' ); ?>:</label>
160
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'email-field' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'email-field' ) ); ?>" value="<?php echo esc_attr( $instance['email-field'] ); ?>" class="widefat" />
161
+ </p>
162
+
163
+ <p>
164
+ <label for="<?php echo esc_attr( $this->get_field_id( 'fname-field' ) ); ?>"><?php _e( 'First Name Field', 'genesis-enews-extended' ); ?>:</label>
165
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'fname-field' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'fname-field' ) ); ?>" value="<?php echo esc_attr( $instance['fname-field'] ); ?>" class="widefat" />
166
+ </p>
167
+
168
+ <p>
169
+ <label for="<?php echo esc_attr( $this->get_field_id( 'lname-field' ) ); ?>"><?php _e( 'Last Name Field', 'genesis-enews-extended' ); ?>:</label>
170
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'lname-field' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'lname-field' ) ); ?>" value="<?php echo esc_attr( $instance['lname-field'] ); ?>" class="widefat" />
171
+ </p>
172
+
173
+ <p>
174
+ <label for="<?php echo esc_attr( $this->get_field_id( 'hidden_fields' ) ); ?>"><?php _e( 'Hidden Fields', 'genesis-enews-extended' ); ?>:</label>
175
+ <textarea id="<?php echo esc_attr( $this->get_field_id( 'hidden_fields' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'hidden_fields' ) ); ?>" class="widefat"><?php echo esc_attr( $instance['hidden_fields'] ); ?></textarea>
176
+ <br><small><?php _e( 'Not all services use hidden fields.', 'genesis-enews-extended'); ?></small>
177
+ </p>
178
+
179
+ <p>
180
+ <input id="<?php echo esc_attr( $this->get_field_id( 'open_same_window' ) ); ?>" type="checkbox" name="<?php echo esc_attr( $this->get_field_name( 'open_same_window' ) ); ?>" value="1" <?php checked( $instance['open_same_window'] ); ?>/>
181
+ <label for="<?php echo esc_attr( $this->get_field_id( 'open_same_window' ) ); ?>"><?php _e( 'Open confirmation page in same window?', 'genesis-enews-extended' ); ?></label>
182
+ </p>
183
+ <hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;">
184
+ <p>
185
+ <?php $fname_text = empty( $instance['fname_text'] ) ? __( 'First Name...', 'genesis-enews-extended' ) : $instance['fname_text']; ?>
186
+ <label for="<?php echo esc_attr( $this->get_field_id( 'fname_text' ) ); ?>"><?php _e( 'First Name Input Text', 'genesis-enews-extended' ); ?>:</label>
187
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'fname_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'fname_text' ) ); ?>" value="<?php echo esc_attr( $fname_text ); ?>" class="widefat" />
188
+ </p>
189
+ <p>
190
+ <?php $lname_text = empty( $instance['lname_text'] ) ? __( 'Last Name...', 'genesis-enews-extended' ) : $instance['lname_text']; ?>
191
+ <label for="<?php echo esc_attr( $this->get_field_id( 'lname_text' ) ); ?>"><?php _e( 'Last Name Input Text', 'genesis-enews-extended' ); ?>:</label>
192
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'lname_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'lname_text' ) ); ?>" value="<?php echo esc_attr( $lname_text ); ?>" class="widefat" />
193
+ </p>
194
+ <p>
195
+ <?php $input_text = empty( $instance['input_text'] ) ? __( 'Enter your email address...', 'genesis-enews-extended' ) : $instance['input_text']; ?>
196
+ <label for="<?php echo esc_attr( $this->get_field_id( 'input_text' ) ); ?>"><?php _e( 'E-Mail Input Text', 'genesis-enews-extended' ); ?>:</label>
197
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'input_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'input_text' ) ); ?>" value="<?php echo esc_attr( $input_text ); ?>" class="widefat" />
198
+ </p>
199
+
200
+ <p>
201
+ <?php $button_text = empty( $instance['button_text'] ) ? __( 'Go', 'genesis-enews-extended' ) : $instance['button_text']; ?>
202
+ <label for="<?php echo esc_attr( $this->get_field_id( 'button_text' ) ); ?>"><?php _e( 'Button Text', 'genesis-enews-extended' ); ?>:</label>
203
+ <input type="text" id="<?php echo esc_attr( $this->get_field_id( 'button_text' ) ); ?>" name="<?php echo esc_attr( $this->get_field_name( 'button_text' ) ); ?>" value="<?php echo esc_attr( $button_text ); ?>" class="widefat" />
204
+ </p>
205
+
206
+ <?php
207
+ }
208
+
209
+ }
languages/default.po CHANGED
@@ -4,82 +4,100 @@ msgid ""
4
  msgstr ""
5
  "Project-Id-Version: Genesis eNews Extended 0.2.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
- "POT-Creation-Date: 2013-01-10 22:42:34+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-01-21 21:42-0600\n"
12
- "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
13
- "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
14
  "X-Generator: Poedit 1.5.4\n"
15
- "Language: English\n"
16
- "X-Poedit-Basepath: ..\n"
 
17
 
18
- #: plugin.php:67
19
  msgid "Displays subscribe form"
20
  msgstr ""
21
 
22
- #: plugin.php:70
23
  msgid "Genesis - eNews Extended"
24
  msgstr ""
25
 
26
- #: plugin.php:147
27
  msgid "Title"
28
  msgstr ""
29
 
30
- #: plugin.php:152
31
  msgid "Text To Show"
32
  msgstr ""
33
 
34
- #: plugin.php:157
35
  msgid "Google/Feedburner ID"
36
  msgstr ""
37
 
38
- #: plugin.php:159
39
  msgid ""
40
  "Entering your Feedburner ID here will deactivate the custom options below."
41
  msgstr ""
42
 
43
- #: plugin.php:163
44
  msgid "Form Action"
45
  msgstr ""
46
 
47
- #: plugin.php:168
48
  msgid "E-Mail Field"
49
  msgstr ""
50
 
51
- #: plugin.php:173
52
  msgid "First Name Field"
53
  msgstr ""
54
 
55
- #: plugin.php:178
56
  msgid "Last Name Field"
57
  msgstr ""
58
 
59
- #: plugin.php:183
60
  msgid "Hidden Fields"
61
  msgstr ""
62
 
63
- #: plugin.php:185
64
  msgid "Not all services use hidden fields."
65
  msgstr ""
66
 
67
- #: plugin.php:190
68
  msgid "Open confirmation page in same window?"
69
  msgstr ""
70
 
71
- #: plugin.php:194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
72
  msgid "Enter your email address..."
73
  msgstr ""
74
 
75
- #: plugin.php:195
76
- msgid "Input Text"
77
  msgstr ""
78
 
79
- #: plugin.php:200
80
  msgid "Go"
81
  msgstr ""
82
 
83
- #: plugin.php:201
84
  msgid "Button Text"
85
  msgstr ""
4
  msgstr ""
5
  "Project-Id-Version: Genesis eNews Extended 0.2.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
+ "POT-Creation-Date: 2013-01-27 13:10-0600\n"
8
+ "PO-Revision-Date: 2013-01-27 13:12-0600\n"
9
+ "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
10
+ "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
11
+ "Language: English\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
15
  "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-KeywordsList: __;_e\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../class-bjgk-genesis-enews-extended.php:39
21
  msgid "Displays subscribe form"
22
  msgstr ""
23
 
24
+ #: ../class-bjgk-genesis-enews-extended.php:42
25
  msgid "Genesis - eNews Extended"
26
  msgstr ""
27
 
28
+ #: ../class-bjgk-genesis-enews-extended.php:127
29
  msgid "Title"
30
  msgstr ""
31
 
32
+ #: ../class-bjgk-genesis-enews-extended.php:132
33
  msgid "Text To Show"
34
  msgstr ""
35
 
36
+ #: ../class-bjgk-genesis-enews-extended.php:137
37
  msgid "Google/Feedburner ID"
38
  msgstr ""
39
 
40
+ #: ../class-bjgk-genesis-enews-extended.php:139
41
  msgid ""
42
  "Entering your Feedburner ID here will deactivate the custom options below."
43
  msgstr ""
44
 
45
+ #: ../class-bjgk-genesis-enews-extended.php:143
46
  msgid "Form Action"
47
  msgstr ""
48
 
49
+ #: ../class-bjgk-genesis-enews-extended.php:148
50
  msgid "E-Mail Field"
51
  msgstr ""
52
 
53
+ #: ../class-bjgk-genesis-enews-extended.php:153
54
  msgid "First Name Field"
55
  msgstr ""
56
 
57
+ #: ../class-bjgk-genesis-enews-extended.php:158
58
  msgid "Last Name Field"
59
  msgstr ""
60
 
61
+ #: ../class-bjgk-genesis-enews-extended.php:163
62
  msgid "Hidden Fields"
63
  msgstr ""
64
 
65
+ #: ../class-bjgk-genesis-enews-extended.php:165
66
  msgid "Not all services use hidden fields."
67
  msgstr ""
68
 
69
+ #: ../class-bjgk-genesis-enews-extended.php:170
70
  msgid "Open confirmation page in same window?"
71
  msgstr ""
72
 
73
+ #: ../class-bjgk-genesis-enews-extended.php:174
74
+ msgid "First Name..."
75
+ msgstr ""
76
+
77
+ #: ../class-bjgk-genesis-enews-extended.php:175
78
+ msgid "First Name Input Text"
79
+ msgstr ""
80
+
81
+ #: ../class-bjgk-genesis-enews-extended.php:179
82
+ msgid "Last Name..."
83
+ msgstr ""
84
+
85
+ #: ../class-bjgk-genesis-enews-extended.php:180
86
+ msgid "Last Name Input Text"
87
+ msgstr ""
88
+
89
+ #: ../class-bjgk-genesis-enews-extended.php:184
90
  msgid "Enter your email address..."
91
  msgstr ""
92
 
93
+ #: ../class-bjgk-genesis-enews-extended.php:185
94
+ msgid "E-Mail Input Text"
95
  msgstr ""
96
 
97
+ #: ../class-bjgk-genesis-enews-extended.php:190
98
  msgid "Go"
99
  msgstr ""
100
 
101
+ #: ../class-bjgk-genesis-enews-extended.php:191
102
  msgid "Button Text"
103
  msgstr ""
languages/default.pot CHANGED
@@ -1,82 +1,103 @@
1
- # Copyright (C) 2013
2
- # This file is distributed under the same license as the package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
- "POT-Creation-Date: 2013-01-10 22:42:34+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-MO-DA HO:MI+ZONE\n"
12
- "Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
13
- "Language-Team: LANGUAGE <LL@li.org>\n"
14
-
15
- #: plugin.php:67
16
- msgid "Displays subscribe form"
17
- msgstr ""
18
-
19
- #: plugin.php:70
20
- msgid "Genesis - eNews Extended"
21
- msgstr ""
22
-
23
- #: plugin.php:147
24
- msgid "Title"
25
- msgstr ""
26
-
27
- #: plugin.php:152
28
- msgid "Text To Show"
29
- msgstr ""
30
-
31
- #: plugin.php:157
32
- msgid "Google/Feedburner ID"
33
- msgstr ""
34
-
35
- #: plugin.php:159
36
- msgid ""
37
- "Entering your Feedburner ID here will deactivate the custom options below."
38
- msgstr ""
39
-
40
- #: plugin.php:163
41
- msgid "Form Action"
42
- msgstr ""
43
-
44
- #: plugin.php:168
45
- msgid "E-Mail Field"
46
- msgstr ""
47
-
48
- #: plugin.php:173
49
- msgid "First Name Field"
50
- msgstr ""
51
-
52
- #: plugin.php:178
53
- msgid "Last Name Field"
54
- msgstr ""
55
-
56
- #: plugin.php:183
57
- msgid "Hidden Fields"
58
- msgstr ""
59
-
60
- #: plugin.php:185
61
- msgid "Not all services use hidden fields."
62
- msgstr ""
63
-
64
- #: plugin.php:190
65
- msgid "Open confirmation page in same window?"
66
- msgstr ""
67
-
68
- #: plugin.php:194
69
- msgid "Enter your email address..."
70
- msgstr ""
71
-
72
- #: plugin.php:195
73
- msgid "Input Text"
74
- msgstr ""
75
-
76
- #: plugin.php:200
77
- msgid "Go"
78
- msgstr ""
79
-
80
- #: plugin.php:201
81
- msgid "Button Text"
82
- msgstr ""
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Genesis eNews Extended 0.2.0\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
+ "POT-Creation-Date: 2013-01-26 18:05-0600\n"
8
+ "PO-Revision-Date: 2013-01-26 18:08-0600\n"
9
+ "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
10
+ "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
11
+ "Language: English\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-Basepath: .\n"
17
+ "X-Poedit-KeywordsList: __;_e\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+
20
+ #: ../genesis-enews-extended.php:86
21
+ msgid "Displays subscribe form"
22
+ msgstr ""
23
+
24
+ #: ../genesis-enews-extended.php:89
25
+ msgid "Genesis - eNews Extended"
26
+ msgstr ""
27
+
28
+ #: ../genesis-enews-extended.php:174
29
+ msgid "Title"
30
+ msgstr ""
31
+
32
+ #: ../genesis-enews-extended.php:179
33
+ msgid "Text To Show"
34
+ msgstr ""
35
+
36
+ #: ../genesis-enews-extended.php:184
37
+ msgid "Google/Feedburner ID"
38
+ msgstr ""
39
+
40
+ #: ../genesis-enews-extended.php:186
41
+ msgid ""
42
+ "Entering your Feedburner ID here will deactivate the custom options below."
43
+ msgstr ""
44
+
45
+ #: ../genesis-enews-extended.php:190
46
+ msgid "Form Action"
47
+ msgstr ""
48
+
49
+ #: ../genesis-enews-extended.php:195
50
+ msgid "E-Mail Field"
51
+ msgstr ""
52
+
53
+ #: ../genesis-enews-extended.php:200
54
+ msgid "First Name Field"
55
+ msgstr ""
56
+
57
+ #: ../genesis-enews-extended.php:205
58
+ msgid "Last Name Field"
59
+ msgstr ""
60
+
61
+ #: ../genesis-enews-extended.php:210
62
+ msgid "Hidden Fields"
63
+ msgstr ""
64
+
65
+ #: ../genesis-enews-extended.php:212
66
+ msgid "Not all services use hidden fields."
67
+ msgstr ""
68
+
69
+ #: ../genesis-enews-extended.php:217
70
+ msgid "Open confirmation page in same window?"
71
+ msgstr ""
72
+
73
+ #: ../genesis-enews-extended.php:221
74
+ msgid "First Name..."
75
+ msgstr ""
76
+
77
+ #: ../genesis-enews-extended.php:222
78
+ msgid "First Name Input Text"
79
+ msgstr ""
80
+
81
+ #: ../genesis-enews-extended.php:226
82
+ msgid "Last Name..."
83
+ msgstr ""
84
+
85
+ #: ../genesis-enews-extended.php:227
86
+ msgid "Last Name Input Text"
87
+ msgstr ""
88
+
89
+ #: ../genesis-enews-extended.php:231
90
+ msgid "Enter your email address..."
91
+ msgstr ""
92
+
93
+ #: ../genesis-enews-extended.php:232
94
+ msgid "E-Mail Input Text"
95
+ msgstr ""
96
+
97
+ #: ../genesis-enews-extended.php:237
98
+ msgid "Go"
99
+ msgstr ""
100
+
101
+ #: ../genesis-enews-extended.php:238
102
+ msgid "Button Text"
103
+ msgstr ""
languages/genesis-enews-extended-de_DE.mo CHANGED
Binary file
languages/genesis-enews-extended-de_DE.po CHANGED
@@ -2,85 +2,104 @@
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
- "Project-Id-Version: Genesis eNews Extended 0.2.0\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
- "POT-Creation-Date: 2013-01-10 22:42:34+00:00\n"
 
 
 
 
8
  "MIME-Version: 1.0\n"
9
  "Content-Type: text/plain; charset=UTF-8\n"
10
  "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-01-21 21:48-0600\n"
12
- "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
13
- "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
14
  "X-Generator: Poedit 1.5.4\n"
15
- "Language: German\n"
 
 
16
 
17
- #: plugin.php:67
18
  msgid "Displays subscribe form"
19
  msgstr "Anzeige abonnieren Form"
20
 
21
- #: plugin.php:70
22
  msgid "Genesis - eNews Extended"
23
  msgstr "Genesis - eNews Extended"
24
 
25
- #: plugin.php:147
26
  msgid "Title"
27
  msgstr "Titel"
28
 
29
- #: plugin.php:152
30
  msgid "Text To Show"
31
  msgstr "Anzuzeigender Text"
32
 
33
- #: plugin.php:157
34
  msgid "Google/Feedburner ID"
35
  msgstr "Google/ Feedburner ID"
36
 
37
- #: plugin.php:159
38
  msgid ""
39
  "Entering your Feedburner ID here will deactivate the custom options below."
40
  msgstr ""
41
  "Wird hier eine Feedburner-ID eingetragen, werden die Optionen für "
42
  "benutzerdefinierte Dienste/ Formulare unten wirkungslos!"
43
 
44
- #: plugin.php:163
45
  msgid "Form Action"
46
  msgstr "Formular-Aktion (Form Action)"
47
 
48
- #: plugin.php:168
49
  msgid "E-Mail Field"
50
  msgstr "E-Mail-Feld"
51
 
52
- #: plugin.php:173
53
  msgid "First Name Field"
54
  msgstr "Vorname Feld"
55
 
56
- #: plugin.php:178
57
  msgid "Last Name Field"
58
  msgstr "Nachname Feld"
59
 
60
- #: plugin.php:183
61
  msgid "Hidden Fields"
62
  msgstr "Verborgene Felder (Hidden Fields)"
63
 
64
- #: plugin.php:185
65
  msgid "Not all services use hidden fields."
66
  msgstr "Nicht alle Dienste verwenden verborgene Felder (Hidden Fields)."
67
 
68
- #: plugin.php:190
69
  msgid "Open confirmation page in same window?"
70
  msgstr "Öffnen Sie Bestätigungs-Seite im gleichen Fenster?"
71
 
72
- #: plugin.php:194
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
73
  msgid "Enter your email address..."
74
  msgstr "E-Mail eingeben ..."
75
 
76
- #: plugin.php:195
77
- msgid "Input Text"
78
- msgstr "Eingabe"
79
 
80
- #: plugin.php:200
81
  msgid "Go"
82
  msgstr "Start"
83
 
84
- #: plugin.php:201
85
  msgid "Button Text"
86
  msgstr "Text der Schaltfläche"
2
  # This file is distributed under the same license as the package.
3
  msgid ""
4
  msgstr ""
5
+ "Project-Id-Version: Genesis eNews Extended\n"
6
  "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
+ "POT-Creation-Date: 2013-01-27 13:12-0600\n"
8
+ "PO-Revision-Date: 2013-01-27 13:18-0600\n"
9
+ "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
10
+ "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
11
+ "Language: German\n"
12
  "MIME-Version: 1.0\n"
13
  "Content-Type: text/plain; charset=UTF-8\n"
14
  "Content-Transfer-Encoding: 8bit\n"
 
 
 
15
  "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
 
20
+ #: ../class-bjgk-genesis-enews-extended.php:39
21
  msgid "Displays subscribe form"
22
  msgstr "Anzeige abonnieren Form"
23
 
24
+ #: ../class-bjgk-genesis-enews-extended.php:42
25
  msgid "Genesis - eNews Extended"
26
  msgstr "Genesis - eNews Extended"
27
 
28
+ #: ../class-bjgk-genesis-enews-extended.php:127
29
  msgid "Title"
30
  msgstr "Titel"
31
 
32
+ #: ../class-bjgk-genesis-enews-extended.php:132
33
  msgid "Text To Show"
34
  msgstr "Anzuzeigender Text"
35
 
36
+ #: ../class-bjgk-genesis-enews-extended.php:137
37
  msgid "Google/Feedburner ID"
38
  msgstr "Google/ Feedburner ID"
39
 
40
+ #: ../class-bjgk-genesis-enews-extended.php:139
41
  msgid ""
42
  "Entering your Feedburner ID here will deactivate the custom options below."
43
  msgstr ""
44
  "Wird hier eine Feedburner-ID eingetragen, werden die Optionen für "
45
  "benutzerdefinierte Dienste/ Formulare unten wirkungslos!"
46
 
47
+ #: ../class-bjgk-genesis-enews-extended.php:143
48
  msgid "Form Action"
49
  msgstr "Formular-Aktion (Form Action)"
50
 
51
+ #: ../class-bjgk-genesis-enews-extended.php:148
52
  msgid "E-Mail Field"
53
  msgstr "E-Mail-Feld"
54
 
55
+ #: ../class-bjgk-genesis-enews-extended.php:153
56
  msgid "First Name Field"
57
  msgstr "Vorname Feld"
58
 
59
+ #: ../class-bjgk-genesis-enews-extended.php:158
60
  msgid "Last Name Field"
61
  msgstr "Nachname Feld"
62
 
63
+ #: ../class-bjgk-genesis-enews-extended.php:163
64
  msgid "Hidden Fields"
65
  msgstr "Verborgene Felder (Hidden Fields)"
66
 
67
+ #: ../class-bjgk-genesis-enews-extended.php:165
68
  msgid "Not all services use hidden fields."
69
  msgstr "Nicht alle Dienste verwenden verborgene Felder (Hidden Fields)."
70
 
71
+ #: ../class-bjgk-genesis-enews-extended.php:170
72
  msgid "Open confirmation page in same window?"
73
  msgstr "Öffnen Sie Bestätigungs-Seite im gleichen Fenster?"
74
 
75
+ #: ../class-bjgk-genesis-enews-extended.php:174
76
+ msgid "First Name..."
77
+ msgstr "Vorname…"
78
+
79
+ #: ../class-bjgk-genesis-enews-extended.php:175
80
+ msgid "First Name Input Text"
81
+ msgstr "Vorname eingabe"
82
+
83
+ #: ../class-bjgk-genesis-enews-extended.php:179
84
+ msgid "Last Name..."
85
+ msgstr "Nachname…"
86
+
87
+ #: ../class-bjgk-genesis-enews-extended.php:180
88
+ msgid "Last Name Input Text"
89
+ msgstr "Nachname eingabe"
90
+
91
+ #: ../class-bjgk-genesis-enews-extended.php:184
92
  msgid "Enter your email address..."
93
  msgstr "E-Mail eingeben ..."
94
 
95
+ #: ../class-bjgk-genesis-enews-extended.php:185
96
+ msgid "E-Mail Input Text"
97
+ msgstr "E-Mail eingabe"
98
 
99
+ #: ../class-bjgk-genesis-enews-extended.php:190
100
  msgid "Go"
101
  msgstr "Start"
102
 
103
+ #: ../class-bjgk-genesis-enews-extended.php:191
104
  msgid "Button Text"
105
  msgstr "Text der Schaltfläche"
languages/genesis-enews-extended-es_ES.mo CHANGED
Binary file
languages/genesis-enews-extended-es_ES.po CHANGED
@@ -1,102 +1,119 @@
1
- msgid ""
2
- msgstr ""
3
- "Project-Id-Version: Genesis eNews Extended v0.1.5\n"
4
- "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2013-01-11 10:50-0700\n"
6
- "PO-Revision-Date: 2013-01-11 10:55-0700\n"
7
- "Last-Translator: Ryan Sullivan <ryandonsullivan@gmail.com>\n"
8
- "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
9
- "Language: en_US\n"
10
- "MIME-Version: 1.0\n"
11
- "Content-Type: text/plain; charset=UTF-8\n"
12
- "Content-Transfer-Encoding: 8bit\n"
13
- "X-Poedit-KeywordsList: __;_e\n"
14
- "X-Poedit-Basepath: .\n"
15
- "X-Poedit-SourceCharset: utf-8\n"
16
- "X-Generator: Poedit 1.5.4\n"
17
- "X-Poedit-SearchPath-0: ..\n"
18
-
19
- # @ genesis-enews-extended
20
- #: ../plugin.php:67
21
- msgid "Displays subscribe form"
22
- msgstr "Muestra formulario de suscripci&#243;n"
23
-
24
- # @ genesis-enews-extended
25
- #: ../plugin.php:70
26
- msgid "Genesis - eNews Extended"
27
- msgstr "Genesis - eNews Extended"
28
-
29
- # @ genesis-enews-extended
30
- #: ../plugin.php:147
31
- msgid "Title"
32
- msgstr "T&#237;tulo"
33
-
34
- # @ genesis-enews-extended
35
- #: ../plugin.php:152
36
- msgid "Text To Show"
37
- msgstr "Texto para mostrar"
38
-
39
- # @ genesis-enews-extended
40
- #: ../plugin.php:157
41
- msgid "Google/Feedburner ID"
42
- msgstr "Google/Feedburner ID"
43
-
44
- # @ genesis-enews-extended
45
- #: ../plugin.php:159
46
- msgid ""
47
- "Entering your Feedburner ID here will deactivate the custom options below."
48
- msgstr ""
49
- "Al entrar de su Feedburner ID aqu&#237; se desactivar&#224; las opciones "
50
- "debajo."
51
-
52
- # @ genesis-enews-extended
53
- #: ../plugin.php:163
54
- msgid "Form Action"
55
- msgstr "Acci&#243;n de formulario (Form Action)"
56
-
57
- # @ genesis-enews-extended
58
- #: ../plugin.php:168
59
- msgid "E-Mail Field"
60
- msgstr "Campo de Email"
61
-
62
- #: ../plugin.php:173
63
- msgid "First Name Field"
64
- msgstr "Campo de Nombre"
65
-
66
- #: ../plugin.php:178
67
- msgid "Last Name Field"
68
- msgstr "Campo de Apellido"
69
-
70
- # @ genesis-enews-extended
71
- #: ../plugin.php:183
72
- msgid "Hidden Fields"
73
- msgstr "Campos escondidos"
74
-
75
- # @ genesis-enews-extended
76
- #: ../plugin.php:185
77
- msgid "Not all services use hidden fields."
78
- msgstr "Todos los servicios no usan campos escondidos."
79
-
80
- #: ../plugin.php:190
81
- msgid "Open confirmation page in same window?"
82
- msgstr "&#191;Abrir la p&#225;gina de confirmaci&#243;n en la misma ventana?"
83
-
84
- # @ genesis-enews-extended
85
- #: ../plugin.php:194
86
- msgid "Enter your email address..."
87
- msgstr "Entra su email"
88
-
89
- # @ genesis-enews-extended
90
- #: ../plugin.php:195
91
- msgid "Input Text"
92
- msgstr "Entra su texto"
93
-
94
- # @ genesis-enews-extended
95
- #: ../plugin.php:200
96
- msgid "Go"
97
- msgstr "Ir"
98
-
99
- # @ genesis-enews-extended
100
- #: ../plugin.php:201
101
- msgid "Button Text"
102
- msgstr "Texto de bot&#243;n"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ msgid ""
2
+ msgstr ""
3
+ "Project-Id-Version: Genesis eNews Extended v0.1.5\n"
4
+ "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-01-27 13:12-0600\n"
6
+ "PO-Revision-Date: 2013-01-27 13:12-0600\n"
7
+ "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
8
+ "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
9
+ "Language: en_US\n"
10
+ "MIME-Version: 1.0\n"
11
+ "Content-Type: text/plain; charset=UTF-8\n"
12
+ "Content-Transfer-Encoding: 8bit\n"
13
+ "X-Poedit-KeywordsList: __;_e\n"
14
+ "X-Poedit-Basepath: .\n"
15
+ "X-Poedit-SourceCharset: utf-8\n"
16
+ "X-Generator: Poedit 1.5.4\n"
17
+ "X-Poedit-SearchPath-0: ..\n"
18
+
19
+ # @ genesis-enews-extended
20
+ #: ../class-bjgk-genesis-enews-extended.php:39
21
+ msgid "Displays subscribe form"
22
+ msgstr "Muestra formulario de suscripci&#243;n"
23
+
24
+ # @ genesis-enews-extended
25
+ #: ../class-bjgk-genesis-enews-extended.php:42
26
+ msgid "Genesis - eNews Extended"
27
+ msgstr "Genesis - eNews Extended"
28
+
29
+ # @ genesis-enews-extended
30
+ #: ../class-bjgk-genesis-enews-extended.php:127
31
+ msgid "Title"
32
+ msgstr "T&#237;tulo"
33
+
34
+ # @ genesis-enews-extended
35
+ #: ../class-bjgk-genesis-enews-extended.php:132
36
+ msgid "Text To Show"
37
+ msgstr "Texto para mostrar"
38
+
39
+ # @ genesis-enews-extended
40
+ #: ../class-bjgk-genesis-enews-extended.php:137
41
+ msgid "Google/Feedburner ID"
42
+ msgstr "Google/Feedburner ID"
43
+
44
+ # @ genesis-enews-extended
45
+ #: ../class-bjgk-genesis-enews-extended.php:139
46
+ msgid ""
47
+ "Entering your Feedburner ID here will deactivate the custom options below."
48
+ msgstr ""
49
+ "Al entrar de su Feedburner ID aqu&#237; se desactivar&#224; las opciones "
50
+ "debajo."
51
+
52
+ # @ genesis-enews-extended
53
+ #: ../class-bjgk-genesis-enews-extended.php:143
54
+ msgid "Form Action"
55
+ msgstr "Acci&#243;n de formulario (Form Action)"
56
+
57
+ # @ genesis-enews-extended
58
+ #: ../class-bjgk-genesis-enews-extended.php:148
59
+ msgid "E-Mail Field"
60
+ msgstr "Campo de Email"
61
+
62
+ #: ../class-bjgk-genesis-enews-extended.php:153
63
+ msgid "First Name Field"
64
+ msgstr "Campo de Nombre"
65
+
66
+ #: ../class-bjgk-genesis-enews-extended.php:158
67
+ msgid "Last Name Field"
68
+ msgstr "Campo de Apellido"
69
+
70
+ # @ genesis-enews-extended
71
+ #: ../class-bjgk-genesis-enews-extended.php:163
72
+ msgid "Hidden Fields"
73
+ msgstr "Campos escondidos"
74
+
75
+ # @ genesis-enews-extended
76
+ #: ../class-bjgk-genesis-enews-extended.php:165
77
+ msgid "Not all services use hidden fields."
78
+ msgstr "Todos los servicios no usan campos escondidos."
79
+
80
+ #: ../class-bjgk-genesis-enews-extended.php:170
81
+ msgid "Open confirmation page in same window?"
82
+ msgstr "&#191;Abrir la p&#225;gina de confirmaci&#243;n en la misma ventana?"
83
+
84
+ #: ../class-bjgk-genesis-enews-extended.php:174
85
+ msgid "First Name..."
86
+ msgstr "Nombre..."
87
+
88
+ #: ../class-bjgk-genesis-enews-extended.php:175
89
+ msgid "First Name Input Text"
90
+ msgstr "Nombre de entrada de texto"
91
+
92
+ #: ../class-bjgk-genesis-enews-extended.php:179
93
+ msgid "Last Name..."
94
+ msgstr "Apellido..."
95
+
96
+ # @ genesis-enews-extended
97
+ #: ../class-bjgk-genesis-enews-extended.php:180
98
+ msgid "Last Name Input Text"
99
+ msgstr "Apellido de entrada de texto"
100
+
101
+ # @ genesis-enews-extended
102
+ #: ../class-bjgk-genesis-enews-extended.php:184
103
+ msgid "Enter your email address..."
104
+ msgstr "Entra su email"
105
+
106
+ # @ genesis-enews-extended
107
+ #: ../class-bjgk-genesis-enews-extended.php:185
108
+ msgid "E-Mail Input Text"
109
+ msgstr "Email de entrada su texto"
110
+
111
+ # @ genesis-enews-extended
112
+ #: ../class-bjgk-genesis-enews-extended.php:190
113
+ msgid "Go"
114
+ msgstr "Ir"
115
+
116
+ # @ genesis-enews-extended
117
+ #: ../class-bjgk-genesis-enews-extended.php:191
118
+ msgid "Button Text"
119
+ msgstr "Texto de bot&#243;n"
languages/genesis-enews-extended-it_IT.mo CHANGED
Binary file
languages/genesis-enews-extended-it_IT.po CHANGED
@@ -1,84 +1,103 @@
1
- # Copyright (C) 2013
2
- # This file is distributed under the same license as the package.
3
- msgid ""
4
- msgstr ""
5
- "Project-Id-Version: \n"
6
- "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
- "POT-Creation-Date: 2013-01-10 22:42:34+00:00\n"
8
- "MIME-Version: 1.0\n"
9
- "Content-Type: text/plain; charset=UTF-8\n"
10
- "Content-Transfer-Encoding: 8bit\n"
11
- "PO-Revision-Date: 2013-01-16 12:19+0100\n"
12
- "Last-Translator: Marco <marco@neatandplain.com>\n"
13
- "Language-Team: \n"
14
- "X-Generator: Poedit 1.5.4\n"
15
- "Language: Italiano\n"
16
-
17
- #: plugin.php:67
18
- msgid "Displays subscribe form"
19
- msgstr "Mostra il modulo d'iscrizione"
20
-
21
- #: plugin.php:70
22
- msgid "Genesis - eNews Extended"
23
- msgstr "Genesis - eNews Extended"
24
-
25
- #: plugin.php:147
26
- msgid "Title"
27
- msgstr "Titolo"
28
-
29
- #: plugin.php:152
30
- msgid "Text To Show"
31
- msgstr "Testo da mostrare"
32
-
33
- #: plugin.php:157
34
- msgid "Google/Feedburner ID"
35
- msgstr "Google/Feedburner ID"
36
-
37
- #: plugin.php:159
38
- msgid ""
39
- "Entering your Feedburner ID here will deactivate the custom options below."
40
- msgstr "Linserimento del Feedburner ID disattiverà le opzioni non necessarie."
41
-
42
- #: plugin.php:163
43
- msgid "Form Action"
44
- msgstr "Azione del modulo"
45
-
46
- #: plugin.php:168
47
- msgid "E-Mail Field"
48
- msgstr "Campo E-Mail"
49
-
50
- #: plugin.php:173
51
- msgid "First Name Field"
52
- msgstr "Campo Nome"
53
-
54
- #: plugin.php:178
55
- msgid "Last Name Field"
56
- msgstr "Campo Cognome"
57
-
58
- #: plugin.php:183
59
- msgid "Hidden Fields"
60
- msgstr "Campi nascosti"
61
-
62
- #: plugin.php:185
63
- msgid "Not all services use hidden fields."
64
- msgstr "Non tutti i servizi utilizzano i campi nascosti."
65
-
66
- #: plugin.php:190
67
- msgid "Open confirmation page in same window?"
68
- msgstr "Apri la pagina di conferma nella stessa finestra?"
69
-
70
- #: plugin.php:194
71
- msgid "Enter your email address..."
72
- msgstr "Inserisci il tuo indirizzo email…"
73
-
74
- #: plugin.php:195
75
- msgid "Input Text"
76
- msgstr "Testo per l'input"
77
-
78
- #: plugin.php:200
79
- msgid "Go"
80
- msgstr "Vai"
81
-
82
- #: plugin.php:201
83
- msgid "Button Text"
84
- msgstr "Testo del bottone"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Copyright (C) 2013
2
+ # This file is distributed under the same license as the package.
3
+ msgid ""
4
+ msgstr ""
5
+ "Project-Id-Version: Genesis eNews Extended\n"
6
+ "Report-Msgid-Bugs-To: http://wordpress.org/tag/genesis-enews-extended\n"
7
+ "POT-Creation-Date: 2013-01-27 13:12-0600\n"
8
+ "PO-Revision-Date: 2013-01-27 13:17-0600\n"
9
+ "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
10
+ "Language-Team: \n"
11
+ "Language: Italiano\n"
12
+ "MIME-Version: 1.0\n"
13
+ "Content-Type: text/plain; charset=UTF-8\n"
14
+ "Content-Transfer-Encoding: 8bit\n"
15
+ "X-Generator: Poedit 1.5.4\n"
16
+ "X-Poedit-KeywordsList: __;_e\n"
17
+ "X-Poedit-Basepath: .\n"
18
+ "X-Poedit-SearchPath-0: ..\n"
19
+
20
+ #: ../class-bjgk-genesis-enews-extended.php:39
21
+ msgid "Displays subscribe form"
22
+ msgstr "Mostra il modulo d'iscrizione"
23
+
24
+ #: ../class-bjgk-genesis-enews-extended.php:42
25
+ msgid "Genesis - eNews Extended"
26
+ msgstr "Genesis - eNews Extended"
27
+
28
+ #: ../class-bjgk-genesis-enews-extended.php:127
29
+ msgid "Title"
30
+ msgstr "Titolo"
31
+
32
+ #: ../class-bjgk-genesis-enews-extended.php:132
33
+ msgid "Text To Show"
34
+ msgstr "Testo da mostrare"
35
+
36
+ #: ../class-bjgk-genesis-enews-extended.php:137
37
+ msgid "Google/Feedburner ID"
38
+ msgstr "Google/Feedburner ID"
39
+
40
+ #: ../class-bjgk-genesis-enews-extended.php:139
41
+ msgid ""
42
+ "Entering your Feedburner ID here will deactivate the custom options below."
43
+ msgstr "Linserimento del Feedburner ID disattiverà le opzioni non necessarie."
44
+
45
+ #: ../class-bjgk-genesis-enews-extended.php:143
46
+ msgid "Form Action"
47
+ msgstr "Azione del modulo"
48
+
49
+ #: ../class-bjgk-genesis-enews-extended.php:148
50
+ msgid "E-Mail Field"
51
+ msgstr "Campo E-Mail"
52
+
53
+ #: ../class-bjgk-genesis-enews-extended.php:153
54
+ msgid "First Name Field"
55
+ msgstr "Campo Nome"
56
+
57
+ #: ../class-bjgk-genesis-enews-extended.php:158
58
+ msgid "Last Name Field"
59
+ msgstr "Campo Cognome"
60
+
61
+ #: ../class-bjgk-genesis-enews-extended.php:163
62
+ msgid "Hidden Fields"
63
+ msgstr "Campi nascosti"
64
+
65
+ #: ../class-bjgk-genesis-enews-extended.php:165
66
+ msgid "Not all services use hidden fields."
67
+ msgstr "Non tutti i servizi utilizzano i campi nascosti."
68
+
69
+ #: ../class-bjgk-genesis-enews-extended.php:170
70
+ msgid "Open confirmation page in same window?"
71
+ msgstr "Apri la pagina di conferma nella stessa finestra?"
72
+
73
+ #: ../class-bjgk-genesis-enews-extended.php:174
74
+ msgid "First Name..."
75
+ msgstr "Nome…"
76
+
77
+ #: ../class-bjgk-genesis-enews-extended.php:175
78
+ msgid "First Name Input Text"
79
+ msgstr "Nome di testo di input"
80
+
81
+ #: ../class-bjgk-genesis-enews-extended.php:179
82
+ msgid "Last Name..."
83
+ msgstr "Cognome…"
84
+
85
+ #: ../class-bjgk-genesis-enews-extended.php:180
86
+ msgid "Last Name Input Text"
87
+ msgstr "Cognome di testo di input"
88
+
89
+ #: ../class-bjgk-genesis-enews-extended.php:184
90
+ msgid "Enter your email address..."
91
+ msgstr "Inserisci il tuo indirizzo email…"
92
+
93
+ #: ../class-bjgk-genesis-enews-extended.php:185
94
+ msgid "E-Mail Input Text"
95
+ msgstr "E-Mail di testo di input"
96
+
97
+ #: ../class-bjgk-genesis-enews-extended.php:190
98
+ msgid "Go"
99
+ msgstr "Vai"
100
+
101
+ #: ../class-bjgk-genesis-enews-extended.php:191
102
+ msgid "Button Text"
103
+ msgstr "Testo del bottone"
languages/genesis-enews-extended_sk_SK.mo CHANGED
Binary file
languages/genesis-enews-extended_sk_SK.po CHANGED
@@ -2,10 +2,11 @@ msgid ""
2
  msgstr ""
3
  "Project-Id-Version: Genesis eNews Extended v0.1.7\n"
4
  "Report-Msgid-Bugs-To: \n"
5
- "POT-Creation-Date: 2012-11-17 22:47-0600\n"
6
- "PO-Revision-Date: 2013-01-21 20:20-0600\n"
7
  "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
8
  "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
 
9
  "MIME-Version: 1.0\n"
10
  "Content-Type: text/plain; charset=UTF-8\n"
11
  "Content-Transfer-Encoding: 8bit\n"
@@ -13,89 +14,105 @@ msgstr ""
13
  "X-Poedit-Basepath: .\n"
14
  "X-Poedit-SourceCharset: UTF-8\n"
15
  "X-Generator: Poedit 1.5.4\n"
16
- "Language: Slovak\n"
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
  # @ genesis-enews-extended
20
- #: ../plugin.php:67
21
  msgid "Displays subscribe form"
22
  msgstr "Zobrazí sa prihlásiť formulár"
23
 
24
  # @ genesis-enews-extended
25
- #: ../plugin.php:70
26
  msgid "Genesis - eNews Extended"
27
  msgstr "Genesis - eNews Extended"
28
 
29
  # @ genesis-enews-extended
30
- #: ../plugin.php:147
31
  msgid "Title"
32
  msgstr "Názov"
33
 
34
  # @ genesis-enews-extended
35
- #: ../plugin.php:152
36
  msgid "Text To Show"
37
  msgstr "Text, ktorý chcete zobraziť"
38
 
39
  # @ genesis-enews-extended
40
- #: ../plugin.php:157
41
  msgid "Google/Feedburner ID"
42
  msgstr "Google/Feedburner ID"
43
 
44
  # @ genesis-enews-extended
45
- #: ../plugin.php:159
46
  msgid ""
47
  "Entering your Feedburner ID here will deactivate the custom options below."
48
  msgstr ""
49
  "Zadanie vaše Feedburner ID tu bude deaktivovať vlastné možnosti nižšie."
50
 
51
  # @ genesis-enews-extended
52
- #: ../plugin.php:163
53
  msgid "Form Action"
54
  msgstr "Akcia formulára"
55
 
56
  # @ genesis-enews-extended
57
- #: ../plugin.php:168
58
  msgid "E-Mail Field"
59
  msgstr "Pole e-Mail"
60
 
61
- #: ../plugin.php:173
62
  msgid "First Name Field"
63
  msgstr "Krstné meno pole"
64
 
65
- #: ../plugin.php:178
66
  msgid "Last Name Field"
67
  msgstr "Poľa pre priezvisko"
68
 
69
  # @ genesis-enews-extended
70
- #: ../plugin.php:183
71
  msgid "Hidden Fields"
72
  msgstr "Skryté polia"
73
 
74
  # @ genesis-enews-extended
75
- #: ../plugin.php:185
76
  msgid "Not all services use hidden fields."
77
  msgstr "Nie všetky služby zneužiť skryté polia."
78
 
79
- #: ../plugin.php:190
80
  msgid "Open confirmation page in same window?"
81
  msgstr "Otvorené potvrdzovací stránku v rovnakom okne?"
82
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
83
  # @ genesis-enews-extended
84
- #: ../plugin.php:194
85
  msgid "Enter your email address..."
86
  msgstr "Zadajte vašu emailovú adresu..."
87
 
88
  # @ genesis-enews-extended
89
- #: ../plugin.php:195
90
- msgid "Input Text"
91
- msgstr "Vstupné textové"
92
 
93
  # @ genesis-enews-extended
94
- #: ../plugin.php:200
95
  msgid "Go"
96
  msgstr "Ísť"
97
 
98
  # @ genesis-enews-extended
99
- #: ../plugin.php:201
100
  msgid "Button Text"
101
  msgstr "Tlačidlo Text"
2
  msgstr ""
3
  "Project-Id-Version: Genesis eNews Extended v0.1.7\n"
4
  "Report-Msgid-Bugs-To: \n"
5
+ "POT-Creation-Date: 2013-01-27 13:12-0600\n"
6
+ "PO-Revision-Date: 2013-01-27 13:12-0600\n"
7
  "Last-Translator: Brandon Kraft <public@brandonkraft.com>\n"
8
  "Language-Team: Brandon Kraft <public@brandonkraft.com>\n"
9
+ "Language: Slovak\n"
10
  "MIME-Version: 1.0\n"
11
  "Content-Type: text/plain; charset=UTF-8\n"
12
  "Content-Transfer-Encoding: 8bit\n"
14
  "X-Poedit-Basepath: .\n"
15
  "X-Poedit-SourceCharset: UTF-8\n"
16
  "X-Generator: Poedit 1.5.4\n"
 
17
  "X-Poedit-SearchPath-0: ..\n"
18
 
19
  # @ genesis-enews-extended
20
+ #: ../class-bjgk-genesis-enews-extended.php:39
21
  msgid "Displays subscribe form"
22
  msgstr "Zobrazí sa prihlásiť formulár"
23
 
24
  # @ genesis-enews-extended
25
+ #: ../class-bjgk-genesis-enews-extended.php:42
26
  msgid "Genesis - eNews Extended"
27
  msgstr "Genesis - eNews Extended"
28
 
29
  # @ genesis-enews-extended
30
+ #: ../class-bjgk-genesis-enews-extended.php:127
31
  msgid "Title"
32
  msgstr "Názov"
33
 
34
  # @ genesis-enews-extended
35
+ #: ../class-bjgk-genesis-enews-extended.php:132
36
  msgid "Text To Show"
37
  msgstr "Text, ktorý chcete zobraziť"
38
 
39
  # @ genesis-enews-extended
40
+ #: ../class-bjgk-genesis-enews-extended.php:137
41
  msgid "Google/Feedburner ID"
42
  msgstr "Google/Feedburner ID"
43
 
44
  # @ genesis-enews-extended
45
+ #: ../class-bjgk-genesis-enews-extended.php:139
46
  msgid ""
47
  "Entering your Feedburner ID here will deactivate the custom options below."
48
  msgstr ""
49
  "Zadanie vaše Feedburner ID tu bude deaktivovať vlastné možnosti nižšie."
50
 
51
  # @ genesis-enews-extended
52
+ #: ../class-bjgk-genesis-enews-extended.php:143
53
  msgid "Form Action"
54
  msgstr "Akcia formulára"
55
 
56
  # @ genesis-enews-extended
57
+ #: ../class-bjgk-genesis-enews-extended.php:148
58
  msgid "E-Mail Field"
59
  msgstr "Pole e-Mail"
60
 
61
+ #: ../class-bjgk-genesis-enews-extended.php:153
62
  msgid "First Name Field"
63
  msgstr "Krstné meno pole"
64
 
65
+ #: ../class-bjgk-genesis-enews-extended.php:158
66
  msgid "Last Name Field"
67
  msgstr "Poľa pre priezvisko"
68
 
69
  # @ genesis-enews-extended
70
+ #: ../class-bjgk-genesis-enews-extended.php:163
71
  msgid "Hidden Fields"
72
  msgstr "Skryté polia"
73
 
74
  # @ genesis-enews-extended
75
+ #: ../class-bjgk-genesis-enews-extended.php:165
76
  msgid "Not all services use hidden fields."
77
  msgstr "Nie všetky služby zneužiť skryté polia."
78
 
79
+ #: ../class-bjgk-genesis-enews-extended.php:170
80
  msgid "Open confirmation page in same window?"
81
  msgstr "Otvorené potvrdzovací stránku v rovnakom okne?"
82
 
83
+ #: ../class-bjgk-genesis-enews-extended.php:174
84
+ msgid "First Name..."
85
+ msgstr "Meno…"
86
+
87
+ #: ../class-bjgk-genesis-enews-extended.php:175
88
+ msgid "First Name Input Text"
89
+ msgstr "Meno vstupný textové"
90
+
91
+ #: ../class-bjgk-genesis-enews-extended.php:179
92
+ msgid "Last Name..."
93
+ msgstr "Priezvisko…"
94
+
95
+ # @ genesis-enews-extended
96
+ #: ../class-bjgk-genesis-enews-extended.php:180
97
+ msgid "Last Name Input Text"
98
+ msgstr "Priezvisko vstupný textové"
99
+
100
  # @ genesis-enews-extended
101
+ #: ../class-bjgk-genesis-enews-extended.php:184
102
  msgid "Enter your email address..."
103
  msgstr "Zadajte vašu emailovú adresu..."
104
 
105
  # @ genesis-enews-extended
106
+ #: ../class-bjgk-genesis-enews-extended.php:185
107
+ msgid "E-Mail Input Text"
108
+ msgstr "e-Mail vstupný textové"
109
 
110
  # @ genesis-enews-extended
111
+ #: ../class-bjgk-genesis-enews-extended.php:190
112
  msgid "Go"
113
  msgstr "Ísť"
114
 
115
  # @ genesis-enews-extended
116
+ #: ../class-bjgk-genesis-enews-extended.php:191
117
  msgid "Button Text"
118
  msgstr "Tlačidlo Text"
plugin.php CHANGED
@@ -1,19 +1,19 @@
1
  <?php
2
  /**
3
  * Genesis eNews Extended
4
- *
5
  * @package BJGK\Genesis_enews_extended
6
- * @version 0.2.0
7
  * @author Brandon Kraft <public@brandonkraft.com>
8
  * @copyright Copyright (c) 2012, Brandon Kraft
9
- * @link http://www.brandonkraft.com/
10
  * @license GPL-2.0+
11
- *
12
  * @wordpress-plugin
13
  * Plugin Name: Genesis eNews Extended
14
  * Plugin URI: http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
15
  * Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
16
- * Version: 0.2.0
17
  * Author: Brandon Kraft
18
  * Author URI: http://www.brandonkraft.com
19
  * License: GPL-2.0+
@@ -22,11 +22,11 @@
22
  * Domain Path: /languages/
23
  */
24
  /*
25
- * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
26
- * General Public License version 2, as published by the Free Software Foundation. You may NOT assume
27
  * that you can use any other version of the GPL.
28
  *
29
- * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
30
  * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31
  *
32
  * Code based on original eNews Widget in the Genesis Framework by StudioPress - http://www.studiopress.com
@@ -46,188 +46,12 @@ function bjgk_genesis_enews_load_translations() {
46
  load_plugin_textdomain( 'genesis-enews-extended', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
47
  }
48
 
49
- /**
50
- * Main plugin class.
51
- *
52
- * @package BJGK\Genesis_enews_extended
53
- * @author Brandon Kraft <public@brandonkraft.com>
54
- */
55
- class BJGK_Genesis_eNews_Extended extends WP_Widget {
56
-
57
- /**
58
- * Holds widget settings defaults, populated in constructor.
59
- *
60
- * @var array
61
- */
62
- protected $defaults;
63
-
64
- /**
65
- * Constructor. Set the default widget options and create widget.
66
- *
67
- * @since 0.1.0
68
- */
69
- function __construct() {
70
- $this->defaults = array(
71
- 'title' => '',
72
- 'text' => '',
73
- 'hidden_fields' => '',
74
- 'open_same_window' => 0,
75
- 'fname-field' => '',
76
- 'lname-field' => '',
77
- 'input_text' => '',
78
- 'button_text' => '',
79
- 'action' => '',
80
- );
81
-
82
- $widget_ops = array(
83
- 'classname' => 'enews-widget',
84
- 'description' => __( 'Displays subscribe form', 'genesis-enews-extended' ),
85
- );
86
-
87
- parent::__construct( 'enews-ext', __( 'Genesis - eNews Extended', 'genesis-enews-extended' ), $widget_ops );
88
- }
89
-
90
- /**
91
- * Echo the widget content.
92
- *
93
- * @since 0.1.0
94
- *
95
- * @param array $args Display arguments including before_title, after_title, before_widget, and after_widget.
96
- * @param array $instance The settings for the particular instance of the widget.
97
- */
98
- function widget( $args, $instance ) {
99
- extract( $args );
100
-
101
- // Merge with defaults
102
- $instance = wp_parse_args( (array) $instance, $this->defaults );
103
-
104
- echo $before_widget . '<div class="enews">';
105
-
106
- if ( ! empty( $instance['title'] ) )
107
- echo $before_title . apply_filters( 'widget_title', $instance['title'], $instance, $this->id_base ) . $after_title;
108
-
109
- echo wpautop( $instance['text'] ); // We run KSES on update
110
-
111
- if ( ! empty( $instance['id'] ) ) : ?>
112
- <form id="subscribe" action="http://feedburner.google.com/fb/a/mailverify" method="post" target="popupwindow" onsubmit="window.open( 'http://feedburner.google.com/fb/a/mailverify?uri=<?php echo esc_js( $instance['id'] ); ?>', 'popupwindow', 'scrollbars=yes,width=550,height=520');return true">
113
- <input type="text" value="<?php echo esc_attr( $instance['input_text'] ); ?>" id="subbox" onfocus="if ( this.value == '<?php echo esc_js( $instance['input_text'] ); ?>') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = '<?php echo esc_js( $instance['input_text'] ); ?>'; }" name="email" />
114
- <input type="hidden" name="uri" value="<?php echo esc_attr( $instance['id'] ); ?>" />
115
- <input type="hidden" name="loc" value="<?php echo esc_attr( get_locale() ); ?>" />
116
- <input type="submit" value="<?php echo esc_attr( $instance['button_text'] ); ?>" id="subbutton" />
117
- </form>
118
- <?php elseif ( ! empty( $instance['action'] ) ) : ?>
119
- <form id="subscribe" action="<?php echo esc_js( $instance['action'] ); ?>" method="post" <?php if ($instance['open_same_window'] == 0 ) : ?> target="_blank"<?php endif; ?>>
120
- <?php if ( ! empty($instance['fname-field'] ) ) : ?><input type="text" id="subbox1" class="enews-subbox" value="First Name" onfocus="if ( this.value == 'First Name') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = 'First Name'; }" name="<?php echo esc_js( $instance['fname-field'] ); ?>" /><?php endif ?>
121
- <?php if ( ! empty($instance['lname-field'] ) ) : ?><input type="text" id="subbox2" class="enews-subbox" value="Last Name" onfocus="if ( this.value == 'Last Name') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = 'Last Name'; }" name="<?php echo esc_js( $instance['lname-field'] ); ?>" /><?php endif ?>
122
- <input type="text" value="<?php echo esc_attr( $instance['input_text'] ); ?>" id="subbox" onfocus="if ( this.value == '<?php echo esc_js( $instance['input_text'] ); ?>') { this.value = ''; }" onblur="if ( this.value == '' ) { this.value = '<?php echo esc_js( $instance['input_text'] ); ?>'; }" name="<?php echo esc_js( $instance['email-field'] ); ?>" />
123
- <?php echo $instance['hidden_fields']; ?>
124
- <input type="submit" value="<?php echo esc_attr( $instance['button_text'] ); ?>" id="subbutton" />
125
- </form>
126
- <?php endif;
127
-
128
- echo '</div>' . $after_widget;
129
- }
130
-
131
- /**
132
- * Update a particular instance.
133
- *
134
- * This function should check that $new_instance is set correctly.
135
- * The newly calculated value of $instance should be returned.
136
- * If false is returned, the instance won't be saved / updated.
137
- *
138
- * @since 0.1.0
139
- *
140
- * @param array $new_instance New settings for this instance as input by the user via form().
141
- * @param array $old_instance Old settings for this instance.
142
- *
143
- * @return array Settings to save or bool false to cancel saving
144
- */
145
- function update( $new_instance, $old_instance ) {
146
- $new_instance['title'] = strip_tags( $new_instance['title'] );
147
- $new_instance['text'] = wp_kses( $new_instance['text'], genesis_formatting_allowedtags() );
148
- $new_instance['hidden_fields'] = strip_tags( $new_instance['hidden_fields'], "<input>" );
149
- return $new_instance;
150
- }
151
-
152
- /**
153
- * Echo the settings update form.
154
- *
155
- * @since 0.1.0
156
- *
157
- * @param array $instance Current settings.
158
- */
159
- function form( $instance ) {
160
- // Merge with defaults
161
- $instance = wp_parse_args( (array) $instance, $this->defaults );
162
- ?>
163
- <p>
164
- <label for="<?php echo $this->get_field_id( 'title' ); ?>"><?php _e( 'Title', 'genesis-enews-extended' ); ?>:</label><br />
165
- <input type="text" id="<?php echo $this->get_field_id( 'title' ); ?>" name="<?php echo $this->get_field_name( 'title' ); ?>" value="<?php echo esc_attr( $instance['title'] ); ?>" class="widefat" />
166
- </p>
167
-
168
- <p>
169
- <label for="<?php echo $this->get_field_id( 'text' ); ?>"><?php _e( 'Text To Show', 'genesis-enews-extended' ); ?>:</label><br />
170
- <textarea id="<?php echo $this->get_field_id( 'text' ); ?>" name="<?php echo $this->get_field_name( 'text' ); ?>" class="widefat" rows="6" cols="4"><?php echo htmlspecialchars( $instance['text'] ); ?></textarea>
171
- </p>
172
- <hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;">
173
- <p>
174
- <label for="<?php echo $this->get_field_id( 'id' ); ?>"><?php _e( 'Google/Feedburner ID', 'genesis-enews-extended' ); ?>:</label>
175
- <input type="text" id="<?php echo $this->get_field_id( 'id' ); ?>" name="<?php echo $this->get_field_name( 'id' ); ?>" value="<?php echo esc_attr( $instance['id'] ); ?>" class="widefat" /><br />
176
- <small><?php _e( 'Entering your Feedburner ID here will deactivate the custom options below.', 'genesis-enews-extended' ); ?></small>
177
- </p>
178
- <hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;">
179
- <p>
180
- <label for="<?php echo $this->get_field_id( 'action' ); ?>"><?php _e( 'Form Action', 'genesis-enews-extended' ); ?>:</label>
181
- <input type="text" id="<?php echo $this->get_field_id( 'action' ); ?>" name="<?php echo $this->get_field_name( 'action' ); ?>" value="<?php echo esc_attr( $instance['action'] ); ?>" class="widefat" />
182
- </p>
183
-
184
- <p>
185
- <label for="<?php echo $this->get_field_id( 'email-field' ); ?>"><?php _e( 'E-Mail Field', 'genesis-enews-extended' ); ?>:</label>
186
- <input type="text" id="<?php echo $this->get_field_id( 'email-field' ); ?>" name="<?php echo $this->get_field_name( 'email-field' ); ?>" value="<?php echo esc_attr( $instance['email-field'] ); ?>" class="widefat" />
187
- </p>
188
-
189
- <p>
190
- <label for="<?php echo $this->get_field_id( 'fname-field' ); ?>"><?php _e( 'First Name Field', 'genesis-enews-extended' ); ?>:</label>
191
- <input type="text" id="<?php echo $this->get_field_id( 'fname-field' ); ?>" name="<?php echo $this->get_field_name( 'fname-field' ); ?>" value="<?php echo esc_attr( $instance['fname-field'] ); ?>" class="widefat" />
192
- </p>
193
-
194
- <p>
195
- <label for="<?php echo $this->get_field_id( 'lname-field' ); ?>"><?php _e( 'Last Name Field', 'genesis-enews-extended' ); ?>:</label>
196
- <input type="text" id="<?php echo $this->get_field_id( 'lname-field' ); ?>" name="<?php echo $this->get_field_name( 'lname-field' ); ?>" value="<?php echo esc_attr( $instance['lname-field'] ); ?>" class="widefat" />
197
- </p>
198
-
199
- <p>
200
- <label for="<?php echo $this->get_field_id( 'hidden_fields' ); ?>"><?php _e( 'Hidden Fields', 'genesis-enews-extended' ); ?>:</label>
201
- <textarea id="<?php echo $this->get_field_id( 'hidden_fields' ); ?>" name="<?php echo $this->get_field_name( 'hidden_fields' ); ?>" class="widefat"><?php echo esc_attr( $instance['hidden_fields'] ); ?></textarea>
202
- <br><small><?php _e( 'Not all services use hidden fields.', 'genesis-enews-extended'); ?></small>
203
- </p>
204
-
205
- <p>
206
- <input id="<?php echo $this->get_field_id( 'open_same_window' ); ?>" type="checkbox" name="<?php echo $this->get_field_name( 'open_same_window' ); ?>" value="1" <?php checked( $instance['open_same_window'] ); ?>/>
207
- <label for="<?php echo $this->get_field_id( 'open_same_window' ); ?>"><?php _e( 'Open confirmation page in same window?', 'genesis-enews-extended' ); ?></label>
208
- </p>
209
- <hr style="background: #ccc; border: 0; height: 1px; margin: 20px 0;">
210
- <p>
211
- <?php $input_text = empty( $instance['input_text'] ) ? __( 'Enter your email address...', 'genesis-enews-extended' ) : $instance['input_text']; ?>
212
- <label for="<?php echo $this->get_field_id( 'id' ); ?>"><?php _e( 'Input Text', 'genesis-enews-extended' ); ?>:</label>
213
- <input type="text" id="<?php echo $this->get_field_id( 'input_text' ); ?>" name="<?php echo $this->get_field_name( 'input_text' ); ?>" value="<?php echo esc_attr( $input_text ); ?>" class="widefat" />
214
- </p>
215
-
216
- <p>
217
- <?php $button_text = empty( $instance['button_text'] ) ? __( 'Go', 'genesis-enews-extended' ) : $instance['button_text']; ?>
218
- <label for="<?php echo $this->get_field_id( 'button_text' ); ?>"><?php _e( 'Button Text', 'genesis-enews-extended' ); ?>:</label>
219
- <input type="text" id="<?php echo $this->get_field_id( 'button_text' ); ?>" name="<?php echo $this->get_field_name( 'button_text' ); ?>" value="<?php echo esc_attr( $button_text ); ?>" class="widefat" />
220
- </p>
221
-
222
- <?php
223
- }
224
-
225
- }
226
 
227
  add_action( 'widgets_init', 'bjgk_genesis_enews_load_widgets' );
228
  /**
229
  * Register widget.
230
- *
231
  * @since 0.1.0
232
  */
233
  function bjgk_genesis_enews_load_widgets() {
1
  <?php
2
  /**
3
  * Genesis eNews Extended
4
+ *
5
  * @package BJGK\Genesis_enews_extended
6
+ * @version 1.0.0
7
  * @author Brandon Kraft <public@brandonkraft.com>
8
  * @copyright Copyright (c) 2012, Brandon Kraft
9
+ * @link http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
10
  * @license GPL-2.0+
11
+ *
12
  * @wordpress-plugin
13
  * Plugin Name: Genesis eNews Extended
14
  * Plugin URI: http://www.brandonkraft.com/contrib/plugins/genesis-enews-extended/
15
  * Description: Replaces the Genesis eNews Widget to allow easier use of additional mailing services.
16
+ * Version: 1.0.0
17
  * Author: Brandon Kraft
18
  * Author URI: http://www.brandonkraft.com
19
  * License: GPL-2.0+
22
  * Domain Path: /languages/
23
  */
24
  /*
25
+ * This program is free software; you can redistribute it and/or modify it under the terms of the GNU
26
+ * General Public License version 2, as published by the Free Software Foundation. You may NOT assume
27
  * that you can use any other version of the GPL.
28
  *
29
+ * This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without
30
  * even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
31
  *
32
  * Code based on original eNews Widget in the Genesis Framework by StudioPress - http://www.studiopress.com
46
  load_plugin_textdomain( 'genesis-enews-extended', false, dirname( plugin_basename( __FILE__ ) ) . '/languages/' );
47
  }
48
 
49
+ include 'class-bjgk-genesis-enews-extended.php';
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
50
 
51
  add_action( 'widgets_init', 'bjgk_genesis_enews_load_widgets' );
52
  /**
53
  * Register widget.
54
+ *
55
  * @since 0.1.0
56
  */
57
  function bjgk_genesis_enews_load_widgets() {
readme.txt CHANGED
@@ -3,8 +3,8 @@ Contributors: kraftbj, coffeaweb
3
  Donate link: http://www.brandonkraft.com/donate/
4
  Tags: genesis
5
  Requires at least: 3.0
6
- Tested up to: 3.5
7
- Stable tag: 0.2.0
8
 
9
  Creates a new widget to easily add mailing lists integration to a Genesis website. Works with FeedBurner, MailChimp, AWeber, FeedBlitz and more.
10
 
@@ -51,8 +51,14 @@ Questions can be asked at the [WordPress.org Support Forum](http://wordpress.org
51
 
52
  == Changelog ==
53
 
 
 
 
 
 
 
54
  = 0.2.0 =
55
- * Various code enhancements to improve performance and adhere better to WP standards (props to [Gary Jones](http://garyjones.co.uk/))
56
  * Adds Spanish translation (props to [Ryan Sullivan](http://www.wpsitecare.com/))
57
  * Adds Italian translation (props to [Marco Galasso](http://neatandplain.com/))
58
  * Adds Slovak translation (props to [Branco Radenovich](http://webhostinggeeks.com/user-reviews/))
@@ -92,7 +98,7 @@ Adds "Hidden Fields" widget setting to make widget compatible with more mailing
92
  Expands widget's usefulness to more StudioPress themes (Balance, etc).
93
 
94
  = 0.1.3 =
95
- Security update and adds Feedburner support natively.
96
 
97
  = 0.1.4 =
98
  Adds translation support and adds German translation.
@@ -104,4 +110,7 @@ Adds option to open confirmation screen in same tab.
104
  Adds first and last name fields. Check instructions before usage.
105
 
106
  = 0.2.0 =
107
- Code enhancements and adds Spanish, Italian, and Slovak translations.
 
 
 
3
  Donate link: http://www.brandonkraft.com/donate/
4
  Tags: genesis
5
  Requires at least: 3.0
6
+ Tested up to: 3.5.1
7
+ Stable tag: 1.0.0
8
 
9
  Creates a new widget to easily add mailing lists integration to a Genesis website. Works with FeedBurner, MailChimp, AWeber, FeedBlitz and more.
10
 
51
 
52
  == Changelog ==
53
 
54
+ = 1.0.0 =
55
+ * Adds ability to edit "First Name" and "Last Name" displayed on front-end.
56
+ * Moves class function out of primary plugin file, renames primary plugin file, and other code cleanup.
57
+ * Security update.
58
+ * Version numbering now using semver.org rationale.
59
+
60
  = 0.2.0 =
61
+ * Various code enhancements to improve performance and adhere better to WP standards (props to [Gary Jones](http://garyjones.co.uk/))
62
  * Adds Spanish translation (props to [Ryan Sullivan](http://www.wpsitecare.com/))
63
  * Adds Italian translation (props to [Marco Galasso](http://neatandplain.com/))
64
  * Adds Slovak translation (props to [Branco Radenovich](http://webhostinggeeks.com/user-reviews/))
98
  Expands widget's usefulness to more StudioPress themes (Balance, etc).
99
 
100
  = 0.1.3 =
101
+ Security update and adds Feedburner support natively.
102
 
103
  = 0.1.4 =
104
  Adds translation support and adds German translation.
110
  Adds first and last name fields. Check instructions before usage.
111
 
112
  = 0.2.0 =
113
+ Code enhancements and adds Spanish, Italian, and Slovak translations.
114
+
115
+ = 1.0.0 =
116
+ Enable changes to first name and last name text displayed on site.