|
@@ 137-139 (lines=3) @@
|
| 134 |
|
|
| 135 |
|
echo $this->renderHeader($title, $text, $uid, $timestamp); |
| 136 |
|
|
| 137 |
|
if (!preg_match("/^" . XoopsLocale::C_RE . "/i", $title)) { |
| 138 |
|
$title = XoopsLocale::C_RE . " " . XoopsLocale::substr($title, 0, 56); |
| 139 |
|
} |
| 140 |
|
|
| 141 |
|
$obj->setVar('itemid', $itemid); |
| 142 |
|
$obj->setVar('title', $title); |
|
@@ 546-548 (lines=3) @@
|
| 543 |
|
$reply = $this->getHandlerComment()->create(); |
| 544 |
|
|
| 545 |
|
$title = $comment->getVar('title', 'e'); |
| 546 |
|
if (!preg_match("/^" . XoopsLocale::C_RE . "/i", $title)) { |
| 547 |
|
$title = XoopsLocale::C_RE . " " . XoopsLocale::substr($title, 0, 56); |
| 548 |
|
} |
| 549 |
|
$reply->setVar('title', $title); |
| 550 |
|
$reply->setVar('modid', $comment->getVar('modid')); |
| 551 |
|
$reply->setVar('pid', $comment->getVar('id')); |