X-Git-Url: http://git.polytechnique.org/?a=blobdiff_plain;f=plugins%2Ffunction.test_email.php;h=932c998b62461a396a51316718b64ce447927019;hb=0c8cd507ad27b70c20e9f056b77fc286ee88e04f;hp=80ad621569d8b03eec1c4984340721e1449046cd;hpb=01ab5780ddaab6adf864c576205905ac37dfbe65;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 '
' . '

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