Toplist ve destekleyenler kismi her sayfada görünmesi ve toplist kotlari ve destekleyenleri Thema ayarlarindan ekleye bilirsiniz.
destekleyenler ve Toplistleri eklemek icin Admin-Kullanilan Thema
Dostsiteler ve Toplist kutusundan ekleyin.
Index.template.php acin
Bulun:
Code:
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
Üstüne bunu ekleyin:
Code:
//Toplist ve Destekleyenler
echo '<br />
<div id="bodyarea">
<table border="0" width="100%" class="tborder" cellspacing="' , ($context['browser']['is_ie'] || $context['browser']['is_opera6']) ? '1' : '0' , '" cellpadding="4" style="margin-bottom: 2ex;">
<tr>
<td class="catbg" width="100%" height="20" align="center" valign="middle">
', $context['forum_name'], ' - Toplist ve Dostsiteler
</td>
</tr>
<td class="titlebg" width="100%" align="top" valign="middle" height="15" colspan="2">
Toplist
</td>
</tr>
<td class="windowbg" width="100%">
', $settings['toplist'], '
</td>
</tr>
<tr>
<td class="titlebg" align="top" valign="middle" height="15" colspan="2">
Dostsiteler
</td>
</tr>
<tr>
<td class="windowbg" width="100%">
', $settings['dostsiteler'], '
</td>
</tr>
</table></div>';
Settings.templat.php acin
bulun:
Code:
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
altina ekleyin:
Code:
array(
'id' => 'toplist',
'label' => $txt['toplist'],
'type' => 'text',
),
array(
'id' => 'dostsiteler',
'label' => $txt['dostsiteler'],
'type' => 'text',
),
Settings.turkish.php yi acin
Bulun:
Üstüne ekleyin:
Code:
$txt['toplist'] = 'Toplist';
$txt['dostsiteler'] = 'Dostsiteler';