From 56f0244360462d96e2737ca4407feb7909c170d8 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Fri, 1 Jun 2018 20:59:28 +0200 Subject: fixes for css fix --- Zotlabs/Widget/Activity_filter.php | 7 +++++++ include/conversation.php | 2 +- view/theme/redbasic/css/style.css | 2 +- view/tpl/profile_tabs.tpl | 4 ++-- view/tpl/profile_vcard.tpl | 2 +- 5 files changed, 12 insertions(+), 5 deletions(-) diff --git a/Zotlabs/Widget/Activity_filter.php b/Zotlabs/Widget/Activity_filter.php index 18207b37b..38e45ea29 100644 --- a/Zotlabs/Widget/Activity_filter.php +++ b/Zotlabs/Widget/Activity_filter.php @@ -111,6 +111,13 @@ class Activity_filter { if(x($_GET,'search')) { $filter_active = 'search'; + $tabs[] = [ + 'label' => t('Search'), + 'icon' => 'search', + 'url' => z_root() . '/' . $cmd . '/?f=&search=' . $_GET['search'], + 'sel' => 'active disabled', + 'title' => t('Panel search'), + ]; } $reset = []; diff --git a/include/conversation.php b/include/conversation.php index 4a1cdc7da..61ca208b2 100644 --- a/include/conversation.php +++ b/include/conversation.php @@ -1162,7 +1162,7 @@ function builtin_activity_puller($item, &$conv_responses) { if((activity_match($item['verb'], $verb)) && ($item['id'] != $item['parent'])) { $name = (($item['author']['xchan_name']) ? $item['author']['xchan_name'] : t('Unknown')); $url = (($item['author_xchan'] && $item['author']['xchan_photo_s']) - ? '' . '' . urlencode($name) . '' . $name . '' + ? '' . '' . urlencode($name) . ' ' . $name . '' : '' . $name . '' ); diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index a779a0dfe..002fa700a 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -1271,7 +1271,7 @@ img.mail-conv-sender-photo { } .menu-img-1 { - height: 1..28571429em; + height: 1.28571429em; width: 1.28571429em; border-radius: $radius; } diff --git a/view/tpl/profile_tabs.tpl b/view/tpl/profile_tabs.tpl index e77da23f3..dd9fbc52b 100644 --- a/view/tpl/profile_tabs.tpl +++ b/view/tpl/profile_tabs.tpl @@ -1,5 +1,5 @@ - - + + {{foreach $tabs as $tab}} {{$tab.label}} {{/foreach}} diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index 07e6dcc0a..262bf257f 100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -11,7 +11,7 @@