summaryrefslogtreecommitdiff
path: root/includes/inc_timers.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-23 13:58:42 +0100
committerTheTroll <trolldev@gmail.com>2010-02-23 13:58:42 +0100
commit902ee1ab48b46fa117aad0e3508f58df40bcbe3e (patch)
tree69bff970e7b4d54c111adabbb265a044ffd25775 /includes/inc_timers.php
parent99ebedf5abf6b064fd413512a4df06b3b78f9f62 (diff)
downloadistreamdev-902ee1ab48b46fa117aad0e3508f58df40bcbe3e.tar.gz
istreamdev-902ee1ab48b46fa117aad0e3508f58df40bcbe3e.tar.bz2
Fixed empty or lonely timers
Print the status of the timer modifications
Diffstat (limited to 'includes/inc_timers.php')
-rwxr-xr-xincludes/inc_timers.php30
1 files changed, 7 insertions, 23 deletions
diff --git a/includes/inc_timers.php b/includes/inc_timers.php
index 6c3aacf..5190494 100755
--- a/includes/inc_timers.php
+++ b/includes/inc_timers.php
@@ -8,29 +8,13 @@ print "</div>\r\n";
print "<div id=\"content\">\r\n";
print " <span class=\"graytitle\">Timers</span>\r\n";
-//contextual alert message
-
-//error new timer
-print " <ul class=\"pageitem\">";
-print " <li class=\"textbox\"><p><font color='red'>Error: the timer was not created</font></p></li>";
-print " </ul>";
-
-//error edit timer
-print " <ul class=\"pageitem\">";
-print " <li class=\"textbox\"><p><font color='red'>Error: the timer was not edited</font></p></li>";
-print " </ul>";
-
-//success new timer
-print " <ul class=\"pageitem\">";
-print " <li class=\"textbox\"><p>The timer was successfully created</p></li>";
-print " </ul>";
-
-//success edit timer
-print " <ul class=\"pageitem\">";
-print " <li class=\"textbox\"><p>The timer was successfully edited</font></p></li>";
-print " </ul>";
-
-//end contextual alert message
+// Status display
+if ($message != "")
+{
+ print " <ul class=\"pageitem\">";
+ print $message;
+ print " </ul>";
+}
print " <ul class=\"pageitem\">";
print " <li class=\"textbox\">";