Moving to GitHub.
[platal.git] / plugins / function.select_nat.php
index 6b66f80..dd4f512 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2011 Polytechnique.org                              *
+ *  Copyright (C) 2003-2014 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -39,7 +39,7 @@ function select_nat($valeur, $pad=false) {
     return $html;
 }
 
-function smarty_function_select_nat($params, &$smarty) {
+function smarty_function_select_nat($params, $smarty) {
     if (empty($params['pad']) || !($params['pad'])) {
              $pad = false;
     } else {
@@ -49,5 +49,5 @@ function smarty_function_select_nat($params, &$smarty) {
     return select_nat($params['valeur'], $pad);
 }
 
-// vim:set et sw=4 sts=4 sws=4 foldmethod=marker enc=utf-8:
+// vim:set et sw=4 sts=4 sws=4 foldmethod=marker fenc=utf-8:
 ?>