diff options
author | Pablo Martin <caedes@sindominio.net> | 2012-10-30 11:42:18 +0000 |
---|---|---|
committer | root <root@migration.vz.lan> | 2012-10-30 11:42:26 +0000 |
commit | fa825c5d41abf52153c50137d31dfc086c9f154d (patch) | |
tree | 8098f99f8c792f2f0feb968696b6f3ff0fda6eee /start.php | |
download | elgg-fa825c5d41abf52153c50137d31dfc086c9f154d.tar.gz elgg-fa825c5d41abf52153c50137d31dfc086c9f154d.tar.bz2 |
thewirewrite widget.
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/start.php b/start.php new file mode 100644 index 000000000..17646dad6 --- /dev/null +++ b/start.php @@ -0,0 +1,7 @@ +<?php + +function profile_widgets_init() { + elgg_register_widget_type('thewirewrite', elgg_echo('thewire:add'), elgg_echo("thewire:yourdesc:write:desc"), 'dashboard'); +} + +elgg_register_event_handler('init', 'system', 'profile_widgets_init'); |