mirror of
https://github.com/e107inc/e107.git
synced 2025-08-18 12:21:45 +02:00
Tweak developer mode check and message
This commit is contained in:
@@ -783,13 +783,11 @@ if ($e107_popup != 1) {
|
||||
echo "<div class='installer alert alert-danger alert-block text-center'><b>*** ".CORE_LAN4." ***</b><br />".CORE_LAN5."</div>";
|
||||
}
|
||||
|
||||
if(ADMIN && deftrue('e_DEVELOPER') && (strpos(e_SELF,'localhost') === false) && (strpos(e_SELF,'127.0.0.1') === false))
|
||||
if(ADMIN && $pref['developer'] && (strpos(e_SELF,'localhost') === false) && (strpos(e_SELF,'127.0.0.1') === false))
|
||||
{
|
||||
echo "<div class='installer alert alert-danger alert-block text-center'>".LAN_DEVELOPERMODE_CHECK."</div>";
|
||||
echo "<div class='installer alert alert-danger alert-block text-center'>".e107::getParser()->toHTML(LAN_DEVELOPERMODE_CHECK, true)."</div>";
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
//XXX TODO LAN in English.php
|
||||
echo "<noscript><div class='alert alert-block alert-error alert-danger'><strong>This web site requires that javascript be enabled. <a rel='external' href='http://activatejavascript.org'>Click here for instructions.</a>.</strong></div></noscript>";
|
||||
|
Reference in New Issue
Block a user