aboutsummaryrefslogtreecommitdiff
path: root/views/default/page/elements/header_logo.php
diff options
context:
space:
mode:
Diffstat (limited to 'views/default/page/elements/header_logo.php')
-rw-r--r--views/default/page/elements/header_logo.php15
1 files changed, 15 insertions, 0 deletions
diff --git a/views/default/page/elements/header_logo.php b/views/default/page/elements/header_logo.php
new file mode 100644
index 000000000..7fe721c40
--- /dev/null
+++ b/views/default/page/elements/header_logo.php
@@ -0,0 +1,15 @@
+<?php
+/**
+ * Elgg header logo
+ */
+
+$site = elgg_get_site_entity();
+$site_name = $site->name;
+$site_url = elgg_get_site_url();
+?>
+
+<h1>
+ <a class="elgg-heading-site" href="<?php echo $site_url; ?>">
+ <?php echo $site_name; ?>
+ </a>
+</h1>