1
0
mirror of https://github.com/e107inc/e107.git synced 2025-01-17 12:48:24 +01:00

Quick fix for PAGE_NAME conflicts.

This commit is contained in:
Cameron 2021-01-06 11:53:28 -08:00
parent ac9c19bae9
commit 7da26c73b4
5 changed files with 21 additions and 7 deletions

View File

@ -9,7 +9,10 @@
| $Author$
+----------------------------------------------------------------------------+
*/
define("PAGE_NAME", "Error");
if(!defined('PAGE_NAME')) // FIXME.
{
define("PAGE_NAME", "Error");
}
define("LAN_ERROR_TITLE", "Oops!");
define("LAN_ERROR_1", "Error 401 - Authentication Failed");

View File

@ -9,8 +9,10 @@
| $Author$
+----------------------------------------------------------------------------+
*/
define("PAGE_NAME", "News");
if(!defined('PAGE_NAME')) // FIXME.
{
define("PAGE_NAME", "News");
}

View File

@ -9,8 +9,10 @@
* Language file - User signup
*
*/
define("PAGE_NAME", "Register");
if(!defined('PAGE_NAME'))
{
define("PAGE_NAME", "Register");
}
/*
//define("LAN_103", "That username is invalid. Please choose a different one");
//define("LAN_104", "That username is taken. Please choose a different one");

View File

@ -9,7 +9,11 @@
| $Author$
+----------------------------------------------------------------------------+
*/
define("PAGE_NAME", "Site temporarily closed");
if(!defined('PAGE_NAME')) // FIXME.
{
define("PAGE_NAME", "Site temporarily closed");
}
define("LAN_SITEDOWN_00", "is temporarily closed");
define("LAN_SITEDOWN_01", "We have temporarily closed the site for some essential maintenance. This shouldn't take too long - please check back soon. We apologise for the inconvenience.");

View File

@ -9,7 +9,10 @@
| $Author$
+----------------------------------------------------------------------------+
*/
define("PAGE_NAME", "User Settings");
if(!defined('PAGE_NAME'))
{
define("PAGE_NAME", "User Settings");
}
/*
LANs rationalised - some common ones now in lan_user.php. Old numbers generally cross-referenced