Update con nuove SteamWare.dll
Update stampa report... git-svn-id: https://keyhammer.ath.cx/svn/XPS/trunk@111 43c8e981-f90d-406c-a89a-24a2c4268d51
This commit is contained in:
@@ -15,7 +15,7 @@ public partial class AjaxSearch : System.Web.UI.MasterPage
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadstring("_titoloPagina");
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
|
||||
protected override void OnInit(EventArgs e)
|
||||
|
||||
@@ -15,6 +15,6 @@ public partial class AjaxSimple : System.Web.UI.MasterPage
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadstring("_titoloPagina");
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -15,6 +15,6 @@ public partial class AjaxSimpleUpload : System.Web.UI.MasterPage
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadstring("_titoloPagina");
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,7 +16,7 @@ public partial class AjaxTitle : System.Web.UI.MasterPage
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadstring("_titoloPagina");
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
|
||||
protected override void OnInit(EventArgs e)
|
||||
|
||||
+5
-5
@@ -49,10 +49,10 @@ public class XPS
|
||||
string url, urlFormat, opzPdf, nomeRep;
|
||||
try
|
||||
{
|
||||
urlFormat = SteamWare.memLayer.ML.confReadstring("urlReporting");
|
||||
urlFormat = SteamWare.memLayer.ML.confReadString("urlReporting");
|
||||
if (outputRich == "PDF")
|
||||
{
|
||||
opzPdf = SteamWare.memLayer.ML.confReadstring("reportOpzPdf");
|
||||
opzPdf = SteamWare.memLayer.ML.confReadString("reportOpzPdf");
|
||||
}
|
||||
else
|
||||
{
|
||||
@@ -60,13 +60,13 @@ public class XPS
|
||||
}
|
||||
if (tipoReport == "label")
|
||||
{
|
||||
nomeRep = SteamWare.memLayer.ML.confReadstring("reportName_lbl");
|
||||
nomeRep = SteamWare.memLayer.ML.confReadString("reportName_lbl");
|
||||
}
|
||||
else // (tipoReport == "module")
|
||||
{
|
||||
nomeRep = SteamWare.memLayer.ML.confReadstring("reportName_mod");
|
||||
nomeRep = SteamWare.memLayer.ML.confReadString("reportName_mod");
|
||||
}
|
||||
url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadstring("reportingServerAddress"), SteamWare.memLayer.ML.confReadstring("reportDir"), nomeRep, Cod, opzPdf);
|
||||
url = string.Format(urlFormat, SteamWare.memLayer.ML.confReadString("reportingServerAddress"), SteamWare.memLayer.ML.confReadString("reportDir"), nomeRep, Cod, opzPdf);
|
||||
}
|
||||
catch
|
||||
{
|
||||
|
||||
Binary file not shown.
@@ -16,7 +16,7 @@ public partial class MasterAjax : System.Web.UI.MasterPage
|
||||
protected override void OnLoad(EventArgs e)
|
||||
{
|
||||
base.OnLoad(e);
|
||||
Page.Title = SteamWare.memLayer.ML.confReadstring("_titoloPagina");
|
||||
Page.Title = SteamWare.memLayer.ML.confReadString("_titoloPagina");
|
||||
}
|
||||
|
||||
protected override void OnInit(EventArgs e)
|
||||
|
||||
@@ -646,7 +646,7 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
</Textbox>
|
||||
<Textbox Name="Peso">
|
||||
<rd:DefaultName>Peso</rd:DefaultName>
|
||||
<Top>6.75cm</Top>
|
||||
<Top>7cm</Top>
|
||||
<Width>5cm</Width>
|
||||
<Style>
|
||||
<FontSize>26pt</FontSize>
|
||||
@@ -664,7 +664,7 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
</Textbox>
|
||||
<Textbox Name="ConsegnaPrevista_1">
|
||||
<rd:DefaultName>ConsegnaPrevista_1</rd:DefaultName>
|
||||
<Top>8.75cm</Top>
|
||||
<Top>9cm</Top>
|
||||
<Width>15.25cm</Width>
|
||||
<Style>
|
||||
<FontSize>18pt</FontSize>
|
||||
@@ -684,7 +684,7 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
</Textbox>
|
||||
<Textbox Name="CodProdotto">
|
||||
<rd:DefaultName>CodProdotto</rd:DefaultName>
|
||||
<Top>7cm</Top>
|
||||
<Top>7.25cm</Top>
|
||||
<Width>9.25cm</Width>
|
||||
<Style>
|
||||
<BackgroundColor>White</BackgroundColor>
|
||||
@@ -705,9 +705,10 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
<Value>=Fields!CodProdotto.Value</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="textbox18">
|
||||
<Top>5.5cm</Top>
|
||||
<Top>5.75cm</Top>
|
||||
<Style>
|
||||
<FontSize>20pt</FontSize>
|
||||
<FontFamily>Arial Narrow</FontFamily>
|
||||
<FontSize>26pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<Format>dd/MM/yy HH:mm</Format>
|
||||
<TextAlign>Right</TextAlign>
|
||||
@@ -720,11 +721,11 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
<ZIndex>5</ZIndex>
|
||||
<CanGrow>true</CanGrow>
|
||||
<Left>18.25cm</Left>
|
||||
<Height>1cm</Height>
|
||||
<Height>1.25cm</Height>
|
||||
<Value>=First(Fields!DataArrivo.Value)</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="textbox19">
|
||||
<Top>5.5cm</Top>
|
||||
<Top>5.75cm</Top>
|
||||
<Width>5.75cm</Width>
|
||||
<Style>
|
||||
<FontSize>26pt</FontSize>
|
||||
@@ -738,7 +739,7 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
<ZIndex>4</ZIndex>
|
||||
<CanGrow>true</CanGrow>
|
||||
<Left>3.75cm</Left>
|
||||
<Height>1cm</Height>
|
||||
<Height>1.25cm</Height>
|
||||
<Value>=First(Fields!DDT.Value)</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="Expr1_1">
|
||||
@@ -755,7 +756,7 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
</Style>
|
||||
<ZIndex>3</ZIndex>
|
||||
<CanGrow>true</CanGrow>
|
||||
<Left>16.75cm</Left>
|
||||
<Left>19.75cm</Left>
|
||||
<Height>0.4cm</Height>
|
||||
<Value>=First(Fields!IdxObj.Value)</Value>
|
||||
</Textbox>
|
||||
@@ -774,14 +775,15 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
</Style>
|
||||
<ZIndex>2</ZIndex>
|
||||
<CanGrow>true</CanGrow>
|
||||
<Left>6.75cm</Left>
|
||||
<Left>0.25cm</Left>
|
||||
<Value>="*"&(First(Fields!IdxObj.Value))&"*"</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="textbox20">
|
||||
<Top>5.5cm</Top>
|
||||
<Top>5.75cm</Top>
|
||||
<Width>5cm</Width>
|
||||
<Style>
|
||||
<FontSize>20pt</FontSize>
|
||||
<FontFamily>Arial Narrow</FontFamily>
|
||||
<FontSize>26pt</FontSize>
|
||||
<FontWeight>700</FontWeight>
|
||||
<Format>dd/MM/yy</Format>
|
||||
<TextAlign>Left</TextAlign>
|
||||
@@ -794,12 +796,12 @@ tABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUUUUAFFFFABRRRQAUhGfWloo
|
||||
<ZIndex>1</ZIndex>
|
||||
<CanGrow>true</CanGrow>
|
||||
<Left>11.5cm</Left>
|
||||
<Height>1cm</Height>
|
||||
<Height>1.25cm</Height>
|
||||
<Value>=Fields!DDT_del.Value</Value>
|
||||
</Textbox>
|
||||
<Textbox Name="Cliente">
|
||||
<rd:DefaultName>Cliente</rd:DefaultName>
|
||||
<Top>3cm</Top>
|
||||
<Top>3.25cm</Top>
|
||||
<Width>20cm</Width>
|
||||
<Style>
|
||||
<FontFamily>Tahoma</FontFamily>
|
||||
|
||||
+2
-2
@@ -172,7 +172,7 @@ public partial class mod_ULP : ApplicationUserControl
|
||||
base.traduciObj();
|
||||
lblULP.Text = traduci("lblULP");
|
||||
lblDataPrev.Text = traduci("updateObjDueDate");
|
||||
txtDueDate.Text = DateTime.Now.AddDays(memLayer.ML.confReadint("defDayLeadTime")).ToString("dd/MM/yyyy");
|
||||
txtDueDate.Text = DateTime.Now.AddDays(memLayer.ML.confReadInt("defDayLeadTime")).ToString("dd/MM/yyyy");
|
||||
btnCancel.Text = traduci("btnCancel");
|
||||
btnOk.Text = traduci("btnOk");
|
||||
btnAllSched.Text = traduci("btnAllSched");
|
||||
@@ -448,7 +448,7 @@ public partial class mod_ULP : ApplicationUserControl
|
||||
{
|
||||
ImageButton imgBtn = (ImageButton)sender;
|
||||
// stampo!
|
||||
reportPrinter.obj.printReport(reportRichiesto.SchedaIdentificazione, memLayer.ML.confReadstring("printerSchedaIdent"), imgBtn.CommandArgument);
|
||||
reportPrinter.obj.printReport(reportRichiesto.SchedaIdentificazione, memLayer.ML.confReadString("printerSchedaIdent"), imgBtn.CommandArgument);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -206,7 +206,7 @@ public partial class mod_elencoComm : ApplicationUserControl
|
||||
lblDescr.Text = traduci("lblDescr");
|
||||
lblCicloEqua.Text = traduci("lblCicloEqua");
|
||||
lblDataPrev.Text = traduci("updateAllObjChild");
|
||||
txtDueDate.Text = DateTime.Now.AddDays(memLayer.ML.confReadint("defDayLeadTime")).ToString("dd/MM/yyyy");
|
||||
txtDueDate.Text = DateTime.Now.AddDays(memLayer.ML.confReadInt("defDayLeadTime")).ToString("dd/MM/yyyy");
|
||||
btnCancel.Text = traduci("btnCancel");
|
||||
btnOk.Text = traduci("btnOk");
|
||||
btnCancelStati.Text = traduci("btnCancel");
|
||||
@@ -589,7 +589,7 @@ public partial class mod_elencoComm : ApplicationUserControl
|
||||
{
|
||||
ImageButton imgBtn = (ImageButton)sender;
|
||||
// stampo!
|
||||
reportPrinter.obj.printReport(reportRichiesto.Barcode, memLayer.ML.confReadstring("printerBarcode"), imgBtn.CommandArgument);
|
||||
reportPrinter.obj.printReport(reportRichiesto.Barcode, memLayer.ML.confReadString("printerBarcode"), imgBtn.CommandArgument);
|
||||
}
|
||||
|
||||
#endregion
|
||||
|
||||
@@ -142,7 +142,7 @@ public partial class mod_login : ApplicationUserControl
|
||||
else
|
||||
{
|
||||
lblMessage.Text = String.Format("{0}<br>key not allowed for operation!!! operation logged!!!", user_std.UtSn.Traduci("AccessFail"));
|
||||
mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!<br>L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la sua key autorizzativa e' sbagliata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadstring("defaultApp"))));
|
||||
mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!<br>L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la sua key autorizzativa e' sbagliata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp"))));
|
||||
string _rigaLog = String.Format("User {0}\t tried to force user - wrong password - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
|
||||
SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
|
||||
if (Login_Error != null)
|
||||
@@ -153,7 +153,7 @@ public partial class mod_login : ApplicationUserControl
|
||||
}
|
||||
else
|
||||
{
|
||||
mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!<br>L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadstring("defaultApp"))));
|
||||
mandaEmail(_fromEmail, _adminEmail, "Attenzione: tentativo di accesso non autorizzato!", String.Format("Tentativo di forcing user non autorizzato!<br>L'utente {0} ha tentato di accedere a {1} forzando l'utente ma la funzione e' disabilitata...", Page.User.Identity.Name, user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("defaultApp"))));
|
||||
string _rigaLog = String.Format("User {0}\t tried to force user - access disabled - he tried to log as \t {1}\\{2}", Page.User.Identity.Name, dominio.Text, user.Text);
|
||||
SteamWare.logger.lg.scriviLog(_rigaLog, SteamWare.tipoLog.WARNING);
|
||||
if (Login_Error != null)
|
||||
|
||||
@@ -21,9 +21,9 @@ public partial class mod_main_help : ApplicationUserControl
|
||||
|
||||
protected override void traduciObj()
|
||||
{
|
||||
defaultApp = SteamWare.memLayer.ML.confReadstring("defaultApp");
|
||||
defaultTitle = SteamWare.memLayer.ML.confReadstring("defaultTitle");
|
||||
defaultBody = SteamWare.memLayer.ML.confReadstring("defaultBody");
|
||||
defaultApp = SteamWare.memLayer.ML.confReadString("defaultApp");
|
||||
defaultTitle = SteamWare.memLayer.ML.confReadString("defaultTitle");
|
||||
defaultBody = SteamWare.memLayer.ML.confReadString("defaultBody");
|
||||
lblAppl.Text = user_std.UtSn.Traduci(defaultApp);
|
||||
lblTitle.Text = user_std.UtSn.Traduci(defaultTitle);
|
||||
lblMess.Text = user_std.UtSn.Traduci(defaultBody);
|
||||
|
||||
@@ -1,4 +1,4 @@
|
||||
<%@ Control Language="C#" AutoEventWireup="true" CodeFile="mod_menuBottom.ascx.cs"
|
||||
Inherits="mod_menuBottom" %>
|
||||
<asp:Label runat="server" ID="lblApp" Text="."></asp:Label><asp:Label ID="lblrev" runat="server">95 - </asp:Label>
|
||||
<asp:Label runat="server" ID="lblApp" Text="."></asp:Label><asp:Label ID="lblrev" runat="server">100 - </asp:Label>
|
||||
<asp:Label runat="server" ID="lblCopyRight" Text="..."></asp:Label>
|
||||
|
||||
@@ -94,7 +94,7 @@ public partial class mod_menuTop : ApplicationUserControl
|
||||
// solo se user è auth...
|
||||
if (user_std.UtSn.isAuth)
|
||||
{
|
||||
lblTitle.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadstring("titleApp"));
|
||||
lblTitle.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("titleApp"));
|
||||
if (_titleString != "")
|
||||
{
|
||||
// traduzione di tutti i termini
|
||||
@@ -107,7 +107,7 @@ public partial class mod_menuTop : ApplicationUserControl
|
||||
}
|
||||
else
|
||||
{
|
||||
lblMessUtente.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadstring("welcomeApp"));
|
||||
lblMessUtente.Text = user_std.UtSn.Traduci(SteamWare.memLayer.ML.confReadString("welcomeApp"));
|
||||
lblMessUtenteEn.Text = "";
|
||||
Session["SessionUpdateMenu"] = false;
|
||||
}
|
||||
@@ -124,7 +124,7 @@ public partial class mod_menuTop : ApplicationUserControl
|
||||
/// </summary>
|
||||
private void setTimer()
|
||||
{
|
||||
Timer1.Interval = SteamWare.memLayer.ML.confReadint("intUpdatePagina_ms");
|
||||
Timer1.Interval = SteamWare.memLayer.ML.confReadInt("intUpdatePagina_ms");
|
||||
}
|
||||
protected void lnkShowHide_Click(object sender, EventArgs e)
|
||||
{
|
||||
|
||||
@@ -101,7 +101,7 @@ public partial class mod_navPath : SteamWare.ApplicationUserControl
|
||||
{
|
||||
hlNaviga.NavigateUrl = txtLink.Text;
|
||||
//mostro solo una substring: il minore tra la lungh e xx char
|
||||
int maxDispl = SteamWare.memLayer.ML.confReadint("_navMaxChar");
|
||||
int maxDispl = SteamWare.memLayer.ML.confReadInt("_navMaxChar");
|
||||
if (txtTesto.Text.Length <= maxDispl)
|
||||
{
|
||||
hlNaviga.Text = txtTesto.Text;
|
||||
|
||||
Binary file not shown.
Binary file not shown.
@@ -435,14 +435,14 @@
|
||||
{
|
||||
"Name" = "8:Microsoft Visual Studio"
|
||||
"ProductName" = "8:XPS"
|
||||
"ProductCode" = "8:{146C3108-0877-422D-8CAE-54F06391CE10}"
|
||||
"PackageCode" = "8:{BAC2BCA2-F61A-4A0B-B829-A9298AEA3E06}"
|
||||
"ProductCode" = "8:{9E979132-426E-4979-9867-12DB93AC8CFF}"
|
||||
"PackageCode" = "8:{C272DB32-57C1-4A21-99EC-2F6F2FBF62FE}"
|
||||
"UpgradeCode" = "8:{71B65361-FEA5-44CA-9B9A-45597433DB20}"
|
||||
"RestartWWWService" = "11:TRUE"
|
||||
"RemovePreviousVersions" = "11:TRUE"
|
||||
"DetectNewerInstalledVersion" = "11:TRUE"
|
||||
"InstallAllUsers" = "11:FALSE"
|
||||
"ProductVersion" = "8:1.2.2"
|
||||
"ProductVersion" = "8:1.2.100"
|
||||
"Manufacturer" = "8:SteamWare s.r.l."
|
||||
"ARPHELPTELEPHONE" = "8:035-460560"
|
||||
"ARPHELPLINK" = "8:www.steamware.net"
|
||||
|
||||
Reference in New Issue
Block a user