Overview
Comment: | filtre euros |
---|---|
Downloads: | Tarball | ZIP archive | SQL archive |
Timelines: | family | ancestors | descendants | both | trunk |
Files: | files | file ages | folders |
SHA1: |
52c1b4a5feeab09380643ed21448de5b |
User & Date: | bohwaz on 2015-01-18 04:50:39 |
Other Links: | manifest | tags |
Context
2015-01-18
| ||
04:52 | Implémentation du critère {age} dans les squelettes (fix [6938d30404]). Utilisation de bindValue de SQLite plutôt que escapeString dans les squelettes, c'est mieux. check-in: 5eca57ed8c user: bohwaz tags: trunk | |
04:50 | filtre euros check-in: 52c1b4a5fe user: bohwaz tags: trunk | |
02:21 | mise à jour version 0.7 et crédits du readme check-in: 5474892d24 user: bohwaz tags: trunk | |
Changes
Modified src/include/lib/Garradin/Squelette_Filtres.php from [bf982b60cb] to [70711a0611].
︙ | ︙ | |||
341 342 343 344 345 346 347 348 349 350 | return ($value < $test) ? true : false; } static public function inferieur_ou_egal_a($value, $test) { return ($value <= $test) ? true : false; } } ?> | > > > > > | 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 | return ($value < $test) ? true : false; } static public function inferieur_ou_egal_a($value, $test) { return ($value <= $test) ? true : false; } static public function euros($value) { return str_replace(' ', ' ', number_format($value, (round($value) == round($value, 2) ? 0 : 2), ',', ' ')) . ' €'; } } ?> |