diff options
author | James Atkinson <thefinn@users.sourceforge.net> | 2001-06-07 07:56:45 +0000 |
---|---|---|
committer | James Atkinson <thefinn@users.sourceforge.net> | 2001-06-07 07:56:45 +0000 |
commit | 1010b488ca951c141aa924d814755d97d1599e9b (patch) | |
tree | 36b167ccc4ae0b5df18c9db0a58bbaf7d3da203a /phpBB/includes | |
parent | f49da7909befa8cb1745236bcb6e0b4d1ad87762 (diff) | |
download | forums-1010b488ca951c141aa924d814755d97d1599e9b.tar forums-1010b488ca951c141aa924d814755d97d1599e9b.tar.gz forums-1010b488ca951c141aa924d814755d97d1599e9b.tar.bz2 forums-1010b488ca951c141aa924d814755d97d1599e9b.tar.xz forums-1010b488ca951c141aa924d814755d97d1599e9b.zip |
Forum level annoucements and sticky topics are done.
Added topic_type field to the topics database in order to handle ordering. Would have used topic_status but that would have messed up the ordering when topics were locked
git-svn-id: file:///svn/phpbb/trunk@437 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/includes')
-rw-r--r-- | phpBB/includes/constants.php | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/phpBB/includes/constants.php b/phpBB/includes/constants.php index 5f82d4f2a8..5dbe9960f7 100644 --- a/phpBB/includes/constants.php +++ b/phpBB/includes/constants.php @@ -40,6 +40,13 @@ define(ADMIN, 1); define(UNLOCKED, 0); define(LOCKED, 1); +// Topic types +define(NORMAL, 0); +define(STICKY, 1); +define(ANNOUCE, 2); +define(GLOB_ANNOUNCE, 3); + + // Ban time types define(SECONDS, 1); define(MINUTES, 2); |