//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { //----------------------------------------------- ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; MessagesModuleOptions CurrentMessagesModule = MessagesModuleOptions.GetType(currentModule.MessagesModuleID); //----------------------------------------------- int itemID = -1; if (MoversFW.Components.UrlManager.ChechIsValidIntegerParameter("id")) { itemID = Convert.ToInt32(Request.QueryString["id"]); } //----------------------------------------------- ucGetNew.ModuleTypeID = CurrentMessagesModule.ModuleTypeID; ucGetNew.ToItemID = itemID; //----------------------------------------------- if (!IsPostBack) { if (currentModule.HasSpecialAdminText) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetText(currentModule, "Module_NewMessage"); } else { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_NewMessage; } } //----------------------------------------------- }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; MessagesModuleOptions CurrentMessagesModule = MessagesModuleOptions.GetType(currentModule.MessagesModuleID); ucUpdate.ModuleTypeID = CurrentMessagesModule.ModuleTypeID; ucUpdate.DefaultPagePath = "/AdminCP/Items/" + currentModule.Identifire + "/Messages/default.aspx"; //----------------------------------------------- int messageID = -1; if (MoversFW.Components.UrlManager.ChechIsValidIntegerParameter("id")) { messageID = Convert.ToInt32(Request.QueryString["id"]); } //----------------------------------------------- if (messageID > 0) { MessagesEntity msg = MessagesFactory.GetMessagesObject(messageID, UsersTypes.Admin, SitesHandler.GetOwnerIDAsGuid()); ucUpdate.DefaultPagePath += "?id=" + msg.ToItemID; } //----------------------------------------------- if (!IsPostBack) { if (currentModule.HasSpecialAdminText) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetText(currentModule, "Module_MessageData"); } else { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_MessageData; } } //----------------------------------------------- }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucComments.ModuleTypeID = currentModule.ModuleTypeID; if (currentModule.HasSpecialAdminText) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetText(currentModule, "Module_CommentsInactive"); } else { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_CommentsInactive; } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucEdit.ModuleTypeID = currentModule.ModuleTypeID; ucEdit.Identifire = currentModule.Identifire; ucEdit.BaseModuleType = ModuleBaseTypes.Items; if (!IsPostBack) { if (currentModule.ModuleTypeID != (int)ModuleTypes.StaticPages && currentModule.ModuleTypeID != (int)ModuleTypes.StaticContents) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_Comments; } else if (MoversFW.Components.UrlManager.ChechIsValidIntegerParameter("id")) { int pageid = Convert.ToInt32(Request.QueryString["id"]); SitePageOptions page = SitePageOptions.GetPage(pageid); this.Page.Title = page.Title + " - " + Resources.Modules.Module_Comments; } else { this.Page.Title = Resources.Modules.Module_Comments; } } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucCreate.ModuleTypeID = currentModule.ModuleTypeID; if (!IsPostBack) { if (currentModule.HasSpecialAdminText) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetText(currentModule, "Module_CategoriesAdd"); } else { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_CategoriesAdd; } } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucUpdate1.ModuleTypeID = currentModule.ModuleTypeID; if (!IsPostBack) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_ItemsEdit; } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucSendSms.ModuleTypeID = currentModule.ModuleTypeID; ucSendSms.FormSmsTo = FormSMSToTypes.All; //----------------------------------------------- if (!IsPostBack) { if (currentModule.HasSpecialAdminText) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetText(currentModule, "SendSms"); } else { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.SendSms; } } //----------------------------------------------- }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; MessagesModuleOptions CurrentMessagesModule = MessagesModuleOptions.GetType(currentModule.MessagesModuleID); ucExport.ModuleTypeID = CurrentMessagesModule.ModuleTypeID; //----------------------------------------------- if (!IsPostBack) { if (currentModule.HasSpecialAdminText) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + DynamicResource.GetText(currentModule, "Module_ExportData"); } else { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_ExportData; } } //----------------------------------------------- }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucSendMail.ModuleTypeID = currentModule.ModuleTypeID; ucSendMail.FormMailTo = FormMailToTypes.All; if (!IsPostBack) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.AdminText.SendEmail; } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucEdit.ModuleTypeID = currentModule.ModuleTypeID; ucEdit.Identifire = currentModule.Identifire; ucEdit.BaseModuleType = ModuleBaseTypes.Items; if (!IsPostBack) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_Comments; } }
//----------------------------------------------- //Page_Load //----------------------------------------------- private void Page_Load(object sender, System.EventArgs e) { ItemsModulesOptions currentModule = (ItemsModulesOptions)HttpContext.Current.Items["CurrentItemsModule"]; ucGetVisitorsParticipations.ModuleTypeID = currentModule.ModuleTypeID; ucGetVisitorsParticipations.UnRepliedCondition = false; ucGetVisitorsParticipations.NotSeenCondition = true; ucGetVisitorsParticipations.IsAvailableCondition = true; ucGetVisitorsParticipations.IsAvailable = false; if (!IsPostBack) { this.Page.Title = currentModule.GetModuleAdminSpecialTitle() + " - " + Resources.Modules.Module_ItemsDefault; } }