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);
--- /dev/null
+<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>
\ No newline at end of file
#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;
margin-top: 10px;
}
+.profile-edit-side-div {
+ float: right;
+}
+
.view-contact-wrapper {
margin-top: 20px;
float: 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; }