diff options
author | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:52:13 -0300 |
---|---|---|
committer | Silvio Rhatto <rhatto@riseup.net> | 2014-03-15 14:52:13 -0300 |
commit | 75d2225cd98feafd5e5e75df5505914295f569ff (patch) | |
tree | 4f003195a72dbe96240968bcc04cddabf0824059 /mod/magic_topbar/start.php | |
parent | 009578973540995e73d82c4820528560f77c4d93 (diff) | |
parent | ad3bb7b13a75b7a2e23a6be637737ecd11567ed0 (diff) | |
download | elgg-75d2225cd98feafd5e5e75df5505914295f569ff.tar.gz elgg-75d2225cd98feafd5e5e75df5505914295f569ff.tar.bz2 |
Merge commit 'ad3bb7b13a75b7a2e23a6be637737ecd11567ed0' as 'mod/magic_topbar'
Diffstat (limited to 'mod/magic_topbar/start.php')
-rw-r--r-- | mod/magic_topbar/start.php | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/mod/magic_topbar/start.php b/mod/magic_topbar/start.php new file mode 100644 index 000000000..36babf170 --- /dev/null +++ b/mod/magic_topbar/start.php @@ -0,0 +1,16 @@ +<?php +/** + * Elgg Magic Topbar plugin + * + * @package ElggMagicTopbar + */ + +elgg_register_event_handler('init', 'system', 'magic_topbar_init'); + +/** + * Initialize the magic topbar plugin. + */ +function magic_topbar_init() { + elgg_extend_view('css/elgg','magic_topbar/css'); + elgg_extend_view('js/elgg','magic_topbar/js'); +} |