This commit is contained in:
Fabio Comuni 2011-09-15 10:38:37 +02:00
parent dbc5ecfe57
commit 7e806429cc
4 changed files with 15 additions and 5 deletions

View File

@ -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'),
);
}

View 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>

View 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 {

View 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;