diff options
author | TheTroll <trolldev@gmail.com> | 2010-02-23 13:58:42 +0100 |
---|---|---|
committer | TheTroll <trolldev@gmail.com> | 2010-02-23 13:58:42 +0100 |
commit | 902ee1ab48b46fa117aad0e3508f58df40bcbe3e (patch) | |
tree | 69bff970e7b4d54c111adabbb265a044ffd25775 /includes/inc_timers.php | |
parent | 99ebedf5abf6b064fd413512a4df06b3b78f9f62 (diff) | |
download | istreamdev-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-x | includes/inc_timers.php | 30 |
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\">"; |