Set language cookies with path root to prevent different languages on sub pages
This commit is contained in:
parent
7327930183
commit
5fd3882e04
|
@ -5,39 +5,39 @@
|
|||
<li>
|
||||
<a href=@{HomeR}>_{MsgHome}
|
||||
<li .lang>
|
||||
<a onclick="document.cookie = '_LANG=cz'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=cz; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_cz_svg}>
|
||||
<a onclick="document.cookie = '_LANG=de'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=de; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_de_svg}>
|
||||
<a onclick="document.cookie = '_LANG=fr'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=fr; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_fr_svg}>
|
||||
<a onclick="document.cookie = '_LANG=en'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=en; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_en_svg}>
|
||||
<a onclick="document.cookie = '_LANG=pl'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=pl; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_pl_svg}>
|
||||
<a onclick="document.cookie = '_LANG=hr'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=hr; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_hr_svg}>
|
||||
<a onclick="document.cookie = '_LANG=ee'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=ee; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_ee_svg}>
|
||||
<a onclick="document.cookie = '_LANG=rs'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=rs; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_rs_svg}>
|
||||
<a onclick="document.cookie = '_LANG=it'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=it; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_it_svg}>
|
||||
<a onclick="document.cookie = '_LANG=eo'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=eo; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_eo_svg}>
|
||||
<a onclick="document.cookie = '_LANG=uk'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=uk; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_uk_svg}>
|
||||
<a onclick="document.cookie = '_LANG=arm'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=arm; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_arm_svg}>
|
||||
<a onclick="document.cookie = '_LANG=bg'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=bg; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_bg_svg}>
|
||||
<a onclick="document.cookie = '_LANG=ru'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=ru; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_wbw_svg}>
|
||||
<a onclick="document.cookie = '_LANG=fa'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=fa; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_ir_svg}>
|
||||
<a onclick="document.cookie = '_LANG=be'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=be; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_wrw_svg}>
|
||||
<a onclick="document.cookie = '_LANG=sv'; location.reload()">
|
||||
<a onclick="document.cookie = '_LANG=sv; path=/'; location.reload()">
|
||||
<img .flag src=@{StaticR images_sv_svg}>
|
||||
|
||||
<hr>
|
||||
|
|
Loading…
Reference in New Issue