result.append(key(Messages.GUI_EDITOR_XMLCONTENT_CHOICE_ADD_HL_0)); result.append("\";\n"); result.append("var dialogTitleAddSubChoice = \""); result.append(key(Messages.GUI_EDITOR_XMLCONTENT_CHOICE_SUB_ADD_HL_0)); result.append("\";\n"); result.append("var vfsPathEditorForm = \""); result.append("\t$(\"#xmladdelementdialog\").dialog({\n"); result.append("\t\ttitle: \""); result.append(key(Messages.GUI_EDITOR_XMLCONTENT_CHOICE_ADD_HL_0)); result.append("\",\n"); result.append("\t\tautoOpen: false,\n"); result.append("\t\tmodal: true,\n"); result.append("\t\tbuttons: { \""); result.append(key(org.opencms.workplace.Messages.GUI_DIALOG_BUTTON_CANCEL_0)); result.append("\": function() { $(this).dialog(\"close\"); } }\n"); result.append("\t});\n");
result.append("<span id=\"xmlerrordialogbutton\" class=\"ui-icon ui-icon-newwin\" style=\"float: left; margin-right: 0.3em;\"></span>"); result.append(key(Messages.ERR_EDITOR_XMLCONTENT_VALIDATION_ERROR_TITLE_0)); result.append("</div>"); result.append(key( Messages.ERR_EDITOR_XMLCONTENT_VALIDATION_ERROR_LANG_1, new Object[] {locale.getLanguage()})); result.append("\tposition: 'center',\n"); result.append("\tdialogClass: 'ui-state-error',\n"); result.append("\ttitle: '").append(key(Messages.ERR_EDITOR_XMLCONTENT_VALIDATION_ERROR_TITLE_0)).append( "',\n"); result.append("\tmaxHeight: 600\n"); result.append(key(Messages.GUI_EDITOR_XMLCONTENT_OPTIONALELEMENT_0)); result.append("</td>");
"<span id=\"xmlerrordialogbutton\" class=\"ui-icon ui-icon-newwin\" style=\"float: left; margin-right: 0.3em;\"></span>"); result.append(key(Messages.ERR_EDITOR_XMLCONTENT_VALIDATION_ERROR_TITLE_0)); result.append("</div>"); result.append(key( Messages.ERR_EDITOR_XMLCONTENT_VALIDATION_ERROR_LANG_1, new Object[] {locale.getLanguage()})); result.append("\tdialogClass: 'ui-state-error',\n"); result.append("\ttitle: '").append( key(Messages.ERR_EDITOR_XMLCONTENT_VALIDATION_ERROR_TITLE_0)).append("',\n"); result.append("\tmaxHeight: 600\n"); result.append("});\n"); result.append(key(Messages.GUI_EDITOR_XMLCONTENT_OPTIONALELEMENT_0)); result.append("</td>");