Sabit ve Normal Konuları Ayırmak

Son güncelleme: 26.07.2011 20:41
  • Tema klasöründe MessageIndex.template.php dosyasında veya kullandığınız temanın MessageIndex.template.php ...

    Ara:

    foreach($context['topics'] as $topic)

    {



    Bununla Değiştir:

    $stickybar = false;

    $normalbar = false;



    foreach($context['topics'] as $topic)

    {

    if($topic['is_sticky'] && !$stickybar)

    {

    echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><center><img src="', $settings['images_url'], '/icons/quick_sticky.gif" width="16" /><b> Sabit Konular</b></center></td></tr>';

    $stickybar = true;

    }

    else if(!$topic['is_sticky'] && $stickybar && !$normalbar)

    {

    echo'<tr class="titlebg"><td colspan="', empty($options['display_quick_mod']) ? '7' : '8', '"><center><img src="' . $settings['images_url'] . '/post/xx.gif" alt="" align="middle" /><b> Normal Konular</b></center></td></tr>';

    $normalbar = true;

    }
#22.08.2009 10:03 0 0 0
  • Sağolasın
#16.07.2011 10:31 0 0 0
  • Güzel paylaşım Teşekkürler
#26.07.2011 20:41 0 0 0