Changeset 1230263
- Timestamp:
- 08/25/2015 01:26:39 PM (11 years ago)
- Location:
- sendmachine
- Files:
-
- 8 edited
- 1 copied
-
tags/1.0.1 (copied) (copied from sendmachine/trunk)
-
tags/1.0.1/includes/sendmachine_subscribe_manager.php (modified) (2 diffs)
-
tags/1.0.1/readme.txt (modified) (2 diffs)
-
tags/1.0.1/sendmachine_widget.php (modified) (3 diffs)
-
tags/1.0.1/sendmachine_wp.php (modified) (1 diff)
-
trunk/includes/sendmachine_subscribe_manager.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sendmachine_widget.php (modified) (3 diffs)
-
trunk/sendmachine_wp.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sendmachine/tags/1.0.1/includes/sendmachine_subscribe_manager.php
r1226818 r1230263 28 28 29 29 $out .=$args['before_title'] . $title . $args['after_title']; 30 31 $out .= $instance['description'] ? "<p>".$instance['description']."</p>" : ""; 30 32 31 33 $out .= $this->build_form(); … … 140 142 . '<input type="hidden" name="sm_action" value="subscribe_form"/> ' 141 143 . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> ' 142 . $list_fields . __("* mandatory", SM_LANGUAGE_DOMAIN)143 . '< br><input type="submit" value="Subscribe" />'144 . $list_fields 145 . '<input type="submit" value="Subscribe" />' 144 146 . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>' 145 147 . '</form>' -
sendmachine/tags/1.0.1/readme.txt
r1226840 r1230263 4 4 Requires at least: 3.2.1 5 5 Tested up to: 4.3 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 96 96 == Changelog == 97 97 98 = 1.0.1 = 99 * Added description field to widget area. 100 98 101 = 1.0.0 = 99 102 * First stable release. -
sendmachine/tags/1.0.1/sendmachine_widget.php
r1226818 r1230263 20 20 $instance = $old_instance; 21 21 $instance['title'] = $new_instance['title']; 22 $instance['description'] = $new_instance['description']; 22 23 23 24 return $instance; … … 27 28 28 29 $title = isset($instance['title']) ? $instance['title'] : ""; 30 $description = isset($instance['description']) ? $instance['description'] : ""; 29 31 ?> 30 32 <p> … … 32 34 <input class="widefat" type="text" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo esc_attr($title); ?>"> 33 35 </p> 34 36 <p> 37 <label for="<?php echo $this->get_field_id('description'); ?>"><?php _e('Description:', SM_LANGUAGE_DOMAIN) ?></label> 38 <textarea class="widefat" rows="5" cols="20" id="<?php echo $this->get_field_id('description'); ?>" name="<?php echo $this->get_field_name('description'); ?>"><?php echo esc_attr($description); ?></textarea> 39 </p> 35 40 <?php 36 41 } -
sendmachine/tags/1.0.1/sendmachine_wp.php
r1226835 r1230263 5 5 Plugin URI: https://www.sendmachine.com 6 6 Description: The official Sendmachine plugin featuring subscribe forms, users sync, news feed, email sending and transactional campaigns. 7 Version: 1.0. 07 Version: 1.0.1 8 8 Author: Sendmachine team 9 9 Author URI: http://developers.sendmachine.com/ -
sendmachine/trunk/includes/sendmachine_subscribe_manager.php
r1226818 r1230263 28 28 29 29 $out .=$args['before_title'] . $title . $args['after_title']; 30 31 $out .= $instance['description'] ? "<p>".$instance['description']."</p>" : ""; 30 32 31 33 $out .= $this->build_form(); … … 140 142 . '<input type="hidden" name="sm_action" value="subscribe_form"/> ' 141 143 . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> ' 142 . $list_fields . __("* mandatory", SM_LANGUAGE_DOMAIN)143 . '< br><input type="submit" value="Subscribe" />'144 . $list_fields 145 . '<input type="submit" value="Subscribe" />' 144 146 . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>' 145 147 . '</form>' -
sendmachine/trunk/readme.txt
r1226840 r1230263 4 4 Requires at least: 3.2.1 5 5 Tested up to: 4.3 6 Stable tag: 1.0. 06 Stable tag: 1.0.1 7 7 License: GPLv2 or later 8 8 License URI: http://www.gnu.org/licenses/gpl-2.0.html … … 96 96 == Changelog == 97 97 98 = 1.0.1 = 99 * Added description field to widget area. 100 98 101 = 1.0.0 = 99 102 * First stable release. -
sendmachine/trunk/sendmachine_widget.php
r1226818 r1230263 20 20 $instance = $old_instance; 21 21 $instance['title'] = $new_instance['title']; 22 $instance['description'] = $new_instance['description']; 22 23 23 24 return $instance; … … 27 28 28 29 $title = isset($instance['title']) ? $instance['title'] : ""; 30 $description = isset($instance['description']) ? $instance['description'] : ""; 29 31 ?> 30 32 <p> … … 32 34 <input class="widefat" type="text" id="<?php echo $this->get_field_id('title'); ?>" name="<?php echo $this->get_field_name('title'); ?>" value="<?php echo esc_attr($title); ?>"> 33 35 </p> 34 36 <p> 37 <label for="<?php echo $this->get_field_id('description'); ?>"><?php _e('Description:', SM_LANGUAGE_DOMAIN) ?></label> 38 <textarea class="widefat" rows="5" cols="20" id="<?php echo $this->get_field_id('description'); ?>" name="<?php echo $this->get_field_name('description'); ?>"><?php echo esc_attr($description); ?></textarea> 39 </p> 35 40 <?php 36 41 } -
sendmachine/trunk/sendmachine_wp.php
r1226835 r1230263 5 5 Plugin URI: https://www.sendmachine.com 6 6 Description: The official Sendmachine plugin featuring subscribe forms, users sync, news feed, email sending and transactional campaigns. 7 Version: 1.0. 07 Version: 1.0.1 8 8 Author: Sendmachine team 9 9 Author URI: http://developers.sendmachine.com/
Note: See TracChangeset
for help on using the changeset viewer.