From: tommy tomson Date: Tue, 27 Mar 2012 06:28:47 +0000 (+0200) Subject: add "find friends" to right_aside to diabook, fixes in css in diabook X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=e7bc3f2bd0f578d04c271029d869e1fbc36cbec4;p=friendica.git add "find friends" to right_aside to diabook, fixes in css in diabook --- diff --git a/view/theme/diabook-blue/communityhome.tpl b/view/theme/diabook-blue/communityhome.tpl index 854684a5f5..748e6d0779 100755 --- a/view/theme/diabook-blue/communityhome.tpl +++ b/view/theme/diabook-blue/communityhome.tpl @@ -24,7 +24,7 @@ {{ endif }} -{{ if $lastusers_title }} +{{ if $nv }}

Find Friends

$nv.directory.1
$nv.match.1
diff --git a/view/theme/diabook-blue/style-network.css b/view/theme/diabook-blue/style-network.css index c35320fcfa..d0bcd3209e 100644 --- a/view/theme/diabook-blue/style-network.css +++ b/view/theme/diabook-blue/style-network.css @@ -387,7 +387,7 @@ margin-bottom: 1px; width: 484px; border-bottom: 1px solid #BDCDD4; - background-color: #E4EEF7; + background-color: #fff; padding: 8px; } @@ -1324,12 +1324,11 @@ right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: float: right; } .wall-item-container.comment { - margin-top: 0px; - margin-bottom: 0px; + margin-top: 5px; + margin-bottom: 5px; margin-left: 80px; width: 500px; border-bottom: 1px solid hsl(198, 21%, 79%); - background-color: #E4EEF7; } .wall-item-container.comment .contact-photo { width: 32px; @@ -1345,17 +1344,10 @@ right_aside #ra-photos-wrapper { padding-left: 5px; padding-top: 3px; overflow: .wall-item-container.comment .wall-item-links { padding-left: 12px; } -.wall-item-like { - background-color: #E4EEF7; - - } -.wall-item-dislike{ - background-color: #E4EEF7; - border-bottom: 1px solid #BECED5; - } + .wall-item-comment-wrapper { margin: 1px 0px 0px 80px; - background-color: #E4EEF7; + background-color: #fff; width: 500px; } .wall-item-comment-wrapper .comment-edit-photo { diff --git a/view/theme/diabook-blue/theme.php b/view/theme/diabook-blue/theme.php index bbda4f1030..e12d940aa9 100755 --- a/view/theme/diabook-blue/theme.php +++ b/view/theme/diabook-blue/theme.php @@ -137,7 +137,7 @@ function diabook_blue_community_info(){ $aside['$fostitJS'] = $fostitJS; //nav FIND FRIENDS - + if(local_user()) { $nv = array(); $nv['directory'] = Array('directory', t('Directory'), "", ""); $nv['match'] = Array('match', t('Similar Interests'), "", ""); @@ -145,7 +145,7 @@ function diabook_blue_community_info(){ $nv['invite'] = Array('invite', t('Invite Friends'), "", ""); $aside['$nv'] = $nv; - + }; //Community Page $page = '
diff --git a/view/theme/diabook/communityhome.tpl b/view/theme/diabook/communityhome.tpl index aa150b9d0c..7e50423ce2 100755 --- a/view/theme/diabook/communityhome.tpl +++ b/view/theme/diabook/communityhome.tpl @@ -24,6 +24,14 @@
{{ endif }} +{{ if $nv }} +

Find Friends

+$nv.directory.1
+$nv.match.1
+$nv.suggest.1 +$nv.invite.1 +{{ endif }} + {{ if $lastusers_title }}

PostIt to Friendica

Post to Friendica from anywhere by bookmarking this Link.
diff --git a/view/theme/diabook/icons/pscontacts.png b/view/theme/diabook/icons/pscontacts.png new file mode 100644 index 0000000000..acf857f32f Binary files /dev/null and b/view/theme/diabook/icons/pscontacts.png differ diff --git a/view/theme/diabook/icons/pubgroups.png b/view/theme/diabook/icons/pubgroups.png index acf857f32f..6d9539610e 100644 Binary files a/view/theme/diabook/icons/pubgroups.png and b/view/theme/diabook/icons/pubgroups.png differ diff --git a/view/theme/diabook/profile_side.tpl b/view/theme/diabook/profile_side.tpl index 0fa8a27fd8..fc949639ea 100644 --- a/view/theme/diabook/profile_side.tpl +++ b/view/theme/diabook/profile_side.tpl @@ -9,6 +9,7 @@