mirror of
https://github.com/e107inc/e107.git
synced 2025-08-03 05:07:27 +02:00
New Language Term Shortcode {LAN=XXXX} eg. {LAN=LAN_READ_ME}
This commit is contained in:
11
e107_core/shortcodes/single/lan.php
Normal file
11
e107_core/shortcodes/single/lan.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php
|
||||
|
||||
|
||||
function lan_shortcode($parm = '')
|
||||
{
|
||||
$lan = trim($parm);
|
||||
if(defined($lan))
|
||||
{
|
||||
return constant($lan);
|
||||
}
|
||||
}
|
Reference in New Issue
Block a user