- // FIXME: manage translations
- $ret .= show_notify_document(esclfhtml(file_get_contents($G_base.sprintf($G_lice_fname, $G_lice_vers, $G_lang))),
- 0, array("Accetto.", "Rifiuto.", "Leggo poi.", /* , "Scarico." */),
- "lice_confirm", 600, 600, TRUE, 0);
- $ret .= sprintf("act_licencemgr('soft', g_nd.ret_get(), '%s', '%s');",
- xcape($this->rec->lice_vers_get()), xcape($G_lice_vers));
+ $ret .= show_notify_document(esclfhtml(file_get_contents($G_base.sprintf($G_tos_fname, $G_tos_vers, $G_lang))),
+ 0, array($mlang_user['btn_agree'][$G_lang], $mlang_user['btn_refuse'][$G_lang], $mlang_user['btn_after'][$G_lang] /* , "Scarico." */),
+ "tos_confirm", 600, 600, TRUE, 0);
+ $ret .= sprintf("act_tosmgr('soft', g_nd.ret_get(), '%s', '%s');",
+ xcape($this->rec->tos_vers_get()), xcape($G_tos_vers));