diff --git a/htdocs/admin/tools/dolibarr_export.php b/htdocs/admin/tools/dolibarr_export.php index ed0ac4660fe4ea1df20eab685d2fa2439d76ad02..2a508ceedb14f117da1faec409631a7b57cc40a8 100644 --- a/htdocs/admin/tools/dolibarr_export.php +++ b/htdocs/admin/tools/dolibarr_export.php @@ -1,5 +1,5 @@ <?php -/* Copyright (C) 2006-2008 Laurent Destailleur <eldy@users.sourceforge.net> +/* Copyright (C) 2006-2009 Laurent Destailleur <eldy@users.sourceforge.net> * * This program is free software; you can redistribute it and/or modify * it under the terms of the GNU General Public License as published by @@ -32,7 +32,7 @@ $langs->load("admin"); if (! $user->admin) accessforbidden(); - + $html=new Form($db); $formfile = new FormFile($db); @@ -46,7 +46,11 @@ llxHeader(); print_fiche_titre($langs->trans("Backup"),'','setup'); print '<br>'; -print $langs->trans("DatabaseName").' : <b>'.$dolibarr_main_db_name.'</b><br>'; +print $langs->trans("BackupDesc",DOL_DOCUMENT_ROOT).'<br><br>'; +print $langs->trans("BackupDesc2",DOL_DOCUMENT_ROOT).'<br>'; +print $langs->trans("BackupDescX").'<br><br>'; +print $langs->trans("BackupDesc3",DOL_DOCUMENT_ROOT).'<br>'; +print $langs->trans("BackupDescX").'<br><br>'; print '<br>'; if ($_GET["msg"]) @@ -57,8 +61,6 @@ if ($_GET["msg"]) } -print_titre($langs->trans("NewBackup")).'<br>'; - ?> @@ -96,7 +98,7 @@ function show_checked_option() { // if (document.getElementById('radio_dump_csv')) { // document.getElementById('csv_options').style.display = 'block'; // } - + } //]]> @@ -108,6 +110,11 @@ function show_checked_option() { <!-- LDR --> <table><tr><td valign="top"> +<?php +print $langs->trans("DatabaseName").' : <b>'.$dolibarr_main_db_name.'</b><br>'; +print '<br>'; +?> + <div id="div_container_exportoptions"> <fieldset id="exportoptions"> <legend><?php echo $langs->trans("ExportMethod"); ?></legend> @@ -123,7 +130,7 @@ function show_checked_option() { <label for="radio_dump_mysql">MySQLDump</label> </div> -<!-- +<!-- <div class="formelementrow"> <input type="radio" name="what" value="latex" id="radio_dump_latex" onclick=" @@ -135,7 +142,7 @@ function show_checked_option() { <label for="radio_dump_latex">LaTeX</label> </div> - + <div class="formelementrow"> <input type="radio" name="what" value="pdf" id="radio_dump_pdf" onclick=" @@ -157,7 +164,7 @@ function show_checked_option() { /> <label for="radio_dump_csv">CSV</label> </div> - + <div class="formelementrow"> <input type="radio" name="what" value="xml" id="radio_dump_xml" onclick=" @@ -526,7 +533,7 @@ foreach($compression as $key => $val) print '<input type="radio" name="compression" value="'.$key.'" id="'.$val['id'].'" disabled="true">'; print ' <label for="'.$val['id'].'">'.$val['label'].'</label>'; print ' ('.$langs->trans("NotAvailable").')'; - } + } print ' '; } diff --git a/htdocs/langs/en_US/admin.lang b/htdocs/langs/en_US/admin.lang index 4490af700a178ee82018d1e204c42dcfdcb30fb8..80d1fcce44216a3d6937b96e3231579cd2562710 100644 --- a/htdocs/langs/en_US/admin.lang +++ b/htdocs/langs/en_US/admin.lang @@ -615,6 +615,10 @@ ParameterActiveForNextInputOnly=Parameter effective for next input only NoEventOrNoAuditSetup=No security event has been recorded yet. This can be normal if audit has not been enabled on "setup - security - audit" page. NoEventFoundWithCriteria=No security event has been found for such search criterias. SeeLocalSendMailSetup=See your local sendmail setup +BackupDesc=To make a complete backup of Dolibarr, you must: +BackupDesc2=* Save content of directory <b>%s</b> (you can make a zip of it for exeample) that contains all uplaoded and generated files. +BackupDesc3=* Save content of your database with a dump. for this, you can use following assistant. +BackupDescX=Built file should be stored in a secure place. ##### Module password generation PasswordGenerationStandard=Return a password generated according to internal Dolibarr algorithm: 8 characters containing shared numbers and characters in lowercase. PasswordGenerationNone=Do not suggest any generated password. Password must be type in manually. diff --git a/htdocs/langs/fr_FR/admin.lang b/htdocs/langs/fr_FR/admin.lang index 014286b02c9f0be627ddc1be5627305657739c4b..78fde8b278b4b4a22ce154deebff859906730701 100644 --- a/htdocs/langs/fr_FR/admin.lang +++ b/htdocs/langs/fr_FR/admin.lang @@ -614,6 +614,10 @@ ParameterActiveForNextInputOnly=Parametre effectif pour les prochaines saisies u NoEventOrNoAuditSetup=Aucun évenement d'audit de sécurité n'a été enregistré. Ceci peut etre normal si l'audit n'a pas été activé dans la configuration - sécurité - audit. NoEventFoundWithCriteria=Aucun évenement d'audit de sécurité trouvé avec ces critères. SeeLocalSendMailSetup=Voir votre config local de sendmail +BackupDesc=Pour réaliser une sauvegarde complète de Dolibarr, vous devez: +BackupDesc2=* Sauvegarder le contenu du répertoire <b>%s</b> (à zipper par exemple) qui contient tous les fichiers uploadés ou générés. +BackupDesc3=* Sauvegarder le contenu de votre base de données par un dump. Pour cela vous pouvez utiliser l'assistant ci-dessous. +BackupDescX=Le fichier fabriqué devra être placé en lieu sur. ##### Module password generation 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. PasswordGenerationNone=Ne propose pas de mots de passe générés. Le mot de passe est à saisir manuellement.