<?php
/***************************************************************************
- * Copyright (C) 2003-2006 Polytechnique.org *
+ * Copyright (C) 2003-2007 Polytechnique.org *
* http://opensource.polytechnique.org/ *
* *
* This program is free software; you can redistribute it and/or modify *
{
$v = (float)strtr($value, ',', '.');
if ($this->montant_min > $v) {
- return "Montant inférieur au minimum autorisé ({$this->montant_min}).";
+ return "Montant inférieur au minimum autorisé ({$this->montant_min}).";
} elseif ($v > $this->montant_max) {
- return "Montant supérieur au maximum autorisé ({$this->montant_max}).";
+ return "Montant supérieur au maximum autorisé ({$this->montant_max}).";
} else {
return true;
}
// }}}
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
?>