mirror of
https://github.com/e107inc/e107.git
synced 2025-08-11 09:04:38 +02:00
Removed some LAN constant usage from core templates.
This commit is contained in:
@@ -13,6 +13,10 @@ function lan_shortcode($parm = '')
|
||||
{
|
||||
return constant($lan);
|
||||
}
|
||||
elseif(defined('LAN_'.$lan))
|
||||
{
|
||||
return constant('LAN_'.$lan);
|
||||
}
|
||||
elseif(ADMIN)
|
||||
{
|
||||
return "<span class='alert alert-danger'><strong>".$parm ."</strong> is undefined</span>"; // debug info
|
||||
|
Reference in New Issue
Block a user