aboutsummaryrefslogtreecommitdiffstats
path: root/view/photo_edit.tpl
diff options
context:
space:
mode:
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>