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