mirror of
https://github.com/e107inc/e107.git
synced 2025-07-31 03:40:37 +02:00
Bugtracker #4909 - Consistent return options on comments
This commit is contained in:
@@ -161,6 +161,11 @@ class comment
|
|||||||
{
|
{
|
||||||
$text = $ns->tablerender($caption, $text, '', TRUE);
|
$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)
|
if ($return)
|
||||||
{
|
{
|
||||||
return $text;
|
return $text;
|
||||||
@@ -169,11 +174,6 @@ class comment
|
|||||||
{
|
{
|
||||||
echo $text;
|
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...
|
* Enter description here...
|
||||||
|
Reference in New Issue
Block a user