]> git.mxchange.org Git - friendica.git/blob - view/theme/frio/templates/photos_upload.tpl
Remove uses of HTML escaping in Smarty templates
[friendica.git] / view / theme / frio / templates / photos_upload.tpl
1 <div class="generic-page-wrapper">
2
3         <h3>{{$pagename}}</h3>
4
5         <div id="photos-usage-message">{{$usage}}</div>
6
7         <form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form">
8                 <div id="photos-upload-div" class="form-group">
9                         <label id="photos-upload-text" for="photos-upload-newalbum" >{{$newalbum}}</label>
10
11                         <input id="photos-upload-album-select" class="form-control" placeholder="{{$existalbumtext}}" list="dl-photo-upload" type="text" name="album" size="4">
12                         <datalist id="dl-photo-upload">{{$albumselect}}</datalist>
13                 </div>
14                 <div id="photos-upload-end" class="clearfix"></div>
15
16                 <div id="photos-upload-noshare-div" class="photos-upload-noshare-div checkbox pull-left" >
17                         <input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" checked/>
18                         <label id="photos-upload-noshare-text" for="photos-upload-noshare" >{{$nosharetext}}</label>
19                 </div>
20
21                 {{if $alt_uploader}}
22                         <div id="photos-upload-perms" class="pull-right">
23                                 <button class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" onclick="return false;">
24                                         <i id="jot-perms-icon" class="fa {{$lockstate}}"></i> {{$permissions}}
25                                 </button>
26                         </div>
27                         <div class="clearfix"></div>
28
29                         <div id="photos-upload-spacer"></div>
30
31                         {{$alt_uploader}}
32                 {{/if}}
33
34
35                 {{if $default_upload_submit}}
36                         <div class="clearfix"></div>
37
38                         <div id="photos-upload-spacer"></div>
39
40                         <div class="photos-upload-wrapper">
41                                 <div id="photos-upload-perms" class="btn-group pull-right">
42                                         <button class="btn btn-default" data-toggle="modal" data-target="#aclModal" onclick="return false;">
43                                                 <i id="jot-perms-icon" class="fa {{$lockstate}}"></i> 
44                                         </button>
45
46                                         {{$default_upload_submit}}
47                                 </div>
48                                 {{$default_upload_box}}
49                         </div>
50                         <div class="clearfix"></div>
51                 {{/if}}
52
53                 <div class="photos-upload-end" class="clearfix"></div>
54
55                 {{* The modal for advanced-expire *}}
56                 <div id="aclModal" class="modal fade" tabindex="-1" role="dialog" aria-hidden="true">
57                         <div class="modal-dialog">
58                                 <div class="modal-content">
59                                         <div class="modal-header" class="modal-header">
60                                                 <button id="modal-close" type="button" class="close" data-dismiss="modal" aria-hidden="true">
61                                                         &times;
62                                                 </button>
63                                                 <h4 id="modal-title" class="modal-title">{{$permissions}}</h4>
64                                         </div>
65                                         <div id="photos-upload-permissions-wrapper" class="modal-body">
66                                                 {{$aclselect}}
67                                         </div>
68                                 </div>
69                         </div>
70                 </div>
71         </form>
72 </div>