summaryrefslogtreecommitdiff
path: root/includes/helper
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-10-13 00:52:44 +0200
committerPhilip Häusler <msquare@notrademark.de>2013-10-13 00:52:44 +0200
commit3c4321ff76accb98ec3c99316766234ebcafae90 (patch)
tree7461bf942302ec3344a5006f3d40c49963ac28dc /includes/helper
parentbfb0cacd541cc20129a3c0ac77130370741dca18 (diff)
30c3 theme
Diffstat (limited to 'includes/helper')
-rw-r--r--includes/helper/error_helper.php1
-rw-r--r--includes/helper/message_helper.php8
2 files changed, 5 insertions, 4 deletions
diff --git a/includes/helper/error_helper.php b/includes/helper/error_helper.php
index d26485d6..b4b4f248 100644
--- a/includes/helper/error_helper.php
+++ b/includes/helper/error_helper.php
@@ -2,6 +2,7 @@
/**
* Displays a fatal message and stops execution.
+ *
* @param string $message
*/
function engelsystem_error($message) {
diff --git a/includes/helper/message_helper.php b/includes/helper/message_helper.php
index c582c5b1..9bb78a05 100644
--- a/includes/helper/message_helper.php
+++ b/includes/helper/message_helper.php
@@ -4,7 +4,7 @@
* Gibt zwischengespeicherte Fehlermeldungen zurück und löscht den Zwischenspeicher
*/
function msg() {
- if (!isset ($_SESSION['msg']))
+ if (! isset($_SESSION['msg']))
return "";
$msg = $_SESSION['msg'];
$_SESSION['msg'] = "";
@@ -20,7 +20,7 @@ function info($msg, $immediatly = false) {
return "";
return '<p class="info">' . $msg . '</p>';
} else {
- if (!isset ($_SESSION['msg']))
+ if (! isset($_SESSION['msg']))
$_SESSION['msg'] = "";
$_SESSION['msg'] .= info($msg, true);
}
@@ -35,7 +35,7 @@ function error($msg, $immediatly = false) {
return "";
return '<p class="error">' . $msg . '</p>';
} else {
- if (!isset ($_SESSION['msg']))
+ if (! isset($_SESSION['msg']))
$_SESSION['msg'] = "";
$_SESSION['msg'] .= error($msg, true);
}
@@ -50,7 +50,7 @@ function success($msg, $immediatly = false) {
return "";
return '<p class="success">' . $msg . '</p>';
} else {
- if (!isset ($_SESSION['msg']))
+ if (! isset($_SESSION['msg']))
$_SESSION['msg'] = "";
$_SESSION['msg'] .= success($msg, true);
}