enableskins data.cs

[TFS Changeset #76980]
This commit is contained in:
PerPloug
2010-09-08 12:11:22 +00:00
parent 46a826902a
commit 2741d99af9
2 changed files with 6 additions and 3 deletions

View File

@@ -181,7 +181,10 @@ namespace umbraco.cms.businesslogic.packager
retVal.RepositoryGuid = safeAttribute("repositoryGuid", n);
retVal.PackageGuid = safeAttribute("packageGuid", n);
retVal.HasUpdate = bool.Parse(safeAttribute("hasUpdate",n));
retVal.EnableSkins = bool.Parse(safeAttribute("enableSkins", n));
bool _enableSkins = false;
bool.TryParse(safeAttribute("enableSkins", n), out _enableSkins);
retVal.EnableSkins = _enableSkins;
retVal.License = safeNodeValue(n.SelectSingleNode("license"));
retVal.LicenseUrl = n.SelectSingleNode("license").Attributes.GetNamedItem("url").Value;

View File

@@ -25,8 +25,8 @@
#buttons .next{position: absolute; top: 10px; right: 10px;}
#starterKits, #starterKitDesigns {list-style: none; margin: 0; padding: 10px;}
#starterKits li, #starterKitDesigns li{float: left; margin: 20px; display: block; width: 20%; padding: 5px; border: 1px solid #efefef; text-align: center;}
#starterKits, #starterKitDesigns {list-style: none; margin: 0; padding: 0px;}
#starterKits li, #starterKitDesigns li{float: left; margin: 15px; display: block; width: 20%; padding: 5px; border: 1px solid #efefef; text-align: center;}
#starterKits li a, #starterKitDesigns li a{text-decoration: none; color: #999}
#starterKits li span, #starterKitDesigns li span{display: block; text-align: center; padding-top: 10px;}
#starterKits li div, #starterKitDesigns li div{display: none !Important;}