diff --git a/NKC_WF/site/DevUtils.aspx b/NKC_WF/site/DevUtils.aspx index 6807d76..1689d9f 100644 --- a/NKC_WF/site/DevUtils.aspx +++ b/NKC_WF/site/DevUtils.aspx @@ -1,4 +1,4 @@ -<%@ Page Title="" Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="DevUtils.aspx.cs" Inherits="NKC_WF.DevUtils" %> +<%@ Page Title="" Language="C#" MasterPageFile="~/SiteContent.Master" AutoEventWireup="true" CodeBehind="DevUtils.aspx.cs" Inherits="NKC_WF.DevUtils" %> <%@ Register Src="~/WebUserControls/cmp_devUtils.ascx" TagPrefix="uc1" TagName="cmp_devUtils" %> diff --git a/NKC_WF/site/GlobalSearch.aspx b/NKC_WF/site/GlobalSearch.aspx index 0e707ad..e528e0b 100644 --- a/NKC_WF/site/GlobalSearch.aspx +++ b/NKC_WF/site/GlobalSearch.aspx @@ -6,9 +6,14 @@ -
Advanced SEARCH
- - - - +
+

<%: traduci("Advanced") %> <%: traduci("Search") %>

+
+
+ + + + +
+
diff --git a/NKC_WF/site/GlobalSearch.aspx.cs b/NKC_WF/site/GlobalSearch.aspx.cs index 9a13be7..dbeb82f 100644 --- a/NKC_WF/site/GlobalSearch.aspx.cs +++ b/NKC_WF/site/GlobalSearch.aspx.cs @@ -9,7 +9,7 @@ using System.Web.UI.WebControls; namespace NKC_WF.site { - public partial class GlobalSearch : System.Web.UI.Page + public partial class GlobalSearch : BasePage { /// /// Comando barcode letto diff --git a/NKC_WF/site/vocabolario.aspx b/NKC_WF/site/vocabolario.aspx index 8eca11e..73d0d63 100644 --- a/NKC_WF/site/vocabolario.aspx +++ b/NKC_WF/site/vocabolario.aspx @@ -1,5 +1,5 @@ -<%@ Page Language="C#" MasterPageFile="~/Site.master" AutoEventWireup="true" - Inherits="NKC_WF.vocabolario" Title="Vocabolario" CodeBehind="vocabolario.aspx.cs" %> +<%@ Page Language="C#" MasterPageFile="~/SiteContent.master" AutoEventWireup="true" + Inherits="NKC_WF.vocabolario" Title="Vocabolario" CodeBehind="vocabolario.aspx.cs" %> <%@ Register Src="~/WebUserControls/mod_lemmiVocab.ascx" TagName="mod_lemmiVocab" TagPrefix="uc2" %> @@ -7,34 +7,36 @@ <%@ Register Src="~/WebUserControls/mod_ricercaGenerica.ascx" TagPrefix="uc4" TagName="mod_ricercaGenerica" %> <%@ Register Src="~/WebUserControls/mod_vocabolario.ascx" TagPrefix="uc2" TagName="mod_vocabolario" %> - - - -
-
-
-
+
+

<%: traduci("Vocabolario") %>

+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
+
+
+
+
+ +
+
+ +
+
+
+
-
- -
-
- -
-
-
-
-
-
-
- -
-
- -
-
-
-
diff --git a/NKC_WF/site/vocabolario.aspx.cs b/NKC_WF/site/vocabolario.aspx.cs index f150c50..237ea3b 100644 --- a/NKC_WF/site/vocabolario.aspx.cs +++ b/NKC_WF/site/vocabolario.aspx.cs @@ -3,51 +3,51 @@ using System.Web.UI; namespace NKC_WF { - public partial class vocabolario : System.Web.UI.Page - { - protected override void OnInit(EventArgs e) + public partial class vocabolario : BasePage { - base.OnInit(e); + protected override void OnInit(EventArgs e) + { + base.OnInit(e); - if (!Page.IsPostBack) - { - ((SiteMaster)this.Master).showSearch = false; - mod_righePag.numRowPag = 10; - mod_vocabolario.pageSize = mod_righePag.numRowPag; - } - // imposto controlli eventi - mod_vocabolario.eh_selezioneValore += new EventHandler(mod_vocabolario_eh_selezioneValore); - mod_vocabolario.eh_resetSelezione += new EventHandler(mod_vocabolario_eh_resetSelezione); - // setto visibilità dettaglio termini - mod_lemmiVocab.Visible = false; - mod_righePag.eh_newNum += mod_righePag_eh_newNum; - } - /// - /// aggiornato numero righe datagrid... aggiorno visualizzazione - /// - /// - /// - void mod_righePag_eh_newNum(object sender, EventArgs e) - { - mod_vocabolario.pageSize = mod_righePag.numRowPag; - } - void mod_vocabolario_eh_resetSelezione(object sender, EventArgs e) - { - mod_lemmiVocab.Visible = false; - Session.Remove("lemma_sel"); - } + if (!Page.IsPostBack) + { + ((SiteContent)this.Master).showSearch = false; + mod_righePag.numRowPag = 10; + mod_vocabolario.pageSize = mod_righePag.numRowPag; + } + // imposto controlli eventi + mod_vocabolario.eh_selezioneValore += new EventHandler(mod_vocabolario_eh_selezioneValore); + mod_vocabolario.eh_resetSelezione += new EventHandler(mod_vocabolario_eh_resetSelezione); + // setto visibilità dettaglio termini + mod_lemmiVocab.Visible = false; + mod_righePag.eh_newNum += mod_righePag_eh_newNum; + } + /// + /// aggiornato numero righe datagrid... aggiorno visualizzazione + /// + /// + /// + void mod_righePag_eh_newNum(object sender, EventArgs e) + { + mod_vocabolario.pageSize = mod_righePag.numRowPag; + } + void mod_vocabolario_eh_resetSelezione(object sender, EventArgs e) + { + mod_lemmiVocab.Visible = false; + Session.Remove("lemma_sel"); + } - void mod_vocabolario_eh_selezioneValore(object sender, EventArgs e) - { - mod_lemmiVocab.Visible = true; - mod_lemmiVocab.doUpdate(); - } + void mod_vocabolario_eh_selezioneValore(object sender, EventArgs e) + { + mod_lemmiVocab.Visible = true; + mod_lemmiVocab.doUpdate(); + } - protected override void OnUnload(EventArgs e) - { - base.OnUnload(e); - mod_vocabolario.eh_selezioneValore -= new EventHandler(mod_vocabolario_eh_selezioneValore); - mod_vocabolario.eh_resetSelezione -= new EventHandler(mod_vocabolario_eh_resetSelezione); + protected override void OnUnload(EventArgs e) + { + base.OnUnload(e); + mod_vocabolario.eh_selezioneValore -= new EventHandler(mod_vocabolario_eh_selezioneValore); + mod_vocabolario.eh_resetSelezione -= new EventHandler(mod_vocabolario_eh_resetSelezione); + } } - } }