1
0
mirror of https://github.com/gnosygnu/xowa.git synced 2026-03-02 03:49:30 +00:00

Html: Add 'lang=page_lang' to html and div tag [#576]

This commit is contained in:
gnosygnu
2019-09-28 16:39:59 -04:00
parent e82641f341
commit 88e0398696
4 changed files with 22 additions and 20 deletions

View File

@@ -1,17 +1,17 @@
<?xml version="1.0" encoding="UTF-8"?>
<classpath>
<classpathentry kind="src" exported="true" path="/baselib"/>
<classpathentry kind="src" exported="true" path="/100_core"/>
<classpathentry kind="src" exported="true" path="/140_dbs"/>
<classpathentry kind="src" exported="true" path="/150_gfui"/>
<classpathentry kind="src" exported="true" path="/luaj_xowa"/>
<classpathentry kind="src" exported="true" path="/gplx.gflucene"/>
<classpathentry exported="true" kind="src" path="/baselib"/>
<classpathentry exported="true" kind="src" path="/100_core"/>
<classpathentry exported="true" kind="src" path="/140_dbs"/>
<classpathentry exported="true" kind="src" path="/150_gfui"/>
<classpathentry exported="true" kind="lib" path="lib/jtidy_xowa.jar"/>
<classpathentry exported="true" kind="src" path="/gplx.gflucene"/>
<classpathentry kind="src" path="src"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry exported="true" kind="con" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry exported="true" kind="lib" path="lib/icu4j-57_1.jar"/>
<classpathentry exported="true" kind="lib" path="lib/vnu.jar"/>
<classpathentry exported="true" kind="lib" path="lib/Saxon-HE-9.9.1-2.jar"/>
<classpathentry exported="true" kind="src" path="/luaj_xowa"/>
<classpathentry kind="output" path="bin"/>
<classpathentry kind="con" exported="true" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
<classpathentry kind="con" exported="true" path="org.eclipse.jdt.junit.JUNIT_CONTAINER/4"/>
<classpathentry kind="lib" exported="true" path="lib/jtidy_xowa.jar"/>
<classpathentry kind="lib" exported="true" path="lib/icu4j-57_1.jar"/>
<classpathentry kind="lib" exported="true" path="lib/vnu.jar"/>
<classpathentry kind="lib" exported="true" path="lib/Saxon-HE-9.9.1-2.jar"/>
</classpath>

View File

@@ -96,7 +96,8 @@ public class Xoh_page_wtr_mgr implements Gfo_invk {
, "portal_div_personal", "portal_div_ns", "portal_div_view"
, "portal_div_logo", "portal_div_home", "portal_div_xtn"
, "portal_div_admin", "portal_div_wikis", "portal_sidebar"
, "edit_div_rename", "edit_div_preview", "js_edit_toolbar"
, "edit_div_rename", "edit_div_preview", "js_edit_toolbar"
, "page_lang"
};
private static final String Cfg__scripting_enabled = "xowa.html.scripting.enabled";
}

View File

@@ -127,7 +127,8 @@ public class Xoh_page_wtr_wkr {
, portal_mgr.Div_sync_bry(tmp_bfr, wiki.Page_mgr().Sync_mgr().Manual_enabled(), wiki, page)
, portal_mgr.Div_wikis_bry(wiki.Utl__bfr_mkr())
, portal_mgr.Sidebar_mgr().Html_bry()
, mgr.Edit_rename_div_bry(page_ttl), page.Html_data().Edit_preview_w_dbg(), js_edit_toolbar_bry
, mgr.Edit_rename_div_bry(page_ttl), page.Html_data().Edit_preview_w_dbg(), js_edit_toolbar_bry
, page.Lang().Key_bry()
);
Xoh_page_wtr_wkr_.Bld_head_end(bfr, tmp_bfr, page); // add after </head>
Xoh_page_wtr_wkr_.Bld_html_end(bfr, tmp_bfr, page); // add after </html>