mirror of
https://github.com/gnosygnu/xowa.git
synced 2026-03-02 03:49:30 +00:00
Section_edit: Add initial groundwork for generating html
This commit is contained in:
@@ -25,6 +25,7 @@ public class Xoapi_addon implements Gfo_invk {
|
||||
public boolean App__scripting__enabled() {return app__scripting__enabled;} private boolean app__scripting__enabled = false;
|
||||
public String App__update__restart_cmd() {return app__update__restart_cmd;} private String app__update__restart_cmd = "";
|
||||
public String App__update__update_db_src() {return app__update__update_db_src;} private String app__update__update_db_src = "http://xowa.org";
|
||||
public boolean Parser__hdr__section_editable() {return parser__hdr__section_editable;} private boolean parser__hdr__section_editable = false;
|
||||
public Object Invk(GfsCtx ctx, int ikey, String k, GfoMsg m) {
|
||||
if (ctx.Match(k, Invk__search)) return search;
|
||||
else if (ctx.Match(k, Invk__bldr)) return bldr;
|
||||
@@ -38,6 +39,8 @@ public class Xoapi_addon implements Gfo_invk {
|
||||
else if (ctx.Match(k, Invk__app__update__restart_cmd_)) app__update__restart_cmd = m.ReadStr("v");
|
||||
else if (ctx.Match(k, Invk__app__update__update_db_src)) return app__update__update_db_src;
|
||||
else if (ctx.Match(k, Invk__app__update__update_db_src_)) app__update__update_db_src = m.ReadStr("v");
|
||||
else if (ctx.Match(k, Invk__parser__hdr__section_editable)) return Yn.To_str(parser__hdr__section_editable);
|
||||
else if (ctx.Match(k, Invk__parser__hdr__section_editable_)) parser__hdr__section_editable = m.ReadBool("v");
|
||||
else return Gfo_invk_.Rv_unhandled;
|
||||
return this;
|
||||
}
|
||||
@@ -52,6 +55,8 @@ public class Xoapi_addon implements Gfo_invk {
|
||||
, Invk__app__update__restart_cmd_ = "app__update__restart_cmd_"
|
||||
, Invk__app__update__update_db_src = "app__update__update_db_src"
|
||||
, Invk__app__update__update_db_src_ = "app__update__update_db_src_"
|
||||
, Invk__parser__hdr__section_editable = "parser__hdr__section_editable"
|
||||
, Invk__parser__hdr__section_editable_ = "parser__hdr__section_editable_"
|
||||
;
|
||||
public static boolean app__page_history__log_all;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user