mirror of
https://github.com/e107inc/e107.git
synced 2025-04-13 09:01:59 +02:00
Bugtracker #4909 - Consistent return options on comments
This commit is contained in:
parent
778cbf9e86
commit
66e09b983c
@ -161,6 +161,11 @@ class comment
|
||||
{
|
||||
$text = $ns->tablerender($caption, $text, '', TRUE);
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // Comment entry not allowed - point to signup link
|
||||
$text = "<br /><div style='text-align:center'><b>".COMLAN_6." <a href='".e_SIGNUP."'>".COMLAN_321."</a> ".COMLAN_322."</b></div>";
|
||||
}
|
||||
if ($return)
|
||||
{
|
||||
return $text;
|
||||
@ -169,11 +174,6 @@ class comment
|
||||
{
|
||||
echo $text;
|
||||
}
|
||||
}
|
||||
else
|
||||
{ // Comment entry not allowed - point to signup link
|
||||
echo "<br /><div style='text-align:center'><b>".COMLAN_6." <a href='".e_SIGNUP."'>".COMLAN_321."</a> ".COMLAN_322."</b></div>";
|
||||
}
|
||||
}
|
||||
/**
|
||||
* Enter description here...
|
||||
|
Loading…
x
Reference in New Issue
Block a user