mirror of
https://github.com/e107inc/e107.git
synced 2025-01-19 05:28:10 +01:00
18 lines
221 B
Python
18 lines
221 B
Python
global $pref;
|
|
|
|
if (!USER)
|
|
{
|
|
return "";
|
|
}
|
|
|
|
$image = IMAGE_email;
|
|
|
|
if(is_numeric($parm))
|
|
{
|
|
return "<a href='".e_BASE."emailmember.php?id.{$parm}'>{$image}</a>";
|
|
}
|
|
else
|
|
{
|
|
return "<a href='mailto:{$parm}'>{$image}</a>";
|
|
}
|