diff options
author | Cash Costello <cash.costello@gmail.com> | 2009-08-19 12:04:17 +0000 |
---|---|---|
committer | Cash Costello <cash.costello@gmail.com> | 2009-08-19 12:04:17 +0000 |
commit | 6913e7153000ff39f491accf06cf5817f7e6bfd3 (patch) | |
tree | 211a324c97d0931363a8f886f495e15dc780ae4c /start.php | |
parent | fb8c5cb4681f88d25e4a4eb0cc0d7b31216248f7 (diff) | |
download | elgg-6913e7153000ff39f491accf06cf5817f7e6bfd3.tar.gz elgg-6913e7153000ff39f491accf06cf5817f7e6bfd3.tar.bz2 |
added a latest photos widget
Diffstat (limited to 'start.php')
-rw-r--r-- | start.php | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -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');
|