Changeset 381586
- Timestamp:
- 05/06/2011 04:25:26 AM (15 years ago)
- Location:
- zmanim-widget
- Files:
-
- 4 edited
- 14 copied
-
tags/1.11 (copied) (copied from zmanim-widget/trunk)
-
tags/1.11/config.php (copied) (copied from zmanim-widget/trunk/config.php)
-
tags/1.11/config_admin.php (copied) (copied from zmanim-widget/trunk/config_admin.php) (1 diff)
-
tags/1.11/hdate/hdate.php (copied) (copied from zmanim-widget/trunk/hdate/hdate.php)
-
tags/1.11/hdate/hol.php (copied) (copied from zmanim-widget/trunk/hdate/hol.php)
-
tags/1.11/hdate/today.php (copied) (copied from zmanim-widget/trunk/hdate/today.php) (1 diff)
-
tags/1.11/lib/main.js (copied) (copied from zmanim-widget/trunk/lib/main.js)
-
tags/1.11/lib/main_admin.js (copied) (copied from zmanim-widget/trunk/lib/main_admin.js)
-
tags/1.11/localization/zmanim-ru_RU.mo (copied) (copied from zmanim-widget/trunk/localization/zmanim-ru_RU.mo)
-
tags/1.11/localization/zmanim-ru_RU.po (copied) (copied from zmanim-widget/trunk/localization/zmanim-ru_RU.po)
-
tags/1.11/message.php (copied) (copied from zmanim-widget/trunk/message.php)
-
tags/1.11/readme.txt (copied) (copied from zmanim-widget/trunk/readme.txt) (2 diffs)
-
tags/1.11/weeklytorah.php (copied) (copied from zmanim-widget/trunk/weeklytorah.php)
-
tags/1.11/zmanim-widget.php (copied) (copied from zmanim-widget/trunk/zmanim-widget.php) (1 diff)
-
trunk/config_admin.php (modified) (1 diff)
-
trunk/hdate/today.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/zmanim-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zmanim-widget/tags/1.11/config_admin.php
r381096 r381586 176 176 <option value="plag_hamincha" <?if (in_array("plag_hamincha",$zmanim_hide_exclude)) print 'selected="selected"';?>>Plag HaMincha</option> 177 177 <option value="shkiah" <?if (in_array("shkiah",$zmanim_hide_exclude)) print 'selected="selected"';?>>Shkiah</option> 178 <option value="tzet_hokohavim" <?if (in_array("tzet_hokohavim",$zmanim_hide_exclude)) print 'selected="selected"';?>>Tzet haKochavim</option> 178 179 </select> 179 180 </div> -
zmanim-widget/tags/1.11/hdate/today.php
r381096 r381586 162 162 if ($hebrew) print ' :'.translate_z('Shkiah',"hebrew"); 163 163 print '</li>'; 164 if ($data['zman_shabend'] == "min45") 165 { 166 $zenith = 90+50/60; 167 $diff_min=45; 168 }else{ 169 $zenith = 98+50/60; 170 $diff_min=0; 171 } 172 173 $resultStr_end = date_sunset($ts_zero, SUNFUNCS_RET_STRING, $shlat, $shlong, $zenith, $shoffset); 174 list($resultHour_end, $resultMin_end) = split(':', $resultStr_end); 175 $resultMin_end += $diff_min; 176 177 while ($resultMin_end >= 60) { 178 $resultMin_end -= 60; 179 $resultHour_end++; 180 } 181 182 if ($resultHour_end > 23) 183 { 184 $resultHour_end -= 24; 185 $ts_zero += (60 * 60 * 24); 186 } 187 $ts_end_shabat = mktime($resultHour_end, $resultMin_end, 0 ,date("n",$ts_zero), date("j",$ts_zero),date("Y",$ts_zero)); 188 $time_2 = date($time_format, $ts_end_shabat); 189 print '<li id="tzet_hokohavim">'.__("Tzet haKochavim","zmanim").': '.$time_2; //$sunsetStr_t; 190 //if ($hebrew) print ' :'.translate_z('Shkiah',"hebrew"); 191 print '</li>'; 164 192 echo "</ul>\n"; 165 193 if (isset($data['zman_hide']) && $data['zman_hide-button']!="one") { -
zmanim-widget/tags/1.11/readme.txt
r381096 r381586 4 4 Requires at least: 2.7 5 5 Tested up from : 3.0 6 Stable tag: 1.1 06 Stable tag: 1.11 7 7 8 8 Displays Jewish calendar information in a widget. … … 24 24 25 25 == Changelog == 26 = 1.11 = 27 - added Tzet haKochavim to zmanim. Value depends on Shabat end setting. 26 28 = 1.10 = 27 29 - add possibility to hide zmanim -
zmanim-widget/tags/1.11/zmanim-widget.php
r381096 r381586 4 4 Plugin URI: http://kosherdev.com/category/zmanim-widget/ 5 5 Description: Allows to turn off the Wordpress site, while Shabat of High Holidays are going on in your area. 6 Version: 1.1 06 Version: 1.11 7 7 Author: Misha Beshkin 8 8 Author URI: http://misha.beshkin.lv/ -
zmanim-widget/trunk/config_admin.php
r381096 r381586 176 176 <option value="plag_hamincha" <?if (in_array("plag_hamincha",$zmanim_hide_exclude)) print 'selected="selected"';?>>Plag HaMincha</option> 177 177 <option value="shkiah" <?if (in_array("shkiah",$zmanim_hide_exclude)) print 'selected="selected"';?>>Shkiah</option> 178 <option value="tzet_hokohavim" <?if (in_array("tzet_hokohavim",$zmanim_hide_exclude)) print 'selected="selected"';?>>Tzet haKochavim</option> 178 179 </select> 179 180 </div> -
zmanim-widget/trunk/hdate/today.php
r381096 r381586 162 162 if ($hebrew) print ' :'.translate_z('Shkiah',"hebrew"); 163 163 print '</li>'; 164 if ($data['zman_shabend'] == "min45") 165 { 166 $zenith = 90+50/60; 167 $diff_min=45; 168 }else{ 169 $zenith = 98+50/60; 170 $diff_min=0; 171 } 172 173 $resultStr_end = date_sunset($ts_zero, SUNFUNCS_RET_STRING, $shlat, $shlong, $zenith, $shoffset); 174 list($resultHour_end, $resultMin_end) = split(':', $resultStr_end); 175 $resultMin_end += $diff_min; 176 177 while ($resultMin_end >= 60) { 178 $resultMin_end -= 60; 179 $resultHour_end++; 180 } 181 182 if ($resultHour_end > 23) 183 { 184 $resultHour_end -= 24; 185 $ts_zero += (60 * 60 * 24); 186 } 187 $ts_end_shabat = mktime($resultHour_end, $resultMin_end, 0 ,date("n",$ts_zero), date("j",$ts_zero),date("Y",$ts_zero)); 188 $time_2 = date($time_format, $ts_end_shabat); 189 print '<li id="tzet_hokohavim">'.__("Tzet haKochavim","zmanim").': '.$time_2; //$sunsetStr_t; 190 //if ($hebrew) print ' :'.translate_z('Shkiah',"hebrew"); 191 print '</li>'; 164 192 echo "</ul>\n"; 165 193 if (isset($data['zman_hide']) && $data['zman_hide-button']!="one") { -
zmanim-widget/trunk/readme.txt
r381096 r381586 4 4 Requires at least: 2.7 5 5 Tested up from : 3.0 6 Stable tag: 1.1 06 Stable tag: 1.11 7 7 8 8 Displays Jewish calendar information in a widget. … … 24 24 25 25 == Changelog == 26 = 1.11 = 27 - added Tzet haKochavim to zmanim. Value depends on Shabat end setting. 26 28 = 1.10 = 27 29 - add possibility to hide zmanim -
zmanim-widget/trunk/zmanim-widget.php
r381096 r381586 4 4 Plugin URI: http://kosherdev.com/category/zmanim-widget/ 5 5 Description: Allows to turn off the Wordpress site, while Shabat of High Holidays are going on in your area. 6 Version: 1.1 06 Version: 1.11 7 7 Author: Misha Beshkin 8 8 Author URI: http://misha.beshkin.lv/
Note: See TracChangeset
for help on using the changeset viewer.