diff options
author | Sem <sembrestels@riseup.net> | 2012-05-05 01:24:55 +0200 |
---|---|---|
committer | Sem <sembrestels@riseup.net> | 2012-05-05 01:24:55 +0200 |
commit | b0e908f45134d8730954f4cc0d88ebf9b5c3eb4c (patch) | |
tree | fc5563eb060190edf8e81f16c75bb45b3a105cb8 /start.php | |
download | elgg-b0e908f45134d8730954f4cc0d88ebf9b5c3eb4c.tar.gz elgg-b0e908f45134d8730954f4cc0d88ebf9b5c3eb4c.tar.bz2 |
Basic theme.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/start.php b/start.php new file mode 100644 index 000000000..c14609b21 --- /dev/null +++ b/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,
+ ));
+
+}
|