Custom copyright in Single line | S-Ace (Copyright Ekleme)

Started by DNA27, May 21, 2009, 10:34:31 AM

Previous topic - Next topic

DNA27

Mod Sahibi : S-Ace


Ekran Görüntüsü :

İşlevi : Tema ayarlarından sizin telif hakkı bilgi girebilirsiniz.
Bu mod Sayesinde copyright ekleme imkanınız olacak Sağ veya Sol ' a
Ayrıca bbc desteklemektedir.

Türkçesi:
/Themes/default/languages/Modifications.turkish.php

?>
Öncesine Ekle:

$txt['custom_copyright_single_line_desc'] = ' Bu alt kısmında görüntülenir..';
$txt['custom_copyright_single_line'] = 'Özel teklif girin:';


Manuel Kurulumu :
./Themes/default/index.template.php
Bul:
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'right' : 'left', '">
<a href="http://www.mysql.com/" target="_blank"><img id="powered-mysql" src="', $settings['images_url'], '/powered-mysql.gif" alt="', $txt['powered_by_mysql'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://www.php.net/" target="_blank"><img id="powered-php" src="', $settings['images_url'], '/powered-php.gif" alt="', $txt['powered_by_php'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
<td valign="middle" align="center" style="white-space: nowrap;">
', theme_copyright(), '
</td>
<td width="28%" valign="middle" align="', !$context['right_to_left'] ? 'left' : 'right', '">
<a href="http://validator.w3.org/check/referer" target="_blank"><img id="valid-xhtml10" src="', $settings['images_url'], '/valid-xhtml10.gif" alt="', $txt['valid_xhtml'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
<a href="http://jigsaw.w3.org/css-validator/check/referer" target="_blank"><img id="valid-css" src="', $settings['images_url'], '/valid-css.gif" alt="', $txt['valid_css'], '" width="54" height="20" style="margin: 5px 16px;" onmouseover="smfFooterHighlight(this, true);" onmouseout="smfFooterHighlight(this, false);" /></a>
</td>
</tr>
</table>';

Değiştirin:
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr>
<td width="70%" valign="top" align="left">
', theme_copyright(), '
</td>
<td width="30%" valign="top" align="right">
', !empty($settings['custom_copyright_single_line']) ? '<span class="smalltext">'. parse_bbc($settings['custom_copyright_single_line']). '</span>' : '', '
</td>
</tr>
</table>';



./Themes/default/Settings.template.php
BuL:
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),


Değiştir:
$context['theme_settings'] = array(
array(
'id' => 'header_logo_url',
'label' => $txt['header_logo_url'],
'description' => $txt['header_logo_url_desc'],
'type' => 'text',
),
array(
'id' => 'custom_copyright_single_line',
'label' => $txt['custom_copyright_single_line'],
'description' => $txt['custom_copyright_single_line_desc'],
'type' => 'text',
),


/Themes/default/languages/Modifications.turkish.php

?>
Öncesine Ekle:

$txt['custom_copyright_single_line_desc'] = ' Bu alt kısmında görüntülenir..';
$txt['custom_copyright_single_line'] = 'Özel teklif girin:';


Sevda Gelmişse başa artıq kıvırmak boşa sen git o sefdanın arkasından koşa koşa

Advertisement: