Changeset 2174272
- Timestamp:
- 10/16/2019 01:58:53 PM (6 years ago)
- Location:
- pushe-webpush/trunk
- Files:
-
- 4 edited
-
inc/base/WebpushScripts.php (modified) (2 diffs)
-
inc/pages/SettingsFieldsBuilder.php (modified) (1 diff)
-
pushe-webpush.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
pushe-webpush/trunk/inc/base/WebpushScripts.php
r2157199 r2174272 110 110 $mobilePosition = $this->getModalOptionsValue('mobilePosition'); 111 111 $dialogRetryRate = $this->getModalOptionsValue('dialogRetryRate'); 112 112 $direction = $this->getModalOptionsValue('dialogDirection'); 113 113 114 114 $output = '<script src="https://static.pushe.co/pusheweb.js"></script>'; … … 137 137 $output .= ',dialogRetryRate:' . $dialogRetryRate; 138 138 } 139 if (boolval($direction)) { 140 $output .= ',direction:' . '"' . $direction . '"'; 141 } 139 142 $output .= '};'; 140 143 $output .= 'Pushe.subscribe(options);</script>'; -
pushe-webpush/trunk/inc/pages/SettingsFieldsBuilder.php
r2157199 r2174272 149 149 'section' => 'pushe_modal_options_section', 150 150 ), 151 'dialogDirection' => array( 152 'title' => __('dialog direction', 'pushe-webpush'), 153 'placeholder' => 'dialog direction', 154 'option_group' => self::$modal_options_group, 155 'sanitizeCallback' => array($modalOptionsCallback, 'inputSanitize'), 156 'inputCallback' => array($modalOptionsCallback, 'handleSettingsInput'), 157 'page' => 'pushe_modal_options', 158 'section' => 'pushe_modal_options_section', 159 'inputType' => 'select', 160 'options' => array( 161 'rtl', 'ltr', 162 ), 163 ), 151 164 ); 152 165 -
pushe-webpush/trunk/pushe-webpush.php
r2165116 r2174272 6 6 * Plugin Name: Pushe Webpush 7 7 * Description: Official Pushe.co's webpush plugin for wordpress. 8 * version: 0.4. 18 * version: 0.4.2 9 9 * Author: pushe.co 10 10 * Author URI: https://pushe.co -
pushe-webpush/trunk/readme.txt
r2165116 r2174272 43 43 == Changelog == 44 44 45 = 0.4.2 = 46 * Add support for ltr dialog 47 45 48 = 0.4.1 = 46 49 * Fix plugin settings link
Note: See TracChangeset
for help on using the changeset viewer.