Skip to content
Snippets Groups Projects
Commit 38cec964 authored by Laurent Destailleur's avatar Laurent Destailleur
Browse files

Backup tools more clear.

parent 8d1ab708
No related branches found
No related tags found
No related merge requests found
<?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 ' &nbsp; &nbsp; ';
}
......
......@@ -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.
......
......@@ -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.
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment