X-Git-Url: http://mop.ddnsfree.com/gitweb/?a=blobdiff_plain;f=web%2FObj%2Fuser.phh;fp=web%2FObj%2Fuser.phh;h=8ffeee8d4eea5d08aead0e2384ef05fc69e332be;hb=11351a969a05274d75e84160b0b584e4e4901d1f;hp=c77f653b256dd6dd8e78f9ac0f0ede56b8750cc1;hpb=eb65f5518b0cacc60e1dd265ab966290e7cc0c54;p=brisk.git diff --git a/web/Obj/user.phh b/web/Obj/user.phh index c77f653..8ffeee8 100644 --- a/web/Obj/user.phh +++ b/web/Obj/user.phh @@ -592,13 +592,18 @@ class User { if ($curtime > $G_lice_dtsoft) { // call notify soft $ret .= show_notify_document("Versione corrente: [".$this->rec->lice_vers_get()."] Versione sito: ".$G_lice_vers, - 0, array($mlang_indrd['btn_backtotab'][$G_lang],"pippo", "pluto"), - 400, 600, TRUE, 0); - $ret .= "alert('RESULT: ' + g_nd.ret_get());"; + 0, array("Accetto.", "Rifiuto.", "Leggo poi.", /* , "Scarico." */), + 400, 600, TRUE, 0); + $ret .= sprintf("act_licencemgr('soft', g_nd.ret_get(), '%s', '%s');", + xcape($this->rec->lice_vers_get()), xcape($G_lice_vers)); } else if ($curtime > $G_lice_dthard) { // call notify hard - ; + $ret .= show_notify_document("Versione corrente: [".$this->rec->lice_vers_get()."] Versione sito: ".$G_lice_vers, + 0, array("Accetto.", "Rifiuto." /* , "Scarico." */), + 400, 600, TRUE, 0); + $ret .= sprintf("act_licencemgr('hard', g_nd.ret_get(), '%s', '%s');", + xcape($this->rec->lice_vers_get()), xcape($G_lice_vers)); }