diff --git a/lam/lib/status.inc b/lam/lib/status.inc
index 31ea61da..41b72307 100644
--- a/lam/lib/status.inc
+++ b/lam/lib/status.inc
@@ -23,7 +23,7 @@ $Id$
/**
* LDAP Account Manager status messages.
- *
+ *
* @author Michael Duergner
* @package lib
*/
@@ -37,12 +37,12 @@ $Id$
*
{bold}, {endbold}: All text between these tags is printed bold.
*
{color=#123456}, {endcolor}: All text between these tags is printed in the given color.
*
{link=http://nodomain.org}, {endlink}: A link with the given target is created. The link text is the text between the tags.
- *
+ *
* @param string $MessageTyp The type of the message to be printed. It must be one of
* the following types: 'INFO', 'WARN' or 'ERROR'.
*
Every other type will lead to an error message indicating an invalid message type.
* @param string $MessageHeadline The headline of the status message.
- *
It may be formatted with special color/link/bold tags.
+ *
It may be formatted with special color/link/bold tags.
* @param string $MessageText The text of the status message.
*
It may be formatted with special color/link/bold tags. This parameter is optional.
* @param array $MessageVariables The variables that are used to replace the spacers (%s) in the
@@ -73,10 +73,10 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText='',$MessageVari
$MessageText = parseMessageString($MessageText);
if (is_file("../graphics/error.png")) {
- $MessageTyp = " ";
+ $MessageTyp = "";
}
else {
- $MessageTyp = " ";
+ $MessageTyp = "";
}
$MessageHeadline = "
" . $MessageHeadline . "
"; // Format $MessageHeadline
@@ -108,11 +108,11 @@ function StatusMessage($MessageTyp,$MessageHeadline,$MessageText='',$MessageVari
/**
* Use the three replace functions on the submitted Text.
- *
+ *
* @access private
- *
+ *
* @param string $MessageString The text that is used to search for replaceable strings.
- *
+ *
* @return string The processed text.
*/
function parseMessageString($MessageString) {
@@ -121,13 +121,13 @@ function parseMessageString($MessageString) {
/**
* Replace {bold} and {endbold} with and HTML-Tags.
- *
+ *
* @access private
- *
+ *
* @param string $text The text that is used to search for {bold} and {endbold} tags.
- *
+ *
* @return string The submitted text with {bold} and {endbold} replaced with
- * the appropriate HTML tages and
+ * the appropriate HTML tages and
*/
function boldText($text) {
$pattern = "/\\{bold\\}([^{]*)\\{endbold\\}/"; // Regular expression matching {bold}[Text]{endbold}
@@ -137,11 +137,11 @@ function boldText($text) {
/**
* Replace {color=#[HEX-Value]} or {color=[HEX-Value]} and {endcolor} with and HTML-Tags.
- *
+ *
* @access private
- *
+ *
* @param string $text The text that is used to search for {color} and {endcolor} tags.
- *
+ *
* @return string Input string with HTML-formatted color tags
*/
function colorText($text) {
@@ -152,11 +152,11 @@ function colorText($text) {
/**
* Replace {link=[Link-Target]} and {endlink} with and HTML-Tags.
- *
+ *
* @access private
- *
+ *
* @param string $text The text that is used to search for {link} and {endlink} tags.
- *
+ *
* @return string Input string with HTML-formatted link tags
*/
function linkText($text) {