Skip to content
Extraits de code Groupes Projets
Valider 4c8c6671 rédigé par esj's avatar esj
Parcourir les fichiers

la restauration ne fonctionnait plus (faudrait trouver qqch permettant de...

la restauration ne fonctionnait plus (faudrait trouver qqch permettant de prevenir que le choix get/post peut ne pas etre indifferent au 2e coup, meme si le premier semble ok).
parent 83a77023
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -32,22 +32,22 @@ function debut_admin($action, $commentaire='') { ...@@ -32,22 +32,22 @@ function debut_admin($action, $commentaire='') {
} }
if ($commentaire) { if ($commentaire) {
include_ecrire ("inc_texte"); include_ecrire ("inc_texte");
$commentaire = ("<p>".propre($commentaire)."</p>"); $commentaire = ("\n<p>".propre($commentaire)."</p>\n");
} }
include_ecrire ("inc_minipres"); include_ecrire ("inc_minipres");
minipres(_T('info_action', array('action' => $action)), minipres(_T('info_action', array('action' => $action)),
$commentaire $commentaire
. $clean_link->getForm('POST') . $clean_link->getForm('POST')
. "<P><B>"._T('info_authentification_ftp')."</B>" . "\n<p><b>"._T('info_authentification_ftp')."</b>"
. aide("ftp_auth") . aide("ftp_auth")
. "<P>" . "\n<p>"
. _T('info_creer_repertoire') . _T('info_creer_repertoire')
. "<P align='center'><INPUT TYPE='text' NAME='fichier' CLASS='fondl' VALUE=\"". . "\n<p align='center'>\n<INPUT TYPE='text' NAME='fichier' CLASS='fondl' VALUE=\"".
$fichier $fichier
. "\" size='30'>" . "\" size='30'>"
. "<P> " . "\n<p>"
. _T('info_creer_repertoire_2', array('repertoire' => _DIR_SESSIONS)) . _T('info_creer_repertoire_2', array('repertoire' => _DIR_SESSIONS))
. "<P align='right'><INPUT TYPE='submit' VALUE='" . "\n<p align='right'><INPUT TYPE='submit' VALUE='"
. _T('bouton_recharger_page') . _T('bouton_recharger_page')
. "' CLASS='fondo'>" . "' CLASS='fondo'>"
. "</form>"); . "</form>");
......
...@@ -86,15 +86,6 @@ echo "</TABLE>"; ...@@ -86,15 +86,6 @@ echo "</TABLE>";
// Restauration de la base // Restauration de la base
// //
echo "<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=8 WIDTH=\"100%\">",
"<TR><TD BGCOLOR='#EEEECC' BACKGROUND=''><B>",
"<FONT FACE='Verdana,Arial,Sans,sans-serif' SIZE=3 COLOR='#000000'>",
_T('texte_restaurer_base')."</FONT></B></TD></TR>",
"<TR><td class='serif'>",
generer_url_post_ecrire("import_all"),
"\n<p align='justify'> ",
_T('texte_restaurer_sauvegarde');
if ($flag_gz) { if ($flag_gz) {
$fichier_defaut = 'dump.xml.gz'; $fichier_defaut = 'dump.xml.gz';
$texte_compresse = _T('texte_compresse_ou_non')."&nbsp;"; $texte_compresse = _T('texte_compresse_ou_non')."&nbsp;";
...@@ -104,12 +95,20 @@ else { ...@@ -104,12 +95,20 @@ else {
$texte_compresse = _T('texte_non_compresse')."&nbsp;"; $texte_compresse = _T('texte_non_compresse')."&nbsp;";
} }
echo "\n<p>"._T('entree_nom_fichier', array('texte_compresse' => $texte_compresse)), echo "<TABLE BORDER=0 CELLSPACING=1 CELLPADDING=8 WIDTH=\"100%\">",
"\n<p><FONT SIZE=3><ul><INPUT TYPE='text' NAME='archive' VALUE='$fichier_defaut' SIZE='30'></ul></FONT>"; "<TR><TD BGCOLOR='#EEEECC' BACKGROUND=''><B>",
"<FONT FACE='Verdana,Arial,Sans,sans-serif' SIZE=3 COLOR='#000000'>",
echo "\n<p><DIV align='right'><INPUT CLASS='fondo' TYPE='submit' VALUE='"._T('bouton_restaurer_base')."'></DIV></FORM>"; _T('texte_restaurer_base')."</FONT></B></TD></TR>",
"<TR><td class='serif'>\n",
echo "</td></tr>", "<form method='get' action='",
generer_url_ecrire("import_all"),
"'>\n<p align='justify'> ",
_T('texte_restaurer_sauvegarde'),
"\n<p>",
_T('entree_nom_fichier', array('texte_compresse' => $texte_compresse)),
"\n<p><FONT SIZE=3><ul><INPUT TYPE='text' NAME='archive' VALUE='$fichier_defaut' SIZE='30'></ul></FONT>",
"\n<p><DIV align='right'><INPUT CLASS='fondo' TYPE='submit' VALUE='"._T('bouton_restaurer_base')."'></DIV></FORM>",
"\n</td></tr>",
"</TABLE>"; "</TABLE>";
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter