mirror of
https://github.com/e107inc/e107.git
synced 2025-08-01 20:30:39 +02:00
Fix for default avatar on comment form.
This commit is contained in:
@@ -104,11 +104,9 @@ class comment_shortcodes extends e_shortcode
|
|||||||
|
|
||||||
function sc_comment_avatar($parm='')
|
function sc_comment_avatar($parm='')
|
||||||
{
|
{
|
||||||
|
|
||||||
$tp = e107::getParser();
|
$tp = e107::getParser();
|
||||||
|
$text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'],USERIMAGE)."}");
|
||||||
|
|
||||||
//
|
|
||||||
$text = $tp->parseTemplate("{USER_AVATAR=".vartrue($this->var['user_image'])."}");
|
|
||||||
$text .= "<div class='field-help' style='display:none;'>
|
$text .= "<div class='field-help' style='display:none;'>
|
||||||
<div class='left'>";
|
<div class='left'>";
|
||||||
$text .= "<h2>".$this->sc_username()."</h2>";
|
$text .= "<h2>".$this->sc_username()."</h2>";
|
||||||
|
Reference in New Issue
Block a user