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 .= '
' . t('View Ratings') . ''; + $o .= ' ' . t('View Ratings') . ''; $o .= '
'; return $o; diff --git a/view/theme/redbasic/css/style.css b/view/theme/redbasic/css/style.css index 5fcf901fb..d596fa332 100644 --- a/view/theme/redbasic/css/style.css +++ b/view/theme/redbasic/css/style.css @@ -310,6 +310,11 @@ footer { margin-bottom: 0px; } +.connect-btn-wrapper { + margin-bottom: 10px; + +} + .profile-edit-side-link { padding: 3px 0px; opacity: 0; diff --git a/view/tpl/profile_vcard.tpl b/view/tpl/profile_vcard.tpl index c52c2cd81..bfd8ff042 100755 --- a/view/tpl/profile_vcard.tpl +++ b/view/tpl/profile_vcard.tpl @@ -1,5 +1,8 @@
{{$profile.name}}
+ {{if $connect}} + + {{/if}} {{if $profile.edit}}
+{{$rating}} {{$chanmenu}} diff --git a/view/tpl/xchan_vcard.tpl b/view/tpl/xchan_vcard.tpl index 2acbb24e4..ad409d75b 100755 --- a/view/tpl/xchan_vcard.tpl +++ b/view/tpl/xchan_vcard.tpl @@ -1,11 +1,10 @@
{{$name}}
+{{if $connect}} + +{{/if}}
{{$name}}
-{{if $mode != 'mail'}} -{{if $connect}} - {{$connect}} -{{/if}} -{{/if}} +