Add a link to user photos in Upload Profile Photo page
This commit is contained in:
parent
d72f248b3c
commit
fb7959cfc0
7 changed files with 28 additions and 6 deletions
|
@ -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;
|
||||
|
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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>
|
|
@ -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,
|
||||
|
|
|
@ -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 */
|
||||
|
||||
|
||||
|
|
Loading…
Reference in a new issue