[Nagvis-checkins] SF.net Git: nagvis: Fixed problem with latest commit
Brought to you by:
larsi-
From: lars <la...@us...> - 2009-09-17 13:05:26
|
Module: nagvis Branch: master Commit: d2be46e1615cad8384c2299d745b93f8c002efd9 URL: http://nagvis.git.sourceforge.net/git/gitweb.cgi?p=nagvis/nagvis/nagvis;a=commit;h=d2be46e1615cad8384c2299d745b93f8c002efd9 Author: Lars Michelsen <la...@ve...> Date: Wed Sep 16 19:29:36 2009 +0200 Fixed problem with latest commit --- .../classes/frontend/GlobalFrontendMessageBox.php | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/share/frontend/nagvis-js/classes/frontend/GlobalFrontendMessageBox.php b/share/frontend/nagvis-js/classes/frontend/GlobalFrontendMessageBox.php index 018a7c8..033513f 100644 --- a/share/frontend/nagvis-js/classes/frontend/GlobalFrontendMessageBox.php +++ b/share/frontend/nagvis-js/classes/frontend/GlobalFrontendMessageBox.php @@ -144,12 +144,13 @@ class GlobalFrontendMessageBox { */ private function buildHTMLMessage() { if($this->bReload) { - if($this->sRedirect = '') { + if($this->sRedirect == '') { $this->page .= '<meta http-equiv="refresh" content="60">'; } else { $this->page .= '<meta http-equiv="refresh" content="5; URL='.$this->sRedirect.'">'; } } + $this->page .= '<link rel="stylesheet" type="text/css" href="'.$this->pathHtmlBase.'/frontend/nagvis-js/css/style.css" />'; $this->page .= '<div id="messageBoxDiv">'."\n"; $this->page .= ' <table id="messageBox" class="'.$this->type.'" height="100%" width="100%" cellpadding="0" cellspacing="0">'."\n"; |