rounded corners

This commit is contained in:
Roland Gruber 2010-10-16 12:39:56 +00:00
parent d93198bd18
commit ca4e3afac8
1 changed files with 4 additions and 4 deletions

View File

@ -50,17 +50,17 @@ $Id$
function StatusMessage($MessageTyp,$MessageHeadline,$MessageText='',$MessageVariables = array()) {
/* Setting CSS-StyleSheet class depending on the $MessageTyp and rewriting $MessageTyp with a readable string. */
if($MessageTyp == "INFO") {
$class = "class=\"statusInfo\"";
$class = "class=\"statusInfo ui-corner-all\"";
}
elseif($MessageTyp == "WARN") {
$class = "class=\"statusWarn\"";
$class = "class=\"statusWarn ui-corner-all\"";
}
elseif($MessageTyp == "ERROR") {
$class = "class=\"statusError\"";
$class = "class=\"statusError ui-corner-all\"";
}
/* Set output-message, when none or false $MessageTyp is submitted. */
else {
$class = "class=\"statusError\"";
$class = "class=\"statusError ui-corner-all\"";
$MessageTyp = "ERROR";
$MessageHeadline = "Invalid/Missing Message type";
$MessageText = "Please report this error to the Bug-Tracker at {link=http://www.ldap-account-manager.org/}LDAP Account Manager Development Team{endlink}. Thank you.";