1
0
mirror of https://github.com/e107inc/e107.git synced 2025-07-27 09:50:49 +02:00
Files
php-e107/e107_files/shortcode/email.sc
marj 3420b193ab Language selection simplification
switch to include_lan for the time being

work in progress
2009-08-15 11:55:30 +00:00

16 lines
303 B
Python

include_lan(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
global $tp;
if (substr($parm, -5) == '-link')
{
$parm = substr($parm, 0, -5);
return ($user_hideemail && !ADMIN) ? "<i>".LAN_143."</i>" : $tp->toHTML($parm,TRUE);
}
else
{
return ($user_hideemail && !ADMIN) ? "<i>".LAN_143."</i>" : $parm;
}