<?php /*========================================================*\ ||########################################################|| ||# #|| ||# WB News v1.0.0 #|| ||# ---------------------------------------------------- #|| ||# Copyright (c) 2004-2005 #|| ||# Created: 11th May 2005 #|| ||# Filename: constants.php #|| ||# #|| ||########################################################|| /*========================================================*/ /** * @author $Author: pmcilwaine $ * @version $Id: constants.php,v 1.2.2.3 2008/05/09 23:49:50 pmcilwaine Exp $ */ // Database Tables define( "TBL_ADMIN_LOG", "\"" . $config["prefix"] . "admin_log\"" ); define( "TBL_ADMINSECTIONS", "\"".$config['prefix']."adminsections\"" ); define( "TBL_CATEGORY", "\"".$config['prefix']."category\"" ); define( "TBL_CATPERMS", "\"".$config['prefix']."catpermissions\"" ); define( "TBL_COMMENTS", "\"".$config['prefix']."comments\"" ); define( "TBL_EMOTICON", "\"".$config['prefix']."emoticons\"" ); define( "TBL_MENUSECTIONS", "\"".$config['prefix']."menu_sections\"" ); define( "TBL_MENU", "\"".$config['prefix']."menu\"" ); define( "TBL_NEWS", "\"".$config['prefix']."news\"" ); define( "TBL_NEWSCONFIG", "\"".$config['prefix']."newsconfig\"" ); define( "TBL_SEND", "\"".$config['prefix']."senddb\"" ); define( "TBL_THEMES", "\"".$config['prefix']."themes\"" ); define( "TBL_UGROUPS", "\"".$config['prefix']."usergroups\"" ); define( "TBL_USERS", "\"".$config['prefix']."users\"" ); /* these are all for administration */ define( "PAGE_HOME", "index.php" ); define( "PAGE_LOGIN", "login.php" ); define( "PAGE_NEWS", "news.php" ); define( "PAGE_CONFIG", "newsconfig.php" ); define( "PAGE_CAT", "category.php" ); define( "PAGE_EMOTICON", "emoticons.php" ); define( "PAGE_DB", "database.php" ); define( "PAGE_USER", "user.php" ); define( "PAGE_THEME", "themes.php" ); define( "PAGE_COMMENT", "comment.php" ); define( "PAGE_UGROUP", "usergroup.php" ); define( "PAGE_UPDATE", "update.php" ); /** Additions below for 2.0.0 **/ define( "TEMPLATE_DIRECTORY", $config['installdir'] . "/templates" ); define( "INCDIR", $config['installdir'] . "/includes" ); define( "LIBDIR", INCDIR . "/lib" ); define( "LOCALE", INCDIR . "/locale" ); define( "WBNEWS_SESSION_NAME", "WBNEWS" ); define( "WEBMASTER_EMAIL", $config["webmaster_email"] ); define( "WEBMASTER_NAME", $config["webmaster_name"] ); define( "MAIN_SERVER", str_replace( $_SERVER["DOCUMENT_ROOT"], "", $config["installdir"] ) ); define( "HTML_NOSCRIPT", "<noscript><div class=\"text\">You should turn Javascript on</div><div><img src=\"_img/close_button.png\"/></div></noscript>" ); define( "SHOW_NEWS_ALL", "all" ); define( "SHOW_NEWS_GROUPED", "grouped" ); define( "SHOW_NEWS_ARTICLE", "article" ); define( "SHOW_NEWS_LATEST", "latest" ); define( "SHOW_NEWS_SPLASH", "splash" ); define( "SHOW_NEWS_ARCHIVE", "archive" ); define( "SHOW_NEWS_ARCHIVE_LIST", "archivelist" ); define( "SHOW_NEWS_SHORT", "shortnews" ); define( "PAGINATION_NEXT_PREV", "next" ); define( "PAGINATION_NUMBERED", "numbered" ); define( "SEQ_PREFIX", "wbnews_" ); define( "ALLOW_SAME_TAGS", TRUE ); define( "LINE_BREAK", "<br/>\r\n" ); ?>