aboutsummaryrefslogtreecommitdiffstats
path: root/mod/network.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-12-08 20:08:50 -0800
committerfriendica <info@friendica.com>2013-12-08 20:08:50 -0800
commit082ac6777829c98ded48c271f4210ac5d6e1a68f (patch)
tree664a2ee7f0451640dac4d2672e40e3cfe044fcfb /mod/network.php
parent8959487f1c7e5b785df2f8e7658da8b2534b2ad9 (diff)
downloadvolse-hubzilla-082ac6777829c98ded48c271f4210ac5d6e1a68f.tar.gz
volse-hubzilla-082ac6777829c98ded48c271f4210ac5d6e1a68f.tar.bz2
volse-hubzilla-082ac6777829c98ded48c271f4210ac5d6e1a68f.zip
suggestion widget tweaked to make it comanche capable. Remove old versions of specs that are so obsolete it isn't funny. Zot protocol reference is in red's github wiki, and in the code. We should move the github copy to /doc once it is updated to match the code. There's no point in documenting dfrn in the red code base.
Diffstat (limited to 'mod/network.php')
-rw-r--r--mod/network.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/mod/network.php b/mod/network.php
index e6cb2b6c6..efb3116ae 100644
--- a/mod/network.php
+++ b/mod/network.php
@@ -51,7 +51,7 @@ function network_init(&$a) {
$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('suggestions',widget_suggestions(array()));
$a->set_widget('savedsearch',saved_searches($search));
$a->set_widget('filer',fileas_widget($a->get_baseurl(true) . '/network',(x($_GET, 'file') ? $_GET['file'] : '')));
@@ -286,7 +286,7 @@ function network_content(&$a, $update = 0, $load = false) {
}
else {
$contact_str = ' 0 ';
- info( t('Group is empty'));
+ info( t('Collection is empty'));
}
$sql_extra = " AND item.parent IN ( SELECT DISTINCT parent FROM item WHERE true $sql_options AND (( author_xchan IN ( $contact_str ) OR owner_xchan in ( $contact_str )) or allow_gid like '" . protect_sprintf('%<' . dbesc($group_hash) . '>%') . "' ) and id = parent and item_restrict = 0 ) ";