XFileSharing Pro - Problem

Message
Author
hornet
Posts: 52
Joined: Jul 20, 2008 11:33 pm

Problem

#1 Postby hornet » Mar 05, 2010 3:00 pm

Hello
There is Two problem with script
I can not change the language
When you use the Arabic language Extend the design

See pic
Image

komi
Posts: 161
Joined: Nov 27, 2009 12:41 pm

#2 Postby komi » Mar 05, 2010 5:52 pm

The new language selector is very buggy and doesn't even work in some older browsers.
Because of that I'm using the old method from 1.5 again:


main.html

Code: Select all

<div id="lang2">
  <a href="/?op=change_lang&lang=english"><img src="/images/flags/us.gif" width="16" height="11" alt="us" title="English"></a>
  <a href="/?op=change_lang&lang=russian"><img src="/images/flags/ru.gif" width="16" height="11" alt="ru" title="Russian"></a>
  <a href="/?op=change_lang&lang=german"><img src="/images/flags/de.gif" width="16" height="11" alt="de" title="German"></a>
  <a href="/?op=change_lang&lang=french"><img src="/images/flags/fr.gif" width="16" height="11" alt="fr" title="French"></a>
  <a href="/?op=change_lang&lang=arabic"><img src="/images/flags/sa.gif" width="16" height="11" alt="sa" title="Arabic"></a>
  <a href="/?op=change_lang&lang=turkish"><img src="/images/flags/tr.gif" width="16" height="11" alt="tr" title="Turkish"></a>
  <a href="/?op=change_lang&lang=polish"><img src="/images/flags/pl.gif" width="16" height="11" alt="pl" title="Polish"></a>
  <a href="/?op=change_lang&lang=thai"><img src="/images/flags/th.gif" width="16" height="11" alt="th" title="Thai"></a>
  <a href="/?op=change_lang&lang=spanish"><img src="/images/flags/es.gif" width="16" height="11" alt="es" title="Spanish"></a>
  <a href="/?op=change_lang&lang=japan"><img src="/images/flags/jp.gif" width="16" height="11" alt="jp" title="Japan"></a>
  <a href="/?op=change_lang&lang=hungary"><img src="/images/flags/hu.gif" width="16" height="11" alt="hu" title="Hungary"></a>
</div>
main.css (change right to left if you want it to appear on the other side.)

Code: Select all

#lang2{position:absolute;right:12px;top:7px}

You can download the flag icons for free from here.

Good luck.

hornet
Posts: 52
Joined: Jul 20, 2008 11:33 pm

#3 Postby hornet » Mar 05, 2010 6:53 pm

v 1.7