mirror of
https://github.com/e107inc/e107.git
synced 2025-04-21 05:02:02 +02:00
New Language Term Shortcode {LAN=XXXX} eg. {LAN=LAN_READ_ME}
This commit is contained in:
parent
209d68a6fe
commit
745c973f56
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);
|
||||
}
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user