I was thinking of something like this here:
$tpl->setVariable( 'is_nomatch', $status == eZForgotPasswordGenerator::PASSWORD_NOT_MATCH ); 
etc.

That makes it readable even if the php constants are not available in template.