Dodavanje opcije za izbor jezika u info boxu

Started by Bred, 07-01-2007, 18:41:07

Previous topic - Next topic

0 Members and 1 Guest are viewing this topic.

Bred

[code][URL=http://server6.theimagehosting.com/image.php?img=preview1.4e0.JPG][IMG]http://images6.theimagehosting.com/preview1.4e0.th.JPG[/img][/URL]


Nadjete kod u index.template.php fajlu

[code]
// Otherwise they're a guest - this time ask them to either register or login - lazy bums...
else
{
echo ' </span>
<script language="JavaScript" type="text/javascript" src="', $settings['default_theme_url'], '/sha1.js"></script>

<form action="', $scripturl, '?action=login2" method="post" accept-charset="', $context['character_set'], '" class="middletext" style="margin: 3px 1ex 1px 0;"', empty($context['disable_login_hashing']) ? ' onsubmit="hashLoginPassword(this, \'' . $context['session_id'] . '\');"' : '', '>
<input type="text" name="user" size="10" /> <input type="password" name="passwrd" size="10" />
<select name="cookielength">
<option value="60">', $txt['smf53'], '</option>
<option value="1440">', $txt['smf47'], '</option>
<option value="10080">', $txt['smf48'], '</option>
<option value="43200">', $txt['smf49'], '</option>
<option value="-1" selected="selected">', $txt['smf50'], '</option>
</select>
<input type="submit" value="', $txt[34], '" /><br />
<span class="middletext">', $txt['smf52'], '</span>
<input type="hidden" name="hash_passwrd" value="" />
</form>

                        
                        Dodate
                        <table align="left" valign=top" ><tr><td>IZABERITE JEZIK:
<tr><td><a href="http://www.VASSAJT/index.php?language=serbian"><img src="http://www.PUTANJA-DO-FOLDERA/srpski.gif" alt="Srpski" style="margin: 2px 0;" border="0" /></a>
<a href="http://www.VASSAJT/index.php?language=english"><img src="http://www.PUTANJA-DO-FOLDERA/english.gif" alt="Engleski" style="margin: 2px 0;" border="0" /></a></td></tr></table>';
}

   
   Napomena : pojavljuje se  samo za nelogovane korisnike tj goste.
   [/code][/code]