Page 1 of 1
which language am i in?
Posted: Mon May 26, 2008 6:36 am
by antiheld2000
hi,
maybe i missed something but, i find it hard to see in which language i am. wether in frontend or in backend its hard to find out, which language i am in. the only thing in frontend is, that there is no link wrapped around the active img. where can i configure that there is added a additional class to those span element or the img?
in backend its the same problem. i cannot see, in which language i am in or which content i am editing right now.
is there something i have missed?!
greetings
antiheld
Re: which language am i in?
Posted: Mon May 26, 2008 6:50 am
by Wiedmann
where can i configure that there is added a additional class to those span element or the img?
Re: which language am i in?
Posted: Mon May 26, 2008 7:02 am
by antiheld2000
seems not the best way, because i get this: so i dont know how to change the image. for an active state.
Re: which language am i in?
Posted: Mon May 26, 2008 7:05 am
by Wiedmann
Code: Select all
span.foo{} /*active language */
a.foo{} /*inactive language */
Re: which language am i in?
Posted: Mon May 26, 2008 7:12 am
by antiheld2000
you dont got the point. when english language is active and it has the same class like the active french language would, the buttons would look the same. do you understand?
Re: which language am i in?
Posted: Mon May 26, 2008 7:47 am
by Wiedmann
Code: Select all
span.langflags{
border:2px solid red;
}
a.langflags{
border:0;
}
(now you have a red border around the active lang)
Re: which language am i in?
Posted: Mon May 26, 2008 8:01 am
by antiheld2000
hm, forget it. there is no possibility to reach my aim with the generated code and css. the generated code has to be something like this:
or this
classes don't work in this case. so, where can i edit the lang tag?!
Re: which language am i in?
Posted: Mon May 26, 2008 8:12 am
by Wiedmann
there is no possibility to reach my aim with the generated code and css.
Maybe you can explain, what you want do with the images? (Especially your first example is similar to the default).
where can i edit the lang tag?!
function.lang.php
Re: which language am i in?
Posted: Mon May 26, 2008 8:16 am
by antiheld2000
i want to statest of every language image.
i.e. inactive =
active =
Re: which language am i in?
Posted: Mon May 26, 2008 11:23 am
by alby
antiheld2000 wrote:
i want to statest of every language image.
i.e. inactive =
active =
For this alternative you must hack plugins/function.lang.php
Alby
Re: which language am i in?
Posted: Mon May 26, 2008 11:41 am
by antiheld2000
thanks, so i will do that.