Changeset 2869254
- Timestamp:
- 02/22/2023 09:52:23 AM (3 years ago)
- Location:
- subscribers-com/trunk
- Files:
-
- 3 edited
-
firebase-messaging-sw.js.php (modified) (1 diff)
-
readme.txt (modified) (1 diff)
-
subscribers.php (modified) (2 diffs)
Legend:
- Unmodified
- Added
- Removed
-
subscribers-com/trunk/firebase-messaging-sw.js.php
r2089230 r2869254 2 2 require("config.php"); 3 3 header("Content-Type: application/javascript"); 4 $site_lang = get_option('subscribers_lang'); 4 5 ?> 6 var siteLanguage = "<?php echo $site_lang; ?>"; 5 7 var version = '1.5'; 6 8 importScripts("https://<?php echo $subscribers_cdn_host; ?>/assets/subscribers-sw.js"); -
subscribers-com/trunk/readme.txt
r2823804 r2869254 91 91 == Changelog == 92 92 93 = 1.5.3 = 94 * Site language option added 95 93 96 = 1.5.2 = 94 97 * Capability test with wordpress version 5.5, ready for WP 5.5 -
subscribers-com/trunk/subscribers.php
r2519904 r2869254 53 53 function subscribers_register_mysettings(){ 54 54 register_setting('subscribers_options','subscribers_hash'); 55 register_setting('subscribers_options','subscribers_lang'); 55 56 } 56 57 … … 150 151 <?php do_settings_sections( 'subscribers_options' ); ?> 151 152 152 <label for="subscribers_hash" style="font-size: 120%; display: block; margin-top: 2em;">Your Subscriber Site ID: </label>153 <label for="subscribers_hash" style="font-size: 120%; display: block; margin-top: 2em;">Your Subscriber Site ID: *Mandatory</label> 153 154 <input type="text" id="subscribers_hash" name="subscribers_hash" value="<?php echo get_option('subscribers_hash'); ?>" style="margin-top: 0.5em;" size="50"/> 155 156 <label for="subscribers_lang" style="font-size: 120%; display: block; margin-top: 2em;">Your Site's primary Language code (Refer - https://datahub.io/core/language-codes/r/0.html) *Optional:</label> 157 <input type="text" id="subscribers_lang" name="subscribers_lang" value="<?php echo get_option('subscribers_lang'); ?>" style="margin-top: 0.5em;" size="50"/> 154 158 155 159 <?php submit_button(); ?>
Note: See TracChangeset
for help on using the changeset viewer.