@@ 323-327 (lines=5) @@ | ||
320 | */ |
|
321 | $meta_keywords = ''; |
|
322 | if (isset($story) && is_object($story)) { |
|
323 | if (xoops_trim($story->keywords()) != '') { |
|
324 | $meta_keywords = $story->keywords(); |
|
325 | } else { |
|
326 | $meta_keywords = news_createmeta_keywords($story->hometext() . ' ' . $story->bodytext()); |
|
327 | } |
|
328 | if (xoops_trim($story->description()) != '') { |
|
329 | $meta_description = strip_tags($story->description); |
|
330 | } else { |
@@ 82-86 (lines=5) @@ | ||
79 | $xoops_meta_keywords = ''; |
|
80 | $xoops_meta_description = ''; |
|
81 | ||
82 | if (trim($story->keywords()) != '') { |
|
83 | $xoops_meta_keywords = $story->keywords(); |
|
84 | } else { |
|
85 | $xoops_meta_keywords = news_createmeta_keywords($story->hometext() . ' ' . $story->bodytext()); |
|
86 | } |
|
87 | ||
88 | if (trim($story->description()) != '') { |
|
89 | $xoops_meta_description = $story->description(); |