rev update + multiple profile photos
This commit is contained in:
parent
fa65db9aa1
commit
a8d12061ca
5 changed files with 150 additions and 78 deletions
|
@ -42,6 +42,7 @@ $desc
|
|||
<form action="profile_photo/$resource" id="crop-image-form" method="post" />
|
||||
<input type='hidden' name='form_security_token' value='$form_security_token'>
|
||||
|
||||
<input type='hidden' name='profile' value='$profile'>
|
||||
<input type="hidden" name="cropfinal" value="1" />
|
||||
<input type="hidden" name="xstart" id="x1" />
|
||||
<input type="hidden" name="ystart" id="y1" />
|
||||
|
|
|
@ -8,6 +8,13 @@
|
|||
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
|
||||
</div>
|
||||
|
||||
<label id="profile-photo-profiles-label" for="profile-photo-profiles">$lbl_profiles </label>
|
||||
<select name="profile" id="profile-photo-profiles" />
|
||||
{{ for $profiles as $p }}
|
||||
<option value="$p.id" {{ if $p.default }}selected="selected"{{ endif }}>$p.name</option>
|
||||
{{ endfor }}
|
||||
</select>
|
||||
|
||||
<div id="profile-photo-submit-wrapper">
|
||||
<input type="submit" name="submit" id="profile-photo-submit" value="$submit">
|
||||
</div>
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue