Add a link to user photos in Upload Profile Photo page

This commit is contained in:
Fabio Comuni 2011-02-04 10:30:56 +01:00
parent d72f248b3c
commit fb7959cfc0
7 changed files with 28 additions and 6 deletions

View file

@ -188,7 +188,7 @@ function profile_photo_content(&$a) {
$tpl = load_view_file('view/profile_photo.tpl');
$o .= replace_macros($tpl,array(
'$user' => $a->user['nickname']
));
return $o;

View file

@ -11,4 +11,8 @@
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
</div>
</form>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
</div>

View file

@ -11,4 +11,8 @@
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
</div>
</form>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
</div>

View file

@ -11,4 +11,8 @@
<input type="submit" name="submit" id="profile-photo-submit" value="Upload">
</div>
</form>
</form>
<div id="profile-photo-link-select-wrapper">
or <a href='photos/$user'>select a photo from albums</a>
</div>

View file

@ -12,3 +12,7 @@
</div>
</form>
<div id="profile-photo-link-select-wrapper">
o <a href='photos/$user'>seleziona una foto da un album</a>
</div>

View file

@ -734,6 +734,10 @@ input#dfrn-url {
margin-bottom: 20px;
}
#profile-photo-link-select-wrapper {
margin-top: 2em;
}
#profile-edit-profile-name-label,
#profile-edit-name-label,
#profile-edit-pdesc-label,

View file

@ -602,6 +602,10 @@ input#dfrn-url {
margin-bottom: 20px;
}
#profile-photo-link-select-wrapper {
margin-top: 2em;
}
#profile-edit-profile-name-label,
#profile-edit-name-label,
#profile-edit-pdesc-label,
@ -1853,8 +1857,6 @@ a.mail-list-link {
margin-bottom: 25px;
}
/* end from defautlt */