From 97ebf9021c5297a7ab2e3685bf920458d4bd3181 Mon Sep 17 00:00:00 2001 From: Mario Vavti Date: Thu, 21 Jan 2016 10:42:20 +0100 Subject: bootstrapify rating and connect buttons. position the connect button more prominent right under the profile image --- include/widgets.php | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) (limited to 'include') diff --git a/include/widgets.php b/include/widgets.php index 60605cb51..8e8f67ae6 100644 --- a/include/widgets.php +++ b/include/widgets.php @@ -1110,16 +1110,18 @@ function widget_rating($arr) { } + + $o = '
'; + $o .= '

' . t('Rating Tools') . '

'; + if((($remote) || (local_channel())) && (! $self)) { - $o = '
'; if($remote) - $o .= ' ' . t('Rate Me') . ''; + $o .= ' ' . t('Rate Me') . ''; else - $o .= ''; - $o .= '
'; + $o .= '
' . t('Rate Me') . '
'; } - $o .= ''; return $o; -- cgit v1.2.3