aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorSem <sembrestels@riseup.net>2012-01-06 16:07:45 +0100
committerSem <sembrestels@riseup.net>2012-01-06 16:07:45 +0100
commit479e5b1bb819967665bb1933d268e16c16c69b70 (patch)
tree4e2a98cf72dfd72109f18263991d61cf407852c4 /start.php
parent9895df4280a7be9465fe148a356327edf370f6fa (diff)
downloadelgg-479e5b1bb819967665bb1933d268e16c16c69b70.tar.gz
elgg-479e5b1bb819967665bb1933d268e16c16c69b70.tar.bz2
Refactored javascripts. Added elgg.get_friendly_time() function.
Diffstat (limited to 'start.php')
-rw-r--r--start.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/start.php b/start.php
index bddd41d7d..d9bdf6af7 100644
--- a/start.php
+++ b/start.php
@@ -10,5 +10,7 @@ elgg_register_event_handler('init', 'system', 'identica_init');
function identica_init() {
elgg_extend_view('css/elgg', 'identica/css');
+ elgg_register_js('identica', elgg_get_site_url() . "mod/identica/views/default/identica/js.php");
+ elgg_register_js('friendly_time', elgg_get_site_url() . "mod/identica/views/default/js/friendly_time.php");
elgg_register_widget_type('identica', elgg_echo('identica:title'), elgg_echo('identica:info'));
}