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

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