diff options
| author | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-30 12:40:42 +0000 |
|---|---|---|
| committer | artem <artem@97f52cf1-0a1b-0410-bd0e-c28be96e8082> | 2008-07-30 12:40:42 +0000 |
| commit | 527da18d12fc32d48858acd51e934ef57ab294fb (patch) | |
| tree | 118903541cb2a0ae3bdf5f30b927d1c3ae203782 /frontends/php/include/page_header.php | |
| parent | 936ff51ecc479199146600c12f5ef3a1e6977c35 (diff) | |
| download | zabbix-527da18d12fc32d48858acd51e934ef57ab294fb.tar.gz zabbix-527da18d12fc32d48858acd51e934ef57ab294fb.tar.xz zabbix-527da18d12fc32d48858acd51e934ef57ab294fb.zip | |
- [DEV-191] fixes to inline update in "Latest Data" screen (Artem)
- [DEV-137] improvements in HTML validation (Artem)
- [DEV-137] fixes in SQL constructions for MySQL (Artem)
git-svn-id: svn://svn.zabbix.com/trunk@5853 97f52cf1-0a1b-0410-bd0e-c28be96e8082
Diffstat (limited to 'frontends/php/include/page_header.php')
| -rw-r--r-- | frontends/php/include/page_header.php | 19 |
1 files changed, 11 insertions, 8 deletions
diff --git a/frontends/php/include/page_header.php b/frontends/php/include/page_header.php index fa7f2e71..d89f2c55 100644 --- a/frontends/php/include/page_header.php +++ b/frontends/php/include/page_header.php @@ -394,7 +394,7 @@ COpt::profiling_start("page"); <meta name="Author" content="ZABBIX SIA" /> -<link rel="stylesheet" href="css.css" /> +<link rel="stylesheet" type="text/css" href="css.css" /> <?php if(isset($DB['DB']) && !is_null($DB['DB'])){ $css = false; @@ -410,15 +410,15 @@ COpt::profiling_start("page"); } if($css){ - echo '<link rel="stylesheet" href="styles/'.$css.'" />'; + echo '<link rel="stylesheet" type="text/css" href="styles/'.$css.'" />'."\n"; $ico = ereg_replace('.*(\_[a-z]+).*',"\\1",$css); if(file_exists('images/general/zabbix'.$ico.'.ico')) - echo '<link rel="shortcut icon" href="images/general/zabbix'.$ico.'.ico">'; + echo '<link rel="shortcut icon" href="images/general/zabbix'.$ico.'.ico" />'; else - echo '<link rel="shortcut icon" href="images/general/zabbix.ico">'; + echo '<link rel="shortcut icon" href="images/general/zabbix.ico" />'; } else{ - echo '<link rel="shortcut icon" href="images/general/zabbix.ico">'; + echo '<link rel="shortcut icon" href="images/general/zabbix.ico" />'; } } ?> @@ -478,16 +478,19 @@ COpt::compare_files_with_menu($ZBX_MENU); $page_header_r_col[] = array("|", new CLink(S_PROFILE, "profile.php", "small_font"),"|", new CLink(S_LOGOUT, "index.php?reconnect=1", "small_font")); - } else { + } + else { $page_header_r_col[] = array("|", new CLink(S_LOGIN, "index.php?reconnect=1", "small_font")); } $logo = new CLink(new CDiv(SPACE,'zabbix_logo'),"http://www.zabbix.com"); $logo->SetTarget('_blank'); -// $logo = new CSpan(SPACE,'zabbix_logo'); +// $logo = new CDiv(SPACE,'zabbix_logo'); +// $logo->AddAction('onclick',"javascript: document.location = 'http://www.zabbix.com';"); + $td_r = new CCol($page_header_r_col, "page_header_r"); $td_r->AddOption('width','100%'); -// $top_page_row = array(new CCol($logo, "page_header_l"), new CCol($page_header_r_col, "page_header_r")); + $top_page_row = array(new CCol($logo, "page_header_l"), $td_r); unset($logo, $page_header_r_col, $help, $support); |
