| @@ 97-101 (lines=5) @@ | ||
| 94 | ||
| 95 | $xoopsTpl->assign('xoops_pagetitle', _AM_NEWS_TOPICS_DIRECTORY); |
|
| 96 | $meta_description = _AM_NEWS_TOPICS_DIRECTORY . ' - ' . $xoopsModule->name('s'); |
|
| 97 | if (isset($xoTheme) && is_object($xoTheme)) { |
|
| 98 | $xoTheme->addMeta('meta', 'description', $meta_description); |
|
| 99 | } else { // Compatibility for old Xoops versions |
|
| 100 | $xoopsTpl->assign('xoops_meta_description', $meta_description); |
|
| 101 | } |
|
| 102 | ||
| 103 | include_once XOOPS_ROOT_PATH . '/footer.php'; |
|
| 104 | ||
| @@ 193-197 (lines=5) @@ | ||
| 190 | news_CreateMetaDatas(); |
|
| 191 | ||
| 192 | $meta_description = _MI_NEWSBYTHISAUTHOR . ' - ' . $authname . ' - ' . $xoopsModule->name('s'); |
|
| 193 | if (isset($xoTheme) && is_object($xoTheme)) { |
|
| 194 | $xoTheme->addMeta('meta', 'description', $meta_description); |
|
| 195 | } else { // Compatibility for old Xoops versions |
|
| 196 | $xoopsTpl->assign('xoops_meta_description', $meta_description); |
|
| 197 | } |
|
| 198 | ||
| 199 | include_once XOOPS_ROOT_PATH . '/include/comment_view.php'; |
|
| 200 | include_once XOOPS_ROOT_PATH . '/footer.php'; |
|
| @@ 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 | ||