aboutsummaryrefslogblamecommitdiffstats
path: root/view/tpl/photos_upload.tpl
blob: 4c53a7c62836870f0c66e4372116cc5e15889381 (plain) (tree)
1
2
3
4
5
6
7
8
9
10




                                                                                  
              
 


                                                                                                                                                  




                                                                                                                                                                                     







                                                                     
 













                                                                                                                                                 
                                                              
 



                                                                                                                                               
                              
 

                                                                  



                                                                                                                                                                    
                                                                
                                     
                               
 



                                                              
      
<div class="generic-content-wrapper">
	<div class="section-title-wrapper">
		<div id="photos-usage-message" class="pull-right">{{$usage}}</div>
		<h2>{{$pagename}}</h2>
		<div class="clear"></div>
	</div>

	<div class="section-content-wrapper">
		<form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form">
			<input type="hidden" id="photos-upload-source" name="source" value="photos" />


			<div class="form-group">
				<label for="photos-upload-album">{{$newalbum_label}}</label>
				<input type="text" class="form-control" id="photos-upload-album" placeholder="{{$newalbum_placeholder}}" value="{{$selname}}" list="dl-photo-upload">
				<datalist id="dl-photo-upload">
				{{foreach $albums as $al}}
					{{if $al.text}}
					<option value="{{$al.text}}">
					{{/if}}
				{{/foreach}}
				</datalist>
			</div>

			{{$aclselect}}

			{{if $default}}
			<div class="form-group pull-left">
				<input id="photos-upload-choose" type="file" name="userfile" />
			</div>
			<div class="btn-group pull-right">
				<button class="btn btn-default btn-sm" data-toggle="modal" data-target="#aclModal" onclick="return false;">
					<i id="jot-perms-icon" class="icon-{{$lockstate}} jot-icons"></i>
				</button>
				<button class="btn btn-primary btn-sm" type="submit" name="submit" id="photos-upload-submit">{{$submit}}</button>
			</div>
			{{/if}}

			<div id="photos-upload-new-end"></div>

			<div class="form-group" id="photos-upload-noshare">
				<label id="photos-upload-noshare-text" for="photos-upload-noshare" >
					<input id="photos-upload-noshare" type="checkbox" name="not_visible" value="1" />&nbsp;{{$nosharetext}}
				</label>
			</div>

			{{if $uploader}}
			<div id="photos-upload-noshare-end"></div>
			<div id="photos-upload-perms" class="photos-upload-perms" >
				<span id="jot-perms-icon" class="icon-{{$lockstate}}" ></span>
				<button class="btn btn-default btn-xs" data-toggle="modal" data-target="#aclModal" onclick="return false;">{{$permissions}}</button>
			</div>
			<div id="photos-upload-perms-end"></div>
			{{$uploader}}
			{{/if}}


			<div class="photos-upload-end" ></div>
		</form>
	</div>
</div>