aboutsummaryrefslogtreecommitdiffstats
path: root/view
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
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')
-rw-r--r--view/photo_edit.tpl21
-rw-r--r--view/theme/duepuntozero/style.css1
-rw-r--r--view/theme/loozah/style.css1
3 files changed, 17 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>
diff --git a/view/theme/duepuntozero/style.css b/view/theme/duepuntozero/style.css
index 6a909bc7d..e2b1a57dc 100644
--- a/view/theme/duepuntozero/style.css
+++ b/view/theme/duepuntozero/style.css
@@ -1491,6 +1491,7 @@ input#dfrn-url {
/** acl **/
+#photo-edit-perms-select,
#photos-upload-permissions-wrapper,
#profile-jot-acl-wrapper{
display:block!important;
diff --git a/view/theme/loozah/style.css b/view/theme/loozah/style.css
index 96702d320..c58bda5bb 100644
--- a/view/theme/loozah/style.css
+++ b/view/theme/loozah/style.css
@@ -1569,6 +1569,7 @@ padding: 5px 10px 0px;
/** acl **/
+#photo-edit-perms-select,
#photos-upload-permissions-wrapper,
#profile-jot-acl-wrapper{
display:block!important;