Alt Bölüm Düzenleme
Boardindex.template.php'de Bul :
Kod:
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
}
echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>
Bununla Değiştir :
Kod:
$sayac=0;
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
$sayac++;
}
echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>:<br/>';
$sayac2 = 0;
for($sayac3=1;$sayac3<4;$sayac3++){
for(; $sayac2 < ceil(($sayac/4)*$sayac3);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>';}
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td></tr></table>
</td>
Boardindex.template.php'de Bul :
Kod:
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
}
echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>: ', implode(', ', $children), '</span>
</td>
Bununla Değiştir :
Kod:
$sayac=0;
foreach ($board['children'] as $child)
{
$child['link'] = '<a href="' . $child['href'] . '" title="' . ($child['new'] ? $txt[333] : $txt[334]) . ' (' . $txt[330] . ': ' . $child['topics'] . ', ' . $txt[21] . ': ' . $child['posts'] . ')">' . $child['name'] . '</a>';
$children[] = $child['new'] ? '<b>' . $child['link'] . '</b>' : $child['link'];
$sayac++;
}
echo '
<tr>
<td colspan="3" class="windowbg', !empty($settings['seperate_sticky_lock']) ? '3' : '', '">
<table><tr><td valign="top">
<span class="smalltext"><b>', $txt['parent_boards'], '</b>:<br/>';
$sayac2 = 0;
for($sayac3=1;$sayac3<4;$sayac3++){
for(; $sayac2 < ceil(($sayac/4)*$sayac3);$sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td><td width="30"> </td><td valign="top"><span class="smalltext"><br/>';}
for(; $sayac2 < $sayac ; $sayac2++)
echo $children[$sayac2], '<br/>';
echo '
</span></td></tr></table>
</td>