1
0

Added classes for install/upgrade warning messages. Modified BP admin stylesheet to use these new classes to correct error of overriding green, yellow & red warning text.

This commit is contained in:
Don Chambers
2008-04-27 22:19:33 +00:00
parent ac8b20e8c6
commit b092304c48
4 changed files with 42 additions and 6 deletions

View File

@ -37,14 +37,14 @@ if (defined('S9Y_DATA_PATH')) {
function serendipity_installerResultDiagnose($result, $s) {
global $errorCount;
if ( $result === S9Y_I_SUCCESS ) {
return '<span style="color: green; font-weight: bold">'. $s .'</span>';
return '<span class="serendipityAdminMsgSuccessInstall" style="color: green; font-weight: bold">'. $s .'</span>';
}
if ( $result === S9Y_I_WARNING ) {
return '<span style="color: orange; font-weight: bold">'. $s .' [?]</span>';
return '<span class="serendipityAdminMsgWarningInstall" style="color: orange; font-weight: bold">'. $s .' [?]</span>';
}
if ( $result === S9Y_I_ERROR ) {
$errorCount++;
return '<span style="color: red; font-weight: bold">'. $s .' [!]</span>';
return '<span class="serendipityAdminMsgErrorInstall" style="color: red; font-weight: bold">'. $s .' [!]</span>';
}
}