summaryrefslogtreecommitdiff
path: root/includes/inc_timers.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-22 18:15:11 +0100
committerTheTroll <trolldev@gmail.com>2010-02-22 18:15:11 +0100
commit06f7a094d0aef395f7bcf6123f2678b1cf48429e (patch)
treebde4cf687e819bef1ce0a061fbffaa9065c4fbc9 /includes/inc_timers.php
parent6aa887e0732db25fdc4bc37f648ee33742069688 (diff)
downloadistreamdev-06f7a094d0aef395f7bcf6123f2678b1cf48429e.tar.gz
istreamdev-06f7a094d0aef395f7bcf6123f2678b1cf48429e.tar.bz2
Now show current timers (WIP)
Diffstat (limited to 'includes/inc_timers.php')
-rwxr-xr-x[-rw-r--r--]includes/inc_timers.php28
1 files changed, 17 insertions, 11 deletions
diff --git a/includes/inc_timers.php b/includes/inc_timers.php
index bf14074..9d66e27 100644..100755
--- a/includes/inc_timers.php
+++ b/includes/inc_timers.php
@@ -7,23 +7,29 @@ print "<div id=\"title\">iStreamdev</div>\r\n";
print "</div>\r\n";
print "<div id=\"content\">\r\n";
print " <span class=\"graytitle\">Timers</span>\r\n";
-print " <ul class=\"pageitem\">";
-print " <li class=\"textbox\"><span class=\"header\">Incoming feature</span";
-print " <p>This is just a template...</p></li></ul>";
print " <ul class=\"pageitem\">";
-print " <li class=\"textbox\"> <span class=\"header\">Current timers</span> </li>";
-print " <li class=\"menu\"><a href=\"javascript:sendForm('23.02.2010: TF1 Gran Torino')\"> <img alt=\"list\" src=\"images/pictos/timers.png\" /><span class=\"name\">23.02.2010: TF1 Gran Torino</span><span class=\"arrow\"></span></a></li>";
-print "<form name=\"23.02.2010: TF1 Gran Torino\" id=\"23.02.2010: TF1 Gran Torino\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"edit_timer\"/><input name=\"timer\" type=\"hidden\" id=\"timer\" value=\"23.02.2010: TF1 Gran Torino\" /></form>";
-print " <li class=\"menu\"><a href=\"javascript:sendForm('23.02.2010: TF1 Gran Torino')\"> <img src=\"images/pictos/timers.png\" /><span class=\"name\">12.03.2010: Canal + Les Guignols de l'Info </span><span class=\"arrow\"></span></a></li>";
-print "<form name=\">12.03.2010: Canal + Les Guignols de l'Info\" id=\">12.03.2010: Canal + Les Guignols de l'Info\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"edit_timer\"/><input name=\"timer\" type=\"hidden\" id=\"timer\" value=\">12.03.2010: Canal + Les Guignols de l'Info\" /></form>";
+print " <li class=\"textbox\">";
+print " <span class=\"header\">Current timers</span>";
+print " </li>";
+
+vdrlisttimers();
+
print "</ul>";
-print "<ul class=\"pageitem\">";
-print " <li class=\"menu\"><a href=\"javascript:sendForm('new_timer')\"><span class=\"name\">New Timer</span><span class=\"arrow\"></span></a></li>";
-print "<form name=\"new_timer\" id=\"new_timer\" method=\"post\" action=\"index.php\"><input name=\"action\" type=\"hidden\" id=\"action\" value=\"new_timer\"/></form>";
+print "<ul class=\"pageitem\">";
+print " <li class=\"menu\">";
+print " <a href=\"javascript:sendForm('new_timer')\">";
+print " <span class=\"name\">New Timer</span>";
+print " <span class=\"arrow\"></span>";
+print " </a>";
+print " </li>";
+print " <form name=\"new_timer\" id=\"new_timer\" method=\"post\" action=\"index.php\">";
+print " <input name=\"action\" type=\"hidden\" id=\"action\" value=\"new_timer\"/>";
+print " </form>";
print "</ul>";
print "</div>\r\n";
+a
?>