Patch level : 12.0 no-patch

Files correlati     : 
Commento            : Eliminata Ilaria dagli utenti debug, sistemato about

git-svn-id: svn://10.65.10.50/branches/R_10_00@24186 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
mtollari 2017-11-09 10:42:39 +00:00
parent 856419d4b5
commit 858cfe98d0
3 changed files with 11 additions and 3 deletions

View File

@ -13,6 +13,8 @@
#include <treectrl.h>
#include <urldefid.h>
#include <utility.h>
#include <xvtdb.h>
#include <xvturl.h>
static int txt_sort(const TSortable& o1, const TSortable& o2, void* jolly)
{
@ -472,6 +474,7 @@ TInfo_mask::TInfo_mask() : TProperty_sheet(TR("Informazioni"))
TFilename temp; temp.tempdir();
TString strdb, strsql;
TString apisql = SQLAPIV, apiurl = xvturl_version();
{
TISAM_recordset rs("");
strdb = rs.driver_version();
@ -555,6 +558,11 @@ TInfo_mask::TInfo_mask() : TProperty_sheet(TR("Informazioni"))
add_prop(TR("Libreria GUI"), strwx);
add_prop(TR("Libreria PDF"), printer);
add_prop(TR("Libreria SQL"), strsql);
if(is_debug_station())
{
add_prop(TR("Libreria API SQL"), apisql);
add_prop(TR("Libreria API WEB"), apiurl);
}
#ifdef _MSC_VER
const int cver = _MSC_VER / 100 - 6;
const int csub = _MSC_VER % 100;

View File

@ -3035,7 +3035,7 @@ const char* TDate_field::win2raw(
{
g.set_day(19);
g.set_month(06);
g.set_year(1994)
g.set_year(1994);
} else
if (s[0] != 'O') // s != "OGGI"
ok = false;

View File

@ -625,7 +625,7 @@ static bool is_sirio_station(const char* hostname)
bool is_debug_station()
{
const TString& host = get_hostname();
return is_sirio_station(host) || xvt_str_same(host, "GIARDINI") || ini_get_int(CONFIG_INSTALL, "DEBUG", "LEVEL", 0) > 0;
return is_sirio_station(host) || ini_get_int(CONFIG_INSTALL, "DEBUG", "LEVEL", 0) > 0;
}
bool is_power_station()
@ -711,4 +711,4 @@ void quoted_string(TString& query, const char* val)
TString get_iva_sirio()
{
return "04879210963";
}
}