Changeset 1865388
- Timestamp:
- 04/27/2018 12:03:54 PM (8 years ago)
- Location:
- salah-widget/trunk
- Files:
-
- 2 edited
-
readme.txt (modified) (2 diffs)
-
salah-widget.php (modified) (4 diffs)
Legend:
- Unmodified
- Added
- Removed
-
salah-widget/trunk/readme.txt
r1865337 r1865388 3 3 Donate link: paypal.me/Delilovic 4 4 Tags: vaktija, salah, prayer, ramadan, islam, fasten, ramazan 5 Requires at least: 4.66 Tested up to: 4.9 5 Requires at least: 3.5.0 6 Tested up to: 4.9.5 7 7 Stable tag: 1.0 8 8 License: GPLv3 … … 13 13 == Description == 14 14 15 The widget shows the prayer/fasting time on your website using the local WordPress timezone and the provided salah.csv file .15 The widget shows the prayer/fasting time on your website using the local WordPress timezone and the provided salah.csv file (see installation description). 16 16 17 17 == Installation == -
salah-widget/trunk/salah-widget.php
r1865337 r1865388 40 40 $current_date = $date_time->format('d') . "." . $date_time->format('m') . "." . $date_time->format('Y'); 41 41 $current_time = $date_time->format('H') . ":" . $date_time->format('i') . ":" . $date_time->format('s'); 42 $display_date_time = '<br><b>' . $current_date . " - " . $current_time . '</b><br>' . __('(Please ensure that the displayed date and time are same with your local/city date and time, if not change the Timezone in your Wordpress settings !)');42 $display_date_time = '<br><b>' . $current_date . " - " . $current_time . '</b><br>' . '(' . __('Please ensure that the displayed date and time are same with your local/city date and time, if not change the Timezone in your WordPress settings') . ' !)'; 43 43 44 44 ?> … … 47 47 48 48 ?> 49 <label for="<?php echo $this->get_field_id('salah_city'); ?>"><?php _e('Add <b>salah.csv</b> document:<br>'); ?></label> 49 <label for="<?php echo $this->get_field_id('salah_city'); ?>"><?php _e('Add'); 50 echo ' <b>salah.csv</b> '; 51 _e('document'); 52 echo ':<br>'; ?></label> 50 53 51 54 … … 59 62 60 63 <p> 61 <label for="<?php echo $this->get_field_id('salah_city'); ?>"><?php _e('Enter Location:'); ?></label> 64 <label for="<?php echo $this->get_field_id('salah_city'); ?>"><?php _e('Enter Location'); 65 echo ':'; ?></label> 62 66 <label for="<?php echo esc_attr($this->get_field_id('salah_city')); ?>"></label> 63 67 <input class="widefat" id="<?php echo esc_attr($this->get_field_id('salah_city')); ?>" … … 67 71 68 72 <p> 69 <label for="<?php echo $this->get_field_id('select'); ?>"><?php _e('Select Theme:'); ?></label> 73 <label for="<?php echo $this->get_field_id('select'); ?>"><?php _e('Select Theme'); 74 echo ':'; ?></label> 70 75 <select name="<?php echo $this->get_field_name('select'); ?>" 71 76 id="<?php echo $this->get_field_id('select'); ?>" class="widefat">
Note: See TracChangeset
for help on using the changeset viewer.