]> git.mxchange.org Git - friendica.git/blob - view/smarty3/profile_photo.tpl
Implement Smarty3
[friendica.git] / view / smarty3 / profile_photo.tpl
1 <h1>{{$title}}</h1>
2
3 <form enctype="multipart/form-data" action="profile_photo" method="post">
4 <input type='hidden' name='form_security_token' value='{{$form_security_token}}'>
5
6 <div id="profile-photo-upload-wrapper">
7 <label id="profile-photo-upload-label" for="profile-photo-upload">{{$lbl_upfile}} </label>
8 <input name="userfile" type="file" id="profile-photo-upload" size="48" />
9 </div>
10
11 <label id="profile-photo-profiles-label" for="profile-photo-profiles">{{$lbl_profiles}} </label>
12 <select name="profile" id="profile-photo-profiles" />
13 {{foreach $profiles as $p}}
14 <option value="{{$p.id}}" {{if $p.default}}selected="selected"{{/if}}>{{$p.name}}</option>
15 {{/foreach}}
16 </select>
17
18 <div id="profile-photo-submit-wrapper">
19 <input type="submit" name="submit" id="profile-photo-submit" value="{{$submit}}">
20 </div>
21
22 </form>
23
24 <div id="profile-photo-link-select-wrapper">
25 {{$select}}
26 </div>