Making progress on updating the content manager API fit better with the new dynamic UI composition scheme

- Includes changing display-related implementations (drivers & views) to work with shapes
- Editor implementations still on the old template model
- Orchard.Blogs is currently using a different display type instead of specifying alterations (for Blog and BlogPost)

--HG--
branch : dev
This commit is contained in:
Nathan Heskew
2010-10-11 02:06:01 -07:00
parent b7c3ada825
commit ddca57edd4
128 changed files with 635 additions and 454 deletions

View File

@@ -36,7 +36,7 @@ namespace Orchard.Core.Settings.Controllers {
if (!Services.Authorizer.Authorize(Permissions.ManageSettings, T("Not authorized to manage settings")))
return new HttpUnauthorizedResult();
var model = Services.ContentManager.BuildEditorModel(_siteService.GetSiteSettings());
var model = Services.ContentManager.BuildEditor(_siteService.GetSiteSettings());
return View(model);
}
@@ -47,7 +47,7 @@ namespace Orchard.Core.Settings.Controllers {
return new HttpUnauthorizedResult();
var site = _siteService.GetSiteSettings();
var model = Services.ContentManager.UpdateEditorModel(site, this);
var model = Services.ContentManager.UpdateEditor(site, this);
if (!ModelState.IsValid) {
Services.TransactionManager.Cancel();