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.php21
1 files changed, 21 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..373ce27f7
--- /dev/null
+++ b/views/default/page/elements/header_logo.php
@@ -0,0 +1,21 @@
+<?php
+/**
+ * Elgg header logo
+ */
+
+$site = elgg_get_site_entity();
+$site_name = $site->name;
+$site_url = elgg_get_site_url();
+$site_description = $site->description;
+?>
+
+<h1 style="float:left;margin-top:10px;">
+ <a class="elgg-heading-site" href="<?php echo $site_url; ?>">
+ <?php echo $site_name; ?>
+ </a>
+</h1>
+
+
+<div style="clear:left;"></div>
+<p style="float:left;margin-left:20px;"><?php echo $site_description; ?></p>
+