diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-29 12:55:39 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2007-06-29 12:55:39 +0000 |
| commit | 6bf654529b1afbeea0c0ef3ff96b83caf52a19cf (patch) | |
| tree | c5d98e8b99ff8f8d5554fa58dd3f27887ed63ff4 /frontends/php/include | |
| parent | f22989bd5260bbe81aed3403c8fe4b22d6e20412 (diff) | |
| download | zabbix-6bf654529b1afbeea0c0ef3ff96b83caf52a19cf.tar.gz zabbix-6bf654529b1afbeea0c0ef3ff96b83caf52a19cf.tar.xz zabbix-6bf654529b1afbeea0c0ef3ff96b83caf52a19cf.zip | |
- 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
Diffstat (limited to 'frontends/php/include')
| -rw-r--r-- | frontends/php/include/classes/ctable.inc.php | 4 | ||||
| -rw-r--r-- | frontends/php/include/page_header.php | 6 |
2 files changed, 6 insertions, 4 deletions
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) { ?> -<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> +<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> +<html xmlns="http://www.w3.org/1999/xhtml"> <head> <title><?php echo $page['title'] ?></title> <?php @@ -441,6 +441,8 @@ COpt::compare_files_with_menu($ZBX_MENU); $sub_menu_table = new CTable(NULL,'sub_menu'); $sub_menu_table->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(); } |
