phphtmllib-devel Mailing List for phpHtmlLib (Page 15)
Status: Beta
Brought to you by:
hemna
You can subscribe to this list here.
2002 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
(33) |
Jul
(2) |
Aug
(3) |
Sep
|
Oct
(2) |
Nov
(1) |
Dec
|
---|---|---|---|---|---|---|---|---|---|---|---|---|
2003 |
Jan
|
Feb
|
Mar
(4) |
Apr
|
May
(3) |
Jun
(1) |
Jul
(10) |
Aug
(5) |
Sep
|
Oct
|
Nov
(2) |
Dec
(5) |
2004 |
Jan
(1) |
Feb
(8) |
Mar
(139) |
Apr
(65) |
May
(32) |
Jun
(55) |
Jul
(21) |
Aug
(60) |
Sep
(43) |
Oct
(1) |
Nov
(18) |
Dec
(34) |
2005 |
Jan
(25) |
Feb
(2) |
Mar
(49) |
Apr
(13) |
May
(40) |
Jun
(22) |
Jul
(21) |
Aug
(59) |
Sep
(178) |
Oct
(54) |
Nov
(3) |
Dec
(49) |
2006 |
Jan
(21) |
Feb
(1) |
Mar
(5) |
Apr
(29) |
May
(86) |
Jun
(79) |
Jul
(52) |
Aug
(127) |
Sep
(187) |
Oct
(90) |
Nov
(61) |
Dec
(48) |
2007 |
Jan
(79) |
Feb
(136) |
Mar
(58) |
Apr
(139) |
May
(293) |
Jun
(112) |
Jul
(138) |
Aug
(112) |
Sep
(148) |
Oct
(76) |
Nov
(29) |
Dec
(66) |
2008 |
Jan
(45) |
Feb
(60) |
Mar
(119) |
Apr
(169) |
May
(172) |
Jun
(136) |
Jul
(107) |
Aug
(114) |
Sep
(104) |
Oct
(26) |
Nov
(50) |
Dec
(48) |
2009 |
Jan
(9) |
Feb
(35) |
Mar
(22) |
Apr
(43) |
May
(83) |
Jun
(68) |
Jul
(58) |
Aug
(21) |
Sep
(23) |
Oct
(62) |
Nov
(36) |
Dec
(26) |
2010 |
Jan
(16) |
Feb
(83) |
Mar
(73) |
Apr
(51) |
May
(76) |
Jun
(96) |
Jul
(70) |
Aug
(33) |
Sep
(10) |
Oct
(1) |
Nov
(2) |
Dec
|
2011 |
Jan
(4) |
Feb
(1) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
|
Dec
|
2012 |
Jan
|
Feb
(1) |
Mar
(12) |
Apr
|
May
(1) |
Jun
(2) |
Jul
|
Aug
(3) |
Sep
(3) |
Oct
|
Nov
|
Dec
|
2013 |
Jan
|
Feb
(3) |
Mar
|
Apr
(1) |
May
|
Jun
(1) |
Jul
(1) |
Aug
|
Sep
(5) |
Oct
(1) |
Nov
|
Dec
(1) |
2014 |
Jan
(2) |
Feb
(1) |
Mar
|
Apr
(2) |
May
(1) |
Jun
|
Jul
(1) |
Aug
(2) |
Sep
(2) |
Oct
(2) |
Nov
(3) |
Dec
|
2015 |
Jan
(1) |
Feb
(1) |
Mar
(2) |
Apr
(1) |
May
(2) |
Jun
(2) |
Jul
|
Aug
(1) |
Sep
(1) |
Oct
|
Nov
|
Dec
|
2016 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(1) |
Jun
|
Jul
(1) |
Aug
(1) |
Sep
|
Oct
(1) |
Nov
|
Dec
|
2017 |
Jan
|
Feb
|
Mar
(1) |
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <he...@us...> - 2009-01-26 04:19:04
|
Revision: 3206 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3206&view=rev Author: hemna Date: 2009-01-26 04:19:01 +0000 (Mon, 26 Jan 2009) Log Message: ----------- missing , Modified Paths: -------------- trunk/open2300/lib/core/page/open2300Page.inc Modified: trunk/open2300/lib/core/page/open2300Page.inc =================================================================== --- trunk/open2300/lib/core/page/open2300Page.inc 2009-01-26 04:16:39 UTC (rev 3205) +++ trunk/open2300/lib/core/page/open2300Page.inc 2009-01-26 04:19:01 UTC (rev 3206) @@ -212,10 +212,11 @@ $p->set_tag_attributes( array("align" => "center") ); $footer_div->add($p); + return Container::factory( - html_comment( "FOOTER BLOCK BEGIN") - $footer_div, - html_comment( "FOOTER BLOCK END")); + html_comment( "FOOTER BLOCK BEGIN"), + $footer_div, + html_comment( "FOOTER BLOCK END")); } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-01-26 04:16:43
|
Revision: 3205 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3205&view=rev Author: hemna Date: 2009-01-26 04:16:39 +0000 (Mon, 26 Jan 2009) Log Message: ----------- updates to the home ui Modified Paths: -------------- trunk/open2300/.project trunk/open2300/htdocs/css/main.css trunk/open2300/lib/core/page/open2300Page.inc trunk/open2300/lib/modules/home/page/HomePage.inc trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Added Paths: ----------- trunk/open2300/htdocs/images/top_banner.gif Modified: trunk/open2300/.project =================================================================== --- trunk/open2300/.project 2009-01-26 02:31:26 UTC (rev 3204) +++ trunk/open2300/.project 2009-01-26 04:16:39 UTC (rev 3205) @@ -1,22 +1,11 @@ <?xml version="1.0" encoding="UTF-8"?> <projectDescription> - <name>open2300</name> + <name>wx.hemna.com</name> <comment></comment> <projects> </projects> <buildSpec> - <buildCommand> - <name>org.eclipse.php.core.PhpIncrementalProjectBuilder</name> - <arguments> - </arguments> - </buildCommand> - <buildCommand> - <name>org.eclipse.wst.validation.validationbuilder</name> - <arguments> - </arguments> - </buildCommand> </buildSpec> <natures> - <nature>org.eclipse.php.core.PHPNature</nature> </natures> </projectDescription> Modified: trunk/open2300/htdocs/css/main.css =================================================================== --- trunk/open2300/htdocs/css/main.css 2009-01-26 02:31:26 UTC (rev 3204) +++ trunk/open2300/htdocs/css/main.css 2009-01-26 04:16:39 UTC (rev 3205) @@ -1,6 +1,6 @@ body { margin: 0px 0px 0px 0px; - font-size: 12px; + font-size: 12pt; font-family: Verdana, Trebuchet, Helvetica, Sans-Serif; font-weight: normal; font-style: normal; @@ -11,59 +11,40 @@ #phphtmllib { font-family: arial, helvetica; - font-size: 10pt; + font-size: .6em; } -#headerLeft { +#pageheader { background-color: #AFB5FF; - width: 220px; - height: 50px; -} - -#headerRight { - background-color: #AFB5FF; - height: 50px; - width: 560px; -} - -.pageheader { - background-color: #AFB5FF; width: 100%; - height:52px; - padding-top: 2px; + height:150px; + background-image: url('/images/top_banner.gif'); + background-position: top left; } -.navheader { - background-color: #AFB5FF; - width: 100%; - height:19px; - padding-top: 2px; -} +#idPageHeadText { + width: 100%; + text-align:center; + font-size:1.4em; + font-weight:bold; + padding-top:8px; +} -.subheader { - background-color: #5969FF; - width: 100%; - border-top: 2px solid #999999; - border-bottom: 2px solid #999999; -} - #maincontent { background-color:#ffffff; - width:100%; + width:100%; } .leftblock { width: 180px; - padding-top: 10px; - - background-color: #eeeeee; + padding:20px; vertical-align: top; } .rightblock { width: 100%; - padding: 20px 20px 0px 20px; + padding:20px; vertical-align: top; } @@ -71,192 +52,23 @@ width: 100%; } - -#idLeftContent { - position: absolute; - top:80px; - left:20px - width:220px; - padding-left:0px; - vertical-align:top; -} - -#idRightContent { - position:absolute; - top:80px; - left: 220px; - margin-left: 200px; - vertical-align:top; -} - -.headsubtitle { - font-size: 10pt; - font-weight: bold; - background-color: #5969FF; - color: #FFFFFF; - width: 100%; - padding-top: 5px; - padding-bottom: 5px; -} - -#subheadleft { - background-color: #5969FF; - padding: 5px 0px 0px 5px; - margin-bottom: 5px; -} -#subheadright { - background-color: #5969FF; - padding: 5px 5px 0px 0px; - margin-bottom: 5px; -} - -.headseperator { - font-size: 1px; - line-height: 1px; - background-color: #999999; - width: 100%; -} - - - -TD.divider { - width: 1px; - font-size: 1px; - line-height: 1px; - border-left: 1px dashed #999999; -} - - -.infoboxBar { - font-size: 1px; - height: 12px; - background-color: #000000; - margin-bottom: 3px; -} - - -.newsheader { - background-color: #f1f1f1; - padding: 5px 5px 5px 5px; - margin: 0px -5px 0px -5px; - height: 15px; -} - -.infoboxHeader { - font: 10px Verdana; - color: #fff; - margin-left: 5px; -} - -.infoboxitem { - font-size: 10px; - line-height: 20px; -} - -.infoboxbody { - border: 1px solid #c0c0c0; - padding: 5px 5px 5px 5px; -} - -.outline { - border: 1px solid #c0c0c0; -} - -.quotebox { - margin: 0px 10px 0px 5px; - line-height: 16px; - padding: 15px; - text-align: justify; - background-color: #fffdf1; - border: 1px dashed #000000; -} - -.codebox { - font-size: 12px; - line-height: 16px; - font-weight: normal; - font-style: normal; - color: #000000; - text-align: left; - margin: 0px 10px 0px 5px; - padding: 15px; - background-color: #f1f1f1; -} - -.threadmap { - font-size: 11px; - line-height: 20px; - /* font-size: 11px; - line-height: 20px; */ -} - - -.articleinfo { - height:100px; - font-size: 10px; -} - -.required { - color: #CC0000; -} - - -.toolbar-button { - background-color: #F1F1F1; - border: 1px solid buttonface; - margin: 1px; -} - -.toolbar-raised { - border-top: 1px solid buttonhighlight; - border-left: 1px solid buttonhighlight; - border-bottom: 1px solid buttonshadow; - border-right: 1px solid buttonshadow; - background-color: #F1F1F1; - margin: 1px; -} - -.toolbar-pressed { - border-top: 1px solid buttonshadow; - border-left: 1px solid buttonshadow; - border-bottom: 1px solid buttonhighlight; - border-right: 1px solid buttonhighlight; - background-color: #F1F1F1; - margin: 1px; -} - -.ulist { - font-size: 10pt; - line-height: 12pt; -} - - -.h1 { - font-family: arial; - font-size: 1.5em; - font-weight: bold; - color: #999999; -} - -.h2 { - font-family: arial; - font-size: 1.2em; - font-weight: bold; - color: #000000; -} - .wx { padding:2px; background-color: #eeeeee; - border: 1px solid #aaaaaa; - + border: 1px solid #aaaaaa; } +#idCurrentConditions { + font-size: .6em; +} + #idCurrentConditionscontents{ border: 1px solid #000088; } #idCurrentConditionscontents .cctitle { + font-size: .8em; + font-weight:bold; background-color: #000088; color: #ffffff; padding:2px; @@ -280,7 +92,7 @@ .datalist_col_head { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; font-weight: bold; color: #000000; background-color: #eeeeee; @@ -299,14 +111,14 @@ .datalist_col_head a.head_link:active,a.head_link:visited,a.head_link:link { color: #000000; font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; font-weight: bold; text-decoration: none; } .datalist_col_head_hover { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; font-weight: bold; color: #000000; background-color: #4054AB; @@ -324,7 +136,7 @@ .datalist_col_head_clicked { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; font-weight: bold; color: #000000; background-color: #4054AB; @@ -346,7 +158,7 @@ .datalist_title { font-family: arial; - font-size: 10pt; + font-size: .8em; font-weight: bold; color: #ffffff; background-color: #000088; @@ -368,7 +180,7 @@ .datalist_search_block { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; padding-left: 5px; padding-bottom:6px; padding-right:40px; @@ -380,7 +192,7 @@ .datalist_data_cell { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; background-color: #ffffff; padding-left: 3px; padding-right: 3px; @@ -390,7 +202,7 @@ .datalist_data_cell_selected { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; background-color: #f7f7f7; padding-left: 3px; padding-right: 3px; @@ -399,7 +211,7 @@ .datalist_data_cell_odd { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; background-color: #fafafa; padding-left: 3px; padding-right: 3px; @@ -408,7 +220,7 @@ } .datalist_data_cell_odd_selected { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; background-color: #f7f7f7; padding-left: 3px; padding-right: 3px; @@ -422,7 +234,7 @@ .datalist_actionbar_data_cell { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; background: #efefef; padding-left: 3px; padding-right: 3px; @@ -448,5 +260,5 @@ .datalist_font8 { font-family: arial, helvetica, sans-serif; - font-size: 10pt; + font-size: .8em; } Added: trunk/open2300/htdocs/images/top_banner.gif =================================================================== (Binary files differ) Property changes on: trunk/open2300/htdocs/images/top_banner.gif ___________________________________________________________________ Added: svn:mime-type + application/octet-stream Modified: trunk/open2300/lib/core/page/open2300Page.inc =================================================================== --- trunk/open2300/lib/core/page/open2300Page.inc 2009-01-26 02:31:26 UTC (rev 3204) +++ trunk/open2300/lib/core/page/open2300Page.inc 2009-01-26 04:16:39 UTC (rev 3205) @@ -120,10 +120,9 @@ } protected function header_block() { - $header = DIVtag::factory(); - $header->set_class("pageheader"); + $header = new DIVtag(array('id' => 'pageheader')); - $header->add( new DIVtag(array('style' => 'text-align:center; size:12pt; font-weight:bold;padding-top:5px;'),"Hemna's Weather Station.") ); + $header->add( new DIVtag(array('id' => 'idPageHeadText'),"Hemna's Weather Station.") ); return $header; } @@ -140,11 +139,12 @@ $main->set_id("maincontent"); $table = TABLEtag::factory("100%", 0); - $left_div = DIVtag::factory("", $this->left_block() ); - $table->add_row( /*TDtag::factory("leftblock", "", $left_div ), - TDtag::factory("divider", "", " "),*/ + $table->add_row( TDtag::factory("leftblock", "", $this->left_block() ), TDtag::factory("rightblock", "", $this->content_block() )); + + $table->add_row(new TDtag(array("colspan"=> 2), + $this->footer_block())); $main->add( $table ); return $main; @@ -166,12 +166,6 @@ $this->add( html_comment( "MAIN BODY BLOCK BEGIN") ); $this->add( $this->main_block() ); $this->add( html_comment( "MAIN BODY BLOCK END") ); - - //add the footer area. - $this->add( html_comment( "FOOTER BLOCK BEGIN") ); - $this->add( $this->footer_block() ); - $this->add( html_comment( "FOOTER BLOCK END") ); - } /** @@ -218,7 +212,10 @@ $p->set_tag_attributes( array("align" => "center") ); $footer_div->add($p); - return $footer_div; + return Container::factory( + html_comment( "FOOTER BLOCK BEGIN") + $footer_div, + html_comment( "FOOTER BLOCK END")); } Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-01-26 02:31:26 UTC (rev 3204) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-01-26 04:16:39 UTC (rev 3205) @@ -11,14 +11,39 @@ class HomePage extends open2300Page { + private $wx = null; + function __construct() { parent::__construct('Hemna WX Station'); + $this->wx = weatherDataObject::find("1=1 order by datetime desc"); } public function request_vars() { return array(); } + + /** + * + */ + function left_block() { + + $container = Container::factory(); + $script = SCRIPTtag::factory(); + $script->add("Event.observe(window, 'load', start_updates);"); + + $container->add($script); + + $left_div = new DIVtag(array('id'=> '')); + + $left_div->add(new DIVtag(array('style' => "width: 320px;"),new CurrentConditions($this->wx))); + $left_div->add(BRtag::factory(2)); + $left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); + + $container->add($left_div); + + return $container; + } /** @@ -27,21 +52,9 @@ * * @param Container object */ - function content_block() { - - $container = Container::factory(); - $container->add(' ', BRtag::factory(3)); - - $wx = weatherDataObject::find("1=1 order by datetime desc"); - - $left_div = new DIVtag(array('id'=> 'idLeftContent')); - - $left_div->add(new DIVtag(array('style' => "width: 320px;"),new CurrentConditions($wx))); - $left_div->add(BRtag::factory(2)); - $left_div->add('<object width="290" height="130"><param name="movie" value="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCASANJO77&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" /><param name="quality" value="high"><embed src="http://www.wunderground.com/swf/pws_mini_rf_nc.swf?station=KCACOOL3&camurl=http://icons.wunderground.com/webcamramdisk/h/e/hemna/1/current.jpg&freq=2.5&units=english&lang=EN" type="application/x-shockwave-flash" width="300" height="290" /></object>'); - + function content_block() { //add some graphs - $right_div = new DIVtag(array('id' => 'idRightContent')); + $right_div = new DIVtag(array('id' => '')); $img = IMGtag::factory(RequestBuilder::build_url('TempDewPointLineGraph')); $img->set_id('idTempDewLineGraph'); @@ -57,16 +70,9 @@ $rain_img = IMGtag::factory(RequestBuilder::build_url('RainLineGraph')); $rain_img->set_id('idRainLineGraph'); - $right_div->add(new DIVtag(array('id' => 'idRainLineGraphdiv', 'style'=> 'padding-top:10px;padding-bottom:10px;height:201px;'),$rain_img)); - - $container->add($left_div, $right_div); - - $script = SCRIPTtag::factory(); - $script->add("Event.observe(window, 'load', start_updates);"); - - $container->add($script); + $right_div->add(new DIVtag(array('id' => 'idRainLineGraphdiv', 'style'=> 'padding-top:10px;padding-bottom:10px;height:201px;'),$rain_img)); - return $container; + return $right_div; } } Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2009-01-26 02:31:26 UTC (rev 3204) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2009-01-26 04:16:39 UTC (rev 3205) @@ -38,7 +38,7 @@ } } - public function render($indent_level=0, $output_debug=0) { + public function render($indent_level=0, $output_debug=0) { $metar = $GLOBALS['config']->get('station_name'); @@ -49,12 +49,17 @@ $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); //if (class_exists("DateTime")) { - if ($GLOBALS['config']->get('has_date_time', FALSE)) { + if (FALSE && $GLOBALS['config']->get('has_date_time', FALSE)) { $cur_date = new DateTime($this->wx->get_datetime()); $cur_date->setTimezone(new DateTimeZone("UTC")); $metar .= " ".$cur_date->format("dHi")."Z"; } else { - $metar .= " 000000Z"; + //try using PEAR's Date object + include_once("Date.php"); + $cur_date = new Date($this->wx->get_datetime()); + + $cur_date->convertTZByID("GMT"); + $metar .= " ".$cur_date->format("%d%H%M")."Z"; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-01-26 02:31:29
|
Revision: 3204 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3204&view=rev Author: hemna Date: 2009-01-26 02:31:26 +0000 (Mon, 26 Jan 2009) Log Message: ----------- SVG fixes Modified Paths: -------------- trunk/phphtmllib/CHANGELOG Modified: trunk/phphtmllib/CHANGELOG =================================================================== --- trunk/phphtmllib/CHANGELOG 2008-11-21 18:29:55 UTC (rev 3203) +++ trunk/phphtmllib/CHANGELOG 2009-01-26 02:31:26 UTC (rev 3204) @@ -12,6 +12,7 @@ - fixed an issue in DBDataObjectTemplateGenerator that was trying to generate a get_id() method which is marked as final in the parent class. + Added DBDataObject Iterator support. + - Fixes to SVG classes to make them work in php5. version 3.0.2 - 03/18/08 - fixed a bug with RequestBuilder::get_url() when a RequestBuilder::set_file() was called. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Rhule W. <pho...@to...> - 2008-12-23 13:47:57
|
Catch your Christtmas present! http://cid-168d9c0c5360b4b4.spaces.live.com/blog/cns!168D9C0C5360B4B4!106.entry There was only one well of brackish water, and why, they were nothing but rabbits. It was pitiful line of the chin. her mouth and teeth weren't and indeed, it is the language most requisite should have been more cautious in 'that was the. |
From: Nesmith T. <reu...@da...> - 2008-12-14 08:25:03
|
Make your girlfriend happy. We know solution you are looking foor! http://cid-ff7cbafa2fae459c.spaces.live.com/blog/cns!FF7CBAFA2FAE459C!106.entry Always be shared with children and servants. 433. Would hide some unaccountable reluctance: yesi so would any man if he knew mrs. Howard. Howard? The nurse went out and dispersing the crowd brought open space laid out in walks, grass plats, ornamental. |
From: ecomVia G. S. <no-...@ec...> - 2008-12-12 11:45:46
|
Boost your sales & Start getting new buyers Sir / Madam, As we have been attracted to your site "phpHtmlLib", we are proud to bring you the option of unique kind of priceless online presentation for your company and your products, that will bring you new potential buyers of your products and multiple your sales. With ecomVia Global System you can: Represent your company Introduce the activities and production of your company in a very latest kind of online presentation, by providing all details and information. Allow potential buyers to get a complete outlook on your company by providing images from inside life, production, etc. Display all of your products Attract daily visitors and convert them to your new buyers. Just add the complete and detailed descriptions of all your products, add the detailed and inviting images and use the enhancements to stand out of products of other companies. Access up-to-date requests & offers Check out, what the others need. There’s a high possibility, that someone is looking for product, you are able to produce or supply. Obtaining a new order has never been easier – just few clicks away. Get contacted with inquiries from possible buyers Providing detailed information about your company and products supplemented with inviting images assures a high possibility of early contacting by new potential buyers. Find supplies & partners for your company Search in milions of suppliers and products and find what you are looking for. At slovak-products.com you are able to find anything you require for your production and even find new dealers and local distributors for your products. Ready yet to receive new orders? Go to http://www.ecomvia.info/registration to start now! Thanks and best regards, ecomVia Inc. SNP street 119, SK-90873 Velke Levare. Slovakia Tel.: +421-910-353111 |
From: <he...@us...> - 2008-11-21 18:30:04
|
Revision: 3203 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3203&view=rev Author: hemna Date: 2008-11-21 18:29:55 +0000 (Fri, 21 Nov 2008) Log Message: ----------- some php5 cleanup Modified Paths: -------------- trunk/phphtmllib/src/core/XMLTAGS.inc Modified: trunk/phphtmllib/src/core/XMLTAGS.inc =================================================================== --- trunk/phphtmllib/src/core/XMLTAGS.inc 2008-11-21 18:28:52 UTC (rev 3202) +++ trunk/phphtmllib/src/core/XMLTAGS.inc 2008-11-21 18:29:55 UTC (rev 3203) @@ -17,9 +17,9 @@ * @package phpHtmlLib */ class XMLtag extends XMLTagClass { - var $_tag = "xml"; - var $_tag_prefix = "<?"; - var $_tag_postfix = " ?>"; + protected $_tag = "xml"; + protected $_tag_prefix = "<?"; + protected $_tag_postfix = " ?>"; function __construct( $attributes=array() ) { parent::__construct( $this->_tag, $attributes); @@ -39,7 +39,7 @@ * @package phpHtmlLib */ class XMLSTYLESHEETtag extends XMLtag { - var $_tag = "xml-stylesheet"; + protected $_tag = "xml-stylesheet"; } // XMLSTYLESHEETtag @@ -49,9 +49,9 @@ * @package phpHtmlLib */ class CDATAtag extends XMLTagClass { - var $_tag = "CDATA["; - var $_tag_prefix = "<!["; - var $_tag_postfix = "]]>"; + protected $_tag = "CDATA["; + protected $_tag_prefix = "<!["; + protected $_tag_postfix = "]]>"; function __construct() { parent::__construct($this->_tag, array()); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-21 18:28:56
|
Revision: 3202 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3202&view=rev Author: hemna Date: 2008-11-21 18:28:52 +0000 (Fri, 21 Nov 2008) Log Message: ----------- some updates to SVG to bring it into the php5 world. Modified Paths: -------------- trunk/phphtmllib/src/svg/SVGTAGS.inc Modified: trunk/phphtmllib/src/svg/SVGTAGS.inc =================================================================== --- trunk/phphtmllib/src/svg/SVGTAGS.inc 2008-11-21 18:27:45 UTC (rev 3201) +++ trunk/phphtmllib/src/svg/SVGTAGS.inc 2008-11-21 18:28:52 UTC (rev 3202) @@ -30,13 +30,13 @@ * @param mixed - any N number of params for * content for the tag */ - function __construct( $attributes=array() ) { + public function __construct( $attributes=array() ) { $this->set_tag_attributes( $attributes ); $num_args = func_num_args(); for ($i=1;$i<$num_args;$i++) { $this->add(func_get_arg($i)); } - $this->_set_flags(); + //$this->_set_flags(); } /** @@ -51,7 +51,7 @@ * @param string - the class value. * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs */ - function set_id( $value ) { + public function set_id( $value ) { $this->set_tag_attribute("id", $value); } @@ -63,7 +63,7 @@ * @param string - the 'xml:base' attribute * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs */ - function set_xmlbase( $xmlbase ) { + public function set_xmlbase( $xmlbase ) { $this->set_tag_attribute( "xml:base", $xmlbase ); } @@ -79,7 +79,7 @@ * @param string - the 'xml:lang' attribute * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs */ - function set_xmllang( $xmllang ) { + public function set_xmllang( $xmllang ) { $this->set_tag_attribute( "xml:lang", $xmlbase ); } @@ -91,7 +91,7 @@ * @param string - the 'xml:space' attribute * @link http://www.w3.org/TR/SVG/struct.html#StdAttrs */ - function set_xmlspace( $xmlspace ) { + public function set_xmlspace( $xmlspace ) { $this->set_tag_attribute( "xml:space", $xmlbase ); } @@ -102,7 +102,7 @@ * * @param string - the class value. */ - function set_class( $value ) { + public function set_class( $value ) { $this->set_tag_attribute("class", $value); } @@ -113,7 +113,7 @@ * * @param string - the class value. */ - function set_style( $value ) { + public function set_style( $value ) { $this->set_tag_attribute("style", $value); } @@ -123,23 +123,9 @@ * * @param string - the 'transform' attribute */ - function set_transform( $value ) { + public function set_transform( $value ) { $this->set_tag_attribute("transform", $value ); } - - /** - * we override this method - * to automatically check to - * see if the tag has content. - * if it doesn't then we - * don't need to render the - * close tag. - */ - function _prepare_flags() { - if ($this->count_content() == 0) { - $this->_flags &= ~(phphtmllib::_CONTENTREQUIRED | phphtmllib::_CLOSETAGREQUIRED); - } - } } /** @@ -148,7 +134,7 @@ * @package phpHtmlLib */ class Asvgtag extends SVGTagClass { - var $_tag = "a"; + protected $_tag = "a"; } // Asvgtag /** @@ -157,7 +143,7 @@ * @package phpHtmlLib */ class ALTGLYGHsvgtag extends SVGTagClass { - var $_tag = "altGlyph"; + protected $_tag = "altGlyph"; } // ALTGLYGHsvgtag /** @@ -166,7 +152,7 @@ * @package phpHtmlLib */ class ALTGLYGHDEFsvgtag extends SVGTagClass { - var $_tag = "altGlyphDef"; + protected $_tag = "altGlyphDef"; } // ALTGLYGHDEFsvgtag /** @@ -175,7 +161,7 @@ * @package phpHtmlLib */ class ALTGLYGHITEMsvgtag extends SVGTagClass { - var $_tag = "altGlyphItem"; + protected $_tag = "altGlyphItem"; } // ALTGLYGHITEMsvgtag /** @@ -184,7 +170,7 @@ * @package phpHtmlLib */ class ANIMATEsvgtag extends SVGTagClass { - var $_tag = "animate"; + protected $_tag = "animate"; } // ANIMATEsvgtag /** @@ -193,7 +179,7 @@ * @package phpHtmlLib */ class ANIMATECOLORsvgtag extends SVGTagClass { - var $_tag = "animateColor"; + protected $_tag = "animateColor"; } // ANIMATECOLORsvgtag /** @@ -202,7 +188,7 @@ * @package phpHtmlLib */ class ANIMATEMOTIONsvgtag extends SVGTagClass { - var $_tag = "animateMotion"; + protected $_tag = "animateMotion"; } // ANIMATEMOTIONsvgtag /** @@ -211,7 +197,7 @@ * @package phpHtmlLib */ class ANIMATETTRANSFORMsvgtag extends SVGTagClass { - var $_tag = "animateTransform"; + protected $_tag = "animateTransform"; } // ANIMATETTRANSFORMsvgtag /** @@ -220,7 +206,7 @@ * @package phpHtmlLib */ class CIRCLEsvgtag extends SVGTagClass { - var $_tag = "circle"; + protected $_tag = "circle"; } // CIRCLEsvgtag /** @@ -229,7 +215,7 @@ * @package phpHtmlLib */ class CLIPPATHsvgtag extends SVGTagClass { - var $_tag = "clipPath"; + protected $_tag = "clipPath"; } // CLIPPATHsvgtag /** @@ -238,7 +224,7 @@ * @package phpHtmlLib */ class COLORPROFILEsvgtag extends SVGTagClass { - var $_tag = "color-profile"; + protected $_tag = "color-profile"; } // COLORPROFILEsvgtag /** @@ -247,7 +233,7 @@ * @package phpHtmlLib */ class CURSORsvgtag extends SVGTagClass { - var $_tag = "cursor"; + protected $_tag = "cursor"; } // CIRCLEsvgtag /** @@ -256,7 +242,7 @@ * @package phpHtmlLib */ class DEFSsvgtag extends SVGTagClass { - var $_tag = "defs"; + protected $_tag = "defs"; } // DEFSsvgtag /** @@ -265,7 +251,7 @@ * @package phpHtmlLib */ class DESCsvgtag extends SVGTagClass { - var $_tag = "desc"; + protected $_tag = "desc"; } // DESCsvgtag /** @@ -274,13 +260,8 @@ * @package phpHtmlLib */ class DEFINITIONSRCsvgtag extends SVGTagClass { - var $_tag = "definition-src"; + protected $_tag = "definition-src"; protected $_flags = phphtmllib::_FLAGS_XML_OPEN_ONLY; - - //function _set_flags() { - // parent::_set_flags(); - // $this->_flags &= ~(_CONTENTREQUIRED | _CLOSETAGREQUIRED); - //} } // DEFINITIONSRCsvgtag /** @@ -289,13 +270,8 @@ * @package phpHtmlLib */ class ELLIPSEsvgtag extends SVGTagClass { - var $_tag = "ellipse"; + protected $_tag = "ellipse"; protected $_flags = phphtmllib::_FLAGS_XML_OPEN_ONLY; - - //function _set_flags() { - // parent::_set_flags(); - // $this->_flags &= ~(_CONTENTREQUIRED | _CLOSETAGREQUIRED); - //} } // ELLIPSEsvgtag /** @@ -304,7 +280,7 @@ * @package phpHtmlLib */ class FEBLENDsvgtag extends SVGTagClass { - var $_tag = "feBlend"; + protected $_tag = "feBlend"; } // FEBLENDsvgtag /** @@ -313,7 +289,7 @@ * @package phpHtmlLib */ class FECOLORMATRIXsvgtag extends SVGTagClass { - var $_tag = "feColorMatrix"; + protected $_tag = "feColorMatrix"; } // FECOLORMATRIXsvgtag /** @@ -322,7 +298,7 @@ * @package phpHtmlLib */ class FECOMPONENTTANSFERsvgtag extends SVGTagClass { - var $_tag = "feComponentTransfer"; + protected $_tag = "feComponentTransfer"; } // FECOMPONENTTANSFERsvgtag /** @@ -331,7 +307,7 @@ * @package phpHtmlLib */ class FECOMPOSITEsvgtag extends SVGTagClass { - var $_tag = "feComposite"; + protected $_tag = "feComposite"; } // FECOMPOSITEsvgtag /** @@ -340,7 +316,7 @@ * @package phpHtmlLib */ class FECONVOLVEMATRIXsvgtag extends SVGTagClass { - var $_tag = "feConvolveMatrix"; + protected $_tag = "feConvolveMatrix"; } // FECONVOLVEMATRIXsvgtag /** @@ -349,7 +325,7 @@ * @package phpHtmlLib */ class FEDIFFUSELIGHTINGsvgtag extends SVGTagClass { - var $_tag = "feDiffuseLighting"; + protected $_tag = "feDiffuseLighting"; } // FEDIFFUSELIGHTINGsvgtag /** @@ -358,7 +334,7 @@ * @package phpHtmlLib */ class FEDISPLACEMENTMAPsvgtag extends SVGTagClass { - var $_tag = "feDisplacementMap"; + protected $_tag = "feDisplacementMap"; } // FEDISPLACEMENTMAPsvgtag /** @@ -367,7 +343,7 @@ * @package phpHtmlLib */ class FEDISTANTLIGHTsvgtag extends SVGTagClass { - var $_tag = "feDistantLight"; + protected $_tag = "feDistantLight"; } // FEDISTANTLIGHTsvgtag /** @@ -376,7 +352,7 @@ * @package phpHtmlLib */ class FEFLOODsvgtag extends SVGTagClass { - var $_tag = "feFlood"; + protected $_tag = "feFlood"; } // FEFLOODsvgtag /** @@ -385,7 +361,7 @@ * @package phpHtmlLib */ class FEFUNCAsvgtag extends SVGTagClass { - var $_tag = "feFuncA"; + protected $_tag = "feFuncA"; } // FEFUNCAsvgtag /** @@ -394,7 +370,7 @@ * @package phpHtmlLib */ class FEFUNCBsvgtag extends SVGTagClass { - var $_tag = "feFuncB"; + protected $_tag = "feFuncB"; } // FEFUNCBsvgtag /** @@ -403,7 +379,7 @@ * @package phpHtmlLib */ class FEFUNCGsvgtag extends SVGTagClass { - var $_tag = "feFuncG"; + protected $_tag = "feFuncG"; } // FEFUNCGsvgtag /** @@ -412,7 +388,7 @@ * @package phpHtmlLib */ class FEFUNCRsvgtag extends SVGTagClass { - var $_tag = "feFuncR"; + protected $_tag = "feFuncR"; } // FEFUNCRsvgtag /** @@ -421,7 +397,7 @@ * @package phpHtmlLib */ class FEGAUSSIANBLURsvgtag extends SVGTagClass { - var $_tag = "feGaussianBlur"; + protected $_tag = "feGaussianBlur"; } // FEGAUSSIANBLURsvgtag /** @@ -430,7 +406,7 @@ * @package phpHtmlLib */ class FEIMAGEsvgtag extends SVGTagClass { - var $_tag = "feImage"; + protected $_tag = "feImage"; } // FEIMAGEsvgtag /** @@ -439,7 +415,7 @@ * @package phpHtmlLib */ class FEMERGEsvgtag extends SVGTagClass { - var $_tag = "feMerge"; + protected $_tag = "feMerge"; } // FEMERGEsvgtag /** @@ -448,7 +424,7 @@ * @package phpHtmlLib */ class FEMERGENODEsvgtag extends SVGTagClass { - var $_tag = "feMergeNode"; + protected $_tag = "feMergeNode"; } // FEMERGENODEsvgtag /** @@ -457,7 +433,7 @@ * @package phpHtmlLib */ class FEMORPHOLOGYsvgtag extends SVGTagClass { - var $_tag = "feMorphology"; + protected $_tag = "feMorphology"; } // FEMORPHOLOGYsvgtag /** @@ -466,7 +442,7 @@ * @package phpHtmlLib */ class FEOFFSETsvgtag extends SVGTagClass { - var $_tag = "feOffset"; + protected $_tag = "feOffset"; } // FEOFFSETsvgtag /** @@ -475,7 +451,7 @@ * @package phpHtmlLib */ class FEPOINTLIGHTsvgtag extends SVGTagClass { - var $_tag = "fePointLight"; + protected $_tag = "fePointLight"; } // FEPOINTLIGHTsvgtag /** @@ -484,7 +460,7 @@ * @package phpHtmlLib */ class FESPECTACULARLIGHTINGsvgtag extends SVGTagClass { - var $_tag = "feSpecularLighting"; + protected $_tag = "feSpecularLighting"; } // FESPECTACULARLIGHTINGsvgtag /** @@ -493,7 +469,7 @@ * @package phpHtmlLib */ class FESPOTLIGHTsvgtag extends SVGTagClass { - var $_tag = "feSpotLight"; + protected $_tag = "feSpotLight"; } // FESPOTLIGHTsvgtag /** @@ -502,7 +478,7 @@ * @package phpHtmlLib */ class FETILEsvgtag extends SVGTagClass { - var $_tag = "feTile"; + protected $_tag = "feTile"; } // FETILEsvgtag /** @@ -511,7 +487,7 @@ * @package phpHtmlLib */ class FETURBULENCEsvgtag extends SVGTagClass { - var $_tag = "feTurbulence"; + protected $_tag = "feTurbulence"; } // FETURBULENCEsvgtag /** @@ -520,7 +496,7 @@ * @package phpHtmlLib */ class FILTERsvgtag extends SVGTagClass { - var $_tag = "filter"; + protected $_tag = "filter"; } // FILTERsvgtag /** @@ -529,7 +505,7 @@ * @package phpHtmlLib */ class FONTsvgtag extends SVGTagClass { - var $_tag = "font"; + protected $_tag = "font"; } // FONTsvgtag /** @@ -538,7 +514,7 @@ * @package phpHtmlLib */ class FONTFACEsvgtag extends SVGTagClass { - var $_tag = "font-face"; + protected $_tag = "font-face"; } // FONTFACEsvgtag /** @@ -547,13 +523,8 @@ * @package phpHtmlLib */ class FONTFACEFORMATsvgtag extends SVGTagClass { - var $_tag = "font-face-format"; + protected $_tag = "font-face-format"; protected $_flags = phphtmllib::_FLAGS_XML_OPEN_ONLY; - - //function _set_flags() { - // parent::_set_flags(); - // $this->_flags &= ~(_CONTENTREQUIRED | _CLOSETAGREQUIRED); - //} } // FONTFACEFORMATsvgtag /** @@ -562,13 +533,8 @@ * @package phpHtmlLib */ class FONTFACENAMEsvgtag extends SVGTagClass { - var $_tag = "font-face-name"; + protected $_tag = "font-face-name"; protected $_flags = phphtmllib::_FLAGS_XML_OPEN_ONLY; - - //function _set_flags() { - // parent::_set_flags(); - // $this->_flags &= ~(_CONTENTREQUIRED | _CLOSETAGREQUIRED); - //} } // FONTFACEFORMATsvgtag /** @@ -577,7 +543,7 @@ * @package phpHtmlLib */ class FONTFACESRCsvgtag extends SVGTagClass { - var $_tag = "font-face-src"; + protected $_tag = "font-face-src"; } // FONTFACESRCsvgtag /** @@ -586,7 +552,7 @@ * @package phpHtmlLib */ class FONTFACEURIsvgtag extends SVGTagClass { - var $_tag = "font-face-uri"; + protected $_tag = "font-face-uri"; } // FONTFACEURIsvgtag /** @@ -595,7 +561,7 @@ * @package phpHtmlLib */ class FOREIGNOBJECTsvgtag extends SVGTagClass { - var $_tag = "foreignObject"; + protected $_tag = "foreignObject"; } // FOREIGNOBJECTsvgtag /** @@ -604,7 +570,7 @@ * @package phpHtmlLib */ class Gsvgtag extends SVGTagClass { - var $_tag = "g"; + protected $_tag = "g"; } // Gsvgtag /** @@ -613,7 +579,7 @@ * @package phpHtmlLib */ class GLYPHsvgtag extends SVGTagClass { - var $_tag = "glyph"; + protected $_tag = "glyph"; } // GLYPHsvgtag /** @@ -622,7 +588,7 @@ * @package phpHtmlLib */ class GLYPHREFsvgtag extends SVGTagClass { - var $_tag = "glyphRef"; + protected $_tag = "glyphRef"; } // GLYPHREFsvgtag /** @@ -631,13 +597,8 @@ * @package phpHtmlLib */ class HKERNsvgtag extends SVGTagClass { - var $_tag = "hkern"; + protected $_tag = "hkern"; protected $_flags = phphtmllib::_FLAGS_XML_OPEN_ONLY; - - //function _set_flags() { - // parent::_set_flags(); - // $this->_flags &= ~(_CONTENTREQUIRED | _CLOSETAGREQUIRED); - //} } // HKERNsvgtag /** @@ -646,7 +607,7 @@ * @package phpHtmlLib */ class IMAGEsvgtag extends SVGTagClass { - var $_tag = "image"; + protected $_tag = "image"; } // IMAGEsvgtag /** @@ -655,7 +616,7 @@ * @package phpHtmlLib */ class LINEsvgtag extends SVGTagClass { - var $_tag = "line"; + protected $_tag = "line"; } // LINEsvgtag /** @@ -664,7 +625,7 @@ * @package phpHtmlLib */ class LINEARGRADIENTsvgtag extends SVGTagClass { - var $_tag = "linearGradient"; + protected $_tag = "linearGradient"; } // LINEARGRADIENTsvgtag /** @@ -673,7 +634,7 @@ * @package phpHtmlLib */ class MARKERsvgtag extends SVGTagClass { - var $_tag = "marker"; + protected $_tag = "marker"; } // MARKERsvgtag /** @@ -682,7 +643,7 @@ * @package phpHtmlLib */ class MASKsvgtag extends SVGTagClass { - var $_tag = "mask"; + protected $_tag = "mask"; } // MASKsvgtag /** @@ -691,7 +652,7 @@ * @package phpHtmlLib */ class METADATAsvgtag extends SVGTagClass { - var $_tag = "metadata"; + protected $_tag = "metadata"; } // METADATAsvgtag /** @@ -700,7 +661,7 @@ * @package phpHtmlLib */ class MISSINGGLYPHsvgtag extends SVGTagClass { - var $_tag = "missing-glyph"; + protected $_tag = "missing-glyph"; } // MISSINGGLYPHsvgtag /** @@ -709,7 +670,7 @@ * @package phpHtmlLib */ class MPATHsvgtag extends SVGTagClass { - var $_tag = "mpath"; + protected $_tag = "mpath"; } // MPATHsvgtag /** @@ -718,7 +679,7 @@ * @package phpHtmlLib */ class PATHsvgtag extends SVGTagClass { - var $_tag = "path"; + protected $_tag = "path"; } // PATHsvgtag /** @@ -727,7 +688,7 @@ * @package phpHtmlLib */ class PATTERNsvgtag extends SVGTagClass { - var $_tag = "pattern"; + protected $_tag = "pattern"; } // PATTERNsvgtag /** @@ -736,7 +697,7 @@ * @package phpHtmlLib */ class POLYGONsvgtag extends SVGTagClass { - var $_tag = "polygon"; + protected $_tag = "polygon"; } // POLYGONsvgtag /** @@ -745,7 +706,7 @@ * @package phpHtmlLib */ class POLYLINEsvgtag extends SVGTagClass { - var $_tag = "polyline"; + protected $_tag = "polyline"; } // POLYLINEsvgtag /** @@ -754,7 +715,7 @@ * @package phpHtmlLib */ class RADIALGRADIENTsvgtag extends SVGTagClass { - var $_tag = "radialGradient"; + protected $_tag = "radialGradient"; } // RADIALGRADIENTsvgtag /** @@ -763,7 +724,7 @@ * @package phpHtmlLib */ class RECTsvgtag extends SVGTagClass { - var $_tag = "rect"; + protected $_tag = "rect"; } // RECTsvgtag /** @@ -772,12 +733,15 @@ * @package phpHtmlLib */ class SCRIPTsvgtag extends SVGTagClass { - var $_tag = "script"; + protected $_tag = "script"; + protected $_flags = 2048; + + - function _set_flags() { + //protected function _set_flags() { // HTMLTagClass::_set_flags(); - $this->_flags |= _CDATACONTENTWRAP; - } + // $this->_flags |= _CDATACONTENTWRAP; + // } } // SCRIPTsvgtag /** @@ -786,7 +750,7 @@ * @package phpHtmlLib */ class SETsvgtag extends SVGTagClass { - var $_tag = "set"; + protected $_tag = "set"; } // SETsvgtag /** @@ -795,7 +759,7 @@ * @package phpHtmlLib */ class STOPsvgtag extends SVGTagClass { - var $_tag = "stop"; + protected $_tag = "stop"; } // STOPsvgtag /** @@ -804,9 +768,9 @@ * @package phpHtmlLib */ class STYLEsvgtag extends SVGTagClass { - var $_tag = "style"; + protected $_tag = "style"; - function _set_flags() { + protected function _set_flags() { // HTMLTagClass::_set_flags(); $this->_flags |= phphtmllib::_CDATACONTENTWRAP; } @@ -818,7 +782,7 @@ * @package phpHtmlLib */ class SVGsvgtag extends SVGTagClass { - var $_tag = "svg"; + protected $_tag = "svg"; } // SVGsvgtag /** @@ -827,7 +791,7 @@ * @package phpHtmlLib */ class SWITCHsvgtag extends SVGTagClass { - var $_tag = "switch"; + protected $_tag = "switch"; } // SWITCHsvgtag /** @@ -836,7 +800,7 @@ * @package phpHtmlLib */ class SYMBOLsvgtag extends SVGTagClass { - var $_tag = "symbol"; + protected $_tag = "symbol"; } // SYMBOLsvgtag /** @@ -845,7 +809,8 @@ * @package phpHtmlLib */ class TEXTsvgtag extends SVGTagClass { - var $_tag = "text"; + protected $_tag = "text"; + protected $_flags = phphtmllib::_FLAGS_DEFAULT_XMLTAG; } // TEXTsvgtag /** @@ -854,7 +819,7 @@ * @package phpHtmlLib */ class TEXTPATHsvgtag extends SVGTagClass { - var $_tag = "text"; + protected $_tag = "text"; } // TEXTsvgtag /** @@ -863,7 +828,7 @@ * @package phpHtmlLib */ class TITLEsvgtag extends SVGTagClass { - var $_tag = "title"; + protected $_tag = "title"; } // TITLEsvgtag /** @@ -872,7 +837,7 @@ * @package phpHtmlLib */ class TREFsvgtag extends SVGTagClass { - var $_tag = "tref"; + protected $_tag = "tref"; } // TEXTsvgtag /** @@ -881,7 +846,7 @@ * @package phpHtmlLib */ class TSPANsvgtag extends SVGTagClass { - var $_tag = "tspan"; + protected $_tag = "tspan"; } // TEXTsvgtag /** @@ -890,7 +855,7 @@ * @package phpHtmlLib */ class USEsvgtag extends SVGTagClass { - var $_tag = "use"; + protected $_tag = "use"; } // USEsvgtag /** @@ -899,7 +864,7 @@ * @package phpHtmlLib */ class VIEWsvgtag extends SVGTagClass { - var $_tag = "view"; + protected $_tag = "view"; } // VIEWsvgtag /** @@ -908,7 +873,7 @@ * @package phpHtmlLib */ class VKERNsvgtag extends SVGTagClass { - var $_tag = "vkern"; + protected $_tag = "vkern"; protected $_flags = phphtmllib::_FLAGS_XML_OPEN_ONLY; //function _set_flags() { This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-21 18:27:56
|
Revision: 3201 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3201&view=rev Author: hemna Date: 2008-11-21 18:27:45 +0000 (Fri, 21 Nov 2008) Log Message: ----------- use the XMLTag factory, not the old style function creator Modified Paths: -------------- trunk/phphtmllib/src/xml/XMLDocument.inc Modified: trunk/phphtmllib/src/xml/XMLDocument.inc =================================================================== --- trunk/phphtmllib/src/xml/XMLDocument.inc 2008-11-07 21:45:48 UTC (rev 3200) +++ trunk/phphtmllib/src/xml/XMLDocument.inc 2008-11-21 18:27:45 UTC (rev 3201) @@ -297,7 +297,7 @@ * */ private function _build_root_tag() { - $this->_root_tag = xml_tag($this->_root_name); + $this->_root_tag = XMLTagClass::factory($this->_root_name); } /** This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <Dh...@Pr...> - 2008-11-19 04:30:48
|
Hello, We are a medium-sized organization based in New Delhi, India, providing publishing-related resources on a project-to- project basis. Over the last few years, we have worked for the entire spectrum of organizations: startups to Fortune 500's, and have earned an indomitable reputation for quality and reliability, at down-to-earth pricing. We offer dedicated personnel, with a single-point-of-contact account manager. We provide deliveries by the hour/day/week, and offer the following services: - Multi-Lingual typesetting in QuarkXPress, InDesign, FrameMaker etc in almost all languages - Desktop Publishing (DTP) in almost all languages - Scanning/OCR and Metadata Services for archiving journals/old books - XML Conversion - eBooks Creation (including .epub format) - Text extraction from InDesign, QuarkXPress, PDFs etc. for translation, and subsequent re-import of the translated text into the source files - Format conversion (eg. conversion from PageMaker to QuarkXPress, InDesign etc, including cross-platform) The deliverables our team creates will be books, journals, brochures, presentations, newsletters, user manuals, ebooks, etc. It is like your very own team working at an offshore location, with at least 50% cost saving and no issues of headcount, recruitment, infrastructure management, employee insurances, etc. We provide for a time overlap with your office timings. A dedicated account manager manages the entire communication with you. Entire payment may be made after receiving satisfactory delivery of service. References can be provided on request. Write in to know more. We'll send you a note or if you prefer, call you. Sincerely, Dhiraj Aggarwal Prepress Solutions, New Delhi, India. |
From: <he...@us...> - 2008-11-07 21:45:50
|
Revision: 3200 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3200&view=rev Author: hemna Date: 2008-11-07 21:45:48 +0000 (Fri, 07 Nov 2008) Log Message: ----------- fixed speed Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 21:45:31 UTC (rev 3199) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 21:45:48 UTC (rev 3200) @@ -70,7 +70,7 @@ $wind_angle = 360; } $speed = round($this->wx->get_wind_speed(),0); - $wind_speed = sprintf("%02f",round(WXConversion::mph_to_knots($speed,"%02.0f"),0))."KT "; + $wind_speed = sprintf("%02.0f",round(WXConversion::mph_to_knots($speed,"%02.0f"),0))."KT "; $metar .= sprintf("%3.0f",$wind_angle).$wind_speed; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 21:45:33
|
Revision: 3199 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3199&view=rev Author: hemna Date: 2008-11-07 21:45:31 +0000 (Fri, 07 Nov 2008) Log Message: ----------- changed title Modified Paths: -------------- trunk/open2300/lib/modules/graphs/RainLineGraph.inc Modified: trunk/open2300/lib/modules/graphs/RainLineGraph.inc =================================================================== --- trunk/open2300/lib/modules/graphs/RainLineGraph.inc 2008-11-07 21:29:04 UTC (rev 3198) +++ trunk/open2300/lib/modules/graphs/RainLineGraph.inc 2008-11-07 21:45:31 UTC (rev 3199) @@ -10,7 +10,7 @@ * * @var unknown_type */ - protected $title = "Rain Totals"; + protected $title = "Rain Totals This Year"; /** * The X axis title @@ -45,4 +45,4 @@ } } -?> \ No newline at end of file +?> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 21:29:09
|
Revision: 3198 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3198&view=rev Author: hemna Date: 2008-11-07 21:29:04 +0000 (Fri, 07 Nov 2008) Log Message: ----------- try and force the wind speed to 2 digits Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 20:07:49 UTC (rev 3197) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 21:29:04 UTC (rev 3198) @@ -70,7 +70,7 @@ $wind_angle = 360; } $speed = round($this->wx->get_wind_speed(),0); - $wind_speed = round(WXConversion::mph_to_knots($speed,"%02.0f"),0)."KT "; + $wind_speed = sprintf("%02f",round(WXConversion::mph_to_knots($speed,"%02.0f"),0))."KT "; $metar .= sprintf("%3.0f",$wind_angle).$wind_speed; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 20:07:53
|
Revision: 3197 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3197&view=rev Author: hemna Date: 2008-11-07 20:07:49 +0000 (Fri, 07 Nov 2008) Log Message: ----------- try and fix the wind speed to whole numbers Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:56:41 UTC (rev 3196) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 20:07:49 UTC (rev 3197) @@ -70,7 +70,7 @@ $wind_angle = 360; } $speed = round($this->wx->get_wind_speed(),0); - $wind_speed = WXConversion::mph_to_knots($speed,"%02.0fKT "); + $wind_speed = round(WXConversion::mph_to_knots($speed,"%02.0f"),0)."KT "; $metar .= sprintf("%3.0f",$wind_angle).$wind_speed; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 19:56:45
|
Revision: 3196 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3196&view=rev Author: hemna Date: 2008-11-07 19:56:41 +0000 (Fri, 07 Nov 2008) Log Message: ----------- updated target ids Modified Paths: -------------- trunk/open2300/lib/autoload.inc trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc Modified: trunk/open2300/lib/autoload.inc =================================================================== --- trunk/open2300/lib/autoload.inc 2008-11-07 19:55:15 UTC (rev 3195) +++ trunk/open2300/lib/autoload.inc 2008-11-07 19:56:41 UTC (rev 3196) @@ -1,7 +1,7 @@ <?php /** * This is an auto-generated file. Please do not modify! - * Generated on 2008-11-07T11:53:26-08:00 by AutoloadGenerator + * Generated on 2008-11-07T11:56:01-08:00 by AutoloadGenerator * * @package open2300 */ @@ -289,8 +289,8 @@ 'tab-list'=>'TabList', 'tab-w'=>'TabWidget', 'temp-dew-point-line-graph'=>'TempDewPointLineGraph', +'text'=>'TextCurrentConditions', 'text-c-s-s-nav'=>'TextCSSNav', -'text-current-conditions'=>'TextCurrentConditions', 'text-nav'=>'TextNav', 'tree-item-w'=>'TreeItemWidget', 'vertical-c-s-s-nav-table'=>'VerticalCSSNavTable', @@ -360,8 +360,8 @@ 'TabList'=>'tab-list', 'TabWidget'=>'tab-w', 'TempDewPointLineGraph'=>'temp-dew-point-line-graph', +'TextCurrentConditions'=>'text', 'TextCSSNav'=>'text-c-s-s-nav', -'TextCurrentConditions'=>'text-current-conditions', 'TextNav'=>'text-nav', 'TreeItemWidget'=>'tree-item-w', 'VerticalCSSNavTable'=>'vertical-c-s-s-nav-table', Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:55:15 UTC (rev 3195) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:56:41 UTC (rev 3196) @@ -8,6 +8,10 @@ class MetarTextCurrentConditions extends Container { + /** + * the object's controller target + * + */ const ID="metar"; /** Modified: trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc 2008-11-07 19:55:15 UTC (rev 3195) +++ trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc 2008-11-07 19:56:41 UTC (rev 3196) @@ -8,6 +8,12 @@ class TextCurrentConditions extends AjaxableHTMLWidget { + /** + * the object's controller target + * + */ + const ID="text"; + /** * This contains the current * weatherDataObject for This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 19:55:22
|
Revision: 3195 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3195&view=rev Author: hemna Date: 2008-11-07 19:55:15 +0000 (Fri, 07 Nov 2008) Log Message: ----------- regenerated because I changed the target to metar Modified Paths: -------------- trunk/open2300/lib/autoload.inc Modified: trunk/open2300/lib/autoload.inc =================================================================== --- trunk/open2300/lib/autoload.inc 2008-11-07 19:54:29 UTC (rev 3194) +++ trunk/open2300/lib/autoload.inc 2008-11-07 19:55:15 UTC (rev 3195) @@ -1,7 +1,7 @@ <?php /** * This is an auto-generated file. Please do not modify! - * Generated on 2008-11-06T21:59:59-08:00 by AutoloadGenerator + * Generated on 2008-11-07T11:53:26-08:00 by AutoloadGenerator * * @package open2300 */ @@ -270,7 +270,7 @@ 'message-box-o-k'=>'MessageBoxOK', 'message-box-o-k-cancel'=>'MessageBoxOKCancel', 'message-box-w'=>'MessageBoxWidget', -'metar-text-current-conditions'=>'MetarTextCurrentConditions', +'metar'=>'MetarTextCurrentConditions', 'nav-table'=>'NavTable', 'open-2-3-0-0'=>'open2300Page', 'pressure-line-graph'=>'PressureLineGraph', @@ -341,7 +341,7 @@ 'MessageBoxOK'=>'message-box-o-k', 'MessageBoxOKCancel'=>'message-box-o-k-cancel', 'MessageBoxWidget'=>'message-box-w', -'MetarTextCurrentConditions'=>'metar-text-current-conditions', +'MetarTextCurrentConditions'=>'metar', 'NavTable'=>'nav-table', 'open2300Page'=>'open-2-3-0-0', 'PressureLineGraph'=>'pressure-line-graph', This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 19:54:33
|
Revision: 3194 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3194&view=rev Author: hemna Date: 2008-11-07 19:54:29 +0000 (Fri, 07 Nov 2008) Log Message: ----------- changed the target ID so that it would just be metar instead of metar-text-current-results Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:48:32 UTC (rev 3193) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:54:29 UTC (rev 3194) @@ -7,6 +7,8 @@ class MetarTextCurrentConditions extends Container { + + const ID="metar"; /** * This contains the current This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 19:48:36
|
Revision: 3193 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3193&view=rev Author: hemna Date: 2008-11-07 19:48:32 +0000 (Fri, 07 Nov 2008) Log Message: ----------- force North or 0 degrees to be 360 Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:46:40 UTC (rev 3192) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:48:32 UTC (rev 3193) @@ -60,6 +60,9 @@ //now do wind $wind_dir = $this->wx->get_wind_direction(); $wind_angle = $this->wx->get_wind_angle(); + if ($wind_angle == 0) { + $wind_angle = 360; + } $speed = round($this->wx->get_wind_speed(),0); $wind_speed = WXConversion::mph_to_knots($speed,"%02.0fKT "); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 19:46:53
|
Revision: 3192 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3192&view=rev Author: hemna Date: 2008-11-07 19:46:40 +0000 (Fri, 07 Nov 2008) Log Message: ----------- try and get rounded wind speeds Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 18:06:31 UTC (rev 3191) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 19:46:40 UTC (rev 3192) @@ -60,9 +60,10 @@ //now do wind $wind_dir = $this->wx->get_wind_direction(); $wind_angle = $this->wx->get_wind_angle(); - $wind_speed = WXConversion::mph_to_knots($this->wx->get_wind_speed()); + $speed = round($this->wx->get_wind_speed(),0); + $wind_speed = WXConversion::mph_to_knots($speed,"%02.0fKT "); - $metar .= sprintf("%3.0f",$wind_angle).sprintf("%02.0fKT ",$wind_speed); + $metar .= sprintf("%3.0f",$wind_angle).$wind_speed; //we don't have sky conditions. //this is the best we can do This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 18:06:34
|
Revision: 3191 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3191&view=rev Author: hemna Date: 2008-11-07 18:06:31 +0000 (Fri, 07 Nov 2008) Log Message: ----------- fixed this so it doesn't get wrapped in a div Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 17:00:30 UTC (rev 3190) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 18:06:31 UTC (rev 3191) @@ -6,7 +6,7 @@ -class MetarTextCurrentConditions extends AjaxableHTMLWidget { +class MetarTextCurrentConditions extends Container { /** * This contains the current @@ -32,7 +32,7 @@ } } - public function get_content() { + public function render($indent_level=0, $output_debug=0) { $metar = $GLOBALS['config']->get('station_name'); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 17:00:32
|
Revision: 3190 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3190&view=rev Author: hemna Date: 2008-11-07 17:00:30 +0000 (Fri, 07 Nov 2008) Log Message: ----------- some form of sky conditions Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 16:44:03 UTC (rev 3189) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 17:00:30 UTC (rev 3190) @@ -65,7 +65,24 @@ $metar .= sprintf("%3.0f",$wind_angle).sprintf("%02.0fKT ",$wind_speed); //we don't have sky conditions. - $metar .= "XXX "; + //this is the best we can do + $fcast = $this->wx->get_forecast(); + switch ($fcast) { + case "Sunny": + $metar .= "CLR "; + break; + case "Cloudy": + $metar .= "OVC "; + break; + + case "Rainy": + $metar .= "-RA "; + break; + + default: + $metar .= "XXX "; + break; + } //temperature and dew point $metar .= WXConversion::fahrenheit_to_celsius($outside_temp, "%02.0f").'/'. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 16:44:05
|
Revision: 3189 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3189&view=rev Author: hemna Date: 2008-11-07 16:44:03 +0000 (Fri, 07 Nov 2008) Log Message: ----------- fix some issues Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2008-11-07 07:40:48 UTC (rev 3188) +++ trunk/open2300/lib/modules/home/widgets/CurrentConditions.inc 2008-11-07 16:44:03 UTC (rev 3189) @@ -59,9 +59,9 @@ $outside_temp = $this->wx->get_temp_out(); $table->add_row(new TDtag(array("width" => "120"),"Outside :"), new DIVtag(array('style' => 'text-align:center; padding-top:2px;height:75px; background-color:#ffffcc;'), - new SPANtag(array('id' => 'idTempF', 'style' => 'font-weight:bold;'),$outside_temp)," F / ". - new SPANtag(array('id' => 'idTempC','style' => 'font-weight:bold;'),WXConversion::fahrenheit_to_celsius($outside_temp)),' C / '. - new SPANtag(array('id' => 'idTempK','style' => 'font-weight:bold;'),WXConversion::fahrenheit_to_kelvin($outside_temp)). " K", + new SPANtag(array('id' => 'idTempF', 'style' => 'font-weight:bold;'),$outside_temp)," F / ", + new SPANtag(array('id' => 'idTempC','style' => 'font-weight:bold;'),WXConversion::fahrenheit_to_celsius($outside_temp)),' C / ', + new SPANtag(array('id' => 'idTempK','style' => 'font-weight:bold;'),WXConversion::fahrenheit_to_kelvin($outside_temp)), " K", BRtag::factory(), $this->wx->get_forecast(), new DIVtag(array('style' => 'padding-top:5px;'), 'Feels like '.$this->wx->get_wind_chill()." F"), new DIVtag(array('style' => 'padding-top:5px;'), $high.' F / '.$low.' F High/Low'))); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 07:40:51
|
Revision: 3188 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3188&view=rev Author: hemna Date: 2008-11-07 07:40:48 +0000 (Fri, 07 Nov 2008) Log Message: ----------- updated log info Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc 2008-11-07 07:20:22 UTC (rev 3187) +++ trunk/open2300/lib/modules/home/widgets/TextCurrentConditions.inc 2008-11-07 07:40:48 UTC (rev 3188) @@ -23,7 +23,7 @@ */ public function __construct(weatherDataObject $wx=null) { $log = Log::singleton(); - $log->info("Updating CurrentConditions"); + $log->info("TextCurrentConditions"); parent::__construct(); if ($wx == null) { //we don't have the current conditions. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 07:20:27
|
Revision: 3187 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3187&view=rev Author: hemna Date: 2008-11-07 07:20:22 +0000 (Fri, 07 Nov 2008) Log Message: ----------- added as a wrapper for crontab Added Paths: ----------- trunk/open2300/bin/remote_update.sh Added: trunk/open2300/bin/remote_update.sh =================================================================== --- trunk/open2300/bin/remote_update.sh (rev 0) +++ trunk/open2300/bin/remote_update.sh 2008-11-07 07:20:22 UTC (rev 3187) @@ -0,0 +1,3 @@ +#!/bin/bash +cd /home/waboring/devel/workspace/open2300/bin +./remote_update.php Property changes on: trunk/open2300/bin/remote_update.sh ___________________________________________________________________ Added: svn:executable + * This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2008-11-07 07:03:34
|
Revision: 3186 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3186&view=rev Author: hemna Date: 2008-11-07 07:03:31 +0000 (Fri, 07 Nov 2008) Log Message: ----------- more hacking Modified Paths: -------------- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc Modified: trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc =================================================================== --- trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 06:54:42 UTC (rev 3185) +++ trunk/open2300/lib/modules/home/widgets/MetarTextCurrentConditions.inc 2008-11-07 07:03:31 UTC (rev 3186) @@ -43,7 +43,7 @@ $stmt = $db->queryBindOneRowCache("Select min(temp_out) as low, max(temp_out) as high from weather where datetime like :date", array(":date" => $today.'%')); //if (class_exists("DateTime")) { - if (FALSE) { + if ($GLOBALS['config']->get('has_date_time', FALSE)) { $cur_date = new DateTime($this->wx->get_datetime()); $cur_date->setTimezone(new DateTimeZone("UTC")); $metar .= " ".$cur_date->format("dHi")."Z"; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |