diff --git a/htdocs/langs/ar_AR/admin.lang b/htdocs/langs/ar_AR/admin.lang index 375091115938014914fdb2cfb4bb9061e14a0423..85c292e2fc970bd44354b5f0ce92e685a9f3087a 100644 --- a/htdocs/langs/ar_AR/admin.lang +++ b/htdocs/langs/ar_AR/admin.lang @@ -130,7 +130,6 @@ RunCommandSummary=النسخ الاحتياطي وسيتم ذلك من خلال WebServerMustHavePermissionForCommand=مركز خدمة الويب الخاص بك يجب أن يكون التصريح اللازم لتشغيل هذه الأوامر BackupResult=ونتيجة لالاحتياطية BackupFileSuccessfullyCreated=ملف النسخة الاحتياطية بنجاح المتولدة -YouCanDownloadBackupFile=ولدت الملفات ويمكن الآن downlaoded NoBackupFileAvailable=أي ملفات احتياطية. ExportMethod=طريقة التصدير ImportMethod=طريقة الاستيراد diff --git a/htdocs/langs/da_DA/admin.lang b/htdocs/langs/da_DA/admin.lang index 15d8d990b1b28a7aff6ec57e6d07bbe2c4ef6e74..d49c99748f99b045f8a3965b8c5cf03f93df81b5 100644 --- a/htdocs/langs/da_DA/admin.lang +++ b/htdocs/langs/da_DA/admin.lang @@ -125,7 +125,6 @@ RunCommandSummary=Backup vil ske ved hjælp af følgende kommando WebServerMustHavePermissionForCommand=Webserveren skal have tilladelse til at køre disse kommandoer BackupResult=Backup resultat BackupFileSuccessfullyCreated=Backup filen genereret -YouCanDownloadBackupFile=Genererede filer kan nu downlaoded NoBackupFileAvailable=Nr. backup filer til rådighed. ExportMethod=Eksporter metode ImportMethod=Import metode diff --git a/htdocs/langs/de_DE/admin.lang b/htdocs/langs/de_DE/admin.lang index f410c2685ee7fa9939c4150554280ebd41371a9d..eeae86b5fb19ad67455c453917e6e3854605b9cd 100644 --- a/htdocs/langs/de_DE/admin.lang +++ b/htdocs/langs/de_DE/admin.lang @@ -123,7 +123,6 @@ RunCommandSummary=Backup wird durch den folgenden Befehl ein WebServerMustHavePermissionForCommand=Ihr Web-Server muss die Berechtigung zum Ausführen solcher Befehle BackupResult=Backup-Ergebnis BackupFileSuccessfullyCreated=Backup-Datei erfolgreich erzeugt -YouCanDownloadBackupFile=Generierte Dateien können nun downlaoded NoBackupFileAvailable=Keine Backup-Dateien zur Verfügung. ExportMethod=Export-Methode ImportMethod=Import-Methode diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index fc107c93505438e5482bd5b654a8f44140d1e7b3..4d08061cb9031009715978e1a1c2939ba912d149 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -132,7 +132,7 @@ RunCommandSummary=Backup will be done through the following command WebServerMustHavePermissionForCommand=Your web server must have the permission to run such commands BackupResult=Backup result BackupFileSuccessfullyCreated=Backup file successfully generated -YouCanDownloadBackupFile=Generated files can now be downlaoded +YouCanDownloadBackupFile=Generated files can now be downloaded NoBackupFileAvailable=No backup files available. ExportMethod=Export method ImportMethod=Import method @@ -255,7 +255,7 @@ DisableLinkToHelp=Hide link "<b>%s Online help</b>" on left menu AddCRIfTooLong=There is no automatic wrapping, so if line is out of page on documents because too long, you must add yourself carriage returns in the textarea. ModuleDisabled=Module disabled ModuleDisabledSoNoEvent=Module disabled so event never created -ConfirmPurge=Are you sure you want to execute this purge ?<br>This will delete definitely all your file data with no way to restore them (ECM files, attached files...). +ConfirmPurge=Are you sure you want to execute this purge ?<br>This will delete definitely all your data files with no way to restore them (ECM files, attached files...). MinLength=Minimum length # Modules @@ -711,13 +711,15 @@ NoEventFoundWithCriteria=No security event has been found for such search criter SeeLocalSendMailSetup=See your local sendmail setup BackupDesc=To make a complete backup of Dolibarr, you must: BackupDesc2=* Save content of documents directory (<b>%s</b>) that contains all uploaded and generated files (you can make a zip for example). -BackupDesc3=* Save content of your database with a dump. for this, you can use following assistant. +BackupDesc3=* Save content of your database into a dump file. for this, you can use following assistant. BackupDescX=Archived directory should be stored in a secure place. BackupDescY=The generated dump file should be stored in a secure place. RestoreDesc=To restore a Dolibarr backup, you must: RestoreDesc2=* Restore archive file (zip file for example) of documents directory to extract tree of files in documents directory of a new Dolibarr installation or into this current documents directoy (<b>%s</b>). RestoreDesc3=* Restore the data, from a backup dump file, into the database of the new Dolibarr installation or into the database of this current installation. Warning, once restore is finished, you must use a login/password, that existed when backup was made, to connect again. To restore a backup database into this current installation, you can follow this assistant. ForcedToByAModule = This rule is forced to <b>%s</b> by an activated module +PreviousDumpFiles=Available database backup dump files +WeekStartOnDay=First day of week ##### Module password generation PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase. diff --git a/htdocs/langs/en_US/errors.lang b/htdocs/langs/en_US/errors.lang index e04a3b81df59a74e4f7f45b8cd2d66415a86ce9b..514a4e2f94b5c41839435c44e8f8f9f12f1a201e 100644 --- a/htdocs/langs/en_US/errors.lang +++ b/htdocs/langs/en_US/errors.lang @@ -49,3 +49,4 @@ ErrorPleaseTypeBankTransactionReportName=Please type bank receipt name where tra ErrorRecordHasChildren=Failed to delete records since it has some childs. WarningConfFileMustBeReadOnly=Warning, your config file (<b>htdocs/conf/conf.php</b>) can be overwritten by the web server. This is a serious security hole. Modify permissions on file to be in read only mode for operating system user used by Web server. If you use Windows and FAT format for your disk, you must know that this file system does not allow to add permissions on file, so can't be completely safe. ErrorModuleRequireJavascript=Javascript must not be disabled to have this feature working. To enable/disable Javascript, go to menu Home->Setup->Display. +ErrorPasswordsMustMatch=Both typed passwords must match each other \ No newline at end of file diff --git a/htdocs/langs/en_US/main.lang b/htdocs/langs/en_US/main.lang index 76b79c76da77300e1fafc3e0f2b5b0e27d004d87..ea663d2fb15da146f92194d1a0b67048103cb727 100644 --- a/htdocs/langs/en_US/main.lang +++ b/htdocs/langs/en_US/main.lang @@ -529,6 +529,9 @@ PrintContentArea=Show page to print main content area NoMenu=No sub-menu WarningYouAreInMaintenanceMode=Warning, you are in a maintenance mode, so only login <b>%s</b> is allowed to use application at the moment. CreditCard=Credit card +FieldsWithAreMandatory=Fields with <b>%s</b> are mandatory +FieldsWithIsForPublic=Fields with <b>%s</b> are shown on public list of members. If you don't want this, check the "public" box. + # Week day Day1=Monday Day2=Tuesday diff --git a/htdocs/langs/fi_FI/admin.lang b/htdocs/langs/fi_FI/admin.lang index 687c90d92048fc6b2e2f2096f0296efd0f920876..b987e580e92e55916c4d6e4f6409171b2102af88 100644 --- a/htdocs/langs/fi_FI/admin.lang +++ b/htdocs/langs/fi_FI/admin.lang @@ -123,7 +123,6 @@ RunCommandSummary=Varmuuskopiointi tapahtuu seuraava komento WebServerMustHavePermissionForCommand=Web-palvelin on lupa suorittaa tällaisia komentoja BackupResult=Backup tulos BackupFileSuccessfullyCreated=Backup tiedoston onnistuneesti luotu -YouCanDownloadBackupFile=Muodostettu tiedostot voidaan nyt downlaoded NoBackupFileAvailable=N: o backup-tiedostoja on saatavilla. ExportMethod=Vienti menetelmä ImportMethod=Tuo menetelmä diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index e9dabca381ea7406db1ebd72e4423821ed0dc9ad..2ac57f8a6424b3135171bf86c6cbf2c758f4a5d1 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -718,6 +718,8 @@ RestoreDesc = Pour restaurer une sauvegarde de Dolibarr, vous devez: RestoreDesc2 = * Reprendre le fichier archive (fichier zip par exemple) du répertoire documents et en extraire l'arborescence dans le répertoire documents d'une nouvelle installation de dolibarr ou dans le répertoire documents de cette installation (<b>%s</b>). RestoreDesc3 = * Recharger depuis le fichier dump sauvegardé, la base de donnée d'une nouvelle installation de Dolibarr ou de cette installation. Attention, une fois la restauration faite, il faudra utiliser un login/mot de passe administrateur existant à l'époque de la sauvegarde pour se connecter. Pour restaurer la base dans l'installation actuelle, vous pouvez utilisez l'assistant suivant. ForcedToByAModule = Cette règle est forcée à <b>%s</b> par un des modules activés +PreviousDumpFiles=Fichiers disponibles de sauvegarde de la base de donnée +WeekStartOnDay=Premier jour de la semaine ##### Module password generation = undefined PasswordGenerationStandard = Renvoie un mot de passe généré selon algorithme interne Dolibarr: 8 caractères, chiffres et caractères en minuscules mélangés. diff --git a/htdocs/langs/fr_FR/errors.lang b/htdocs/langs/fr_FR/errors.lang index 32a9c21fca975b2ef6c257639262e118763163bb..aad9c37e9febe0640c14215600403bb94f796581 100644 --- a/htdocs/langs/fr_FR/errors.lang +++ b/htdocs/langs/fr_FR/errors.lang @@ -50,4 +50,4 @@ ErrorPleaseTypeBankTransactionReportName=Veuiller saisir le nom de relevé banca ErrorRecordHasChildren=Impossible de supprimer l'enregistrement car il possède des fils. WarningConfFileMustBeReadOnly=Attention, votre fichier de configuration (<b>htdocs/conf/conf.php</b>) est accessible en écriture au serveur Web. Ceci représente une faille sérieuse de sécurité. Modifier les permissions pour qu'il soit en lecture seule pour le compte sous lequel tourne le serveur Web.<br>Si vous êtes sous Windows sur un disque dur utilisant un formatage FAT, sachez que ce système de fichier ne permet pas de protéger des fichiers et n'offre donc aucune solution pour réduire les risques de manipulation de ce fichier. ErrorModuleRequireJavascript=Le javascript ne doit pas etre désactivé pour que cette fonctionnalité soit utilisable. Pour activer/désactiver l'utilisation de javascript, aller dans le menu Accueil->Configuration->Affichage. - \ No newline at end of file +ErrorPasswordsMustMatch=Les 2 mots de passe saisis doivent correspondre \ No newline at end of file diff --git a/htdocs/langs/fr_FR/main.lang b/htdocs/langs/fr_FR/main.lang index 9cca8ee69832c81bb00bb5221d725c48502667e4..aa7a4e239ec3e93bed1e4b3bfe933f5b39dbe3a1 100644 --- a/htdocs/langs/fr_FR/main.lang +++ b/htdocs/langs/fr_FR/main.lang @@ -528,6 +528,9 @@ PrintContentArea=Afficher page d'impression de la zone centrale NoMenu=Aucun sous-menu WarningYouAreInMaintenanceMode=Attention, vous êtes en mode maintenance, aussi seul le login <b>%s</b> est autorisé à utiliser l'application en ce moment. CreditCard=Carte de crédit +FieldsWithAreMandatory=Les champs marqués par un <b>%s</b> sont obligatoires +FieldsWithIsForPublic=Les champs marqués par <b>%s</b> seront affiches sur la liste publique des membres. Si vous ne le souhaitez pas, décochez la case "public". + # Week day Day1=Lundi Day2=Mardi diff --git a/htdocs/langs/it_IT/admin.lang b/htdocs/langs/it_IT/admin.lang index 3d2a0dca6b675b6ff7339be608bdcd45222cd877..76f2a537e2ee8e6a1e36bc7376f1b28332bdad27 100644 --- a/htdocs/langs/it_IT/admin.lang +++ b/htdocs/langs/it_IT/admin.lang @@ -105,7 +105,6 @@ RunCommandSummary =Backup sar� realizzato attraverso il seguente coma WebServerMustHavePermissionForCommand =Il tuo server web devono avere il permesso di eseguire tali comandi BackupResult =Backup risultato BackupFileSuccessfullyCreated =File di backup generati con successo -YouCanDownloadBackupFile =File generati possono ora essere downlaoded NoBackupFileAvailable =Nessun file di backup disponibile. ExportMethod =Metodo di esportazione ImportMethod =Importa metodo diff --git a/htdocs/langs/nl_NL/admin.lang b/htdocs/langs/nl_NL/admin.lang index 310be06fab004ff63ff3524888854a6eedaa1467..01f3820d6a57b006c1b3b844c885471229f6e3ae 100644 --- a/htdocs/langs/nl_NL/admin.lang +++ b/htdocs/langs/nl_NL/admin.lang @@ -125,7 +125,6 @@ RunCommandSummary=Back-up zal worden gedaan door het volgende commando WebServerMustHavePermissionForCommand=Uw webserver moet de toestemming te lopen zo'n commando BackupResult=Backup resultaat BackupFileSuccessfullyCreated=Backup-bestand gegenereerd met succes -YouCanDownloadBackupFile=Gegenereerde bestanden kunnen nu worden downlaoded NoBackupFileAvailable=Geen backup-bestanden beschikbaar. ExportMethod=Export methode ImportMethod=Import methode diff --git a/htdocs/langs/pl_PL/admin.lang b/htdocs/langs/pl_PL/admin.lang index 198496e977e6f9a8f9fe9787c84fe516efa63295..4d8c595171d68cce8d4dd92efad306f752727cfb 100644 --- a/htdocs/langs/pl_PL/admin.lang +++ b/htdocs/langs/pl_PL/admin.lang @@ -125,7 +125,6 @@ RunCommandSummary=Kopia zapasowa zostanie wykonana za pomocą następującego po WebServerMustHavePermissionForCommand=Twój serwer WWW musi mieć pozwolenie na uruchomienie takiego polecenia BackupResult=Backup wynik BackupFileSuccessfullyCreated=Tworzenie kopii zapasowych plików generowanych pomyślnie -YouCanDownloadBackupFile=Wygenerowano plików można teraz downlaoded NoBackupFileAvailable=Nr kopii zapasowych plików. ExportMethod=Eksport metody ImportMethod=Import metody diff --git a/htdocs/langs/ro_RO/admin.lang b/htdocs/langs/ro_RO/admin.lang index 289165768f277964016c8c390c575f2e15a3616c..19dd9407357e5db661bcbdf7177dbf8b8ce4827e 100644 --- a/htdocs/langs/ro_RO/admin.lang +++ b/htdocs/langs/ro_RO/admin.lang @@ -123,7 +123,6 @@ RunCommandSummary=Copie de rezervă se va face prin următoarea comandă WebServerMustHavePermissionForCommand=Serverul de web trebuie să aibă permisiunea de a rula astfel de comenzi BackupResult=Backup rezultat BackupFileSuccessfullyCreated=Backup fişier cu succes a generat -YouCanDownloadBackupFile=Generat fişiere pot fi acum downlaoded NoBackupFileAvailable=Nu de rezervă fişiere disponibile. ExportMethod=Export metodă ImportMethod=Import metodă diff --git a/htdocs/langs/ru_RU/admin.lang b/htdocs/langs/ru_RU/admin.lang index cb746730a32f0787e7c0b6619b755897c5b33653..949dabcf7033f87c7828cc362799fe1b18277bde 100644 --- a/htdocs/langs/ru_RU/admin.lang +++ b/htdocs/langs/ru_RU/admin.lang @@ -123,7 +123,6 @@ RunCommandSummary=Резервное копирование будет осущ WebServerMustHavePermissionForCommand=Ваш веб-сервер должен иметь разрешение на проведение таких команд BackupResult=Backup результат BackupFileSuccessfullyCreated=Резервное копирование файлов успешно порожденные -YouCanDownloadBackupFile=Сгенерирована файлов теперь можно downlaoded NoBackupFileAvailable=Нет файлов резервной копии. ExportMethod=Экспорт метод ImportMethod=Импорт метод diff --git a/htdocs/public/members/new.php b/htdocs/public/members/new.php index 45921f0e3649fbdfdbd37ecb2f0c1ddb332dde16..25916b8cb37f29d8a0beaaba7ac58e8a857785d5 100644 --- a/htdocs/public/members/new.php +++ b/htdocs/public/members/new.php @@ -21,7 +21,7 @@ /** * \file htdocs/public/members/new.php * \ingroup adherent - * \brief Form example to add a new member + * \brief Example of form to add a new member * \version $Id$ */ @@ -41,7 +41,7 @@ if (empty($conf->adherent->enabled)) accessforbidden('',1,1,1); $langs->load("main"); $langs->load("members"); $langs->load("companies"); - +$langs->load("install"); // Function for page HTML header function llxHeaderVierge($title, $head = "") @@ -104,11 +104,12 @@ if ($_POST["action"] == 'add') if ($num !=0) { $error+=1; - $errmsg .= $langs->trans("ErrorLoginAlreadyUsed")."<br>\n"; + $errmsg .= $langs->trans("ErrorLoginAlreadyExists")."<br>\n"; } if (!isset($_POST["pass1"]) || !isset($_POST["pass2"]) || $_POST["pass1"] == '' || $_POST["pass2"] == '' || $_POST["pass1"]!=$_POST["pass2"]) { $error+=1; + $langs->load("errors"); $errmsg .= $langs->trans("ErrorPasswordsMustMatch")."<br>\n"; } if (isset($_POST["naiss"]) && $_POST["naiss"] !='') @@ -209,10 +210,10 @@ if (isset($_GET["action"]) && $_GET["action"] == 'added') * View */ -llxHeaderVierge("New member form"); +llxHeaderVierge($langs->trans("NewSubscription")); $html = new Form($db); -print_titre($langs->trans("NewMember")); +print_titre($langs->trans("NewSubscription")); $adht = new AdherentType($db); $adho = new AdherentOptions($db); @@ -224,7 +225,7 @@ if ($errmsg != '') { print '<br>'; print '<table cellspacing="0" border="1" width="100%" cellpadding="3">'; - print '<th>Erreur dans le formulaire</th>'; + print '<th>'.$langs->trans("Error").'</th>'; print '<tr><td class="delete"><b>'.$errmsg.'</b></td></tr>'."\n"; // print "<FONT COLOR=\"red\">$errmsg</FONT>\n"; print '</table>'; @@ -235,10 +236,8 @@ if (defined("ADH_TEXT_NEW_ADH") && ADH_TEXT_NEW_ADH !='') print ADH_TEXT_NEW_ADH; print "<BR>\n"; } -print '<ul>'; -print '<li> Les champs Commencant par un <FONT COLOR="red">*</FONT> sont obligatoire'; -print '<li> Les champs Commencant par un <FONT COLOR="blue">*</FONT> seront affiche sur la liste publique des membres. Si vous ne souhaite pas cela <b>DECOCHEZ</b> la case public ci dessous'; -print "</ul><BR>\n"; +print '<br>'.$langs->trans("FieldsWithAreMandatory",'*').'<br>'; +print $langs->trans("FieldsWithIsForPublic",'**').'<br>'; print "<form action=\"new.php\" method=\"POST\">\n"; print '<input type="hidden" name="token" value="'.$_SESSION['newtoken'].'">'; @@ -249,35 +248,39 @@ print '<table cellspacing="0" border="1" width="100%" cellpadding="3">'."\n"; print '<tr><td width="15%">'.$langs->trans("Type").'</td><td width="35%">'; $html->select_array("type", $adht->liste_array()); print "</td>\n"; +print '</tr>'."\n"; -print '<td width="50%" valign="top">'.$langs->trans("Comments").' :</td></tr>'."\n"; - -$morphys["phy"] = "Physique"; -$morphys["mor"] = "Morale"; +$morphys["phy"] = $langs->trans("Physical"); +$morphys["mor"] = $langs->trans("Moral"); print '<tr><td>'.$langs->trans("MorPhy")."</td><td>\n"; $html->select_array("morphy", $morphys); print "</td>\n"; +print '</tr>'; -print '<td valign="top" rowspan="14"><textarea name="comment" wrap="soft" cols="40" rows="25">'.$comment.'</textarea></td></tr>'."\n"; - -print '<tr><td><FONT COLOR="red">*</FONT> <FONT COLOR="blue">*</FONT> '.$langs->trans("Surname").'</td><td><input type="text" name="prenom" size="40" value="'.$prenom.'"></td></tr>'."\n"; - -print '<tr><td><FONT COLOR="red">*</FONT> <FONT COLOR="blue">*</FONT> '.$langs->trans("Name").'</td><td><input type="text" name="nom" size="40" value="'.$nom.'"></td></tr>'."\n"; +print '<tr><td><FONT COLOR="red">*</FONT> <FONT COLOR="blue">**</FONT> '.$langs->trans("Surname").'</td><td><input type="text" name="prenom" size="40" value="'.$prenom.'"></td></tr>'."\n"; +print '<tr><td><FONT COLOR="red">*</FONT> <FONT COLOR="blue">**</FONT> '.$langs->trans("Name").'</td><td><input type="text" name="nom" size="40" value="'.$nom.'"></td></tr>'."\n"; print '<tr><td>'.$langs->trans("ThirdParty").'</td><td><input type="text" name="societe" size="40" value="'.$societe.'"></td></tr>'."\n"; print '<tr><td>'.$langs->trans("Address").'</td><td>'."\n"; print '<textarea name="adresse" wrap="soft" cols="40" rows="3">'.$adresse.'</textarea></td></tr>'."\n"; print '<tr><td>'.$langs->trans("Zip").'/'.$langs->trans("Town").'</td><td><input type="text" name="cp" size="8" value="'.$cp.'"> <input type="text" name="ville" size="40" value="'.$ville.'"></td></tr>'."\n"; print '<tr><td>'.$langs->trans("Country").'</td><td><input type="text" name="pays" size="40" value="'.$pays.'"></td></tr>'."\n"; -print '<tr><td><FONT COLOR="red">*</FONT> <FONT COLOR="blue">*</FONT> Email</td><td><input type="text" name="email" size="40" value="'.$email.'"></td></tr>'."\n"; +print '<tr><td><FONT COLOR="red">*</FONT> <FONT COLOR="blue">**</FONT> Email</td><td><input type="text" name="email" size="40" value="'.$email.'"></td></tr>'."\n"; print '<tr><td><FONT COLOR="red">*</FONT> '.$langs->trans("Login").'</td><td><input type="text" name="login" size="40" value="'.$login.'"></td></tr>'."\n"; -print '<tr><td><FONT COLOR="red">*</FONT> '.$langs->trans("Password").'</td><td><input type="password" name="pass1" size="40"><BR><input type="password" name="pass2" size="40"></td></tr>'."\n"; +print '<tr><td><FONT COLOR="red">*</FONT> '.$langs->trans("Password").'</td><td><input type="password" name="pass1" size="40"></td></tr>'."\n"; +print '<tr><td><FONT COLOR="red">*</FONT> '.$langs->trans("PasswordAgain").'</td><td><input type="password" name="pass2" size="40"></td></tr>'."\n"; print '<tr><td>Date de naissance<BR>Format AAAA-MM-JJ</td><td><input type="text" name="naiss" size="40" value="'.$naiss.'"></td></tr>'."\n"; -print '<tr><td><FONT COLOR="blue">*</FONT> URL Photo</td><td><input type="text" name="photo" size="40" value="'.$photo.'"></td></tr>'."\n"; +print '<tr><td><FONT COLOR="blue">**</FONT> URL Photo</td><td><input type="text" name="photo" size="40" value="'.$photo.'"></td></tr>'."\n"; print '<tr><td>'.$langs->trans("Public").' ?</td><td><input type="checkbox" name="public" value="1" checked></td></tr>'."\n"; foreach($adho->attribute_label as $key=>$value){ print "<tr><td>$value</td><td><input type=\"text\" name=\"options_$key\" size=\"40\"></td></tr>"."\n"; } -print '<tr><td colspan="2" align="center"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>'."\n"; +print '<tr>'; +print '<td valign="top">'.$langs->trans("Comments").' :</td>'; +print '<td valign="top"><textarea name="comment" wrap="soft" cols="60" rows="'.ROWS_5.'">'.$comment.'</textarea></td>'; +print '</tr>'."\n"; + +print '<tr><td align="center" colspan="2"><input type="submit" value="'.$langs->trans("Save").'"></td></tr>'."\n"; + print "</table>\n"; print "</form>\n";