Changeset 228307
- Timestamp:
- 04/13/2010 09:19:28 AM (16 years ago)
- Location:
- zmanim-widget
- Files:
-
- 6 edited
- 24 copied
-
tags/0.10.4 (copied) (copied from zmanim-widget/trunk)
-
tags/0.10.4/config.php (copied) (copied from zmanim-widget/trunk/config.php) (1 diff)
-
tags/0.10.4/countomer.php (copied) (copied from zmanim-widget/trunk/countomer.php)
-
tags/0.10.4/dictionary (copied) (copied from zmanim-widget/trunk/dictionary)
-
tags/0.10.4/dictionary/ashkenaz.php (copied) (copied from zmanim-widget/trunk/dictionary/ashkenaz.php)
-
tags/0.10.4/dictionary/fullkriyah.csv (copied) (copied from zmanim-widget/trunk/dictionary/fullkriyah.csv)
-
tags/0.10.4/dictionary/sephard.php (copied) (copied from zmanim-widget/trunk/dictionary/sephard.php)
-
tags/0.10.4/functions.php (copied) (copied from zmanim-widget/trunk/functions.php) (2 diffs)
-
tags/0.10.4/hdate (copied) (copied from zmanim-widget/trunk/hdate)
-
tags/0.10.4/hdate/hdate.php (copied) (copied from zmanim-widget/trunk/hdate/hdate.php)
-
tags/0.10.4/hdate/hebrewdate.inc (copied) (copied from zmanim-widget/trunk/hdate/hebrewdate.inc)
-
tags/0.10.4/hdate/hol.php (copied) (copied from zmanim-widget/trunk/hdate/hol.php)
-
tags/0.10.4/hdate/holidays.inc (copied) (copied from zmanim-widget/trunk/hdate/holidays.inc)
-
tags/0.10.4/hdate/holidays.php (copied) (copied from zmanim-widget/trunk/hdate/holidays.php)
-
tags/0.10.4/hdate/today.php (copied) (copied from zmanim-widget/trunk/hdate/today.php) (1 diff)
-
tags/0.10.4/img (copied) (copied from zmanim-widget/trunk/img)
-
tags/0.10.4/lib (copied) (copied from zmanim-widget/trunk/lib)
-
tags/0.10.4/localization (copied) (copied from zmanim-widget/trunk/localization)
-
tags/0.10.4/localization/zmanim-ru_RU.mo (copied) (copied from zmanim-widget/trunk/localization/zmanim-ru_RU.mo)
-
tags/0.10.4/localization/zmanim-ru_RU.po (copied) (copied from zmanim-widget/trunk/localization/zmanim-ru_RU.po)
-
tags/0.10.4/message.php (copied) (copied from zmanim-widget/trunk/message.php) (1 diff)
-
tags/0.10.4/readme.txt (copied) (copied from zmanim-widget/trunk/readme.txt) (2 diffs)
-
tags/0.10.4/weeklytorah.php (copied) (copied from zmanim-widget/trunk/weeklytorah.php)
-
tags/0.10.4/zmanim-widget.php (copied) (copied from zmanim-widget/trunk/zmanim-widget.php) (1 diff)
-
trunk/config.php (modified) (1 diff)
-
trunk/functions.php (modified) (2 diffs)
-
trunk/hdate/today.php (modified) (1 diff)
-
trunk/message.php (modified) (1 diff)
-
trunk/readme.txt (modified) (2 diffs)
-
trunk/zmanim-widget.php (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
zmanim-widget/tags/0.10.4/config.php
r222263 r228307 33 33 $data[preg_replace('/zmanim_widget_/','',$opt)] = attribute_escape($val); 34 34 } 35 if ($_POST['zmanim_widget_dst']=='') $data['dst'] = "false";35 // if (!$_POST['zmanim_widget_dst']) $data['dst'] = "false"; 36 36 update_option('zmanim_widget', $data); 37 37 ?> -
zmanim-widget/tags/0.10.4/functions.php
r222263 r228307 42 42 { 43 43 $in_dst="true"; 44 if($sunday_month=="4") //IS IT APRIL?44 /*if($sunday_month=="4") //IS IT APRIL? 45 45 { 46 46 if ($sunday<=7) //IS IT THE FIRST SUN OF THE MONTH? … … 52 52 53 53 } 54 else if($sunday_month=="3") //IS IT MARCH?54 else*/ if($sunday_month=="3") //IS IT MARCH? 55 55 { 56 56 if ($sunday>=25 ) //IS IT THE LAST SUN OF THE MONTH? -
zmanim-widget/tags/0.10.4/hdate/today.php
r227829 r228307 25 25 echo '<ul><li><b>'.__("Zmanim","zmanim").'</b></li><li>'; 26 26 echo '<ul>'; 27 print '<li>'.translate_z('Alot_HaShachar',$data['accent']).': '.date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+16.1, $shoffset).'</li>'; 27 //$zman="72"; 28 if ( $zman == "72" ) { 29 list($hour,$min) = explode(':',$sunriseStr_t); 30 $hour--; 31 $min -= 12; 32 if ($min <0) { 33 $hour--; 34 $min += 60; 35 } 36 $time_2 = $hour.':'.$min; 37 }else{ 38 $time_2 = date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+16.1, $shoffset); 39 } 40 print '<li>'.translate_z('Alot_HaShachar',$data['accent']).': '.$time_2.'</li>'; 28 41 print '<li>'.translate_z('Netz',$data['accent']).': '.$sunriseStr_t.'</li>'; 29 42 print '<li>'.__("Earliest","zmanim").' '.translate_z('Tallit',$data['accent']).': '.date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+11, $shoffset).'</li>'; -
zmanim-widget/tags/0.10.4/message.php
r227829 r228307 26 26 //timestamp according to UTC offset 27 27 if (dstWindow($ts)=="true" ){ 28 if ($data['dst'] == true)28 if ($data['dst'] == "true") 29 29 $shoffset++; 30 30 } -
zmanim-widget/tags/0.10.4/readme.txt
r227829 r228307 4 4 Requires at least: 2.7 5 5 Tested up from : 2.9 6 Stable tag: 0.10. 36 Stable tag: 0.10.4 7 7 8 8 Displays Jewish calendar information in a widget. … … 24 24 25 25 == Changelog == 26 = 0.10.4 = 27 - fixed not counting DST difference. 26 28 = 0.10.3 = 27 29 - fixed Upcoming date display feature. Now in case today is a holliday, then next holliday will be displayed. -
zmanim-widget/tags/0.10.4/zmanim-widget.php
r227829 r228307 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: 0.10. 36 Version: 0.10.4 7 7 Author: Misha Beshkin 8 8 Author URI: http://kosherdev.com/ -
zmanim-widget/trunk/config.php
r222263 r228307 33 33 $data[preg_replace('/zmanim_widget_/','',$opt)] = attribute_escape($val); 34 34 } 35 if ($_POST['zmanim_widget_dst']=='') $data['dst'] = "false";35 // if (!$_POST['zmanim_widget_dst']) $data['dst'] = "false"; 36 36 update_option('zmanim_widget', $data); 37 37 ?> -
zmanim-widget/trunk/functions.php
r222263 r228307 42 42 { 43 43 $in_dst="true"; 44 if($sunday_month=="4") //IS IT APRIL?44 /*if($sunday_month=="4") //IS IT APRIL? 45 45 { 46 46 if ($sunday<=7) //IS IT THE FIRST SUN OF THE MONTH? … … 52 52 53 53 } 54 else if($sunday_month=="3") //IS IT MARCH?54 else*/ if($sunday_month=="3") //IS IT MARCH? 55 55 { 56 56 if ($sunday>=25 ) //IS IT THE LAST SUN OF THE MONTH? -
zmanim-widget/trunk/hdate/today.php
r227829 r228307 25 25 echo '<ul><li><b>'.__("Zmanim","zmanim").'</b></li><li>'; 26 26 echo '<ul>'; 27 print '<li>'.translate_z('Alot_HaShachar',$data['accent']).': '.date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+16.1, $shoffset).'</li>'; 27 //$zman="72"; 28 if ( $zman == "72" ) { 29 list($hour,$min) = explode(':',$sunriseStr_t); 30 $hour--; 31 $min -= 12; 32 if ($min <0) { 33 $hour--; 34 $min += 60; 35 } 36 $time_2 = $hour.':'.$min; 37 }else{ 38 $time_2 = date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+16.1, $shoffset); 39 } 40 print '<li>'.translate_z('Alot_HaShachar',$data['accent']).': '.$time_2.'</li>'; 28 41 print '<li>'.translate_z('Netz',$data['accent']).': '.$sunriseStr_t.'</li>'; 29 42 print '<li>'.__("Earliest","zmanim").' '.translate_z('Tallit',$data['accent']).': '.date_sunrise($ts_t, SUNFUNCS_RET_STRING, $shlat, $shlong, 90+11, $shoffset).'</li>'; -
zmanim-widget/trunk/message.php
r227829 r228307 26 26 //timestamp according to UTC offset 27 27 if (dstWindow($ts)=="true" ){ 28 if ($data['dst'] == true)28 if ($data['dst'] == "true") 29 29 $shoffset++; 30 30 } -
zmanim-widget/trunk/readme.txt
r227829 r228307 4 4 Requires at least: 2.7 5 5 Tested up from : 2.9 6 Stable tag: 0.10. 36 Stable tag: 0.10.4 7 7 8 8 Displays Jewish calendar information in a widget. … … 24 24 25 25 == Changelog == 26 = 0.10.4 = 27 - fixed not counting DST difference. 26 28 = 0.10.3 = 27 29 - fixed Upcoming date display feature. Now in case today is a holliday, then next holliday will be displayed. -
zmanim-widget/trunk/zmanim-widget.php
r227829 r228307 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: 0.10. 36 Version: 0.10.4 7 7 Author: Misha Beshkin 8 8 Author URI: http://kosherdev.com/
Note: See TracChangeset
for help on using the changeset viewer.