diff options
author | friendica <info@friendica.com> | 2012-09-27 17:48:10 -0700 |
---|---|---|
committer | friendica <info@friendica.com> | 2012-09-27 17:48:10 -0700 |
commit | d261fe271fdee747244c76f7ba4679b8372a2e8c (patch) | |
tree | 90da2f6f16c484243c4b422d32b72ddd9e04965f /mod/profile.php | |
parent | ba4fe4ff919fa3250db33eee2425870f10107e81 (diff) | |
download | volse-hubzilla-d261fe271fdee747244c76f7ba4679b8372a2e8c.tar.gz volse-hubzilla-d261fe271fdee747244c76f7ba4679b8372a2e8c.tar.bz2 volse-hubzilla-d261fe271fdee747244c76f7ba4679b8372a2e8c.zip |
create a widget registry for pages so themes can reorder, insert/delete, and relocate widgets to different regions of the page
Diffstat (limited to 'mod/profile.php')
-rw-r--r-- | mod/profile.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/profile.php b/mod/profile.php index 4351c607a..68dc6db72 100644 --- a/mod/profile.php +++ b/mod/profile.php @@ -35,8 +35,8 @@ function profile_aside(&$a) { profile_load($a,$which,$profile); - $a->page['aside'] .= posted_date_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],$a->profile['profile_uid'],true); - $a->page['aside'] .= categories_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],$cat); + $a->set_widget('archive',posted_date_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],$a->profile['profile_uid'],true)); + $a->set_widget('categories',categories_widget($a->get_baseurl(true) . '/profile/' . $a->profile['nickname'],$cat)); } |