aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
Diffstat (limited to 'start.php')
-rw-r--r--start.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/start.php b/start.php
new file mode 100644
index 000000000..bddd41d7d
--- /dev/null
+++ b/start.php
@@ -0,0 +1,14 @@
+<?php
+/**
+ * Elgg identi.ca widget
+ * This plugin allows users to pull in their identi.ca feed to display on their profile
+ *
+ * @package ElggIdentica
+ */
+
+elgg_register_event_handler('init', 'system', 'identica_init');
+
+function identica_init() {
+ elgg_extend_view('css/elgg', 'identica/css');
+ elgg_register_widget_type('identica', elgg_echo('identica:title'), elgg_echo('identica:info'));
+}