aboutsummaryrefslogtreecommitdiffstats
path: root/view/tpl/photo_view.tpl
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-02-11 18:45:50 -0800
committerfriendica <info@friendica.com>2014-02-11 18:45:50 -0800
commit95a45a119dd61241ae8d0f0f8eda467cff64d855 (patch)
treed4769cba376030edc5862e8fbe6005fb235b15b9 /view/tpl/photo_view.tpl
parentb5728fa42efa0d12da8814711e0875da7fb88672 (diff)
downloadvolse-hubzilla-95a45a119dd61241ae8d0f0f8eda467cff64d855.tar.gz
volse-hubzilla-95a45a119dd61241ae8d0f0f8eda467cff64d855.tar.bz2
volse-hubzilla-95a45a119dd61241ae8d0f0f8eda467cff64d855.zip
shamelessly steal, and cut/paste from the settings page to get mod_photos edit permissions working - and it looks like we still have some other fancybox instances (yet another lightbox) which haven't yet been converted to colorbox and will need to be fixed. Way too many lightboxes.
Diffstat (limited to 'view/tpl/photo_view.tpl')
-rwxr-xr-xview/tpl/photo_view.tpl25
1 files changed, 13 insertions, 12 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl
index 8c19d39d7..f5e5bb7b5 100755
--- a/view/tpl/photo_view.tpl
+++ b/view/tpl/photo_view.tpl
@@ -1,4 +1,4 @@
-<div id="live-display"></div>
+<div id="live-photos"></div>
<h3><a href="{{$album.0}}">{{$album.1}}</a></h3>
<div id="photo-edit-link-wrap">
@@ -52,19 +52,20 @@
</div>
<div id="photo-edit-rotate-end"></div>
- <div id="photo-edit-perms" class="photo-edit-perms" >
- <a href="#photo-edit-perms-select" id="photo-edit-perms-menu" class="button popupbox" title="{{$edit.permissions}}"/>
- <span id="jot-perms-icon" class="icon {{$edit.lockstate}}" ></span>{{$edit.permissions}}
- </a>
- <div id="photo-edit-perms-menu-end"></div>
-
- <div style="display: none;">
- <div id="photo-edit-perms-select" >
- {{$edit.aclselect}}
+ <div id="settings-default-perms" class="settings-default-perms" >
+ <span id="jot-perms-icon" class="icon {{$edit.lockstate}}" ></span>
+ <a href="#profile-jot-acl-wrapper" id="settings-default-perms-menu" >{{$edit.permissions}}</a>
+ <div id="settings-default-perms-menu-end"></div>
+ <div id="settings-default-perms-select" style="display: none; margin-bottom: 20px" >
+ <div style="display: none;">
+ <div id="profile-jot-acl-wrapper" style="width:auto;height:auto;overflow:auto;">
+ {{$edit.aclselect}}
+ </div>
</div>
</div>
- </div>
- <div id="photo-edit-perms-end"></div>
+ </div>
+ <br/>
+ <div id="settings-default-perms-end"></div>
<input id="photo-edit-submit-button" type="submit" name="submit" value="{{$edit.submit}}" />
<input id="photo-edit-delete-button" type="submit" name="delete" value="{{$edit.delete}}" onclick="return confirmDelete()"; />