Changeset 1537552
- Timestamp:
- 11/21/2016 01:08:07 PM (9 years ago)
- Location:
- sendmachine
- Files:
-
- 8 edited
- 1 copied
-
tags/1.0.11 (copied) (copied from sendmachine/trunk)
-
tags/1.0.11/includes/sendmachine_subscribe_manager.php (modified) (2 diffs)
-
tags/1.0.11/readme.txt (modified) (2 diffs)
-
tags/1.0.11/sendmachine_wp.php (modified) (1 diff)
-
tags/1.0.11/views/wp_sm_list_settings.php (modified) (1 diff)
-
trunk/includes/sendmachine_subscribe_manager.php (modified) (2 diffs)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/sendmachine_wp.php (modified) (1 diff)
-
trunk/views/wp_sm_list_settings.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
sendmachine/tags/1.0.11/includes/sendmachine_subscribe_manager.php
r1481448 r1537552 138 138 $notices = $this->subscribe_notification && $this->subscribe_notification['form_nr'] == $this->form_count ? "<div class='".$this->subscribe_notification['status']."' >".$msg."</div>" : ""; 139 139 $submit_action = isset($this->app['list']['reload_subscribe']) && $this->app['list']['reload_subscribe'] ? "" : "subscribe_user(this);return false;" ; 140 141 $subscribe_label = $this->app['list']['label_submit_button'] ? $this->app['list']['label_submit_button'] : __('Subscribe', SM_LANGUAGE_DOMAIN); 140 142 141 143 return '' … … 146 148 . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> ' 147 149 . $list_fields 148 . '<div class="sm_wp_form_submit_button_wrapper"><input class="sm_wp_form_submit_button" type="submit" value="'. __('Subscribe', SM_LANGUAGE_DOMAIN).'" /></div>'150 . '<div class="sm_wp_form_submit_button_wrapper"><input class="sm_wp_form_submit_button" type="submit" value="'. $subscribe_label .'" /></div>' 149 151 . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>' 150 152 . '</form>' -
sendmachine/tags/1.0.11/readme.txt
r1481453 r1537552 4 4 Requires at least: 3.2.1 5 5 Tested up to: 4.6 6 Stable tag: 1.0.1 06 Stable tag: 1.0.11 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.11 = 99 * Added customisable subscribe button label 100 98 101 = 1.0.10 = 99 102 * Tested plugin up to WP v4.6 -
sendmachine/tags/1.0.11/sendmachine_wp.php
r1481448 r1537552 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.1 07 Version: 1.0.11 8 8 Author: Sendmachine team 9 9 Author URI: http://developers.sendmachine.com/ -
sendmachine/tags/1.0.11/views/wp_sm_list_settings.php
r1226818 r1537552 118 118 </td> 119 119 </tr> 120 <tr> 121 <td class='sm_row_title'> 122 <span><?php _e("Submit button label", SM_LANGUAGE_DOMAIN); ?></span> 123 </td> 124 <td class='sm_row_content' colspan="2"> 125 <input type="text" name="update[list][label_submit_button]" class="widefat" value="<?php echo $this->app['list']['label_submit_button']; ?>" /> 126 </td> 127 </tr> 120 128 <?php 121 129 if(!empty($this->app['list']['fields'])){ -
sendmachine/trunk/includes/sendmachine_subscribe_manager.php
r1481448 r1537552 138 138 $notices = $this->subscribe_notification && $this->subscribe_notification['form_nr'] == $this->form_count ? "<div class='".$this->subscribe_notification['status']."' >".$msg."</div>" : ""; 139 139 $submit_action = isset($this->app['list']['reload_subscribe']) && $this->app['list']['reload_subscribe'] ? "" : "subscribe_user(this);return false;" ; 140 141 $subscribe_label = $this->app['list']['label_submit_button'] ? $this->app['list']['label_submit_button'] : __('Subscribe', SM_LANGUAGE_DOMAIN); 140 142 141 143 return '' … … 146 148 . '<input type="hidden" name="sm_form_nr" value="'.$this->form_count.'"/> ' 147 149 . $list_fields 148 . '<div class="sm_wp_form_submit_button_wrapper"><input class="sm_wp_form_submit_button" type="submit" value="'. __('Subscribe', SM_LANGUAGE_DOMAIN).'" /></div>'150 . '<div class="sm_wp_form_submit_button_wrapper"><input class="sm_wp_form_submit_button" type="submit" value="'. $subscribe_label .'" /></div>' 149 151 . '<div class="sm_wp_sub_req_resp" >' . $notices . '</div>' 150 152 . '</form>' -
sendmachine/trunk/readme.txt
r1481453 r1537552 4 4 Requires at least: 3.2.1 5 5 Tested up to: 4.6 6 Stable tag: 1.0.1 06 Stable tag: 1.0.11 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.11 = 99 * Added customisable subscribe button label 100 98 101 = 1.0.10 = 99 102 * Tested plugin up to WP v4.6 -
sendmachine/trunk/sendmachine_wp.php
r1481448 r1537552 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.1 07 Version: 1.0.11 8 8 Author: Sendmachine team 9 9 Author URI: http://developers.sendmachine.com/ -
sendmachine/trunk/views/wp_sm_list_settings.php
r1226818 r1537552 118 118 </td> 119 119 </tr> 120 <tr> 121 <td class='sm_row_title'> 122 <span><?php _e("Submit button label", SM_LANGUAGE_DOMAIN); ?></span> 123 </td> 124 <td class='sm_row_content' colspan="2"> 125 <input type="text" name="update[list][label_submit_button]" class="widefat" value="<?php echo $this->app['list']['label_submit_button']; ?>" /> 126 </td> 127 </tr> 120 128 <?php 121 129 if(!empty($this->app['list']['fields'])){
Note: See TracChangeset
for help on using the changeset viewer.