27 if (!defined(
'NOLOGIN')) {
30 if (!defined(
'NOCSRFCHECK')) {
31 define(
"NOCSRFCHECK", 1);
33 if (!defined(
'NOIPCHECK')) {
34 define(
'NOIPCHECK',
'1');
36 if (!defined(
'NOSESSION')) {
37 define(
'NOSESSION',
'1');
39 if (!defined(
'NOBROWSERNOTIF')) {
40 define(
'NOBROWSERNOTIF',
'1');
44 require
'../main.inc.php';
51 if (!
GETPOST(
'transkey',
'alphanohtml') && !
GETPOST(
'transphrase',
'alphanohtml')) {
52 print
'Sorry, it seems your internet connexion is off.<br>';
53 print
'You need to be connected to network to use this software.<br>';
55 $langs->loadLangs(array(
"error",
"other"));
57 if (
GETPOST(
'transphrase',
'alphanohtml')) {
59 } elseif (
GETPOST(
'transkey',
'alphanohtml')) {
dol_escape_htmltag($stringtoescape, $keepb=0, $keepn=0, $noescapetags='', $escapeonlyhtmltags=0)
Returns text escaped for inclusion in HTML alt or title tags, or into values of HTML input fields.
GETPOST($paramname, $check='alphanohtml', $method=0, $filter=null, $options=null, $noreplace=0)
Return value of a param into GET or POST supervariable.