|
@@ 242-246 (lines=5) @@
|
| 239 |
|
_MB_READMORE); |
| 240 |
|
$spotlight['title_with_link'] = sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $tmpstory->storyid(), |
| 241 |
|
$tmpstory->title()); |
| 242 |
|
if ($tmpstory->votes() == 1) { |
| 243 |
|
$spotlight['number_votes'] = _NW_ONEVOTE; |
| 244 |
|
} else { |
| 245 |
|
$spotlight['number_votes'] = sprintf(_NW_NUMVOTES, $tmpstory->votes()); |
| 246 |
|
} |
| 247 |
|
|
| 248 |
|
$spotlight['votes_with_text'] = sprintf(_NW_NUMVOTES, $tmpstory->votes()); |
| 249 |
|
$spotlight['topicid'] = $tmpstory->topicid(); |
|
@@ 348-352 (lines=5) @@
|
| 345 |
|
$news['text'] = ''; |
| 346 |
|
} |
| 347 |
|
|
| 348 |
|
if ($story->votes() == 1) { |
| 349 |
|
$news['number_votes'] = _NW_ONEVOTE; |
| 350 |
|
} else { |
| 351 |
|
$news['number_votes'] = sprintf(_NW_NUMVOTES, $story->votes()); |
| 352 |
|
} |
| 353 |
|
if ($infotips > 0) { |
| 354 |
|
$news['infotips'] = ' title="' . news_make_infotips($story->hometext()) . '"'; |
| 355 |
|
} else { |