| @@ 194-198 (lines=5) @@ | ||
| 191 | NewsUtility::createMetaDatas(); |
|
| 192 | ||
| 193 | $meta_description = _MI_NEWSBYTHISAUTHOR . ' - ' . $authname . ' - ' . $xoopsModule->name('s'); |
|
| 194 | if (isset($xoTheme) && is_object($xoTheme)) { |
|
| 195 | $xoTheme->addMeta('meta', 'description', $meta_description); |
|
| 196 | } else { // Compatibility for old Xoops versions |
|
| 197 | $xoopsTpl->assign('xoops_meta_description', $meta_description); |
|
| 198 | } |
|
| 199 | ||
| 200 | require_once XOOPS_ROOT_PATH . '/include/comment_view.php'; |
|
| 201 | require_once XOOPS_ROOT_PATH . '/footer.php'; |
|
| @@ 92-96 (lines=5) @@ | ||
| 89 | ||
| 90 | $xoopsTpl->assign('xoops_pagetitle', _AM_NEWS_TOPICS_DIRECTORY); |
|
| 91 | $meta_description = _AM_NEWS_TOPICS_DIRECTORY . ' - ' . $xoopsModule->name('s'); |
|
| 92 | if (isset($xoTheme) && is_object($xoTheme)) { |
|
| 93 | $xoTheme->addMeta('meta', 'description', $meta_description); |
|
| 94 | } else { // Compatibility for old Xoops versions |
|
| 95 | $xoopsTpl->assign('xoops_meta_description', $meta_description); |
|
| 96 | } |
|
| 97 | ||
| 98 | require_once XOOPS_ROOT_PATH . '/footer.php'; |
|
| 99 | ||
| @@ 84-88 (lines=5) @@ | ||
| 81 | $xoopsTpl->assign('xoops_pagetitle', _AM_NEWS_WHOS_WHO); |
|
| 82 | $myts = MyTextSanitizer::getInstance(); |
|
| 83 | $meta_description = _AM_NEWS_WHOS_WHO . ' - ' . $xoopsModule->name('s'); |
|
| 84 | if (isset($xoTheme) && is_object($xoTheme)) { |
|
| 85 | $xoTheme->addMeta('meta', 'description', $meta_description); |
|
| 86 | } else { // Compatibility for old Xoops versions |
|
| 87 | $xoopsTpl->assign('xoops_meta_description', $meta_description); |
|
| 88 | } |
|
| 89 | ||
| 90 | require_once XOOPS_ROOT_PATH . '/footer.php'; |
|
| 91 | ||