mirror of
https://github.com/e107inc/e107.git
synced 2025-08-04 13:47:31 +02:00
Issue #6 Fix for generic admin LANs being used on frontend.
This commit is contained in:
@@ -19,8 +19,8 @@ define("LAN_135", "News Item: ");
|
|||||||
define("LAN_136", "Submit News Item");
|
define("LAN_136", "Submit News Item");
|
||||||
define("NWSLAN_6", "Category");
|
define("NWSLAN_6", "Category");
|
||||||
define("NWSLAN_10", "No news categories");
|
define("NWSLAN_10", "No news categories");
|
||||||
//define("NWSLAN_11", "You don"t have access to this area.");//LAN_UI_403_BODY_ERROR
|
define("NWSLAN_11", "You don't have access to this area.");
|
||||||
//define("NWSLAN_12", "Access Denied.");//LAN_UI_403_TITLE_ERROR
|
define("NWSLAN_12", "Access Denied.");
|
||||||
|
|
||||||
define("SUBNEWSLAN_1", "You must include a title.\\n");
|
define("SUBNEWSLAN_1", "You must include a title.\\n");
|
||||||
define("SUBNEWSLAN_2", "You must include some text in the news item.\\n");
|
define("SUBNEWSLAN_2", "You must include some text in the news item.\\n");
|
||||||
|
@@ -27,7 +27,7 @@ if (!isset($pref['subnews_class']))
|
|||||||
|
|
||||||
if (!check_class($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);
|
require_once(FOOTERF);
|
||||||
exit;
|
exit;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user