make gallery asks gravatar for bigger size for the profile page. remove the css entry for the dimentions as we override now the whole view page
This commit is contained in:
parent
0b21276425
commit
6c7612871c
@ -1452,11 +1452,6 @@ div#g-action-status {
|
||||
top: 1.3em;
|
||||
}
|
||||
|
||||
img.g-avatar.g-left {
|
||||
width: 90px !important;
|
||||
height: 90px !important;
|
||||
}
|
||||
|
||||
#g-user-profile .g-block h2 {
|
||||
background-color: #F5EFE6;
|
||||
margin-bottom: .5em;
|
||||
|
47
themes/browny_wind/views/user_profile.html.php
Normal file
47
themes/browny_wind/views/user_profile.html.php
Normal file
@ -0,0 +1,47 @@
|
||||
<?php defined("SYSPATH") or die("No direct script access.") ?>
|
||||
<script type="text/javascript">
|
||||
$(document).ready(function() {
|
||||
$("#g-profile-return").click(function(event) {
|
||||
history.go(-1);
|
||||
return false;
|
||||
})
|
||||
});
|
||||
</script>
|
||||
<div id="g-user-profile">
|
||||
<div class="ui-helper-clearfix">
|
||||
<a id="g-profile-return" class="g-button g-right ui-state-default ui-corner-all" href="#">
|
||||
<?= t("Return") ?>
|
||||
</a>
|
||||
<? if ($editable): ?>
|
||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_email/{$user->id}") ?>">
|
||||
<?= t("Change email") ?>
|
||||
</a>
|
||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("users/form_change_password/{$user->id}") ?>">
|
||||
<?= t("Change password") ?>
|
||||
</a>
|
||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link" href="<?= url::site("form/edit/users/{$user->id}") ?>">
|
||||
<?= t("Edit") ?>
|
||||
</a>
|
||||
<? endif ?>
|
||||
<? if ($contactable): ?>
|
||||
<a class="g-button g-right ui-state-default ui-corner-all g-dialog-link"
|
||||
href="<?= url::site("user_profile/contact/{$user->id}") ?>">
|
||||
<?= t("Contact") ?>
|
||||
</a>
|
||||
<? endif ?>
|
||||
</div>
|
||||
<h1>
|
||||
<img src="<?= $user->avatar_url(90, $theme->url("images/avatar.jpg", true)) ?>"
|
||||
alt="<?= html::clean_attribute($user->display_name()) ?>"
|
||||
class="g-avatar g-left" width="90" height="90" />
|
||||
<?= t("User profile: %name", array("name" => $user->display_name())) ?>
|
||||
</h1>
|
||||
<? foreach ($info_parts as $info): ?>
|
||||
<div class="g-block">
|
||||
<h2><?= html::purify($info->title) ?></h2>
|
||||
<div class="g-block-content">
|
||||
<?= $info->view ?>
|
||||
</div>
|
||||
</div>
|
||||
<? endforeach ?>
|
||||
</div>
|
Reference in New Issue
Block a user