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