aboutsummaryrefslogtreecommitdiffstats
path: root/view/photos_upload.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-07-20 11:40:24 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-07-20 11:40:24 +0200
commit19c93adf846647a61e407e8172ea7153cb7f2c41 (patch)
tree4a3750df636bf641fd0de2f92287c305b2ae151d /view/photos_upload.tpl
parent7a069c1438eb0c6b84e9e93985722a34b4bca4e1 (diff)
downloadvolse-hubzilla-19c93adf846647a61e407e8172ea7153cb7f2c41.tar.gz
volse-hubzilla-19c93adf846647a61e407e8172ea7153cb7f2c41.tar.bz2
volse-hubzilla-19c93adf846647a61e407e8172ea7153cb7f2c41.zip
Use popup ACL selector in photo upload. js_upload use new acl selector.
Diffstat (limited to 'view/photos_upload.tpl')
-rw-r--r--view/photos_upload.tpl19
1 files changed, 14 insertions, 5 deletions
diff --git a/view/photos_upload.tpl b/view/photos_upload.tpl
index 2dbcddefd..10240b596 100644
--- a/view/photos_upload.tpl
+++ b/view/photos_upload.tpl
@@ -14,13 +14,16 @@
<div id="photos-upload-exist-end"></div>
- <div id="photos-upload-perms" class="photos-upload-perms" ><div id="photos-upload-perms-menu" onClick="openClose('photos-upload-permissions-wrapper');" />$permissions</div>
+ <div id="photos-upload-perms" class="photos-upload-perms" >
+ <a href="#photos-upload-permissions-wrapper" id="photos-upload-perms-menu" />
+ <span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions
+ </a>
<div id="photos-upload-perms-end"></div>
- <div id="photos-upload-permissions-wrapper" style="display: none;" >
-
- $aclselect
-
+ <div style="display: none;">
+ <div id="photos-upload-permissions-wrapper">
+ $aclselect
+ </div>
</div>
<div id="photos-upload-spacer"></div>
@@ -32,3 +35,9 @@
<div class="photos-upload-end" ></div>
</form>
+<script>
+ $("a#photos-upload-perms-menu").fancybox({
+ 'transitionIn' : 'none',
+ 'transitionOut' : 'none'
+ });
+</script>