From 6bf654529b1afbeea0c0ef3ff96b83caf52a19cf Mon Sep 17 00:00:00 2001 From: artem Date: Fri, 29 Jun 2007 12:55:39 +0000 Subject: - changed doctype to XHTML1.0 (Artem) - changed in class CTable default value for colspan to 1 (Artem) git-svn-id: svn://svn.zabbix.com/trunk@4398 97f52cf1-0a1b-0410-bd0e-c28be96e8082 --- frontends/php/include/classes/ctable.inc.php | 4 ++-- frontends/php/include/page_header.php | 6 ++++-- 2 files changed, 6 insertions(+), 4 deletions(-) (limited to 'frontends/php/include') diff --git a/frontends/php/include/classes/ctable.inc.php b/frontends/php/include/classes/ctable.inc.php index c54420e7..03711739 100644 --- a/frontends/php/include/classes/ctable.inc.php +++ b/frontends/php/include/classes/ctable.inc.php @@ -104,7 +104,7 @@ $this->headerClass = NULL; $this->footer = ''; $this->footerClass = NULL; - $this->colnum = 0; + $this->colnum = 1; $this->message = $message; } @@ -168,7 +168,7 @@ function SetFooter($value=NULL,$class=NULL){ if(is_null($class)) $class = $this->footerClass; - $this->footer = $this->PrepareRow($value,$class);; + $this->footer = $this->PrepareRow($value,$class); } function AddRow($item,$rowClass=NULL){ diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php index 3881d46c..3175efac 100644 --- a/frontends/php/include/page_header.php +++ b/frontends/php/include/page_header.php @@ -337,8 +337,8 @@ COpt::profiling_start("page"); if($page["type"] == PAGE_TYPE_HTML) { ?> - - + + <?php echo $page['title'] ?> SetCellSpacing(0); $sub_menu_table->SetCellPadding(5); + + (empty($sub_menu_row))?($sub_menu_row = ' '):(''); $sub_menu_table->AddRow(new CCol($sub_menu_row)); $sub_menu_table->Show(); } -- cgit