Zeile 378 | Zeile 378 |
---|
{ $lastposterlink = build_profile_link($lastposter, $thread['lastposteruid']); }
|
{ $lastposterlink = build_profile_link($lastposter, $thread['lastposteruid']); }
|
| $thread['subject'] = $thread['fullsubject'] = $parser->parse_badwords($thread['subject']);
|
if(my_strlen($thread['subject']) > 25) { $thread['subject'] = my_substr($thread['subject'], 0, 25) . "..."; }
|
if(my_strlen($thread['subject']) > 25) { $thread['subject'] = my_substr($thread['subject'], 0, 25) . "..."; }
|
$thread['subject'] = htmlspecialchars_uni($parser->parse_badwords($thread['subject']));
| $thread['subject'] = htmlspecialchars_uni($thread['subject']); $thread['fullsubject'] = htmlspecialchars_uni($thread['fullsubject']);
|
$thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['forumlink'] = get_forum_link($thread['fid']);
| $thread['threadlink'] = get_thread_link($thread['tid']); $thread['lastpostlink'] = get_thread_link($thread['tid'], 0, "lastpost"); $thread['forumlink'] = get_forum_link($thread['fid']);
|
Zeile 391 | Zeile 395 |
---|
$altbg = alt_trow(); } if($threadlist)
|
$altbg = alt_trow(); } if($threadlist)
|
{
| {
|
// Show the table only if there are threads eval("\$latestthreads = \"".$templates->get("portal_latestthreads")."\";"); }
| // Show the table only if there are threads eval("\$latestthreads = \"".$templates->get("portal_latestthreads")."\";"); }
|
Zeile 417 | Zeile 421 |
---|
unset($fid);
$announcementsfids = implode(',', $fid_array);
|
unset($fid);
$announcementsfids = implode(',', $fid_array);
|
|
|
$annfidswhere = " AND t.fid IN ($announcementsfids)"; } }
| $annfidswhere = " AND t.fid IN ($announcementsfids)"; } }
|
Zeile 430 | Zeile 434 |
---|
$forum[$fid] = $f; } }
|
$forum[$fid] = $f; } }
|
|
|
$query = $db->simple_select("threads t", "COUNT(t.tid) AS threads", "t.visible='1'{$annfidswhere}{$tunviewwhere} AND t.closed NOT LIKE 'moved|%'", array('limit' => 1)); $announcementcount = $db->fetch_field($query, "threads");
| $query = $db->simple_select("threads t", "COUNT(t.tid) AS threads", "t.visible='1'{$annfidswhere}{$tunviewwhere} AND t.closed NOT LIKE 'moved|%'", array('limit' => 1)); $announcementcount = $db->fetch_field($query, "threads");
|