Thread: [Phphtmllib-devel] SF.net SVN: phphtmllib:[3228] trunk/open2300/lib/modules/home/page/HomePage .inc
Status: Beta
Brought to you by:
hemna
From: <he...@us...> - 2009-03-01 17:35:22
|
Revision: 3228 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3228&view=rev Author: hemna Date: 2009-03-01 17:35:12 +0000 (Sun, 01 Mar 2009) Log Message: ----------- added radar Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-02-22 18:50:29 UTC (rev 3227) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-03-01 17:35:12 UTC (rev 3228) @@ -58,19 +58,21 @@ $img = IMGtag::factory(RequestBuilder::build_url('TempDewPointLineGraph')); $img->set_id('idTempDewLineGraph'); - $right_div->add(new DIVtag(array('id' => 'idTempDewLineGraphdiv', 'style'=> 'padding-top:0px;padding-bottom:10px;height:201px;'), $img)); + $right_div->add(new DIVtag(array('id' => 'idTempDewLineGraphdiv', 'style'=> 'padding-top:0px;padding-bottom:5px;height:201px;'), $img)); $pressure_img = IMGtag::factory(RequestBuilder::build_url('PressureLineGraph')); $pressure_img->set_id('idPressureLineGraph'); - $right_div->add(new DIVtag(array('id' => 'idPressureLineGraphdiv', 'style'=> 'padding-top:10px;padding-bottom:10px;height:201px;'),$pressure_img)); + $right_div->add(new DIVtag(array('id' => 'idPressureLineGraphdiv', 'style'=> 'padding-top:5px;padding-bottom:5px;height:201px;'),$pressure_img)); $wind_img = IMGtag::factory(RequestBuilder::build_url('WindSpeedLineGraph')); $wind_img->set_id('idWindSpeedLineGraph'); - $right_div->add(new DIVtag(array('id' => 'idWindSpeedLineGraphdiv', 'style'=> 'padding-top:10px;padding-bottom:10px;height:201px;'),$wind_img)); + $right_div->add(new DIVtag(array('id' => 'idWindSpeedLineGraphdiv', 'style'=> 'padding-top:5px;padding-bottom:5px;height:201px;'),$wind_img)); $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)); + $right_div->add(new DIVtag(array('id' => 'idRainLineGraphdiv', 'style'=> 'padding-top:5px;padding-bottom:5px;height:201px;'),$rain_img)); + + $right_div->add(IMGtag::factory("http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.172&noclutter=0&t=1235925219&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=21¢ery=408&transx=-379&transy=168&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0")); return $right_div; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-03-01 21:15:46
|
Revision: 3234 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3234&view=rev Author: hemna Date: 2009-03-01 21:15:34 +0000 (Sun, 01 Mar 2009) Log Message: ----------- padding Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-03-01 21:13:56 UTC (rev 3233) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-03-01 21:15:34 UTC (rev 3234) @@ -78,10 +78,10 @@ $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); - $table = TABLEtag::factory("100%",0,0,5); + $table = TABLEtag::factory("100%",0,0,0); $table->add_row(new TDtag(array('style' => 'vertical-align:top;width:510px;'),$right_div), - new TDtag(array('style' => 'vertical-align:top;'),$radar_div)); + new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'),$radar_div)); return $table; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 02:10:29
|
Revision: 3258 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3258&view=rev Author: hemna Date: 2009-10-14 02:10:13 +0000 (Wed, 14 Oct 2009) Log Message: ----------- added temp and humidity graphs Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 02:07:15 UTC (rev 3257) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 02:10:13 UTC (rev 3258) @@ -37,7 +37,51 @@ $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(BRtag::factory()); + $left_div->add('<oject classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" + WIDTH="140" + HEIGHT="300" + id="gauge" /> +<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-temperature-flash-gauge" /> +<PARAM NAME="quality" VALUE="high" /> +<PARAM NAME="bgcolor" VALUE="#ffffff" /> +<param name="allowScriptAccess" value="sameDomain" /> +<embed src="/flash/gauge.swf?xml_source=index.php?target=my-temperature-flash-gauge" + quality="high" + bgcolor="#ffffff" + WIDTH="140" + HEIGHT="300" + NAME="gauge" + allowScriptAccess="sameDomain" + swLiveConnect="true" + TYPE="application/x-shockwave-flash" + PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> +</embed> +</object>', + '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" + codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" + WIDTH="140" + HEIGHT="300" + id="gauge" /> + +<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" /> +<PARAM NAME="quality" VALUE="high" /> +<PARAM NAME="bgcolor" VALUE="#ffffff" /> +<param name="allowScriptAccess" value="sameDomain" /> +<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" + quality="high" + bgcolor="#ffffff" + WIDTH="140" + HEIGHT="300" + NAME="gauge" + allowScriptAccess="sameDomain" + swLiveConnect="true" + TYPE="application/x-shockwave-flash" + PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> +</EMBED> +</OBJECT> + '); $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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:06:43
|
Revision: 3265 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3265&view=rev Author: hemna Date: 2009-10-14 16:06:32 +0000 (Wed, 14 Oct 2009) Log Message: ----------- background Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 07:38:07 UTC (rev 3264) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 16:06:32 UTC (rev 3265) @@ -99,12 +99,12 @@ id="gauge" /> <PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-rain-flash-gauge%26mode%3D1hr" /> <PARAM NAME="quality" VALUE="high" /> -<PARAM NAME="bgcolor" VALUE="#000000" /> +<PARAM NAME="bgcolor" VALUE="#ffffff" /> <param name="allowScriptAccess" value="sameDomain" /> <EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-rain-flash-gauge%26mode%3D1hr" quality="high" - bgcolor="#000000" + bgcolor="#ffffff" WIDTH="140" HEIGHT="300" NAME="gauge" @@ -121,11 +121,11 @@ id="gauge" /> <PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-rain-flash-gauge%26mode%3D24hr" /> <PARAM NAME="quality" VALUE="high" /> -<PARAM NAME="bgcolor" VALUE="#000000" /> +<PARAM NAME="bgcolor" VALUE="#ffffff" /> <param name="allowScriptAccess" value="sameDomain" /> <EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-rain-flash-gauge%26mode%3D24hr" quality="high" - bgcolor="#000000" + bgcolor="#ffffff" WIDTH="140" HEIGHT="300" NAME="gauge" @@ -142,12 +142,12 @@ id="gauge" /> <PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-rain-flash-gauge%26mode%3Dtotal" /> <PARAM NAME="quality" VALUE="high" /> -<PARAM NAME="bgcolor" VALUE="#000000" /> +<PARAM NAME="bgcolor" VALUE="#ffffff" /> <param name="allowScriptAccess" value="sameDomain" /> <EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-rain-flash-gauge%26mode%3Dtotal" quality="high" - bgcolor="#000000" + bgcolor="#ffffff" WIDTH="140" HEIGHT="300" NAME="gauge" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-10-14 16:35:06
|
Revision: 3270 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3270&view=rev Author: hemna Date: 2009-10-14 16:34:56 +0000 (Wed, 14 Oct 2009) Log Message: ----------- show pressure Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 16:31:36 UTC (rev 3269) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-10-14 16:34:56 UTC (rev 3270) @@ -59,17 +59,39 @@ PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </embed> </object>', - '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" +// '<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" +// codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" +// WIDTH="140" +// HEIGHT="300" +// id="gauge" /> +// +//<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" /> +//<PARAM NAME="quality" VALUE="high" /> +//<PARAM NAME="bgcolor" VALUE="#ffffff" /> +//<param name="allowScriptAccess" value="sameDomain" /> +//<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" +// quality="high" +// bgcolor="#ffffff" +// WIDTH="140" +// HEIGHT="300" +// NAME="gauge" +// allowScriptAccess="sameDomain" +// swLiveConnect="true" +// TYPE="application/x-shockwave-flash" +// PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> +//</EMBED> +//</OBJECT> +// ', +'<OBJECT classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0" WIDTH="140" HEIGHT="300" id="gauge" /> - -<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" /> +<PARAM NAME="movie" VALUE="/flash/gauge.swf?xml_source=index.php?target=my-pressure-flash-gauge" /> <PARAM NAME="quality" VALUE="high" /> <PARAM NAME="bgcolor" VALUE="#ffffff" /> <param name="allowScriptAccess" value="sameDomain" /> -<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-humidity-flash-gauge" +<EMBED src="/flash/gauge.swf?xml_source=index.php?target=my-pressure-flash-gauge" quality="high" bgcolor="#ffffff" WIDTH="140" @@ -81,7 +103,8 @@ PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer"> </EMBED> </OBJECT> - '); +' + ); $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); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 05:22:44
|
Revision: 3286 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3286&view=rev Author: hemna Date: 2009-11-24 05:22:36 +0000 (Tue, 24 Nov 2009) Log Message: ----------- nuked the stupid wunderground flash turd, moved the rain gauges, added the webcam image added code for the flash lightview popup Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 05:21:25 UTC (rev 3285) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 05:22:36 UTC (rev 3286) @@ -105,8 +105,9 @@ </OBJECT> ' ); - $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>'); - + //$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>'); + + $left_div->add($this->get_rain_div()); $container->add($left_div); return $container; @@ -215,15 +216,25 @@ $radar_img = IMGtag::factory("http://radblast-mi.wunderground.com/cgi-bin/radar/WUNIDS_map?station=DAX&brand=wui&num=1&delay=15&type=N0R&frame=0&scale=0.326&noclutter=0&t=1235942643&lat=38.81977081&lon=-121.02596283&label=Pilot+Hill%2C+CA&showstorms=0&map.x=400&map.y=240¢erx=145¢ery=359&transx=-255&transy=119&showlabels=1&severe=0&rainsnow=0&lightning=0&smooth=0", 480,320); $radar_img->set_id('idRadarImg'); + + + $this->add_js_link('/js/lightview/lightview.js'); + $this->add_css_link('/css/lightview/lightview.css'); + + $cam_img = new IMGtag(array('id' => 'idCam', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), + $cam_img); + $cam_href->set_collapse(true); + $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_href); $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); - $rain_div = $this->get_rain_div(); - $table = TABLEtag::factory("100%",0,0,0); $table->add_row(new TDtag(array('style' => 'vertical-align:top;width:510px;'),$right_div), - new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'),$radar_div, $rain_div)); + new TDtag(array('style' => 'vertical-align:top;padding-left:8px;'), + $cam_div, $radar_div)); return $table; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 06:06:57
|
Revision: 3289 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3289&view=rev Author: hemna Date: 2009-11-24 06:06:48 +0000 (Tue, 24 Nov 2009) Log Message: ----------- updated layout to wrap with title Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:06:14 UTC (rev 3288) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:06:48 UTC (rev 3289) @@ -217,16 +217,29 @@ 480,320); $radar_img->set_id('idRadarImg'); - + $this->add_js_link('/js/lightview/lightview.js'); $this->add_css_link('/css/lightview/lightview.css'); + + $curdate = date("Ymd"); + + $cam_img = new IMGtag(array('id' => 'idCamImg', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); + $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_img = new IMGtag(array('id' => 'idCam', 'src' => 'cam/cam.jpg', 'width' => '480', height => '320')); - $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', - 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), - $cam_img); - $cam_href->set_collapse(true); - $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_href); + + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); + + //only show the flash overlay if we + //have today's video file on disk + if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), + "View Timelapse Video"); + $cam_href->set_collapse(true); + $cam_title_div->add($cam_href); + } + + $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_title_div, $cam_img_div); $radar_div = new DIVtag(array('id' => 'idRadardiv'),$radar_img); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 06:12:43
|
Revision: 3290 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3290&view=rev Author: hemna Date: 2009-11-24 06:12:35 +0000 (Tue, 24 Nov 2009) Log Message: ----------- more Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:06:48 UTC (rev 3289) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:12:35 UTC (rev 3290) @@ -232,11 +232,12 @@ //only show the flash overlay if we //have today's video file on disk if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { - $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&start=1', 'class' => 'lightview', + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&autostart=1', 'class' => 'lightview', 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), "View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); + $cam_title_div->add(" every 30 min"); } $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_title_div, $cam_img_div); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 06:27:24
|
Revision: 3291 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3291&view=rev Author: hemna Date: 2009-11-24 06:27:17 +0000 (Tue, 24 Nov 2009) Log Message: ----------- spacing Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:12:35 UTC (rev 3290) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:27:17 UTC (rev 3291) @@ -227,14 +227,14 @@ $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); //only show the flash overlay if we //have today's video file on disk if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&autostart=1', 'class' => 'lightview', 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), - "View Timelapse Video"); + " View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); $cam_title_div->add(" every 30 min"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 15:28:12
|
Revision: 3292 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3292&view=rev Author: hemna Date: 2009-11-24 15:28:03 +0000 (Tue, 24 Nov 2009) Log Message: ----------- spacing and date Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 06:27:17 UTC (rev 3291) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 15:28:03 UTC (rev 3292) @@ -227,14 +227,15 @@ $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', ' '); + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', + ' '); //only show the flash overlay if we //have today's video file on disk if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { - $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/20091123/timelapse.flv&autostart=1', 'class' => 'lightview', + $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/'.$curdate.'/timelapse.flv&autostart=1', 'class' => 'lightview', 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), - " View Timelapse Video"); + "View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); $cam_title_div->add(" every 30 min"); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-24 17:23:03
|
Revision: 3294 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3294&view=rev Author: hemna Date: 2009-11-24 17:22:54 +0000 (Tue, 24 Nov 2009) Log Message: ----------- added caption Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 17:21:19 UTC (rev 3293) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 17:22:54 UTC (rev 3294) @@ -234,7 +234,7 @@ //have today's video file on disk if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/'.$curdate.'/timelapse.flv&autostart=1', 'class' => 'lightview', - 'rel' => 'flash', 'title' => 'TimeLapse :: Test :: width:640, height:480'), + 'rel' => 'flash', 'title' => 'TimeLapse :: '.$curdate.' :: width:640, height:480'), "View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2009-11-25 17:43:49
|
Revision: 3296 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3296&view=rev Author: hemna Date: 2009-11-25 17:43:41 +0000 (Wed, 25 Nov 2009) Log Message: ----------- added flash file time update Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-24 23:58:51 UTC (rev 3295) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2009-11-25 17:43:41 UTC (rev 3296) @@ -227,18 +227,21 @@ $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Cam Updates from 4am to 10pm PST', - ' '); + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Updates from 4am to 10pm PST', + ' '); //only show the flash overlay if we //have today's video file on disk - if (file_exists("/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv")) { + $filename = "/home/waboring/wx.hemna.com/htdocs/video/".$curdate."/timelapse.flv"; + if (file_exists($filename)) { $cam_href = new Atag(array('href' => '/video/player.swf?file=/video/'.$curdate.'/timelapse.flv&autostart=1', 'class' => 'lightview', 'rel' => 'flash', 'title' => 'TimeLapse :: '.$curdate.' :: width:640, height:480'), "View Timelapse Video"); $cam_href->set_collapse(true); $cam_title_div->add($cam_href); - $cam_title_div->add(" every 30 min"); + $filetime = date ("H:i:s", filemtime($filename)); + $cam_title_div->add(" "); + $cam_title_div->add(new SPANtag(array('style' => 'font-size: .7em'), "(Updated ".$filetime." )")); } $cam_div = new DIVtag(array('id' => 'idCamDiv', 'style' => 'padding-bottom:10px;margin-bottom:5px;'), $cam_title_div, $cam_img_div); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2010-02-17 17:56:53
|
Revision: 3329 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3329&view=rev Author: hemna Date: 2010-02-17 17:56:46 +0000 (Wed, 17 Feb 2010) Log Message: ----------- removed dumb title Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2010-02-17 02:39:21 UTC (rev 3328) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2010-02-17 17:56:46 UTC (rev 3329) @@ -227,8 +227,7 @@ $cam_img_div = new DIVtag(array('id' => 'idCamImgDiv'), $cam_img); - $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle'), 'Updates from 4am to 10pm PST', - ' '); + $cam_title_div = new DIVtag(array('id' => 'idCamTitle', 'class' => 'camtitle') ); //only show the flash overlay if we //have today's video file on disk @@ -238,7 +237,7 @@ 'rel' => 'flash', 'title' => 'TimeLapse :: '.$curdate.' :: width:640, height:480'), "View Timelapse Video"); $cam_href->set_collapse(true); - $cam_title_div->add($cam_href); + $cam_title_div->add($cam_href); $filetime = date ("H:i:s", filemtime($filename)); $cam_title_div->add(" "); $cam_title_div->add(new SPANtag(array('style' => 'font-size: .7em'), "(Updated ".$filetime." )")); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <he...@us...> - 2010-02-22 07:23:56
|
Revision: 3356 http://phphtmllib.svn.sourceforge.net/phphtmllib/?rev=3356&view=rev Author: hemna Date: 2010-02-22 07:23:50 +0000 (Mon, 22 Feb 2010) Log Message: ----------- fixed centering Modified Paths: -------------- trunk/open2300/lib/modules/home/page/HomePage.inc Modified: trunk/open2300/lib/modules/home/page/HomePage.inc =================================================================== --- trunk/open2300/lib/modules/home/page/HomePage.inc 2010-02-22 07:05:20 UTC (rev 3355) +++ trunk/open2300/lib/modules/home/page/HomePage.inc 2010-02-22 07:23:50 UTC (rev 3356) @@ -23,6 +23,24 @@ return array(); } + protected function main_block() { + + $main = new DIVtag(array("id" => "maincontent", + "style" => "width: 1400px; margin-left: auto; margin-right:auto;")); + $main->set_id("maincontent"); + + $table = TABLEtag::factory("100%", 0); + + $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; + } + /** * */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |