Release plat/al core v1.1.13
[platal.git] / plugins / function.valid_date.php
index 8613c3a..0a99367 100644 (file)
@@ -1,6 +1,6 @@
 <?php
 /***************************************************************************
- *  Copyright (C) 2003-2008 Polytechnique.org                              *
+ *  Copyright (C) 2003-2011 Polytechnique.org                              *
  *  http://opensource.polytechnique.org/                                   *
  *                                                                         *
  *  This program is free software; you can redistribute it and/or modify   *
@@ -18,9 +18,8 @@
  *  Foundation, Inc.,                                                      *
  *  59 Temple Place, Suite 330, Boston, MA  02111-1307  USA                *
  ***************************************************************************/
-require_once 'platal.inc.php';
 
-function smarty_function_valid_date($params, &$smarty)
+function smarty_function_valid_date($params, $smarty)
 {
     extract($params);
 
@@ -55,5 +54,5 @@ function smarty_function_valid_date($params, &$smarty)
     return $text . "</optgroup></select>";
 }
 
-/* vim: set expandtab enc=utf-8: */
+/* vim:set expandtab fenc=utf-8: */
 ?>