|
@@ 233-237 (lines=5) @@
|
| 230 |
|
|
| 231 |
|
$spotlight['readmore'] = sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $tmpstory->storyid(), _MB_READMORE); |
| 232 |
|
$spotlight['title_with_link'] = sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $tmpstory->storyid(), $tmpstory->title()); |
| 233 |
|
if ($tmpstory->votes() == 1) { |
| 234 |
|
$spotlight['number_votes'] = _NW_ONEVOTE; |
| 235 |
|
} else { |
| 236 |
|
$spotlight['number_votes'] = sprintf(_NW_NUMVOTES, $tmpstory->votes()); |
| 237 |
|
} |
| 238 |
|
|
| 239 |
|
$spotlight['votes_with_text'] = sprintf(_NW_NUMVOTES, $tmpstory->votes()); |
| 240 |
|
$spotlight['topicid'] = $tmpstory->topicid(); |
|
@@ 336-340 (lines=5) @@
|
| 333 |
|
$news['text'] = ''; |
| 334 |
|
} |
| 335 |
|
|
| 336 |
|
if ($story->votes() == 1) { |
| 337 |
|
$news['number_votes'] = _NW_ONEVOTE; |
| 338 |
|
} else { |
| 339 |
|
$news['number_votes'] = sprintf(_NW_NUMVOTES, $story->votes()); |
| 340 |
|
} |
| 341 |
|
if ($infotips > 0) { |
| 342 |
|
$news['infotips'] = ' title="' . news_make_infotips($story->hometext()) . '"'; |
| 343 |
|
} else { |