aboutsummaryrefslogtreecommitdiffstats
path: root/boot.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2014-11-06 17:27:28 -0800
committerfriendica <info@friendica.com>2014-11-06 17:27:28 -0800
commit1fbd1a79c7a19ff51b9e8ab4bad67ec0bf687839 (patch)
treea44eb29e02cd9efdef376e4000ef818c13fd30fe /boot.php
parent91d255a0560552fee9adb9c8b957a4720b8c1837 (diff)
downloadvolse-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 'boot.php')
-rwxr-xr-xboot.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/boot.php b/boot.php
index 1d4cd6f72..76c09d956 100755
--- a/boot.php
+++ b/boot.php
@@ -230,6 +230,7 @@ define ( 'PHOTO_NORMAL', 0x0000 );
define ( 'PHOTO_PROFILE', 0x0001 );
define ( 'PHOTO_XCHAN', 0x0002 );
define ( 'PHOTO_THING', 0x0004 );
+define ( 'PHOTO_ADULT', 0x0008 );
/**
* Menu types