mirror of
https://github.com/Alfresco/alfresco-community-repo.git
synced 2025-08-07 17:49:17 +00:00
Merged V3.2 to HEAD
16673: Merged V3.1 to V3.2 16307: ETHREEOH-2814-2815 16393: ETHREEOH-2840: Failed to send email to group EVERYONE 16395: Just forget to add this file during previous (16393) CHECK-IN. 16430: Added license header to new Java file - applied coding standards and code comments. 16669: Merged V2.2 to V3.1 16650: ETWOTWO-1288 - Create Web project Wizard-Step3 :XSS attack can be made when configuring ASR or FSR 16668: Fix for ETWOTWO-1289 - My Web Files (Forms) dashlets XSS attack can be made when web project's details has been edited 16676: Merged V3.1 to V3.2 16675: Fix for ETHREEOH-2773 - Manage System users: system error happens when search is performed by a query that contains a space 16699: Fixes to SURF samples Login page - as per ALFCOM-3447 and ALFCOM-3448 contributions git-svn-id: https://svn.alfresco.com/repos/alfresco-enterprise/alfresco/HEAD/root@16897 c4b6b30b-aa2e-2d43-bbcb-ca4b014f7261
This commit is contained in:
@@ -25,6 +25,7 @@
|
||||
package org.alfresco.web.bean.admin;
|
||||
|
||||
import java.io.Serializable;
|
||||
import java.text.MessageFormat;
|
||||
import java.util.HashMap;
|
||||
import java.util.Map;
|
||||
|
||||
@@ -56,7 +57,7 @@ public class ExportDialog extends BaseDialogBean
|
||||
private static final String ALL_SPACES = "all";
|
||||
private static final String CURRENT_SPACE = "current";
|
||||
private static final String DEFAULT_OUTCOME = "dialog:close";
|
||||
private static final String MSG_EXPORT = "export";
|
||||
private static final String MSG_EXPORT_TITLE = "export_title";
|
||||
private final static String MSG_LEFT_QUOTE = "left_qoute";
|
||||
private final static String MSG_RIGHT_QUOTE = "right_quote";
|
||||
|
||||
@@ -120,8 +121,10 @@ public class ExportDialog extends BaseDialogBean
|
||||
public String getContainerTitle()
|
||||
{
|
||||
FacesContext fc = FacesContext.getCurrentInstance();
|
||||
return Application.getMessage(fc, MSG_EXPORT) +
|
||||
" " + Application.getMessage(fc, MSG_LEFT_QUOTE) + browseBean.getActionSpace().getName() + Application.getMessage(fc, MSG_RIGHT_QUOTE);
|
||||
String name = Application.getMessage(fc, MSG_LEFT_QUOTE)
|
||||
+ browseBean.getActionSpace().getName()
|
||||
+ Application.getMessage(fc, MSG_RIGHT_QUOTE);
|
||||
return MessageFormat.format(Application.getMessage(fc, MSG_EXPORT_TITLE), name);
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -72,7 +72,7 @@ public class ImportDialog extends BaseDialogBean
|
||||
private static final String MSG_ERROR_NO_FILE = "error_import_no_file";
|
||||
private static final String MSG_ERROR_EMPTY_FILE = "error_import_empty_file";
|
||||
private static final String MSG_OK = "ok";
|
||||
private static final String MSG_IMPORT = "import";
|
||||
private static final String MSG_IMPORT_TITLE = "import_title";
|
||||
private final static String MSG_LEFT_QUOTE = "left_qoute";
|
||||
private final static String MSG_RIGHT_QUOTE = "right_quote";
|
||||
|
||||
@@ -387,7 +387,9 @@ public class ImportDialog extends BaseDialogBean
|
||||
public String getContainerTitle()
|
||||
{
|
||||
FacesContext fc = FacesContext.getCurrentInstance();
|
||||
return Application.getMessage(fc, MSG_IMPORT) + " " + Application.getMessage(fc, MSG_LEFT_QUOTE)
|
||||
+ browseBean.getActionSpace().getName() + Application.getMessage(fc, MSG_RIGHT_QUOTE);
|
||||
String name = Application.getMessage(fc, MSG_LEFT_QUOTE)
|
||||
+ browseBean.getActionSpace().getName()
|
||||
+ Application.getMessage(fc, MSG_RIGHT_QUOTE);
|
||||
return MessageFormat.format(Application.getMessage(fc, MSG_IMPORT_TITLE), name);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user