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()) { function StatusMessage($MessageTyp,$MessageHeadline,$MessageText='',$MessageVariables = array()) {
/* Setting CSS-StyleSheet class depending on the $MessageTyp and rewriting $MessageTyp with a readable string. */ /* Setting CSS-StyleSheet class depending on the $MessageTyp and rewriting $MessageTyp with a readable string. */
if($MessageTyp == "INFO") { if($MessageTyp == "INFO") {
$class = "class=\"statusInfo\""; $class = "class=\"statusInfo ui-corner-all\"";
} }
elseif($MessageTyp == "WARN") { elseif($MessageTyp == "WARN") {
$class = "class=\"statusWarn\""; $class = "class=\"statusWarn ui-corner-all\"";
} }
elseif($MessageTyp == "ERROR") { elseif($MessageTyp == "ERROR") {
$class = "class=\"statusError\""; $class = "class=\"statusError ui-corner-all\"";
} }
/* Set output-message, when none or false $MessageTyp is submitted. */ /* Set output-message, when none or false $MessageTyp is submitted. */
else { else {
$class = "class=\"statusError\""; $class = "class=\"statusError ui-corner-all\"";
$MessageTyp = "ERROR"; $MessageTyp = "ERROR";
$MessageHeadline = "Invalid/Missing Message type"; $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."; $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.";