edit profile quick link

pull/1/head
Friendika 2011-10-26 16:57:25 -07:00
rodzic 2d22a58324
commit 2f3e39ba15
5 zmienionych plików z 30 dodań i 0 usunięć

Wyświetl plik

@ -823,6 +823,13 @@ function profile_load(&$a, $nickname, $profile = 0) {
if(! (x($a->page,'aside')))
$a->page['aside'] = '';
if(local_user() && local_user() == $a->profile['uid']) {
$a->page['aside'] .= replace_macros(get_markup_template('profile_edlink.tpl'),array(
'$editprofile' => t('Edit profile'),
'$profid' => $a->profile['id']
));
}
$block = (((get_config('system','block_public')) && (! local_user()) && (! remote_user())) ? true : false);
$a->page['aside'] .= profile_sidebar($a->profile, $block);

Wyświetl plik

@ -0,0 +1,2 @@
<div class="profile-edit-side-div"><a class="profile-edit-side-link icon edit" title="$editprofile" href="profiles/$profid" ></a></div>
<div class="clear"></div>

Wyświetl plik

@ -517,6 +517,17 @@ input#dfrn-url {
#profile-edit-links li {
margin-top: 10px;
}
.profile-edit-side-div {
float: right;
}
.profile-edit-side-link {
opacity: 0.3;
filter:alpha(opacity=30);
}
.profile-edit-side-link:hover {
opacity: 1.0;
filter:alpha(opacity=100);
}
.view-contact-wrapper {
margin-top: 20px;

Wyświetl plik

@ -623,6 +623,10 @@ input#dfrn-url {
margin-top: 10px;
}
.profile-edit-side-div {
float: right;
}
.view-contact-wrapper {
margin-top: 20px;
float: left;

Wyświetl plik

@ -1244,6 +1244,12 @@ div[id$="wrapper"] br { clear: left; }
background-color: #b20202;
}
.profile-edit-side-div {
margin-top: 5px;
margin-right: 30px;
float: right;
}
#cropimage-wrapper { float:left; }
#crop-image-form { clear:both; }