aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-08 16:16:54 -0800
committerfriendica <info@friendica.com>2013-12-08 16:16:54 -0800
commit8959487f1c7e5b785df2f8e7658da8b2534b2ad9 (patch)
tree8d93b876105e5b0d96396845adfe0ab810f84613 /mod
parentd32e05fb5e30dc634754e9d2e55cc7702a883ede (diff)
downloadvolse-hubzilla-8959487f1c7e5b785df2f8e7658da8b2534b2ad9.tar.gz
volse-hubzilla-8959487f1c7e5b785df2f8e7658da8b2534b2ad9.tar.bz2
volse-hubzilla-8959487f1c7e5b785df2f8e7658da8b2534b2ad9.zip
transition to $a->set_widget in /network on the short term - long term this will be in view/pdl files
Diffstat (limited to 'mod')
-rw-r--r--mod/network.php10
1 files changed, 5 insertions, 5 deletions
diff --git a/mod/network.php b/mod/network.php
index b2eed8a73..e6cb2b6c6 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -48,12 +48,12 @@ function network_init(&$a) {
}
require_once('include/widgets.php');
- $a->page['aside'] .= widget_collections(array());
- $a->page['aside'] .= posted_date_widget($a->get_baseurl() . '/network',local_user(),false);
- $a->page['aside'] .= suggest_widget();
- $a->page['aside'] .= saved_searches($search);
- $a->page['aside'] .= fileas_widget($a->get_baseurl(true) . '/network',(x($_GET, 'file') ? $_GET['file'] : ''));
+ $a->set_widget('collections',widget_collections(array()));
+ $a->set_widget('archives',posted_date_widget($a->get_baseurl() . '/network',local_user(),false));
+ $a->set_widget('suggestions',suggest_widget());
+ $a->set_widget('savedsearch',saved_searches($search));
+ $a->set_widget('filer',fileas_widget($a->get_baseurl(true) . '/network',(x($_GET, 'file') ? $_GET['file'] : '')));
if($search) {