From 5acfef8edb0b8f0b9a600ad192d38eae5e1fa69b Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Sun, 1 Nov 2015 21:32:28 +0100 Subject: since other networks do not support cloning we only need hublocs for zot contacts - fix #111 --- mod/connedit.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/connedit.php b/mod/connedit.php index c3fcc6d54..c8f83b0e8 100644 --- a/mod/connedit.php +++ b/mod/connedit.php @@ -654,7 +654,7 @@ function connedit_content(&$a) { $locstr = ''; - $locs = q("select hubloc_addr as location from hubloc where hubloc_hash = '%s'", + $locs = q("select hubloc_addr as location from hubloc where hubloc_hash = '%s' and hubloc_network = 'zot'", dbesc($contact['xchan_hash']) ); -- cgit v1.2.3 From 618155e6ab1a76b5aaa667aa41a1668ce8f73a20 Mon Sep 17 00:00:00 2001 From: jeroenpraat Date: Sun, 1 Nov 2015 22:59:32 +0100 Subject: More Bluegrid fine tuning and generic-content-wrapper-styled added to some tpl-files and 2 php files, cause they dont have a tpl file. --- mod/admin.php | 2 +- mod/pubsites.php | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'mod') diff --git a/mod/admin.php b/mod/admin.php index aaf00b14f..8fe9c8336 100644 --- a/mod/admin.php +++ b/mod/admin.php @@ -557,7 +557,7 @@ function admin_page_dbsync(&$a) { } } if(! count($failed)) - return '

' . t('No failed updates.') . '

'; + return '

' . t('No failed updates.') . '

'; $o = replace_macros(get_markup_template('failed_updates.tpl'),array( '$base' => $a->get_baseurl(true), diff --git a/mod/pubsites.php b/mod/pubsites.php index 726c681fa..ae8601366 100644 --- a/mod/pubsites.php +++ b/mod/pubsites.php @@ -13,6 +13,8 @@ function pubsites_content(&$a) { } $url .= '/sites'; + $o .= '
'; + $o .= '

' . t('Public Sites') . '

'; $o .= '
' . @@ -33,6 +35,9 @@ function pubsites_content(&$a) { } $o .= ''; + + $o .= '
'; + } } return $o; -- cgit v1.2.3