<?php
/**
 * WBCE CMS
 * Way Better Content Editing.
 * Visit http://wbce.org to learn more and to join the community.
 *
 * @copyright Ryan Djurovich (2004-2009)
 * @copyright WebsiteBaker Org. e.V. (2009-2015)
 * @copyright WBCE Project (2015-)
 * @license GNU GPL2 (or any later version)
 */

//no direct file access
if (count(get_included_files()) ==1) {
    $z="HTTP/1.0 404 Not Found";
    header($z);
    die($z);
}

$MESSAGE['FRONTEND']['SORRY_NO_VIEWING_PERMISSIONS'] = $MESSAGE['FRONTEND_SORRY_NO_VIEWING_PERMISSIONS'];
$MESSAGE['FRONTEND']['SORRY_NO_ACTIVE_SECTIONS'] = $MESSAGE['FRONTEND_SORRY_NO_ACTIVE_SECTIONS'];
$MESSAGE['ADMIN']['INSUFFICIENT_PRIVELLIGES'] = $MESSAGE['ADMIN_INSUFFICIENT_PRIVELLIGES'];
$MESSAGE['LOGIN']['BOTH_BLANK'] = $MESSAGE['LOGIN_BOTH_BLANK'];
$MESSAGE['LOGIN']['USERNAME_BLANK'] = $MESSAGE['LOGIN_USERNAME_BLANK'];
$MESSAGE['LOGIN']['PASSWORD_BLANK'] = $MESSAGE['LOGIN_PASSWORD_BLANK'];
$MESSAGE['LOGIN']['USERNAME_TOO_SHORT'] = $MESSAGE['LOGIN_USERNAME_TOO_SHORT'];
$MESSAGE['LOGIN']['PASSWORD_TOO_SHORT'] = $MESSAGE['LOGIN_PASSWORD_TOO_SHORT'];
$MESSAGE['LOGIN']['USERNAME_TOO_LONG'] = $MESSAGE['LOGIN_USERNAME_TOO_LONG'];
$MESSAGE['LOGIN']['PASSWORD_TOO_LONG'] = $MESSAGE['LOGIN_PASSWORD_TOO_LONG'];
$MESSAGE['LOGIN']['AUTHENTICATION_FAILED'] = $MESSAGE['LOGIN_AUTHENTICATION_FAILED'];
$MESSAGE['SIGNUP']['NO_EMAIL'] = $MESSAGE['SIGNUP_NO_EMAIL'];
$MESSAGE['SIGNUP2']['SUBJECT_LOGIN_INFO'] = $MESSAGE['SIGNUP2_SUBJECT_LOGIN_INFO'];
$MESSAGE['SIGNUP2']['BODY_LOGIN_INFO'] = $MESSAGE['SIGNUP2_BODY_LOGIN_INFO'];
$MESSAGE['SIGNUP2']['BODY_LOGIN_FORGOT'] = $MESSAGE['SIGNUP2_BODY_LOGIN_FORGOT'];
$MESSAGE['FORGOT_PASS']['NO_DATA'] = $MESSAGE['FORGOT_PASS_NO_DATA'];
$MESSAGE['FORGOT_PASS']['EMAIL_NOT_FOUND'] = $MESSAGE['FORGOT_PASS_EMAIL_NOT_FOUND'];
$MESSAGE['FORGOT_PASS']['CANNOT_EMAIL'] = $MESSAGE['FORGOT_PASS_CANNOT_EMAIL'];
$MESSAGE['FORGOT_PASS']['PASSWORD_RESET'] = $MESSAGE['FORGOT_PASS_PASSWORD_RESET'];
$MESSAGE['FORGOT_PASS']['ALREADY_RESET'] = $MESSAGE['FORGOT_PASS_ALREADY_RESET'];
$MESSAGE['START']['WELCOME_MESSAGE'] = $MESSAGE['START_WELCOME_MESSAGE'];
$MESSAGE['START']['INSTALL_DIR_EXISTS'] = $MESSAGE['START_INSTALL_DIR_EXISTS'];
$MESSAGE['START']['CURRENT_USER'] = $MESSAGE['START_CURRENT_USER'];
$MESSAGE['SETTINGS']['UNABLE_OPEN_CONFIG'] = $MESSAGE['SETTINGS_UNABLE_OPEN_CONFIG'];
$MESSAGE['SETTINGS']['UNABLE_WRITE_CONFIG'] = $MESSAGE['SETTINGS_UNABLE_WRITE_CONFIG'];
$MESSAGE['SETTINGS']['SAVED'] = $MESSAGE['SETTINGS_SAVED'];
$MESSAGE['SETTINGS']['MODE_SWITCH_WARNING'] = $MESSAGE['SETTINGS_MODE_SWITCH_WARNING'];
$MESSAGE['SETTINGS']['WORLD_WRITEABLE_WARNING'] = $MESSAGE['SETTINGS_WORLD_WRITEABLE_WARNING'];
$MESSAGE['USERS']['ADDED'] = $MESSAGE['USERS_ADDED'];
$MESSAGE['USERS']['SAVED'] = $MESSAGE['USERS_SAVED'];
$MESSAGE['USERS']['DELETED'] = $MESSAGE['USERS_DELETED'];
$MESSAGE['USERS']['NO_GROUP'] = $MESSAGE['USERS_NO_GROUP'];
$MESSAGE['USERS']['USERNAME_TOO_SHORT'] = $MESSAGE['USERS_USERNAME_TOO_SHORT'];
$MESSAGE['USERS']['PASSWORD_TOO_SHORT'] = $MESSAGE['USERS_PASSWORD_TOO_SHORT'];
$MESSAGE['USERS']['PASSWORD_MISMATCH'] = $MESSAGE['USERS_PASSWORD_MISMATCH'];
$MESSAGE['USERS']['INVALID_EMAIL'] = $MESSAGE['USERS_INVALID_EMAIL'];
$MESSAGE['USERS']['EMAIL_TAKEN'] = $MESSAGE['USERS_EMAIL_TAKEN'];
$MESSAGE['USERS']['USERNAME_TAKEN'] = $MESSAGE['USERS_USERNAME_TAKEN'];
$MESSAGE['USERS']['CHANGING_PASSWORD'] = $MESSAGE['USERS_CHANGING_PASSWORD'];
$MESSAGE['USERS']['CONFIRM_DELETE'] = $MESSAGE['USERS_CONFIRM_DELETE'];
$MESSAGE['GROUPS']['ADDED'] = $MESSAGE['GROUPS_ADDED'];
$MESSAGE['GROUPS']['SAVED'] = $MESSAGE['GROUPS_SAVED'];
$MESSAGE['GROUPS']['DELETED'] = $MESSAGE['GROUPS_DELETED'];
$MESSAGE['GROUPS']['GROUP_NAME_BLANK'] = $MESSAGE['GROUPS_GROUP_NAME_BLANK'];
$MESSAGE['GROUPS']['CONFIRM_DELETE'] = $MESSAGE['GROUPS_CONFIRM_DELETE'];
$MESSAGE['GROUPS']['NO_GROUPS_FOUND'] = $MESSAGE['GROUPS_NO_GROUPS_FOUND'];
$MESSAGE['GROUPS']['GROUP_NAME_EXISTS'] = $MESSAGE['GROUPS_GROUP_NAME_EXISTS'];
$MESSAGE['PREFERENCES']['DETAILS_SAVED'] = $MESSAGE['PREFERENCES_DETAILS_SAVED'];
$MESSAGE['PREFERENCES']['EMAIL_UPDATED'] = $MESSAGE['PREFERENCES_EMAIL_UPDATED'];
$MESSAGE['PREFERENCES']['CURRENT_PASSWORD_INCORRECT'] = $MESSAGE['PREFERENCES_CURRENT_PASSWORD_INCORRECT'];
$MESSAGE['PREFERENCES']['PASSWORD_CHANGED'] = $MESSAGE['PREFERENCES_PASSWORD_CHANGED'];
$MESSAGE['PREFERENCES']['INVALID_CHARS'] = $MESSAGE['PREFERENCES_INVALID_CHARS'];
$MESSAGE['TEMPLATES']['CHANGE_TEMPLATE_NOTICE'] = $MESSAGE['TEMPLATES_CHANGE_TEMPLATE_NOTICE'];
$MESSAGE['MEDIA']['DIR_DOT_DOT_SLASH'] = $MESSAGE['MEDIA_DIR_DOT_DOT_SLASH'];
$MESSAGE['MEDIA']['DIR_DOES_NOT_EXIST'] = $MESSAGE['MEDIA_DIR_DOES_NOT_EXIST'];
$MESSAGE['MEDIA']['TARGET_DOT_DOT_SLASH'] = $MESSAGE['MEDIA_TARGET_DOT_DOT_SLASH'];
$MESSAGE['MEDIA']['NAME_DOT_DOT_SLASH'] = $MESSAGE['MEDIA_NAME_DOT_DOT_SLASH'];
$MESSAGE['MEDIA']['NAME_INDEX_PHP'] = $MESSAGE['MEDIA_NAME_INDEX_PHP'];
$MESSAGE['MEDIA']['NONE_FOUND'] = $MESSAGE['MEDIA_NONE_FOUND'];
$MESSAGE['MEDIA']['FILE_NOT_FOUND'] = $MESSAGE['MEDIA_FILE_NOT_FOUND'];
$MESSAGE['MEDIA']['DELETED_FILE'] = $MESSAGE['MEDIA_DELETED_FILE'];
$MESSAGE['MEDIA']['DELETED_DIR'] = $MESSAGE['MEDIA_DELETED_DIR'];
$MESSAGE['MEDIA']['CONFIRM_DELETE'] = $MESSAGE['MEDIA_CONFIRM_DELETE'];
$MESSAGE['MEDIA']['CANNOT_DELETE_FILE'] = $MESSAGE['MEDIA_CANNOT_DELETE_FILE'];
$MESSAGE['MEDIA']['CANNOT_DELETE_DIR'] = $MESSAGE['MEDIA_CANNOT_DELETE_DIR'];
$MESSAGE['MEDIA']['BLANK_NAME'] = $MESSAGE['MEDIA_BLANK_NAME'];
$MESSAGE['MEDIA']['BLANK_EXTENSION'] = $MESSAGE['MEDIA_BLANK_EXTENSION'];
$MESSAGE['MEDIA']['RENAMED'] = $MESSAGE['MEDIA_RENAMED'];
$MESSAGE['MEDIA']['CANNOT_RENAME'] = $MESSAGE['MEDIA_CANNOT_RENAME'];
$MESSAGE['MEDIA']['FILE_EXISTS'] = $MESSAGE['MEDIA_FILE_EXISTS'];
$MESSAGE['MEDIA']['DIR_EXISTS'] = $MESSAGE['MEDIA_DIR_EXISTS'];
$MESSAGE['MEDIA']['DIR_MADE'] = $MESSAGE['MEDIA_DIR_MADE'];
$MESSAGE['MEDIA']['DIR_NOT_MADE'] = $MESSAGE['MEDIA_DIR_NOT_MADE'];
$MESSAGE['MEDIA']['SINGLE_UPLOADED'] = $MESSAGE['MEDIA_SINGLE_UPLOADED'];
$MESSAGE['MEDIA']['UPLOADED'] = $MESSAGE['MEDIA_UPLOADED'];
$MESSAGE['PAGES']['ADDED'] = $MESSAGE['PAGES_ADDED'];
$MESSAGE['PAGES']['ADDED_HEADING'] = $MESSAGE['PAGES_ADDED_HEADING'];
$MESSAGE['PAGES']['PAGE_EXISTS'] = $MESSAGE['PAGES_PAGE_EXISTS'];
$MESSAGE['PAGES']['CANNOT_CREATE_ACCESS_FILE'] = $MESSAGE['PAGES_CANNOT_CREATE_ACCESS_FILE'];
$MESSAGE['PAGES']['CANNOT_DELETE_ACCESS_FILE'] = $MESSAGE['PAGES_CANNOT_DELETE_ACCESS_FILE'];
$MESSAGE['PAGES']['NOT_FOUND'] = $MESSAGE['PAGES_NOT_FOUND'];
$MESSAGE['PAGES']['SAVED'] = $MESSAGE['PAGES_SAVED'];
$MESSAGE['PAGES']['SAVED_SETTINGS'] = $MESSAGE['PAGES_SAVED_SETTINGS'];
$MESSAGE['PAGES']['NOT_SAVED'] = $MESSAGE['PAGES_NOT_SAVED'];
$MESSAGE['PAGES']['DELETE_CONFIRM'] = $MESSAGE['PAGES_DELETE_CONFIRM'];
$MESSAGE['PAGES']['DELETED'] = $MESSAGE['PAGES_DELETED'];
$MESSAGE['PAGES']['RESTORED'] = $MESSAGE['PAGES_RESTORED'];
$MESSAGE['PAGES']['BLANK_PAGE_TITLE'] = $MESSAGE['PAGES_BLANK_PAGE_TITLE'];
$MESSAGE['PAGES']['BLANK_MENU_TITLE'] = $MESSAGE['PAGES_BLANK_MENU_TITLE'];
$MESSAGE['PAGES']['REORDERED'] = $MESSAGE['PAGES_REORDERED'];
$MESSAGE['PAGES']['CANNOT_REORDER'] = $MESSAGE['PAGES_CANNOT_REORDER'];
$MESSAGE['PAGES']['INSUFFICIENT_PERMISSIONS'] = $MESSAGE['PAGES_INSUFFICIENT_PERMISSIONS'];
$MESSAGE['PAGES']['INTRO_NOT_WRITABLE'] = $MESSAGE['PAGES_INTRO_NOT_WRITABLE'];
$MESSAGE['PAGES']['INTRO_SAVED'] = $MESSAGE['PAGES_INTRO_SAVED'];
$MESSAGE['PAGES']['LAST_MODIFIED'] = $MESSAGE['PAGES_LAST_MODIFIED'];
$MESSAGE['PAGES']['INTRO_LINK'] = $MESSAGE['PAGES_INTRO_LINK'];
$MESSAGE['PAGES']['SECTIONS_PROPERTIES_SAVED'] = $MESSAGE['PAGES_SECTIONS_PROPERTIES_SAVED'];
$MESSAGE['PAGES']['RETURN_TO_PAGES'] = $MESSAGE['PAGES_RETURN_TO_PAGES'];
$MESSAGE['GENERIC']['FILL_IN_ALL'] = $MESSAGE['GENERIC_FILL_IN_ALL'];
$MESSAGE['GENERIC']['FILE_TYPE'] = $MESSAGE['GENERIC_FILE_TYPE'];
$MESSAGE['GENERIC']['FILE_TYPES'] = $MESSAGE['GENERIC_FILE_TYPES'];
$MESSAGE['GENERIC']['CANNOT_UPLOAD'] = $MESSAGE['GENERIC_CANNOT_UPLOAD'];
$MESSAGE['GENERIC']['ALREADY_INSTALLED'] = $MESSAGE['GENERIC_ALREADY_INSTALLED'];
$MESSAGE['GENERIC']['NOT_INSTALLED'] = $MESSAGE['GENERIC_NOT_INSTALLED'];
$MESSAGE['GENERIC']['CANNOT_UNINSTALL'] = $MESSAGE['GENERIC_CANNOT_UNINSTALL'];
$MESSAGE['GENERIC']['CANNOT_UNZIP'] = $MESSAGE['GENERIC_CANNOT_UNZIP'];
$MESSAGE['GENERIC']['INSTALLED'] = $MESSAGE['GENERIC_INSTALLED'];
$MESSAGE['GENERIC']['UPGRADED'] = $MESSAGE['GENERIC_UPGRADED'];
$MESSAGE['GENERIC']['UNINSTALLED'] = $MESSAGE['GENERIC_UNINSTALLED'];
$MESSAGE['GENERIC']['BAD_PERMISSIONS'] = $MESSAGE['GENERIC_BAD_PERMISSIONS'];
$MESSAGE['GENERIC']['INVALID'] = $MESSAGE['GENERIC_INVALID'];
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE'] = $MESSAGE['GENERIC_CANNOT_UNINSTALL_IN_USE'];
$MESSAGE['GENERIC']['SECURITY_OFFENSE'] = $MESSAGE['GENERIC_SECURITY_OFFENSE'];
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE_TMPL'] = $MESSAGE['GENERIC_CANNOT_UNINSTALL_IN_USE_TMPL'];
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IN_USE_TMPL_PAGES'] = $MESSAGE['GENERIC_CANNOT_UNINSTALL_IN_USE_TMPL_PAGES'];
$MESSAGE['GENERIC']['CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE'] = $MESSAGE['GENERIC_CANNOT_UNINSTALL_IS_DEFAULT_TEMPLATE'];
$MESSAGE['GENERIC']['WEBSITE_UNDER_CONSTRUCTION'] = $MESSAGE['GENERIC_WEBSITE_UNDER_CONSTRUCTION'];
$MESSAGE['GENERIC']['PLEASE_CHECK_BACK_SOON'] = $MESSAGE['GENERIC_PLEASE_CHECK_BACK_SOON'];
$MESSAGE['GENERIC']['PLEASE_BE_PATIENT'] = $MESSAGE['GENERIC_PLEASE_BE_PATIENT'];
$MESSAGE['GENERIC']['ERROR_OPENING_FILE'] = $MESSAGE['GENERIC_ERROR_OPENING_FILE'];
$MESSAGE['GENERIC']['INVALID_ADDON_FILE'] = $MESSAGE['GENERIC_INVALID_ADDON_FILE'];
$MESSAGE['GENERIC']['INVALID_LANGUAGE_FILE'] = $MESSAGE['GENERIC_INVALID_LANGUAGE_FILE'];
$MESSAGE['MOD_FORM']['REQUIRED_FIELDS'] = $MESSAGE['MOD_FORM_REQUIRED_FIELDS'];
$MESSAGE['MOD_FORM']['EXCESS_SUBMISSIONS'] = $MESSAGE['MOD_FORM_EXCESS_SUBMISSIONS'];
$MESSAGE['MOD_FORM']['INCORRECT_CAPTCHA'] = $MESSAGE['MOD_FORM_INCORRECT_CAPTCHA'];
$MESSAGE['ADDON']['RELOAD'] = $MESSAGE['ADDON_RELOAD'];
$MESSAGE['ADDON']['ERROR_RELOAD'] = $MESSAGE['ADDON_ERROR_RELOAD'];
$MESSAGE['ADDON']['MODULES_RELOADED'] = $MESSAGE['ADDON_MODULES_RELOADED'];
$MESSAGE['ADDON']['TEMPLATES_RELOADED'] = $MESSAGE['ADDON_TEMPLATES_RELOADED'];
$MESSAGE['ADDON']['LANGUAGES_RELOADED'] = $MESSAGE['ADDON_LANGUAGES_RELOADED'];
$MESSAGE['ADDON']['PRECHECK_FAILED'] = $MESSAGE['ADDON_PRECHECK_FAILED'];
$MESSAGE['ADDON']['MANUAL_INSTALLATION'] = $MESSAGE['ADDON_MANUAL_INSTALLATION'];
$MESSAGE['ADDON']['MANUAL_INSTALLATION_WARNING'] = $MESSAGE['ADDON_MANUAL_INSTALLATION_WARNING'];
