Skip to content

Commit 98eeb4a

Browse files
committed
Reverting (see: #8)
1 parent 4a69029 commit 98eeb4a

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

templates/blocks/xlanguage_block.tpl

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
<div style="text-align: center; margin-left: auto; margin-right: auto;">
22
<{if $block.display eq "images" OR $block.display eq "text"}>
33
<{foreach item=lang name=lang_it from=$block.languages}>
4-
<a href="<{$xoops_requesturi}>?lang=<{$lang.name}>" title="<{$lang.desc}>">
4+
<a href="<{$block.url}><{$lang.name}>" title="<{$lang.desc}>">
55
<{if $block.display eq "images"}>
66
<img src="<{$lang.image}>" alt="<{$lang.desc}>" <{if $block.selected != $lang.name}>style="MozOpacity: .8; opacity: .8; filter:Alpha(opacity=80);"<{/if}>/>
77
<{else}>
@@ -17,7 +17,7 @@
1717
onChange="if(this.options[this.selectedIndex].value.length >0 ){ window.document.location=this.options[this.selectedIndex].value;}"
1818
>
1919
<{foreach item=lang name=lang_it from=$block.languages}>
20-
<option value="<{$xoops_requesturi}>?lang=<{$lang.name}>"
20+
<option value="<{$block.url}><{$lang.name}>"
2121
<{if $block.selected eq $lang.name}>selected<{/if}>
2222
><{$lang.desc}></option>
2323
<{/foreach}>

0 commit comments

Comments
 (0)