1
0
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:
Cameron 2016-04-09 10:32:49 -07:00
parent 209d68a6fe
commit 745c973f56

View File

@ -0,0 +1,11 @@
<?php
function lan_shortcode($parm = '')
{
$lan = trim($parm);
if(defined($lan))
{
return constant($lan);
}
}