Commit 507e14c151ab8608ff7ff212d243c57076070ce1
Merge branch 'hotfix/Fix_web_space,_content_and_control_panel'
Showing
2 changed files
with
13 additions
and
1 deletions
Show diff stats
src/web_controller/hayamiki.anubis
| @@ -757,6 +757,18 @@ define (WEB_Session) -> WEB_Controller_Result | @@ -757,6 +757,18 @@ define (WEB_Session) -> WEB_Controller_Result | ||
| 757 | with _T = make_translate_function(_session), | 757 | with _T = make_translate_function(_session), |
| 758 | lwa = _session.web_request.lwa, | 758 | lwa = _session.web_request.lwa, |
| 759 | web_site_directory = get_web_site_directory(_session), | 759 | web_site_directory = get_web_site_directory(_session), |
| 760 | + | ||
| 761 | + //set the web space | ||
| 762 | + set_web_space(_session, "HK"); | ||
| 763 | + | ||
| 764 | + //Set content | ||
| 765 | + set_web_content(_session, "HK_SHOW_APPS"); | ||
| 766 | + | ||
| 767 | + //Set control panel to nothing | ||
| 768 | + replace_String(_session.fields, "AWS_CP.APP", get_web_app(_session)); | ||
| 769 | + replace_String(_session.fields, "AWS_CP.SPACE", "HK"); | ||
| 770 | + replace_String(_session.fields, "AWS_CP.NAME", "NO_PANEL"); | ||
| 771 | + | ||
| 760 | if show_apps_content( db, hk_db, _T, _session.language, web_site_directory) is | 772 | if show_apps_content( db, hk_db, _T, _session.language, web_site_directory) is |
| 761 | { | 773 | { |
| 762 | failure then | 774 | failure then |
src/web_controller/hayamiki_plugin.anubis
| @@ -37,7 +37,7 @@ global define WEB_Plugin | @@ -37,7 +37,7 @@ global define WEB_Plugin | ||
| 37 | web_plugin( | 37 | web_plugin( |
| 38 | "HAYAMIKI", | 38 | "HAYAMIKI", |
| 39 | "BASE", | 39 | "BASE", |
| 40 | - "1.19.1", | 40 | + "1.19", |
| 41 | _Int_to_ISO_8601_datetime(to_Int(__TIME__)), | 41 | _Int_to_ISO_8601_datetime(to_Int(__TIME__)), |
| 42 | plugin_get_controller, | 42 | plugin_get_controller, |
| 43 | plugin_get_typed_content | 43 | plugin_get_typed_content |