summaryrefslogtreecommitdiff
path: root/includes/inc_timers.php
diff options
context:
space:
mode:
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\">";