From: Florent Bruneau Date: Sun, 23 Nov 2008 18:24:57 +0000 (+0100) Subject: New 'sex' plugin: X-Git-Tag: core/1.0.0~2 X-Git-Url: http://git.polytechnique.org/?a=commitdiff_plain;h=9c44a2d48a7c17003ea2dda7e92680542f859b57;p=platal.git New 'sex' plugin: {"Cher"|sex:"Chère"} Or: {"Cher"|sex:"Chère":$sex} Signed-off-by: Florent Bruneau --- diff --git a/plugins/modifier.sex.php b/plugins/modifier.sex.php new file mode 100644 index 0000000..3644564 --- /dev/null +++ b/plugins/modifier.sex.php @@ -0,0 +1,31 @@ +isFemale(); + } + return $sex ? $female : $male; +} + +// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8: +?>