private List<ToolbarButton> getNextCreateContentFolderOrCancelButton(String toolbarKey, InfoGluePrincipal principal, Locale locale, HttpServletRequest request, boolean disableCloseButton, String cancelJavascript)
{
List<ToolbarButton> buttons = new ArrayList<ToolbarButton>();
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.common.nextButton.label"),
getLocalizedString(locale, "tool.common.nextButton.label"),
"next();",
"css/images/v3/nextBackground.gif",
"left",
"next",
true));
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.contenttool.toolbarV3.createContentFolderLabel"),
getLocalizedString(locale, "tool.contenttool.toolbarV3.createContentFolderTitle"),
"createFolder();",
"css/images/v3/create.png",
"left",
"create",
true));
buttons.add(new ToolbarButton("",
getLocalizedString(locale, "tool.common.cancelButton.label"),
getLocalizedString(locale, "tool.common.cancelButton.label"),
cancelJavascript,
"css/images/v3/cancelIcon.gif",
"left",