diff options
Diffstat (limited to 'views')
-rw-r--r-- | views/default/page_elements/content_header_member.php | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/views/default/page_elements/content_header_member.php b/views/default/page_elements/content_header_member.php new file mode 100644 index 000000000..25e71cf2b --- /dev/null +++ b/views/default/page_elements/content_header_member.php @@ -0,0 +1,26 @@ +<?php
+/**
+ * When looking at a users blog, bookmarks, video etc only show
+ * the users name and the tool you are viewing
+ *
+ * @package Elgg
+ * @subpackage Core
+ * @author Curverider Ltd
+ * @link http://elgg.org/
+ *
+ */
+
+$page_owner = page_owner_entity();
+$name = page_owner_entity()->name;
+
+// get the object type
+$type = $vars['type'];
+
+$title = elgg_echo($type);
+$title = '<div class="content_header_title">' . $name . "'s " . $type . '</div>';
+?>
+
+<div id="content_header" class="clearfloat">
+ <?php echo $title; ?>
+</div>
+
|