[Phphtmllib-devel] SF.net SVN: phphtmllib:[3356] trunk/open2300/lib/modules/home/page/HomePage .inc
Status: Beta
Brought to you by:
hemna
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. |