diff --git a/htdocs/public/ifttt/index.php b/htdocs/public/ifttt/index.php index a879dc1d41f..27a1b169c7c 100644 --- a/htdocs/public/ifttt/index.php +++ b/htdocs/public/ifttt/index.php @@ -36,7 +36,7 @@ if (! defined('NOCSRFCHECK')) define("NOCSRFCHECK", 1); // We accept to go on * * @return void */ -function llxHeaderVierge() +function llxHeaderIFTTT() { print 'IFTTT API'; } @@ -45,7 +45,7 @@ function llxHeaderVierge() * * @return void */ -function llxFooterVierge() +function llxFooterIFTTT() { print ''; } @@ -61,9 +61,9 @@ if (empty($conf->global->IFTTT_DOLIBARR_ENDPOINT_SECUREKEY)) { $user->getrights(); - llxHeaderVierge(); + llxHeaderIFTTT(); print '
Module Agenda was not configured properly.
'; - llxFooterVierge(); + llxFooterIFTTT(); exit; } @@ -72,9 +72,9 @@ if (empty($_GET["securekey"]) || $conf->global->IFTTT_DOLIBARR_ENDPOINT_SECUREKE { $user->getrights(); - llxHeaderVierge(); + llxHeaderIFTTT(); print '
Bad value for securekey.
'; - llxFooterVierge(); + llxFooterIFTTT(); exit; } @@ -83,6 +83,6 @@ if (empty($_GET["securekey"]) || $conf->global->IFTTT_DOLIBARR_ENDPOINT_SECUREKE $hookmanager->initHooks(array('iftttapi')); -llxHeaderVierge(); +llxHeaderIFTTT(); print '
TODO
'; -llxFooterVierge(); +llxFooterIFTTT();