summaryrefslogtreecommitdiff
path: root/includes/helper
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2014-08-22 22:34:13 +0200
committerPhilip Häusler <msquare@notrademark.de>2014-08-22 22:34:13 +0200
commit74647e16d37fac9425a4561b49618b52cdc3e75c (patch)
tree7bfd868f8ef2646e65ffd8dbdf63dd8bf91723e3 /includes/helper
parent721aa7f160db36e53d03081bbda73970b702eeb7 (diff)
add basic bootstrap theme
Diffstat (limited to 'includes/helper')
-rw-r--r--includes/helper/message_helper.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/helper/message_helper.php b/includes/helper/message_helper.php
index 9bb78a05..26bad871 100644
--- a/includes/helper/message_helper.php
+++ b/includes/helper/message_helper.php
@@ -18,7 +18,7 @@ function info($msg, $immediatly = false) {
if ($immediatly) {
if ($msg == "")
return "";
- return '<p class="info">' . $msg . '</p>';
+ return '<div class="alert alert-info">' . $msg . '</div>';
} else {
if (! isset($_SESSION['msg']))
$_SESSION['msg'] = "";
@@ -33,7 +33,7 @@ function error($msg, $immediatly = false) {
if ($immediatly) {
if ($msg == "")
return "";
- return '<p class="error">' . $msg . '</p>';
+ return '<div class="alert alert-danger">' . $msg . '</div>';
} else {
if (! isset($_SESSION['msg']))
$_SESSION['msg'] = "";
@@ -48,7 +48,7 @@ function success($msg, $immediatly = false) {
if ($immediatly) {
if ($msg == "")
return "";
- return '<p class="success">' . $msg . '</p>';
+ return '<div class="alert alert-success">' . $msg . '</div>';
} else {
if (! isset($_SESSION['msg']))
$_SESSION['msg'] = "";