From fa5296903428cc82d9360e2b56734d82eebbad4d Mon Sep 17 00:00:00 2001 From: totoro Date: Sun, 21 Sep 2025 09:30:49 +0900 Subject: [PATCH] [~] change the path to the png flags from "xlib/flags/24x24" to "xlib/flags/lang/24" --- web_controllers/language/language_management.anubis | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/web_controllers/language/language_management.anubis b/web_controllers/language/language_management.anubis index c6a1342..ad8b39d 100644 --- a/web_controllers/language/language_management.anubis +++ b/web_controllers/language/language_management.anubis @@ -159,7 +159,7 @@ define HTML_Off_Form String language_code, String language )= - li([style("background-image: url(/xlib/flags/24x24/"+language_code+".png);"), + li([style("background-image: url(/xlib/flags/lang/24/"+language_code+".png);"), event(onclick, "language_changed('"+language_code+"');")], text(language)) . @@ -171,7 +171,7 @@ define HTML_Off_Form String -> String action )= div(id(generate_random_string(15)+"_"+language_code), [ - img([class("clickable"), event(onclick, action(language_code))],"/xlib/flags/24x24/"+language_code+".png"), + img([class("clickable"), event(onclick, action(language_code))],"/xlib/flags/lang/24/"+language_code+".png"), text([class("clickable"), event(onclick, action(language_code))],language) ]) . @@ -199,7 +199,7 @@ public define HTML_Partial_Content //literal("
 
\n"), //literal(""), - img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/24x24/"+lang+".png" ), + img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/lang/24/"+lang+".png" ), dd([style("display: none"),id("l3-flag"), event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], ul( map(make_line, l3_get_all_dicos(dictionary_collection_name))+ @@ -252,7 +252,7 @@ public define HTML_Partial_Content ], [ dl([ - //img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/24x24/"+lang+".png" ), + //img([event(onmouseover, "showObject('l3-flag');"), event(onmouseout, "hideObject('l3-flag');")], "/xlib/flags/lang/24/"+lang+".png" ), dd([style("display: block"),id("l3-flag")], ul( map(make_line, l3_get_all_dicos(dictionary_collection_name))+ @@ -316,7 +316,7 @@ define HTML_Off_Form String -> String action )= li(event(onclick, action(language_code)), [ - img("/xlib/flags/24x24/"+language_code+".png"), + img("/xlib/flags/lang/24/"+language_code+".png"), text(language) ]) . -- libgit2 0.21.4