aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-01-06 13:25:03 +0100
committerSem <sembrestels@riseup.net>2012-01-06 13:25:03 +0100
commit9895df4280a7be9465fe148a356327edf370f6fa (patch)
tree18a8ecb3a50fe4da0164a2b5a572ed3274343aa2 /start.php
downloadelgg-9895df4280a7be9465fe148a356327edf370f6fa.tar.gz
elgg-9895df4280a7be9465fe148a356327edf370f6fa.tar.bz2
Initial commit for Elgg 1.8
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'));
+}