öncelikle şu modu kuruyoruz : http://www.smf.gen.tr/smf/index.php?topic=1504.0
BoardIndex.template.php
bul :
hemen altına ekle :
index.css
bul :
degiştir
BoardIndex.template.php
bul :
Kod Seç
// Has it posts awaiting approval?
if ($child['can_approve_posts'] && ($child['unapproved_posts'] || $child['unapproved_topics']))
$child['link'] .= ' <a href="' . $scripturl . '?action=moderate;area=postmod;sa=' . ($child['unapproved_topics'] > 0 ? 'topics' : 'posts') . ';brd=' . $child['id'] . ';' . $context['session_var'] . '=' . $context['session_id'] . '" title="' . sprintf($txt['unapproved_posts'], $child['unapproved_topics'], $child['unapproved_posts']) . '" class="moderation_link">(!)</a>';
$children[] = $child['new'] ? '<strong>' . $child['link'] . '</strong>' : $child['link'];
}
global $modSettings;
if (empty($modSettings['hhyaltbolum']) || $modSettings['hhyaltbolum'] == 0)
{
hemen altına ekle :
Kod Seç
echo '
<fieldset>
<legend class="smalltext">
<b>' . $txt['alt_bolumler'], '</b>
</legend>';
index.css
bul :
Kod Seç
fieldset {
padding: 18px;
margin: 0 0 6px 0;
border: 1px solid #ddd;
border-radius: 3px;
}
degiştir
Kod Seç
fieldset {
border: 1px solid #DDD;
padding: 1em;
margin: 0 0 0.5em 0;
border-radius: 5px;
}