First commit, current version 0.2

This commit is contained in:
Némunaire 2011-07-30 00:14:52 +02:00
commit 872acdbc01
353 changed files with 45771 additions and 0 deletions

View file

@ -0,0 +1,29 @@
<?php
/**
* Smarty plugin
* @package Smarty
* @subpackage plugins
*/
/**
* Smarty plugin
*
* Type: modifier<br>
* Name: separenombre<br>
* Date: Aug 22, 2008
* Purpose: separe number
* Example: {$text|separenombre}
* @version 1.0
* @author Nemunaire <nemunaire at gmail dot com>
* @param string
* @return string
*/
function smarty_modifier_separenombre($string)
{
return number_format(floor($string), 0, ',', ' ');
}
/* vim: set expandtab: */
?>