From: rabuzarus <> Date: Mon, 26 Oct 2015 12:36:01 +0000 (+0100) Subject: template-rework: don't show the findpeople_widget on contact edit page X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=9d720f69aad34d5c6bc4806a1584705b7a80737a;p=friendica.git template-rework: don't show the findpeople_widget on contact edit page --- diff --git a/mod/contacts.php b/mod/contacts.php index 3ace870904..7f01c61c66 100644 --- a/mod/contacts.php +++ b/mod/contacts.php @@ -40,6 +40,7 @@ function contacts_init(&$a) { '$photo' => $a->data['contact']['photo'], '$url' => ($a->data['contact']['network'] == NETWORK_DFRN) ? $a->get_baseurl()."/redir/".$a->data['contact']['id'] : $a->data['contact']['url'] )); + $finpeople_widget = ''; $follow_widget = ''; $networks_widget = ''; } @@ -50,9 +51,10 @@ function contacts_init(&$a) { $follow_widget = follow_widget($_GET['add']); else $follow_widget = follow_widget(); + + $findpeople_widget .= findpeople_widget(); } - $findpeople_widget .= findpeople_widget(); $groups_widget .= group_side('contacts','group',false,0,$contact_id); $a->page['aside'] .= replace_macros(get_markup_template("contacts-widget-sidebar.tpl"),array(