1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-01 20:30:39 +02:00

Issue #6 Fix for generic admin LANs being used on frontend.

This commit is contained in:
Cameron
2016-08-29 10:31:24 -07:00
parent 50fc69a124
commit d2ea287876
2 changed files with 3 additions and 3 deletions

View File

@@ -19,8 +19,8 @@ define("LAN_135", "News Item: ");
define("LAN_136", "Submit News Item");
define("NWSLAN_6", "Category");
define("NWSLAN_10", "No news categories");
//define("NWSLAN_11", "You don"t have access to this area.");//LAN_UI_403_BODY_ERROR
//define("NWSLAN_12", "Access Denied.");//LAN_UI_403_TITLE_ERROR
define("NWSLAN_11", "You don't have access to this area.");
define("NWSLAN_12", "Access Denied.");
define("SUBNEWSLAN_1", "You must include a title.\\n");
define("SUBNEWSLAN_2", "You must include some text in the news item.\\n");

View File

@@ -27,7 +27,7 @@ if (!isset($pref['subnews_class']))
if (!check_class($pref['subnews_class']))
{
$ns->tablerender(LAN_UI_403_TITLE_ERROR, LAN_UI_403_BODY_ERROR);
$ns->tablerender(NWSLAN_12, NWSLAN_11);
require_once(FOOTERF);
exit;
}