diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:48:17 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:48:17 -0300 |
commit | ecf3fa9e33033f2921e266c781e0ba32eecfa977 (patch) | |
tree | 8aa7874dc4b84ed890bfb7b0024145c82ad331a2 /mod/basic_theme/start.php | |
parent | 0b487846ecd43b99933255280565aaec32f98faa (diff) | |
parent | 238eb4e25087be44e834614a01ccbdec250cea45 (diff) | |
download | elgg-ecf3fa9e33033f2921e266c781e0ba32eecfa977.tar.gz elgg-ecf3fa9e33033f2921e266c781e0ba32eecfa977.tar.bz2 |
Merge commit '238eb4e25087be44e834614a01ccbdec250cea45' as 'mod/basic_theme'
Diffstat (limited to 'mod/basic_theme/start.php')
-rw-r--r-- | mod/basic_theme/start.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/mod/basic_theme/start.php b/mod/basic_theme/start.php new file mode 100644 index 000000000..c14609b21 --- /dev/null +++ b/mod/basic_theme/start.php @@ -0,0 +1,14 @@ +<?php
+
+elgg_register_event_handler('init', 'system', 'basic_theme_init');
+
+function basic_theme_init() {
+ // Override Elgg logo item
+ elgg_register_menu_item('topbar', array(
+ 'name' => 'elgg_logo',
+ 'text' => elgg_get_site_entity()->name,
+ 'href' => elgg_get_site_url(),
+ 'priority' => 0,
+ ));
+
+}
|