diff --git a/application.css b/application.css index 0746379..4425bf0 100644 --- a/application.css +++ b/application.css @@ -54,6 +54,9 @@ tr.gold { background-color: #fff600; } tr.silver { background-color: silver; } tr.bronze { background-color: #fcba0a; } tr.garbage { background-color: #999966; } +tr.warning { background-color: #ff3333; } /* novascotia salmon */ +tr.howto { background-color: green; } +tr.defaultnote { background-color: #0066CC; } /* mid-light blue */ /* classes for the version info pane */ /* version info pane is the right hand pane at the top of the version page */ diff --git a/include/note.php b/include/note.php index 0e640b9..4dac990 100644 --- a/include/note.php +++ b/include/note.php @@ -201,12 +201,12 @@ class Note { switch($this->sTitle) { case 'WARNING': - $sColor = 'red'; + $sClass = 'warning'; $sTitle = 'Warning'; break; case 'HOWTO': - $sColor = 'green'; + $sClass = 'howto'; $sTitle = 'HOWTO'; break; @@ -216,7 +216,7 @@ class Note { else $sTitle = 'Note'; - $sColor = 'blue'; + $sClass = 'defaultnote'; } $oVersion = new version($this->iVersionId); @@ -224,7 +224,7 @@ class Note { $shOutput = html_frame_start("","98%",'',0); $shOutput .= "\n"; - $shOutput .= "\n"; + $shOutput .= "\n"; $shOutput .= "\n";
".$sTitle."
".$sTitle."
\n"; $shOutput .= $this->shDescription; $shOutput .= "