aboutsummaryrefslogtreecommitdiffstats
path: root/view/photo_edit.tpl
diff options
context:
space:
mode:
authorFabio Comuni <fabrix.xm@gmail.com>2011-07-20 14:19:20 +0200
committerFabio Comuni <fabrix.xm@gmail.com>2011-07-20 14:19:20 +0200
commit096ecba8836318b8c61ae70431ce7cff50c2cf8b (patch)
tree613fc7db6dc1393cfe028e11cecd732e5d9d563b /view/photo_edit.tpl
parent19c93adf846647a61e407e8172ea7153cb7f2c41 (diff)
downloadvolse-hubzilla-096ecba8836318b8c61ae70431ce7cff50c2cf8b.tar.gz
volse-hubzilla-096ecba8836318b8c61ae70431ce7cff50c2cf8b.tar.bz2
volse-hubzilla-096ecba8836318b8c61ae70431ce7cff50c2cf8b.zip
Use new ACL selector in photo edit
Diffstat (limited to 'view/photo_edit.tpl')
-rw-r--r--view/photo_edit.tpl21
1 files changed, 15 insertions, 6 deletions
diff --git a/view/photo_edit.tpl b/view/photo_edit.tpl
index ceb1ddca3..839e41ee7 100644
--- a/view/photo_edit.tpl
+++ b/view/photo_edit.tpl
@@ -19,13 +19,15 @@
<div id="photo-edit-tags-end"></div>
<div id="photo-edit-perms" class="photo-edit-perms" >
- <div id="photo-edit-perms-menu" class="fakelink" onClick="openClose('photo-edit-perms-select');" >$permissions</div>
+ <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" title="$permissions"/>
+ <span id="jot-perms-icon" class="icon $lockstate" ></span>$permissions
+ </a>
<div id="photo-edit-perms-menu-end"></div>
-
- <div id="photo-edit-perms-select" style="display: none;" >
-
- $aclselect
-
+
+ <div style="display: none;">
+ <div id="photo-edit-perms-select" >
+ $aclselect
+ </div>
</div>
</div>
<div id="photo-edit-perms-end"></div>
@@ -35,3 +37,10 @@
<div id="photo-edit-end"></div>
</form>
+
+<script>
+ $("a#photo-edit-perms-menu").fancybox({
+ 'transitionIn' : 'none',
+ 'transitionOut' : 'none'
+ });
+</script>