Plugin Directory

Changeset 228307


Ignore:
Timestamp:
04/13/2010 09:19:28 AM (16 years ago)
Author:
beshkin
Message:

tagging version 0.10.4

Location:
zmanim-widget
Files:
6 edited
24 copied

Legend:

Unmodified
Added
Removed
  • zmanim-widget/tags/0.10.4/config.php

    r222263 r228307  
    3333    $data[preg_replace('/zmanim_widget_/','',$opt)] = attribute_escape($val);
    3434  }
    35     if ($_POST['zmanim_widget_dst']=='') $data['dst'] = "false";
     35//  if (!$_POST['zmanim_widget_dst']) $data['dst'] = "false";
    3636    update_option('zmanim_widget', $data);
    3737?>
  • zmanim-widget/tags/0.10.4/functions.php

    r222263 r228307  
    4242{
    4343        $in_dst="true";
    44         if($sunday_month=="4") //IS IT APRIL?
     44        /*if($sunday_month=="4") //IS IT APRIL?
    4545        {
    4646                if ($sunday<=7) //IS IT THE FIRST SUN OF THE MONTH?
     
    5252
    5353        }
    54     elseif($sunday_month=="3") //IS IT MARCH?
     54    else*/ if($sunday_month=="3") //IS IT MARCH?
    5555    {
    5656        if ($sunday>=25 ) //IS IT THE LAST SUN OF THE MONTH?
  • zmanim-widget/tags/0.10.4/hdate/today.php

    r227829 r228307  
    2525echo '<ul><li><b>'.__("Zmanim","zmanim").'</b></li><li>';
    2626echo '<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";
     28if ( $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}
     40print '<li>'.translate_z('Alot_HaShachar',$data['accent']).': '.$time_2.'</li>';
    2841print '<li>'.translate_z('Netz',$data['accent']).': '.$sunriseStr_t.'</li>';
    2942print '<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  
    2626//timestamp according to UTC offset
    2727if (dstWindow($ts)=="true" ){
    28         if ($data['dst'] == true)
     28        if ($data['dst'] == "true")
    2929        $shoffset++;
    3030}
  • zmanim-widget/tags/0.10.4/readme.txt

    r227829 r228307  
    44Requires at least: 2.7
    55Tested up from : 2.9
    6 Stable tag: 0.10.3
     6Stable tag: 0.10.4
    77
    88Displays Jewish calendar information in a widget.
     
    2424
    2525== Changelog ==
     26= 0.10.4 =
     27- fixed not counting DST difference.
    2628= 0.10.3 =
    2729- 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  
    44 Plugin URI: http://kosherdev.com/category/zmanim-widget/
    55 Description: Allows to turn off the Wordpress site, while Shabat of High Holidays are going on in your area.
    6  Version: 0.10.3
     6 Version: 0.10.4
    77 Author: Misha Beshkin
    88 Author URI: http://kosherdev.com/
  • zmanim-widget/trunk/config.php

    r222263 r228307  
    3333    $data[preg_replace('/zmanim_widget_/','',$opt)] = attribute_escape($val);
    3434  }
    35     if ($_POST['zmanim_widget_dst']=='') $data['dst'] = "false";
     35//  if (!$_POST['zmanim_widget_dst']) $data['dst'] = "false";
    3636    update_option('zmanim_widget', $data);
    3737?>
  • zmanim-widget/trunk/functions.php

    r222263 r228307  
    4242{
    4343        $in_dst="true";
    44         if($sunday_month=="4") //IS IT APRIL?
     44        /*if($sunday_month=="4") //IS IT APRIL?
    4545        {
    4646                if ($sunday<=7) //IS IT THE FIRST SUN OF THE MONTH?
     
    5252
    5353        }
    54     elseif($sunday_month=="3") //IS IT MARCH?
     54    else*/ if($sunday_month=="3") //IS IT MARCH?
    5555    {
    5656        if ($sunday>=25 ) //IS IT THE LAST SUN OF THE MONTH?
  • zmanim-widget/trunk/hdate/today.php

    r227829 r228307  
    2525echo '<ul><li><b>'.__("Zmanim","zmanim").'</b></li><li>';
    2626echo '<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";
     28if ( $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}
     40print '<li>'.translate_z('Alot_HaShachar',$data['accent']).': '.$time_2.'</li>';
    2841print '<li>'.translate_z('Netz',$data['accent']).': '.$sunriseStr_t.'</li>';
    2942print '<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  
    2626//timestamp according to UTC offset
    2727if (dstWindow($ts)=="true" ){
    28         if ($data['dst'] == true)
     28        if ($data['dst'] == "true")
    2929        $shoffset++;
    3030}
  • zmanim-widget/trunk/readme.txt

    r227829 r228307  
    44Requires at least: 2.7
    55Tested up from : 2.9
    6 Stable tag: 0.10.3
     6Stable tag: 0.10.4
    77
    88Displays Jewish calendar information in a widget.
     
    2424
    2525== Changelog ==
     26= 0.10.4 =
     27- fixed not counting DST difference.
    2628= 0.10.3 =
    2729- 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  
    44 Plugin URI: http://kosherdev.com/category/zmanim-widget/
    55 Description: Allows to turn off the Wordpress site, while Shabat of High Holidays are going on in your area.
    6  Version: 0.10.3
     6 Version: 0.10.4
    77 Author: Misha Beshkin
    88 Author URI: http://kosherdev.com/
Note: See TracChangeset for help on using the changeset viewer.