protected void Page_Load(object sender, EventArgs e)
{
AdminMaster.RedirectToLoginIfNeeded();
if(!AdminMaster.CanManageNamespaces(SessionFacade.GetCurrentUsername(), SessionFacade.GetCurrentGroupNames())) UrlTools.Redirect("AccessDenied.aspx");
if(!Page.IsPostBack) {
rptNamespaces.DataBind();
// Populate themes
string[] themes = Tools.AvailableThemes;
foreach(string theme in themes) {
lstTheme.Items.Add(new ListItem(theme, theme));
}
}
}