From 1010b488ca951c141aa924d814755d97d1599e9b Mon Sep 17 00:00:00 2001 From: James Atkinson Date: Thu, 7 Jun 2001 07:56:45 +0000 Subject: 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 --- phpBB/includes/constants.php | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'phpBB/includes/constants.php') 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); -- cgit v1.2.1