diff options
author | friendica <info@friendica.com> | 2014-11-06 17:27:28 -0800 |
---|---|---|
committer | friendica <info@friendica.com> | 2014-11-06 17:27:28 -0800 |
commit | 1fbd1a79c7a19ff51b9e8ab4bad67ec0bf687839 (patch) | |
tree | a44eb29e02cd9efdef376e4000ef818c13fd30fe /view | |
parent | 91d255a0560552fee9adb9c8b957a4720b8c1837 (diff) | |
download | volse-hubzilla-1fbd1a79c7a19ff51b9e8ab4bad67ec0bf687839.tar.gz volse-hubzilla-1fbd1a79c7a19ff51b9e8ab4bad67ec0bf687839.tar.bz2 volse-hubzilla-1fbd1a79c7a19ff51b9e8ab4bad67ec0bf687839.zip |
Provide a way to mark photos as adult and hide them from the default album view. Still need a button or setting to enable "unsafe viewing". This has no effect anywhere but in the album views. They can still be viewed by flipping through the individual photos with 'prev' and 'next'. We probably need a comprehensive strategy for how to deal with n-s-f-w photos in albums so consider this a band-aid which requires additional work and integration with other facilities which access these photos. It is entirely optional.
Diffstat (limited to 'view')
-rwxr-xr-x | view/tpl/photo_view.tpl | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/view/tpl/photo_view.tpl b/view/tpl/photo_view.tpl index 009158c37..b1f39a9e2 100755 --- a/view/tpl/photo_view.tpl +++ b/view/tpl/photo_view.tpl @@ -59,7 +59,9 @@ <label class="radio-inline" id="photo-edit-rotate-cw-label" for="photo-edit-rotate-cw"><input id="photo-edit-rotate-cw" type="radio" name="rotate" value="1" />{{$edit.rotatecw}}</label> <label class="radio-inline" id="photo-edit-rotate-ccw-label" for="photo-edit-rotate-ccw"><input id="photo-edit-rotate-ccw" type="radio" name="rotate" value="2" />{{$edit.rotateccw}}</label> </div> - + <div class="form-group"> + {{include file="field_checkbox.tpl" field=$edit.adult}} + </div> {{$edit.aclselect}} <div class="form-group pull-left"> |