X-Git-Url: http://git.cyclocoop.org/?p=velocampus%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Fexec%2Fconvert_sql_utf8.php;fp=www%2Fecrire%2Fexec%2Fconvert_sql_utf8.php;h=c7a2db503e7cae08b72d8326be28e67b3be72d83;hp=0000000000000000000000000000000000000000;hb=80b4d3e85f78d402ed2e73f8f5d1bf4c19962eed;hpb=aaf970bf4cdaf76689ecc10609048e18d073820c diff --git a/www/ecrire/exec/convert_sql_utf8.php b/www/ecrire/exec/convert_sql_utf8.php new file mode 100644 index 0000000..c7a2db5 --- /dev/null +++ b/www/ecrire/exec/convert_sql_utf8.php @@ -0,0 +1,65 @@ +"); + if ($utf8_supporte) + $res .= _L("Votre serveur supporte utf-8, vous devriez convertir votre site en utf-8 avant de recommencer cette operation"); + echo minipres($action, $res); + } else { + + $commentaire = ""; + //$commentaire = _T('utf8_convert_avertissement', + // array('orig' => $charset_orig,'charset' => 'utf-8')); + $commentaire .= "" + . http_img_pack('warning.gif', _T('info_avertissement'), "style='width: 48px; height: 48px; float: right;margin: 10px;'"); + $commentaire .= _T('utf8_convert_backup', array('charset' => 'utf-8')) + .""; + $commentaire .= '
'._T('utf8_convert_timeout'); + $commentaire .= "
\n"; + + $admin = charger_fonction('admin', 'inc'); + echo $admin('convert_sql_utf8', $action, $commentaire); + } + } +} +?>