summaryrefslogtreecommitdiff
path: root/includes/inc_home.php
diff options
context:
space:
mode:
authorTheTroll <trolldev@gmail.com>2010-02-28 12:58:58 +0100
committerTheTroll <trolldev@gmail.com>2010-02-28 12:58:58 +0100
commit547fd24f4b448e7b56c91c91bfc2630521c50ac6 (patch)
tree2c01f43feecd55b07de61b8885456b64ba615401 /includes/inc_home.php
parent5f5250a9b693ea62075e9677b0efe53b6c4bc013 (diff)
downloadistreamdev-547fd24f4b448e7b56c91c91bfc2630521c50ac6.tar.gz
istreamdev-547fd24f4b448e7b56c91c91bfc2630521c50ac6.tar.bz2
Added a button to delete all sessions
Diffstat (limited to 'includes/inc_home.php')
-rwxr-xr-xincludes/inc_home.php18
1 files changed, 15 insertions, 3 deletions
diff --git a/includes/inc_home.php b/includes/inc_home.php
index c4416ba..f38518c 100755
--- a/includes/inc_home.php
+++ b/includes/inc_home.php
@@ -70,9 +70,21 @@ if ($dir_handle)
}
if (!$sessioncnt)
- print "<li class=\"textbox\"><p>none</p></li>\r\n";
-
-print " </ul>\r\n";
+{
+ print " <li class=\"textbox\"><p>none</p></li>\r\n";
+ print "</ul>\r\n";
+}
+else
+{
+ print "</ul>\r\n";
+ print "<form name=\"killall\" id=\"killall\" method=\"post\" action=\"index.php\">\r\n";
+ print " <input name=\"action\" type=\"hidden\" id=\"action\" value=\"stopallstreamings\" />\r\n";
+ print " <ul class=\"pageitem\">\r\n";
+ print " <li class=\"button\">\r\n";
+ print " <input name=\"Submit\" type=\"submit\" value=\"Delete all sessions\" /></li>\r\n";
+ print "</ul>\r\n";
+ print "</form>\r\n";
+}
// VDR menus
if ($vdrenabled)