]> git.mxchange.org Git - friendica.git/commitdiff
quattro
authorFabio Comuni <fabrix.xm@gmail.com>
Thu, 15 Sep 2011 08:38:37 +0000 (10:38 +0200)
committerFabio Comuni <fabrix.xm@gmail.com>
Thu, 15 Sep 2011 08:38:37 +0000 (10:38 +0200)
boot.php
view/profile_vcard.tpl
view/theme/quattro/quattro.less
view/theme/quattro/style.css

index 10195c2bac60dd544aa21251da43662de8b53e6b..4798d55d30b7588eda2596655e7cf2d00120abe1 100644 (file)
--- a/boot.php
+++ b/boot.php
@@ -881,8 +881,10 @@ function profile_sidebar($profile, $block = 0) {
                                        'id' => $rr['id'],
                                        'alt' => t('Profile Image'),
                                        'profile_name' => $rr['profile-name'],
-                                       'visible' => (($rr['is-default']) ? '<strong>' . t('visible to everybody') . '</strong>' 
-                                               : '<a href="' . $a->get_baseurl() . '/profperm/' . $rr['id'] . '" />' . t('Edit visibility') . '</a>')
+                                       'isdefault' => $rr['is-default'],
+                                       'visibile_to_everybody' =>  t('visible to everybody'),
+                                       'edit_visibility' => t('Edit visibility'),
+                                       
                                );
                        }
 
index cab732cc14d6f07b637cd668ab1f2d699127a7e2..d65b65784c7bea0f2979697cb0bf0f4d2f7666fb 100644 (file)
@@ -7,7 +7,9 @@
                        <a class="icon s16 edit ttright" href="#" rel="#profiles-menu" title="$profile.edit.3"><span>$profile.edit.1</span></a>
                        <ul id="profiles-menu" class="menu-popup">
                                {{ for $profile.menu.entries as $e }}
-                               <li><a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a></li>
+                               <li>
+                                       <a href="profiles/$e.id"><img src='$e.photo'>$e.profile_name</a>
+                               </li>
                                {{ endfor }}
                                <li><a href="profile_photo" >$profile.menu.chg_photo</a></li>
                                <li><a href="profiles/new" id="profile-listing-new-link">$profile.menu.cr_new</a></li>
index 54bd11806f78ecd305f6bf29346139b3b83bba77..14d1dfa1c63568baf4c738cea677e6c1ff92de20 100644 (file)
@@ -3,7 +3,7 @@
 /* global */
 body {
        font-family: Liberation Sans,helvetica,arial,clean,sans-serif;
-       font-size: 12px;
+       font-size: 10px;
        background-color: @BodyBackground;
        color: @BodyColor;
        margin: 50px 0px 0px 0px;
@@ -179,6 +179,7 @@ ul.menu-popup {
                        text-align: center;
                        color: @MenuEmpty;
                }
+               
 }
 
 #nav-notifications-menu {
@@ -224,6 +225,8 @@ aside {
                &:hover { text-decoration: none; background-color: @AsideConnectHoverBg; }
        }
 
+       #profiles-menu { width: 20em; }
+
 }
 
 #contact-block {
index 70e0a3b9427670b7d1d5c58507a074f2deacd54e..6ff9c70c7a9f97660ef7e74fc5a656fab4ead5df 100644 (file)
@@ -61,7 +61,7 @@
 /* global */
 body {
   font-family: Liberation Sans, helvetica, arial, clean, sans-serif;
-  font-size: 12px;
+  font-size: 10px;
   background-color: #ffffff;
   color: #2d2d2d;
   margin: 50px 0px 0px 0px;
@@ -363,6 +363,9 @@ aside #dfrn-request-link:hover {
   text-decoration: none;
   background-color: #19aeff;
 }
+aside #profiles-menu {
+  width: 20em;
+}
 #contact-block {
   overflow: auto;
   height: auto;