aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photos_upload.tpl
diff options
context:
space:
mode:
authorhubzilla <git@macgirvin.com>2016-08-06 07:50:21 +1000
committerGitHub <noreply@github.com>2016-08-06 07:50:21 +1000
commit1bff63bd2e5d1423034094ee9bfc59c2ddb2bd53 (patch)
tree95e9b493a6fd9b9370b230a11d59be73b9fcedd2 /view/tpl/photos_upload.tpl
parent709206accde6136f96f1484510edc4b61b3d52a7 (diff)
parent531baa8fc4c29c10afdf52fc88174b8b6fd69700 (diff)
downloadvolse-hubzilla-1bff63bd2e5d1423034094ee9bfc59c2ddb2bd53.tar.gz
volse-hubzilla-1bff63bd2e5d1423034094ee9bfc59c2ddb2bd53.tar.bz2
volse-hubzilla-1bff63bd2e5d1423034094ee9bfc59c2ddb2bd53.zip
Merge pull request #477 from git-marijus/dev
Some work to make multiple acl forms per page work
Diffstat (limited to 'view/tpl/photos_upload.tpl')
-rwxr-xr-xview/tpl/photos_upload.tpl6
1 files changed, 2 insertions, 4 deletions
diff --git a/view/tpl/photos_upload.tpl b/view/tpl/photos_upload.tpl
index 6b98a8ac4..90cd0e84a 100755
--- a/view/tpl/photos_upload.tpl
+++ b/view/tpl/photos_upload.tpl
@@ -1,6 +1,6 @@
<div id="photo-upload-form">
<div class="section-content-tools-wrapper">
- <form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form">
+ <form action="photos/{{$nickname}}" enctype="multipart/form-data" method="post" name="photos-upload-form" id="photos-upload-form" class="acl-form" data-form_id="photos-upload-form" data-allow_cid='{{$allow_cid}}' data-allow_gid='{{$allow_gid}}' data-deny_cid='{{$deny_cid}}' data-deny_gid='{{$deny_gid}}'>
<input type="hidden" id="photos-upload-source" name="source" value="photos" />
<div class="form-group">
@@ -14,9 +14,6 @@
{{/foreach}}
</datalist>
</div>
-
- {{$aclselect}}
-
{{if $default}}
<div class="form-group">
<input id="photos-upload-choose" type="file" name="userfile" />
@@ -59,5 +56,6 @@
{{/if}}
</form>
</div>
+ {{$aclselect}}
<div id="photos-upload-end" class="clear"></div>
</div>