From 6913e7153000ff39f491accf06cf5817f7e6bfd3 Mon Sep 17 00:00:00 2001 From: Cash Costello Date: Wed, 19 Aug 2009 12:04:17 +0000 Subject: added a latest photos widget --- start.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'start.php') 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'); -- cgit v1.2.3