aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-09-15 10:38:37 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-09-15 10:38:37 +0200
commit7e806429cca6ac39a9ef1bd1fd400d03e626389b (patch)
tree1079d7279f80ae61a207073183c2c42e1a7248ba
parentdbc5ecfe572b0dc11bab277dcbe24541cdd4e858 (diff)
downloadvolse-hubzilla-7e806429cca6ac39a9ef1bd1fd400d03e626389b.tar.gz
volse-hubzilla-7e806429cca6ac39a9ef1bd1fd400d03e626389b.tar.bz2
volse-hubzilla-7e806429cca6ac39a9ef1bd1fd400d03e626389b.zip
quattro
-rw-r--r--boot.php6
-rw-r--r--view/profile_vcard.tpl4
-rw-r--r--view/theme/quattro/quattro.less5
-rw-r--r--view/theme/quattro/style.css5
4 files changed, 15 insertions, 5 deletions
diff --git a/boot.php b/boot.php
index 10195c2ba..4798d55d3 100644
--- 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'),
+
);
}
diff --git a/view/profile_vcard.tpl b/view/profile_vcard.tpl
index cab732cc1..d65b65784 100644
--- a/view/profile_vcard.tpl
+++ b/view/profile_vcard.tpl
@@ -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>
diff --git a/view/theme/quattro/quattro.less b/view/theme/quattro/quattro.less
index 54bd11806..14d1dfa1c 100644
--- a/view/theme/quattro/quattro.less
+++ b/view/theme/quattro/quattro.less
@@ -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 {
diff --git a/view/theme/quattro/style.css b/view/theme/quattro/style.css
index 70e0a3b94..6ff9c70c7 100644
--- a/view/theme/quattro/style.css
+++ b/view/theme/quattro/style.css
@@ -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;