public ActionResult FileInsert()
{
if (CmsConfiguration.Security.AccessControlEnabled && !StorageService.SecuredUrlsEnabled)
{
Messages.AddWarn(MediaGlobalization.TokenBasedSecurity_NotSupported_Message);
}
if (CmsConfiguration.Security.AccessControlEnabled
&& StorageService.SecuredUrlsEnabled
&& StorageService.SecuredContainerIssueWarning != null)
{
Messages.AddWarn(StorageService.SecuredContainerIssueWarning);
}
var files = GetCommand<GetFilesCommand>().ExecuteCommand(new MediaManagerViewModel());
var success = files != null;
var view = RenderView("FileInsert", new MediaImageViewModel());
return ComboWireJson(success, view, files, JsonRequestBehavior.AllowGet);
}