From e7bc3f2bd0f578d04c271029d869e1fbc36cbec4 Mon Sep 17 00:00:00 2001 From: tommy tomson Date: Tue, 27 Mar 2012 08:28:47 +0200 Subject: [PATCH] add "find friends" to right_aside to diabook, fixes in css in diabook --- view/theme/diabook-blue/communityhome.tpl | 2 +- view/theme/diabook-blue/style-network.css | 18 +++++------------- view/theme/diabook-blue/theme.php | 4 ++-- view/theme/diabook/communityhome.tpl | 8 ++++++++ view/theme/diabook/icons/pscontacts.png | Bin 0 -> 710 bytes view/theme/diabook/icons/pubgroups.png | Bin 710 -> 781 bytes view/theme/diabook/profile_side.tpl | 1 + view/theme/diabook/style-network.css | 3 +++ view/theme/diabook/theme.php | 12 ++++++++++++ 9 files changed, 32 insertions(+), 16 deletions(-) create mode 100644 view/theme/diabook/icons/pscontacts.png 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 0000000000000000000000000000000000000000..acf857f32f3bfbe68a514527e995407f8c916527 GIT binary patch literal 710 zcmV;%0y+JOP)Px#24YJ`L;(K){{a7>y{D4^000SaNLh0L01FcU01FcV0GgZ_00007bV*G`2iyY? z0RST%G(i3U00KryL_t(I%k7j&Pg7AChTqfP&b_VWQaW&ZduxHvMudQdMnPRTB$7y6 zkl=<5ae>Ai{ts3fCF;T+J`+v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?A2l9fRCCJtb*;gtLj={VjXlN^_4J8 z%zQZWfveV0$N>+J`+vnVHET+(3o5;Z=xnEu*%srkKbaEMI#nmW5^!|{n!L{;K`4=O zZen32Em}3$Fn^msq#`C(m&om!E%vV*U+r=`T0Nd8Dn{co8uhfeQ_|F$bmnD;KtJcp zm?}^R=Z_npE}Y5n%6IF*SX9=;&6bkKyt!pGhkcV#cF<$ z+G}|Cup|9=2(vy}j^C^tTIH;4sNskYoKrySi2%4J8-I!n14@<95iOMpB@&J%aE?|=Sqd3-MhsW=I|uyiyS z?hRe*z8ud@BN0sjlm+kX!o&N)k27QH9-w`FzfG!mypcZ5gVvLseHq?^C5fk5bt6fX z-PqhE^lF%+;5sYbx-cG`yt5y;!tq6Zx!;ifhJ{cLBo8ooz@P=)$dySkI*q}WaGRXn zuW(#8xq6aw^F4EmGrg?MQm-HifJ!7CNp0Jt*{6A4KY8$T{^$7(($CM#3rj=100000 LNkvXXu0mjfco;0s 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 @@