diff options
Diffstat (limited to 'pages/livestream/list.php')
-rwxr-xr-x | pages/livestream/list.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/pages/livestream/list.php b/pages/livestream/list.php new file mode 100755 index 000000000..82a1c8722 --- /dev/null +++ b/pages/livestream/list.php @@ -0,0 +1,21 @@ +<?php +require_once (dirname(dirname(dirname(dirname(dirname(__FILE__))))) . "/engine/start.php"); + +global $CONFIG; +$page_owner = page_owner_entity(); +$logged_user = get_loggedin_user(); + +if (livestream_user_has_access()) { + add_submenu_item(elgg_echo('livestream:new_item'), $CONFIG->wwwroot."livestream/".$page_owner->username."/new/"); + add_submenu_item(elgg_echo('livestream:viewall'), $CONFIG->wwwroot."livestream/"); +} + + + +//render +$body = elgg_view('list'); +$layout_canvas = "two_column_left_sidebar"; +$layout_view = elgg_view_layout($layout_canvas, '', $body); + +page_draw($title, $layout_view); +?> |