Commit ec56d249d2774950f5f19b5cb669ae752ac5304c
Merge tag 'Fix_web_space,_content_and_control_panel' into develop
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 | 757 | with _T = make_translate_function(_session), |
| 758 | 758 | lwa = _session.web_request.lwa, |
| 759 | 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 | 772 | if show_apps_content( db, hk_db, _T, _session.language, web_site_directory) is |
| 761 | 773 | { |
| 762 | 774 | failure then | ... | ... |
src/web_controller/hayamiki_plugin.anubis