Index: lib/eztemplate/classes/eztemplatedeffunction.php
===================================================================
--- lib/eztemplate/classes/eztemplatedeffunction.php	(révision 8788)
+++ lib/eztemplate/classes/eztemplatedeffunction.php	(copie de travail)
@@ -171,7 +171,11 @@
                 if ( $tpl->hasVariable( $varName, $rootNamespace ) ) // if the variable already exists
                 {
                     // we don't create new variable but just assign value to the existing one.
-                    $tpl->warning( EZ_TEMPLATE_DEF_FUNCTION_NAME, "Variable '$varName' is already defined." );
+                    $fileName = $functionPlacement[2];
+                    $line     = $functionPlacement[0][0];
+                    $col      = $functionPlacement[0][1];
+
+                    $tpl->warning( EZ_TEMPLATE_DEF_FUNCTION_NAME, "Variable '$varName' is already defined in $fileName : $line [$col]" );
                     $tpl->setVariable( $varName, $varValue, $rootNamespace );
                 }
                 else
