Commit fa5296903428cc82d9360e2b56734d82eebbad4d

Authored by David RENÉ
1 parent dae3d228

[~] change the path to the png flags from "xlib/flags/24x24" to "xlib/flags/lang/24"

Showing 1 changed file with 5 additions and 5 deletions   Show diff stats
web_controllers/language/language_management.anubis
... ... @@ -159,7 +159,7 @@ define HTML_Off_Form
159 159 String language_code,
160 160 String language
161 161 )=
162   - li([style("background-image: url(/xlib/flags/24x24/"+language_code+".png);"),
  162 + li([style("background-image: url(/xlib/flags/lang/24/"+language_code+".png);"),
163 163 event(onclick, "language_changed('"+language_code+"');")], text(language))
164 164 .
165 165  
... ... @@ -171,7 +171,7 @@ define HTML_Off_Form
171 171 String -> String action
172 172 )=
173 173 div(id(generate_random_string(15)+"_"+language_code), [
174   - img([class("clickable"), event(onclick, action(language_code))],"/xlib/flags/24x24/"+language_code+".png"),
  174 + img([class("clickable"), event(onclick, action(language_code))],"/xlib/flags/lang/24/"+language_code+".png"),
175 175 text([class("clickable"), event(onclick, action(language_code))],language)
176 176 ])
177 177 .
... ... @@ -199,7 +199,7 @@ public define HTML_Partial_Content
199 199 //literal("<dt style=\"background-image: url(../flags/"+lang+".png);\" onmouseover=\"javascript:montre('drapo1');\" onmouseout=\"javascript:montre();\">&nbsp;</dt>\n"),
200 200 //literal("<img src=\"/xlib/flags/24x24/"+lang+".png\" onmouseover=\"javascript:montre('drapo1');\" onmouseout=\"javascript:montre();\">"),
201 201  
202   - img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/24x24/"+lang+".png" ),
  202 + img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/lang/24/"+lang+".png" ),
203 203 dd([style("display: none"),id("l3-flag"), event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")],
204 204 ul(
205 205 map(make_line, l3_get_all_dicos(dictionary_collection_name))+
... ... @@ -252,7 +252,7 @@ public define HTML_Partial_Content
252 252 ],
253 253 [
254 254 dl([
255   - //img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/24x24/"+lang+".png" ),
  255 + //img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/lang/24/"+lang+".png" ),
256 256 dd([style("display: block"),id("l3-flag")],
257 257 ul(
258 258 map(make_line, l3_get_all_dicos(dictionary_collection_name))+
... ... @@ -316,7 +316,7 @@ define HTML_Off_Form
316 316 String -> String action
317 317 )=
318 318 li(event(onclick, action(language_code)), [
319   - img("/xlib/flags/24x24/"+language_code+".png"),
  319 + img("/xlib/flags/lang/24/"+language_code+".png"),
320 320 text(language)
321 321 ])
322 322 .
... ...