diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/videolist/group_video_header.php | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/views/default/videolist/group_video_header.php b/views/default/videolist/group_video_header.php new file mode 100644 index 000000000..d3f59b773 --- /dev/null +++ b/views/default/videolist/group_video_header.php @@ -0,0 +1,21 @@ +<?php
+/**
+* Page header view, when visiting a group's videos
+**/
+
+$user = page_owner_entity();
+$user_name = elgg_view_title($user->name . "'s " . elgg_echo('videos'));
+$url = $CONFIG->wwwroot . "pg/videolist/browse/". $user->username . "/";
+if(isloggedin())
+ $upload_link = "<a href=\"{$url}\" class='action_button'>" . elgg_echo('videolist:browsemenu') . '</a>';
+else
+ $upload_link = '';
+?>
+<div id="content_header" class="clearfloat">
+ <div class="content_header_title">
+ <?php echo $user_name; ?>
+ </div>
+ <div class="content_header_options">
+ <?php echo $upload_link; ?>
+ </div>
+</div>
\ No newline at end of file |