From 69573c6afe8afcbd75304dd0cd2f12d341f4195e Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 14 Jan 2016 10:36:45 +0100 Subject: [PATCH] some template work on follow widget --- include/widgets.php | 4 ++-- view/css/widgets.css | 11 ----------- view/tpl/follow.tpl | 11 ++++++++--- view/tpl/peoplefind.tpl | 2 +- 4 files changed, 11 insertions(+), 17 deletions(-) diff --git a/include/widgets.php b/include/widgets.php index a7d06d39e..444ce55d6 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -170,8 +170,8 @@ function widget_follow($args) { } return replace_macros(get_markup_template('follow.tpl'),array( '$connect' => t('Add New Connection'), - '$desc' => t('Enter the channel address'), - '$hint' => t('Example: bob@example.com, http://example.com/barbara'), + '$desc' => t('Enter channel address'), + '$hint' => t('Examples: bob@example.com, https://example.com/channel/barbara'), '$follow' => t('Connect'), '$abook_usage_message' => $abook_usage_message )); diff --git a/view/css/widgets.css b/view/css/widgets.css index f1c1436c7..a1801ac77 100644 --- a/view/css/widgets.css +++ b/view/css/widgets.css @@ -23,17 +23,6 @@ margin-top: 10px; } -/* follow */ - -#side-follow-url { - margin-top: 5px; - width: 100%; -} - -#side-follow-submit { - margin-top: 15px; -} - /* notes */ #note-text { diff --git a/view/tpl/follow.tpl b/view/tpl/follow.tpl index 0c808b9a5..8c1f8d4ca 100755 --- a/view/tpl/follow.tpl +++ b/view/tpl/follow.tpl @@ -1,9 +1,14 @@

{{$connect}}

-
{{$desc}}
- - +
+
+ +
+ +
+
+
{{if $abook_usage_message}}
{{$abook_usage_message}}
diff --git a/view/tpl/peoplefind.tpl b/view/tpl/peoplefind.tpl index 5d68cb2d8..d7d48cfd2 100755 --- a/view/tpl/peoplefind.tpl +++ b/view/tpl/peoplefind.tpl @@ -5,7 +5,7 @@
-
+