friendica/view/profile_photo.tpl

26 lines
859 B
Smarty
Raw Normal View History

<h1>$title</h1>
2010-07-02 01:48:07 +02:00
<form enctype="multipart/form-data" action="profile_photo" method="post">
2012-03-12 21:17:37 +01:00
<input type='hidden' name='form_security_token' value='$form_security_token'>
2010-07-02 01:48:07 +02:00
<div id="profile-photo-upload-wrapper">
<label id="profile-photo-upload-label" for="profile-photo-upload">$lbl_upfile </label>
2010-07-02 01:48:07 +02:00
<input name="userfile" type="file" id="profile-photo-upload" size="48" />
</div>
2012-09-12 03:51:17 +02:00
<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>
2010-07-02 01:48:07 +02:00
<div id="profile-photo-submit-wrapper">
<input type="submit" name="submit" id="profile-photo-submit" value="$submit">
2010-07-02 01:48:07 +02:00
</div>
</form>
<div id="profile-photo-link-select-wrapper">
$select
</div>