aboutsummaryrefslogtreecommitdiff
path: root/start.php
diff options
context:
space:
mode:
authorCash Costello <cash.costello@gmail.com>2009-08-19 12:04:17 +0000
committerCash Costello <cash.costello@gmail.com>2009-08-19 12:04:17 +0000
commit6913e7153000ff39f491accf06cf5817f7e6bfd3 (patch)
tree211a324c97d0931363a8f886f495e15dc780ae4c /start.php
parentfb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7 (diff)
downloadelgg-6913e7153000ff39f491accf06cf5817f7e6bfd3.tar.gz
elgg-6913e7153000ff39f491accf06cf5817f7e6bfd3.tar.bz2
added a latest photos widget
Diffstat (limited to 'start.php')
-rw-r--r--start.php5
1 files changed, 3 insertions, 2 deletions
diff --git a/start.php b/start.php
index 9e061ad90..d88f7497a 100644
--- a/start.php
+++ b/start.php
@@ -41,9 +41,10 @@
// Register a page handler, so we can have nice URLs
register_page_handler('photos','tidypics_page_handler');
-
+
// Add a new tidypics widget
- add_widget_type('album_view', elgg_echo("album:widget"), elgg_echo("album:widget:description"), 'profile');
+ add_widget_type('album_view', elgg_echo("tidypics:widget:albums"), elgg_echo("tidypics:widget:album_descr"), 'profile');
+ add_widget_type('latest', elgg_echo("tidypics:widget:latest"), elgg_echo("tidypics:widget:latest_descr"), 'profile');
// Register a URL handler for files
register_entity_url_handler('tidypics_image_url', 'object', 'image');