/// class PD.Manage.Modules.Resources.Dialogs

PD.Manage.Modules.Resources.Dialogs = Class.extend({
});

PD.Manage.Modules.Resources.Dialogs.showDuplicateFoldersDialog = function (fn) {

    return PD.Web.UI.MessageDialog.warn({
        title: "Duplicate Folders Found",
        message: "A duplicate folder name has been found. How would you like to handle this duplicate folder and all other duplicate folders?",
        ok: fn || function () { },
        radios: [
            { value: 1, label: "<b>Skip Duplicate Folders</b><br/>All duplicate folders and their contents will be skipped and will not be moved to the destination." },
            { value: 2, label: "<b>Merge Duplicate Folders</b><br/>All duplicate folders found in the destination will have their contents merged with the folders being moved." }
        ]
    }, PD.Web.UI.RadioDialog);

};

PD.Manage.Modules.Resources.Dialogs.showDuplicateFilesDialog = function (fn) {

    return PD.Web.UI.MessageDialog.warn({
        title: "Duplicate Files Found",
        message: "A duplicate file name has been found. How would you like to handle this duplicate and any other duplicates found?",
        ok: fn || function () { },
        radios: [
            { value: 1, label: "<b>Skip Duplicate Files</b><br/>Any duplicate files found will be skipped and will not be moved or copied to the destination." },
            { value: 2, label: "<b>Overwrite Duplicate Files</b><br/>Any duplicate files found in the destination will be overwritten by the files being moved or copied." }
        ]
    }, PD.Web.UI.RadioDialog);

};
