From 6d447ace5c72e74145198ab1c3ebac2bf85d33cf Mon Sep 17 00:00:00 2001 From: friendica Date: Tue, 16 Jul 2013 21:56:02 -0700 Subject: define some photo types; primarily profile photos and things, but there is room for others. Also move the "decoration" out of the mod_page.css and into fancy.css - mod_xxx.css should only specify element positions and basic layout, not "decoration". Once we get more positioning stuff moved into module and basic layout files, we can trim down the style.css a lot - as it will theoretically only have decoration. And if we use macro substitution (pcss) we should be able to ultimately change the colour, size or background in one place and be done with it. This will make life easier for theme developers. --- boot.php | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'boot.php') diff --git a/boot.php b/boot.php index cf1a540dc..d4f04be0b 100755 --- a/boot.php +++ b/boot.php @@ -187,6 +187,18 @@ define ( 'PAGE_REMOVED', 0x8000 ); //define ( 'PAGE_BLOG', 4 ); //define ( 'PAGE_PRVGROUP', 5 ); + +/** + * Photo types + */ + +define ( 'PHOTO_NORMAL', 0x0000 ); +define ( 'PHOTO_PROFILE', 0x0001 ); +define ( 'PHOTO_XCHAN', 0x0002 ); +define ( 'PHOTO_THING', 0x0004 ); + + + /** * Network and protocol family types */ -- cgit v1.2.3