搜尋:
if ($thread['sticky'])
{
$threadbit = &$threadbits_sticky;
}
else
{
$threadbit = &$threadbits;
}
替換為:
if ($thread['globalsticky'])
{
$threadbit = &$threadbits_globalsticky;
}
elseif ($thread['sticky'])
{
$threadbit = &$threadbits_sticky;
}
else
{
$threadbit = &$threadbits;
}
搜尋:
$show['stickies'] = iif ($threadbits_sticky != '', true, false);
在後面添加:
$show['globalstickies'] = iif ($threadbits_globalsticky != '', true, false);
functions_forumdisplay.php
搜尋:
// sticky thread?
if ($thread['sticky'])
{
$show['sticky'] = true;
$thread['typeprefix'] = $vbphrase['sticky_thread_prefix'];
}
else
{
$show['sticky'] = false;
$thread['typeprefix'] = '';
}
替換為:
// sticky thread?
if ($thread['globalsticky'])
{
$show['globalsticky'] = true;
$thread['typeprefix'] = $vbphrase['globalsticky_thread_prefix'];
}
elseif ($thread['sticky'])
{
$show['sticky'] = true;
$thread['typeprefix'] = $vbphrase['sticky_thread_prefix'];
}
else
{
$show['sticky'] = false;
$show['globalsticky'] = false;
$thread['typeprefix'] = '';
}
|