Forumun Altına Dil Seçeneği Koymak smf 2

Başlatan Ali1980, 29 Tem 2014 23:59

« önceki - sonraki »

0 Üye ve 2 Ziyaretçi konuyu incelemekte.



  1. 632

  2. 251
29 Tem 2014 23:59 Son düzenlenme: 30 Tem 2014 00:44 Ali1980


[hs width=300 height=300]http://i.hizliresim.com/gjZP7N.png[/hs]

index.template.php de bul
    // Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere!
hemen ustune ekle
// dil
echo'
<table cellspacing="0" cellpadding="3" border="0" align="center" width="100%">
<tr><td height="30" width="100%" class=titlebg>';
echo'
<form action="', $scripturl, '" method="get" style="padding:0; margin: 0;">
        <select name="jumpto" id="jumpto" onchange="if (this.selectedIndex > 0 &amp;&amp; this.options[this.selectedIndex].value) window.location.href = smf_scripturl + this.options[this.selectedIndex].value.substr(smf_scripturl.indexOf(\'?\') == -1 || this.options[this.selectedIndex].value.substr(0, 1) != \'?\' ? 0 : 1);">
        <optgroup style="background-color: #b0c4de;" label="Select Language"></optgroup>';
   echo '
<option value="?language=turkish">--Lisan Seç</option>
                <option value="?language=turkish">--Turkish</option>
                <option value="?language=english">--English</option>
</form>
</td></tr></table>';



MENU ×