mirror of
https://github.com/e107inc/e107.git
synced 2025-06-19 15:34:39 +02:00
Issue #1423 - Updated PM button on Profile page.
This commit is contained in:
@ -23,6 +23,13 @@ $pm_prefs = e107::getPlugPref('pm');
|
||||
|
||||
if(check_class($pm_prefs['pm_class']))
|
||||
{
|
||||
if(deftrue('FONTAWESOME') && deftrue('BOOTSTRAP'))
|
||||
{
|
||||
$img = e107::getParser()->toGlyph('fa-paper-plane','');
|
||||
return "<a class='btn btn-sm btn-default' href='".e_PLUGIN_ABS."pm/pm.php?send.{$parm}'>{$img} ".LAN_PM_35."</a>";
|
||||
}
|
||||
|
||||
|
||||
if(file_exists(THEME.'forum/pm.png'))
|
||||
{
|
||||
$img = "<img src='".THEME_ABS."forum/pm.png' alt='".LAN_PM."' title='".LAN_PM."' style='border:0' />";
|
||||
@ -31,6 +38,9 @@ if(check_class($pm_prefs['pm_class']))
|
||||
{
|
||||
$img = "<img src='".e_PLUGIN_ABS."pm/images/pm.png' alt='".LAN_PM."' title='".LAN_PM."' style='border:0' />";
|
||||
}
|
||||
|
||||
|
||||
|
||||
return "<a href='".e_PLUGIN_ABS."pm/pm.php?send.{$parm}'>{$img}</a>";
|
||||
}
|
||||
else
|
||||
|
Reference in New Issue
Block a user