1
0
mirror of https://github.com/e107inc/e107.git synced 2025-08-10 16:46:50 +02:00

Forum - added glyph and replaced deprecated function

This commit is contained in:
Moc
2014-08-04 16:09:46 +02:00
parent d5a6bbc658
commit 258c30a25e

View File

@@ -441,9 +441,9 @@ class plugin_forum_view_shortcodes extends e_shortcode
$text .= "<li class='divider'></li>";
if(plugInstalled('pm') && ($this->postInfo['post_user'] > 0))
if(e107::isInstalled('pm') && ($this->postInfo['post_user'] > 0))
{
$text .= "<li><a href='".e_PLUGIN_ABS."pm/pm.php?send.{$this->postInfo['post_user']}'>".LAN_FORUM_2036."</a></li>";
$text .= "<li><a href='".e_PLUGIN_ABS."pm/pm.php?send.{$this->postInfo['post_user']}'>".$tp->toGlyph('envelope')." ".LAN_FORUM_2036." </a></li>";
}
if($website = $this->sc_website())