X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;ds=sidebyside;f=plugins%2Ffunction.test_email.php;h=932c998b62461a396a51316718b64ce447927019;hb=a0c034efcf0777541e087500e94853f515cda1ca;hp=80ad621569d8b03eec1c4984340721e1449046cd;hpb=46504fb3e0762660c86aa3b5d31dd836606f7eb3;p=platal.git diff --git a/plugins/function.test_email.php b/plugins/function.test_email.php index 80ad621..932c998 100644 --- a/plugins/function.test_email.php +++ b/plugins/function.test_email.php @@ -20,12 +20,12 @@ ***************************************************************************/ function smarty_function_test_email($params, &$smarty) { - $label = isset($params['title']) ? $params['title'] : 'Envoyer un mail de test'; - $token = "'" . S::v('xsrf_token') . (isset($params['forlife']) ? "', " : "'"); - $forlife = isset($params['forlife']) ? "'" . $params['forlife'] . "'" : ''; + $label = isset($params['title']) ? $params['title'] : 'Envoyer un email de test'; + $token = "'" . S::v('xsrf_token') . (isset($params['hruid']) ? "', " : "'"); + $hruid = isset($params['hruid']) ? "'" . $params['hruid'] . "'" : ''; return '
' . '

' - . '
' + . ' ' . ' ' . '
' . '
'