summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlib <aliboba@free.fr>2010-02-23 12:22:31 +0100
committerAlib <aliboba@free.fr>2010-02-23 12:22:31 +0100
commitf9fcb291fbb7bbfeebe6abb84117530aef6c3936 (patch)
tree7c8d64932f4944f2aa3383fd482b900ab839d490
parentd9c9772a03b8be320843c67a2784088d914cc09e (diff)
downloadistreamdev-f9fcb291fbb7bbfeebe6abb84117530aef6c3936.tar.gz
istreamdev-f9fcb291fbb7bbfeebe6abb84117530aef6c3936.tar.bz2
added contextual title for edit_timer
-rwxr-xr-xincludes/inc_edittimer.php8
1 files changed, 7 insertions, 1 deletions
diff --git a/includes/inc_edittimer.php b/includes/inc_edittimer.php
index 6f8a82f..5479b27 100755
--- a/includes/inc_edittimer.php
+++ b/includes/inc_edittimer.php
@@ -8,8 +8,14 @@ print "<div id=\"rightnav\">\r\n";
print "<a href=\"index.php\"><img alt=\"home\" src=\"images/home.png\" /></a></div>\r\n";
print "<div id=\"title\">iStream</div>\r\n";
print "</div>\r\n";
+if ($timer == -1)
+{
+print "<div id=\"content\"> <span class=\"graytitle\">New Timer</span>\r\n";
+}
+else
+{
print "<div id=\"content\"> <span class=\"graytitle\">Edit Timer</span>\r\n";
-
+}
$timer = $_REQUEST['timer'];
list($type, $channame, $date, $stime, $etime, $desc) = vdrgettimerinfo($timer);