mirror of
https://github.com/e107inc/e107.git
synced 2025-08-16 11:36:08 +02:00
new module creation
This commit is contained in:
15
e107_files/shortcode/email.sc
Normal file
15
e107_files/shortcode/email.sc
Normal file
@@ -0,0 +1,15 @@
|
||||
@include_once(e_LANGUAGEDIR.e_LANGUAGE."/lan_user.php");
|
||||
@include_once(e_LANGUAGEDIR."English/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);
|
||||
}
|
||||
else
|
||||
{
|
||||
return ($user_hideemail && !ADMIN) ? "<i>".LAN_143."</i>" : $parm;
|
||||
}
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user