Admin [ Admin ]
Nerden : Ankara Mesaj Sayısı : 307 Puan : 899 Rep Puanı : 4 Kayıt tarihi : 31/07/10
| Konu: Forumun Altına Dil Seçeneği Koyma Paz Ağus. 01, 2010 2:19 pm | |
| index.template aç bul - Kod:
-
// Show the "Powered by" and "Valid" logos, as well as the copyright. Remember, the copyright must be somewhere! - Kod:
-
echo' <table cellspacing="0" cellpadding="3" border="0" align="center" width="100%"> <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 && 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">--Dili Seç</option>
<option value="?language=turkish">--Turkish</option>
<option value="?language=english">--English</option>
</form> '; // Is the user allowed to administrate at all? ([admin]) if ($context['allow_admin']) echo ' <td align="right" class="titlebg"><a href="', $scripturl, '?action=admin">' , $txt[2] , '</a></td>'; echo' <td align="right" class="titlebg"><a href="/forum/archive.php">Arsiv</a></td>
</td> </table>'; | |
|