aboutsummaryrefslogtreecommitdiff
path: root/pages/livestream/delete.php
diff options
context:
space:
mode:
authorSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:56:18 -0300
committerSilvio Rhatto <rhatto@riseup.net>2014-03-15 14:56:18 -0300
commit059badecbc0be895c6165430e5096a9ab653027e (patch)
tree6fd90dce93b43371366c4792622af5f73cb55075 /pages/livestream/delete.php
downloadelgg-059badecbc0be895c6165430e5096a9ab653027e.tar.gz
elgg-059badecbc0be895c6165430e5096a9ab653027e.tar.bz2
Squashed 'mod/livestream/' content from commit 89d1f38
git-subtree-dir: mod/livestream git-subtree-split: 89d1f3877f241f34e3ed3baad3c9ee9a4fee79e7
Diffstat (limited to 'pages/livestream/delete.php')
-rwxr-xr-xpages/livestream/delete.php17
1 files changed, 17 insertions, 0 deletions
diff --git a/pages/livestream/delete.php b/pages/livestream/delete.php
new file mode 100755
index 000000000..b84b1079b
--- /dev/null
+++ b/pages/livestream/delete.php
@@ -0,0 +1,17 @@
+<?php
+require_once (dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php");
+
+global $CONFIG;
+$page_owner = page_owner_entity();
+
+if (livestream_user_has_access()) {
+ add_submenu_item(elgg_echo('livestream:new_item'), $CONFIG->wwwroot."livestream/".$page_owner->username."/new/");
+}
+
+//render
+$body = elgg_view('delete', Array('streamid' => get_input('streamid', '')));
+$layout_canvas = "two_column_left_sidebar";
+$layout_view = elgg_view_layout($layout_canvas, '', $body);
+
+page_draw($title, $layout_view);
+?>