update replace menu
This commit is contained in:
parent
884183a2ce
commit
536447fd36
10 changed files with 35 additions and 10 deletions
|
@ -295,6 +295,7 @@ namespace WebsitePanel.WebPortal
|
|||
|
||||
page.Enabled = (xmlPage.Attributes["enabled"] != null) ? Boolean.Parse(xmlPage.Attributes["enabled"].Value) : true;
|
||||
page.Hidden = (xmlPage.Attributes["hidden"] != null) ? Boolean.Parse(xmlPage.Attributes["hidden"].Value) : false;
|
||||
page.Align = (xmlPage.Attributes["align"] != null) ? xmlPage.Attributes["align"].Value : null;
|
||||
page.SkinSrc = (xmlPage.Attributes["skin"] != null) ? xmlPage.Attributes["skin"].Value : null;
|
||||
page.AdminSkinSrc = (xmlPage.Attributes["adminskin"] != null) ? xmlPage.Attributes["adminskin"].Value : null;
|
||||
|
||||
|
|
|
@ -45,6 +45,7 @@ namespace WebsitePanel.WebPortal
|
|||
private Dictionary<string, ContentPane> contentPanes = new Dictionary<string, ContentPane>();
|
||||
private string url;
|
||||
private string target;
|
||||
private string align;
|
||||
|
||||
public string Name
|
||||
{
|
||||
|
@ -108,5 +109,11 @@ namespace WebsitePanel.WebPortal
|
|||
get { return this.target; }
|
||||
set { this.target = value; }
|
||||
}
|
||||
|
||||
public string Align
|
||||
{
|
||||
get { return this.align; }
|
||||
set { this.align = value; }
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -199,6 +199,7 @@ namespace WebsitePanel.WebPortal
|
|||
|
||||
NameValueCollection attrs = new NameValueCollection();
|
||||
attrs["target"] = page.Target;
|
||||
attrs["align"] = page.Align;
|
||||
|
||||
SiteMapNode node = new SiteMapNode(this, page.Name,
|
||||
url,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue