|
@@ 208-210 (lines=3) @@
|
| 205 |
|
} |
| 206 |
|
$spotlight = array(); |
| 207 |
|
$spotlight['title'] = $tmpstory->title(); |
| 208 |
|
if ($options[7] !== '') { |
| 209 |
|
$spotlight['image'] = sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $tmpstory->storyid(), $myts->displayTarea($options[7], $tmpstory->nohtml)); |
| 210 |
|
} |
| 211 |
|
$spotlight['text'] = $tmpstory->hometext(); |
| 212 |
|
|
| 213 |
|
// Added 16 february 2007 ***************************************** |
|
@@ 326-328 (lines=3) @@
|
| 323 |
|
if (strlen($title) > $options[2]) { |
| 324 |
|
$title = news_truncate_tagsafe($title, $options[2] + 3); |
| 325 |
|
} |
| 326 |
|
if ($options[7] !== '') { |
| 327 |
|
$news['image'] = sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid(), $myts->displayTarea($options[7], $story->nohtml)); |
| 328 |
|
} |
| 329 |
|
if ($options[3] > 0) { |
| 330 |
|
$html = $story->nohtml() == 1 ? 0 : 1; |
| 331 |
|
$news['text'] = news_truncate_tagsafe($myts->displayTarea($story->hometext(), $html), $options[3] + 3); |
|
@@ 428-430 (lines=3) @@
|
| 425 |
|
|
| 426 |
|
if ($visible) { |
| 427 |
|
$spotlight['title'] = $title; |
| 428 |
|
if ($options[7] !== '') { |
| 429 |
|
$spotlight['image'] = sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $story->storyid(), $myts->displayTarea($options[7], $story->nohtml)); |
| 430 |
|
} |
| 431 |
|
// Added 16 february 2007 ***************************************** |
| 432 |
|
$story_user = null; |
| 433 |
|
$story_user = new XoopsUser($story->uid()); |
|
@@ 529-532 (lines=4) @@
|
| 526 |
|
if ($block['use_spotlight'] == true) { |
| 527 |
|
$spotlight = array(); |
| 528 |
|
$spotlight['title'] = xoops_substr($spotlightArticle->title(), 0, $options[2] - 1); |
| 529 |
|
if ($options[7] !== '') { |
| 530 |
|
$spotlight['image'] = |
| 531 |
|
sprintf("<a href='%s'>%s</a>", XOOPS_URL . '/modules/news/article.php?storyid=' . $spotlightArticle->storyid(), $myts->displayTarea($options[7], $spotlightArticle->nohtml)); |
| 532 |
|
} |
| 533 |
|
// Added 16 february 2007 ***************************************** |
| 534 |
|
$story_user = null; |
| 535 |
|
$story_user = new XoopsUser($spotlightArticle->uid()); |