diff --git a/htdocs/core/class/html.formother.class.php b/htdocs/core/class/html.formother.class.php
index eb73df7444386f782530c00cc9a3b0d5277abbe4..cbf91f7ef940ad6840d89e16e56c04e7be15c4ea 100644
--- a/htdocs/core/class/html.formother.class.php
+++ b/htdocs/core/class/html.formother.class.php
@@ -29,7 +29,7 @@
  *	\file       htdocs/core/class/html.formother.class.php
  *  \ingroup    core
  *	\brief      Fichier de la classe des fonctions predefinie de composants html autre
- *	\version	$Id: html.formother.class.php,v 1.16 2011/06/26 09:32:13 hregis Exp $
+ *	\version	$Id: html.formother.class.php,v 1.17 2011/07/04 08:53:01 eldy Exp $
  */
 
 
@@ -653,7 +653,8 @@ class FormOther
  * @param 	$parent
  * @param 	$lines
  * @param 	$level
- * @param 	$selected
+ * @param 	$selectedtask
+ * @param 	$selectedproject
  */
 function PLineSelect(&$inc, $parent, $lines, $level=0, $selectedtask=0, $selectedproject=0)
 {
diff --git a/htdocs/imports/import.php b/htdocs/imports/import.php
index a865628c6529cf4f8f9b1a64d4a2499631a54786..c2f23f30e0537304ee5a8202866278d4dd566578 100644
--- a/htdocs/imports/import.php
+++ b/htdocs/imports/import.php
@@ -21,7 +21,7 @@
  *      \file       htdocs/imports/import.php
  *      \ingroup    import
  *      \brief      Pages of import Wizard
- *      \version    $Id$
+ *      \version    $Id: import.php,v 1.66 2011/07/04 08:53:01 eldy Exp $
  */
 
 require_once("../main.inc.php");
@@ -1669,7 +1669,7 @@ print '<br>';
 
 $db->close();
 
-llxFooter('$Date$ - $Revision$');
+llxFooter('$Date: 2011/07/04 08:53:01 $ - $Revision: 1.66 $');
 
 
 /*
@@ -1729,8 +1729,8 @@ function show_elem($fieldssource,$i,$pos,$key,$var,$nostyle='')
 
 /**
  * Return not used field number
- *
- * @param 	$listofkey
+ * @param 	$fieldssource
+ * @param	$listofkey
  * @return
  */
 function getnewkey(&$fieldssource,&$listofkey)
diff --git a/htdocs/includes/modules/member/cards/modules_cards.php b/htdocs/includes/modules/member/cards/modules_cards.php
index 29a04a084c19617b9ebb699e7b35c86b011a0af4..8a3409f30300527be34bf08730224249beaefd3f 100644
--- a/htdocs/includes/modules/member/cards/modules_cards.php
+++ b/htdocs/includes/modules/member/cards/modules_cards.php
@@ -24,7 +24,7 @@
  *	\file       htdocs/includes/modules/member/cards/modules_cards.php
  *	\ingroup    member
  *	\brief      File of parent class of document generator for members cards.
- *	\version    $Id$
+ *	\version    $Id: modules_cards.php,v 1.10 2011/07/04 08:53:01 eldy Exp $
  */
 
 require_once(DOL_DOCUMENT_ROOT.'/lib/pdf.lib.php');
@@ -61,13 +61,12 @@ class ModelePDFCards
 
 
 /**
- *	\brief   	Cree un fichier de cartes de visites en fonction du modele de ADHERENT_CARDS_ADDON_PDF
- *	\param   	db  			objet base de donnee
- *	\param   	id				id de la facture a creer
- *	\param	    message			message
- *	\param	    modele			force le modele a utiliser ('' to not force)
- *	\param		outputlangs		objet lang a utiliser pour traduction
- *	\return  	int        		<0 if KO, >0 if OK
+ *	Cree un fichier de cartes de visites en fonction du modele de ADHERENT_CARDS_ADDON_PDF
+ *	@param   	db  			Database handler
+ *	@param   	arrayofmembers	Array of members
+ *	@param	    modele			Force modele to use ('' to not force)
+ *	@param		outputlangs		Objet langs to use for translation
+ *	@return  	int        		<0 if KO, >0 if OK
  */
 function members_card_pdf_create($db, $arrayofmembers, $modele, $outputlangs)
 {
diff --git a/htdocs/includes/modules/propale/modules_propale.php b/htdocs/includes/modules/propale/modules_propale.php
index 5114bf2e343a15e4a22afdc7e0cc0682f10b8134..5828075a41eee1ff2a2f7dbbc9e06084d351057d 100644
--- a/htdocs/includes/modules/propale/modules_propale.php
+++ b/htdocs/includes/modules/propale/modules_propale.php
@@ -24,7 +24,7 @@
  *  \ingroup    propale
  *  \brief      Fichier contenant la classe mere de generation des propales en PDF
  *  			et la classe mere de numerotation des propales
- *	\version    $Id$
+ *	\version    $Id: modules_propale.php,v 1.61 2011/07/04 08:53:01 eldy Exp $
  */
 
 require_once(DOL_DOCUMENT_ROOT.'/lib/pdf.lib.php');
@@ -132,10 +132,10 @@ class ModeleNumRefPropales
 
 /**
  * 	Cree une propale sur disque en fonction du modele de PROPALE_ADDON_PDF
- * 	@param	    db  			objet base de donnee
- * 	@param	    id				id de la propale a creer
- * 	@param	    modele			force le modele a utiliser ('' to not force)
- * 	@param		outputlangs		objet lang a utiliser pour traduction
+ * 	@param	    db  			Database handler
+ * 	@param	    object			Object proposal
+ * 	@param	    modele			Force model to use ('' to not force)
+ * 	@param		outputlangs		Object langs to use for output
  *  @param      hidedetails     Hide details of lines
  *  @param      hidedesc        Hide description
  *  @param      hideref         Hide ref
diff --git a/htdocs/lib/functions.lib.php b/htdocs/lib/functions.lib.php
index ffbe9964b2bf7883be8157f99f974ff40c93ed69..6ce212c314d15e8e4d6dcb3325b2b9e6defc2921 100644
--- a/htdocs/lib/functions.lib.php
+++ b/htdocs/lib/functions.lib.php
@@ -29,7 +29,7 @@
  *	\file			htdocs/lib/functions.lib.php
  *	\brief			A set of functions for Dolibarr
  *					This file contains all frequently used functions.
- *	\version		$Id: functions.lib.php,v 1.536 2011/07/04 08:38:51 eldy Exp $
+ *	\version		$Id: functions.lib.php,v 1.537 2011/07/04 08:53:01 eldy Exp $
  */
 
 // For compatibility during upgrade
@@ -2766,7 +2766,7 @@ function print_barre_liste($titre, $page, $file, $options='', $sortfield='', $so
  *	@param	file				Lien
  *	@param	options         	Autres parametres d'url a propager dans les liens ("" par defaut)
  *	@param	nextpage	    	Faut-il une page suivante
- *	@param	betweenarraows		HTML Content to show between arrows
+ *	@param	betweenarrows		HTML Content to show between arrows
  */
 function print_fleche_navigation($page,$file,$options='',$nextpage,$betweenarrows='')
 {
@@ -3523,7 +3523,7 @@ function dol_nboflines($s,$maxchar=0)
 
 /**
  *	Return nb of lines of a formated text with \n and <br>
- *	@param	   	texte      		Text
+ *	@param	   	text      		Text
  *	@param	   	maxlinesize  	Largeur de ligne en caracteres (ou 0 si pas de limite - defaut)
  * 	@param		charset			Give the charset used to encode the $text variable in memory.
  *	@return    	int				Number of lines
@@ -3905,11 +3905,11 @@ function dol_htmloutput_errors($mesgstring='', $mesgarray='', $keepembedded=0)
  *	ascending (default) or descending output and uses optionally
  *	natural case insensitive sorting (which can be optionally case
  *	sensitive as well).
- *  @param      array           Array to sort
+ *  @param      array           	Array to sort
  *  @param      index
  *  @param      order
  *  @param      natsort
- *  @param      cas_sensitive
+ *  @param      case_sensitive		Sort is case sensitive
  *  @return     Sorted array
  */
 function dol_sort_array(&$array, $index, $order='asc', $natsort, $case_sensitive)
diff --git a/htdocs/lib/pdf.lib.php b/htdocs/lib/pdf.lib.php
index 9560c981840a6c2ce7c7d8cc6f5e97b14950f664..1f307302975f841715dd9de31a81f2ba630cd3f3 100644
--- a/htdocs/lib/pdf.lib.php
+++ b/htdocs/lib/pdf.lib.php
@@ -25,7 +25,7 @@
  *	\file       htdocs/lib/pdf.lib.php
  *	\brief      Set of functions used for PDF generation
  *	\ingroup    core
- *	\version    $Id: pdf.lib.php,v 1.95 2011/06/30 13:27:21 hregis Exp $
+ *	\version    $Id: pdf.lib.php,v 1.96 2011/07/04 08:53:01 eldy Exp $
  */
 
 
@@ -682,7 +682,7 @@ function pdf_writelinedesc(&$pdf,$object,$i,$outputlangs,$w,$h,$posx,$posy,$hide
  *  Return line description translated in outputlangs and encoded in UTF8
  *  @param      object              Object
  *  @param      i                   Current line number
- *  @param      outputlang          Object lang for output
+ *  @param      outputlangs         Object langs for output
  *  @param      hideref             Hide reference
  *  @param      hidedesc            Hide description
  *  @param      issupplierline      Is it a line for a supplier object ?
@@ -814,7 +814,7 @@ function pdf_getlinedesc($object,$i,$outputlangs,$hideref=0,$hidedesc=0,$issuppl
  *	Return line num
  *	@param		object				Object
  *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *  @param    	outputlangs			Object langs for output
  */
 function pdf_getlinenum($object,$i,$outputlangs)
 {
@@ -854,8 +854,8 @@ function pdf_getlineref($object,$i,$outputlangs)
 /**
  *	Return line ref_supplier
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  */
 function pdf_getlineref_supplier($object,$i,$outputlangs)
 {
@@ -874,8 +874,8 @@ function pdf_getlineref_supplier($object,$i,$outputlangs)
 /**
  *	Return line vat rate
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -901,8 +901,8 @@ function pdf_getlinevatrate($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line unit price excluding tax
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -928,8 +928,8 @@ function pdf_getlineupexcltax($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line quantity
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -958,8 +958,8 @@ function pdf_getlineqty($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line quantity asked
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -988,8 +988,8 @@ function pdf_getlineqty_asked($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line quantity shipped
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -1018,8 +1018,8 @@ function pdf_getlineqty_shipped($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line keep to ship quantity
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -1048,8 +1048,8 @@ function pdf_getlineqty_keeptoship($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line remise percent
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -1080,8 +1080,8 @@ function pdf_getlineremisepercent($object,$i,$outputlangs,$hidedetails=0)
 /**
  *	Return line total excluding tax
  *	@param		object				Object
- *	@param		$i					Current line number
- *  @param    	outputlang			Object lang for output
+ *	@param		i					Current line number
+ *  @param    	outputlangs			Object langs for output
  *  @param		hidedetails			Hide value
  *  								0 = no
  *  								1 = yes
@@ -1115,7 +1115,7 @@ function pdf_getlinetotalexcltax($object,$i,$outputlangs,$hidedetails=0)
  *	Return total quantity of products and/or services
  *	@param		object				Object
  *	@param		type				Type of line (all=all, 0=product, 1=service, 9=other)
- *  @param    	outputlang			Object lang for output
+ *  @param    	outputlangs			Object langs for output
  */
 function pdf_getTotalQty($object,$type='',$outputlangs)
 {
diff --git a/htdocs/main.inc.php b/htdocs/main.inc.php
index 7054204a43f31e9e1eb2572d1b377713c6ca4952..8a406ab8f65fb1d02763744e5a4bb331af5231e1 100644
--- a/htdocs/main.inc.php
+++ b/htdocs/main.inc.php
@@ -26,7 +26,7 @@
  *	\file       htdocs/main.inc.php
  *	\ingroup	core
  *	\brief      File that defines environment for Dolibarr pages only (variables not required by scripts)
- *	\version    $Id: main.inc.php,v 1.748 2011/07/03 13:16:46 hregis Exp $
+ *	\version    $Id: main.inc.php,v 1.749 2011/07/04 08:53:01 eldy Exp $
  */
 
 @ini_set('memory_limit', '64M');	// This may be useless if memory is hard limited by your PHP
@@ -814,22 +814,22 @@ if (!empty($conf->global->MAIN_MODULE_MULTICOMPANY))
 
 // Functions
 
-/**
- *	Show HTML header HTML + BODY + Top menu + left menu + DIV
- * 	@param   	head			Add optionnal head lines
- *  @param      title   		Title of web page
- * 	@param      help_url		Url links to help page
- *                              Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage
- *                                         For other external page: http://server/url
- *  @param      target  		Target to use in menu links
- *	@param		disablejs		Do not output links to js (Ex: qd fonction utilisee par sous formulaire Ajax)
- *	@param		disablehead		Do not output head section
- *	@param		arrayofjs		Array of js files to add in header
- *	@param		arrayofcss		Array of css files to add in header
- *  @param		morequerystring Query string to add to the link "print" to get same parameters (use only if autodetect fails)
- */
 if (! function_exists("llxHeader"))
 {
+	/**
+	 *	Show HTML header HTML + BODY + Top menu + left menu + DIV
+	 * 	@param   	head			Add optionnal head lines
+	 *  @param      title   		Title of web page
+	 * 	@param      help_url		Url links to help page
+	 *                              Syntax is: For a wiki page: EN:EnglishPage|FR:FrenchPage|ES:SpanishPage
+	 *                                         For other external page: http://server/url
+	 *  @param      target  		Target to use in menu links
+	 *	@param		disablejs		Do not output links to js (Ex: qd fonction utilisee par sous formulaire Ajax)
+	 *	@param		disablehead		Do not output head section
+	 *	@param		arrayofjs		Array of js files to add in header
+	 *	@param		arrayofcss		Array of css files to add in header
+	 *  @param		morequerystring Query string to add to the link "print" to get same parameters (use only if autodetect fails)
+	 */
 	function llxHeader($head = '', $title='', $help_url='', $target='', $disablejs=0, $disablehead=0, $arrayofjs='', $arrayofcss='', $morequerystring='')
 	{
 		top_htmlhead($head, $title, $disablejs, $disablehead, $arrayofjs, $arrayofcss);	// Show html headers