diff options
author | dougk_ff7 <dougk_ff7@users.sourceforge.net> | 2001-10-16 13:10:09 +0000 |
---|---|---|
committer | dougk_ff7 <dougk_ff7@users.sourceforge.net> | 2001-10-16 13:10:09 +0000 |
commit | fd20e68b5e2226d00cd4097010bc25eb46477f5f (patch) | |
tree | f7f6f39eb71ef2348de02b773a63b9aa59007972 /phpBB/admin | |
parent | a4858256ff68ec2be9e2ee19fd44c7d29be299e2 (diff) | |
download | forums-fd20e68b5e2226d00cd4097010bc25eb46477f5f.tar forums-fd20e68b5e2226d00cd4097010bc25eb46477f5f.tar.gz forums-fd20e68b5e2226d00cd4097010bc25eb46477f5f.tar.bz2 forums-fd20e68b5e2226d00cd4097010bc25eb46477f5f.tar.xz forums-fd20e68b5e2226d00cd4097010bc25eb46477f5f.zip |
More changes for global announcements. They no longer require the mode to be set (it works without), posting.php has been updated to reflect replies to announcements in ALL forums, and a admin page for announcements (global) has been added, although it can only link to pages with the true forum and auth permissions. A more refined version will be coming soon
git-svn-id: file:///svn/phpbb/trunk@1222 89ea8834-ac86-4346-8a33-228a782c2dd0
Diffstat (limited to 'phpBB/admin')
-rw-r--r-- | phpBB/admin/admin_announce.php | 41 |
1 files changed, 41 insertions, 0 deletions
diff --git a/phpBB/admin/admin_announce.php b/phpBB/admin/admin_announce.php new file mode 100644 index 0000000000..605723bf85 --- /dev/null +++ b/phpBB/admin/admin_announce.php @@ -0,0 +1,41 @@ +<?php +/*************************************************************************** + * admin_announce.php + * ------------------- + * begin : Saturday, Feb 13, 2001 + * copyright : (C) 2001 The phpBB Group + * email : support@phpbb.com + * + * $Id$ + * + * + ***************************************************************************/ + +/*************************************************************************** + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + ***************************************************************************/ + +define("IN_ADMIN", true); + +if($setmodules == 1) +{ + $filename = basename(__FILE__); + $module['General']['Announcements'] = $filename; + + return; +} + +// +// Load default header +// +$phpbb_root_dir = "./../"; +$no_page_header = TRUE; +require('pagestart.inc'); + +message_die(GENERAL_MESSAGE, "Announcements are not yet implemented. Click <a href=\"" . append_sid("admin_forumauth." . $phpEx . "?f=-1&submit=submit") . "\">here</a> to view the global announcement permissions. Click <a href=\"" . append_sid("./../viewforum." . $phpEx . "?f=-1") . "\">here</a> to view the global announcments forum separately.", __LINE__, __FILE__, "", ""); +?>
\ No newline at end of file |