Migliorato supporto per protezione SSA remota
git-svn-id: svn://10.65.10.50/branches/R_10_00@22638 c028cbd2-c16b-5b4b-a496-9718f37d4682
This commit is contained in:
parent
9326843c87
commit
9f287b3844
@ -143,7 +143,7 @@ void TAdvanced_property_sheet::set_read_only(bool ro)
|
||||
}
|
||||
|
||||
TAdvanced_property_sheet::TAdvanced_property_sheet(const char* title, int width, int height)
|
||||
: TMask(title && *title ? title : TR("Proprieta'"), 1, width, height), _pf(NULL)
|
||||
: TMask(title && *title ? title : TR("Proprietà"), 1, width, height), _pf(NULL)
|
||||
{
|
||||
add_button_tool(DLG_CANCEL, TR("Ritorna"), TOOL_CANCEL);
|
||||
add_button_tool(DLG_EXPORT, TR("Esporta"), TOOL_EXCEL);
|
||||
@ -283,8 +283,8 @@ TInfo_mask::TInfo_mask() : TProperty_sheet(TR("Informazioni"))
|
||||
|
||||
const word ser_no = dongle().number();
|
||||
|
||||
int year = 2091, release = 10, tag = 0, patch = 1;
|
||||
TString80 versione = "2091.10.00";
|
||||
int year = 2121, release = 11, tag = 0, patch = 1;
|
||||
TString80 versione = "2121.11.00";
|
||||
if (main_app().get_version_info(year, release, tag, patch))
|
||||
versione.format("%d.%02d.%02d Patch %d", year, release, tag, patch);
|
||||
|
||||
@ -316,7 +316,10 @@ TInfo_mask::TInfo_mask() : TProperty_sheet(TR("Informazioni"))
|
||||
case _dongle_hardlock: prot = "Hardlock"; break;
|
||||
case _dongle_eutron : prot = "Eutron"; break;
|
||||
case _dongle_network : prot = dongle().server_name(); break;
|
||||
case _dongle_ssa : prot = "SSA"; break;
|
||||
case _dongle_ssa : prot = "SSA";
|
||||
if (fexist("ssa.ini"))
|
||||
prot << '@' << ini_get_string("ssa.ini", "", "SSA-PORT");
|
||||
break;
|
||||
default : prot = TR("Nessuna"); break;
|
||||
}
|
||||
|
||||
|
@ -333,7 +333,7 @@ const char* TApplication::get_module_name() const
|
||||
const word aut = d.module_name2code(modname);
|
||||
module = d.module_code2desc(aut);
|
||||
bool ok = module.full();
|
||||
if (ok && check_autorization())
|
||||
if (ok && aut > 0 && check_autorization())
|
||||
ok = dongle().login(modname);
|
||||
|
||||
if (!ok)
|
||||
|
@ -565,7 +565,7 @@ long daytime()
|
||||
// DON'T cache this bool because hostname can be local or server
|
||||
static bool is_aga_station(const char* hostname)
|
||||
{
|
||||
const char* const ranger[] = { "BATMOBILE", "KIRK", "MOBILE", "SPOCK", NULL };
|
||||
const char* const ranger[] = { "BATMOBILE", "KIRK", "MOBILE", "PCTRUFFELLI", "SPOCK", NULL };
|
||||
for (int i = 0; ranger[i]; i++)
|
||||
if (xvt_str_compare_ignoring_case(hostname, ranger[i]) == 0)
|
||||
return true;
|
||||
|
Loading…
x
Reference in New Issue
Block a user