aboutsummaryrefslogtreecommitdiffstats
path: root/phpBB/common.php
diff options
context:
space:
mode:
authorMeik Sievertsen <acydburn@phpbb.com>2003-04-11 19:51:38 +0000
committerMeik Sievertsen <acydburn@phpbb.com>2003-04-11 19:51:38 +0000
commit75eef6bfd7bbfdbb5a359e42015509197ad9d4ce (patch)
tree07567e524876d2d295af9cd22535e63c01ccdea5 /phpBB/common.php
parentda775f2286c8d8b2003e2bd223c8bae8d7cfc1dc (diff)
downloadforums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar.gz
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar.bz2
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.tar.xz
forums-75eef6bfd7bbfdbb5a359e42015509197ad9d4ce.zip
changed $message to be a class variable, added attachment category constants (now images are displayed inlined by default... no wrong assignments anymore, if you wondered why your zip file got streamed. ;))
git-svn-id: file:///svn/phpbb/trunk@3816 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/common.php')
-rw-r--r--phpBB/common.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/phpBB/common.php b/phpBB/common.php
index b36cb24279..f160838600 100644
--- a/phpBB/common.php
+++ b/phpBB/common.php
@@ -106,6 +106,16 @@ define('PRIVMSGS_READ_MAIL', 0);
define('PRIVMSGS_NEW_MAIL', 1);
define('PRIVMSGS_UNREAD_MAIL', 5);
+// Download Modes - Attachments
+define('INLINE_LINK', 1);
+define('PHYSICAL_LINK', 2);
+
+// Categories - Attachments
+define('NONE_CAT', 0);
+define('IMAGE_CAT', 1);
+define('STREAM_CAT', 2);
+//define('SWF_CAT', 3);
+
// BBCode UID length
define('BBCODE_UID_LEN', 5);