-- Main menu configuration file, please be careful with any modifications -- Check if it s already been created if (not SystemMenu) then SystemMenu = {} end -- Administrator if (not SystemMenu["admin"]) then SystemMenu["admin"] = {} end if (LicenseMode == "Corporate") then tinsert (SystemMenu["admin"], {label = STR_OPT_DFT_MENU_ADMIN_EDIT_ACTOR , file = AdminDir.."usr_change.htm"}) tinsert (SystemMenu["admin"], {label = STR_OPT_DFT_MENU_ADMIN_CREATE_ACTOR , file = AdminDir.."usr_insert.htm"}) tinsert (SystemMenu["admin"], {label = STR_OPT_DFT_MENU_ADMIN_REMOVE_ACTOR , file = AdminDir.."usr_delete.htm"}) end if (AdminImportExportEnabled == "true") then tinsert (SystemMenu["admin"], {label = STR_OPT_DFT_MENU_ADMIN_IMPORT_DATABASE , file = AdminDir.."verifydatabase.htm"}) tinsert (SystemMenu["admin"], {label = STR_OPT_DFT_MENU_ADMIN_EXPORT_DATABASE , file = AdminDir.."dumpxml.htm"}) end if (AdminPluginManagerEnabled == "true") then tinsert (SystemMenu["admin"], {label = STR_OPT_DFT_MENU_ADMIN_PLUGIN_MANAGER , file = CommonDir.."lst_plugins.htm"}) end -- Author if (not SystemMenu["author"]) then SystemMenu["author"] = {} end tinsert (SystemMenu["author"], {label = STR_OPT_DFT_MENU_AUTHOR_CREATE_INFO , file = AuthoringDir.."frm_info.htm", homeCandidate = "true" }) tinsert (SystemMenu["author"], {label = STR_OPT_DFT_MENU_AUTHOR_SEARCH , file = AuthoringDir.."frm_autsearch.htm"}) if ((FileManagerEnabled == "true") and (AuthorSendFilesEnabled == "true")) then tinsert (SystemMenu["author"], {label = STR_OPT_DFT_MENU_AUTHOR_MANAGE_FILES , file = AuthoringDir.."lst_media_frameset.htm"}) end if (AuthorPluginManagerEnabled == "true") then tinsert (SystemMenu["author"], {label = STR_OPT_DFT_MENU_AUTHOR_PLUGIN_MANAGER , file = CommonDir.."lst_plugins.htm"}) end if (AuthorProfileEnabled == "true") then tinsert (SystemMenu["author"], {label = STR_OPT_DFT_MENU_AUTHOR_UPDATE_PROFILE , file = CommonDir.."update_profile.htm"}) end -- Structure Editor if (not SystemMenu["structureeditor"]) then SystemMenu["structureeditor"] = {} end tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_CREATE_INFO , file = AuthoringDir.."frm_info.htm", homeCandidate = "true"}) tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_SEARCH , file = AuthoringDir.."frm_autsearch.htm"}) if (FileManagerEnabled == "true") then tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_MANAGE_FILES , file = AuthoringDir.."lst_media_frameset.htm"}) end if (EditorSectionsEnabled == "true") then tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_EDIT_SECTIONS , file = AuthoringDir.."lst_sections.htm"}) end if (EditorKeywordsEnabled == "true") then tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_EDIT_KEYWORDS, file = AuthoringDir.."lst_keywords.htm"}) end tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_REPORT , file = AuthoringDir.."report.htm", homeCandidate = "true"}) if (EditorPluginManagerEnabled == "true") then tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_PLUGIN_MANAGER , file = CommonDir.."lst_plugins.htm"}) end if (EditorProfileEnabled == "true") then tinsert (SystemMenu["structureeditor"], {label = STR_OPT_DFT_MENU_EDITOR_UPDATE_PROFILE , file = CommonDir.."update_profile.htm"}) end -- Content Editor if (not SystemMenu["contenteditor"]) then SystemMenu["contenteditor"] = {} end tinsert (SystemMenu["contenteditor"], {label = STR_OPT_DFT_MENU_EDITOR_CREATE_INFO , file = AuthoringDir.."frm_info.htm", homeCandidate = "true"}) tinsert (SystemMenu["contenteditor"], {label = STR_OPT_DFT_MENU_EDITOR_SEARCH , file = AuthoringDir.."frm_autsearch.htm"}) if ((FileManagerEnabled == "true") and (ContentEditorSendFilesEnabled == "true")) then tinsert (SystemMenu["contenteditor"], {label = STR_OPT_DFT_MENU_EDITOR_MANAGE_FILES , file = AuthoringDir.."lst_media_frameset.htm"}) end tinsert (SystemMenu["contenteditor"], {label = STR_OPT_DFT_MENU_EDITOR_REPORT , file = AuthoringDir.."report.htm", homeCandidate = "true"}) if (EditorPluginManagerEnabled == "true") then tinsert (SystemMenu["contenteditor"], {label = STR_OPT_DFT_MENU_EDITOR_PLUGIN_MANAGER , file = CommonDir.."lst_plugins.htm"}) end if (EditorProfileEnabled == "true") then tinsert (SystemMenu["contenteditor"], {label = STR_OPT_DFT_MENU_EDITOR_UPDATE_PROFILE , file = CommonDir.."update_profile.htm"}) end -- Designer if (not SystemMenu["designer"]) then SystemMenu["designer"] = {} end tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_PREVIEW_DESIGNER_SITE, file = ReaderDir.."start.htm" , params = {'cgi.user="designer"'}}) if (DesignerActivateEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_ACTIVATE_TEMPLATES , file = DesignerDir.."activatetemplates.htm" , params = nil}) end if (DesignerWizardEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_TEMPLATE_WIZARD , file = DesignerDir.."wizard.htm" , params = nil}) end if (DesignerStringsEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_CONFIGURE_TEXTS , file = DesignerDir.."cfg_interface.htm" , params = {'cgi.tab="StringsPanel"'}}) end if (DesignerColorsEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_CONFIGURE_COLORS , file = DesignerDir.."cfg_interface.htm" , params = {'cgi.tab="HTMLBodyPanel"'}}) end if (DesignerFontsEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_CONFIGURE_FONTS , file = DesignerDir.."cfg_interface.htm" , params = {'cgi.tab="FontsPanel"'}}) end if (DesignerDateEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_CONFIGURE_DATE , file = DesignerDir.."cfg_interface.htm" , params = {'cgi.tab="DatePanel"'}}) end if (DesignerImagesEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_CONFIGURE_IMAGES , file = DesignerDir.."cfg_interface.htm" , params = {'cgi.tab="ImagesPanel"'}}) end if (DesignerSendImagesEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_MANAGE_IMAGES , file = DesignerDir.."cfg_imgs.htm" , params = nil}) end if (DesignerSectionsEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_EDIT_SECTIONS , file = DesignerDir.."edit_section_tag.htm", params = nil}) end if (DesignerKeywordsEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_EDIT_KEYWORDS , file = DesignerDir.."edit_keyword_tag.htm", params = nil}) end if (DesignerResetEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_RESET_DEFAULT_VALUES , file = DesignerDir.."cfg_reset.htm" , params = nil}) end if (DesignerPluginManagerEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_PLUGIN_MANAGER , file = CommonDir.."lst_plugins.htm"}) end if (DesignerProfileEnabled == "true") then tinsert (SystemMenu["designer"], {label = STR_OPT_DFT_MENU_DESIGNER_UPDATE_PROFILE , file = CommonDir.."update_profile.htm", params = nil}) end