X-Git-Url: http://git.cyclocoop.org/?p=lhc%2Fweb%2Fwww.git;a=blobdiff_plain;f=www%2Fecrire%2Finc%2Finstall.php;h=e92ccd344f7ee2682001371d9542c0c3534955b6;hp=b348da6fe8feb9efa22696842ef036a449e2ee33;hb=122c920eb07e3f665789f8734965b576e6c25515;hpb=226942065cd4f604eb464addf45a065c9e5bc916 diff --git a/www/ecrire/inc/install.php b/www/ecrire/inc/install.php index b348da6f..e92ccd34 100644 --- a/www/ecrire/inc/install.php +++ b/www/ecrire/inc/install.php @@ -3,7 +3,7 @@ /***************************************************************************\ * SPIP, Systeme de publication pour l'internet * * * - * Copyright (c) 2001-2012 * + * Copyright (c) 2001-2014 * * Arnaud Martin, Antoine Pitrou, Philippe Riviere, Emmanuel Saint-James * * * * Ce programme est un logiciel libre distribue sous licence GNU/GPL. * @@ -467,20 +467,20 @@ function predef_ou_cache($adresse_db, $login_db, $pass_db, $server_db) { return ((defined('_INSTALL_HOST_DB')) ? '' - : "\n" + : "\n" ) . ((defined('_INSTALL_USER_DB')) ? '' - : "\n" + : "\n" ) . ((defined('_INSTALL_PASS_DB')) ? '' - : "\n" + : "\n" ) . ((defined('_INSTALL_SERVER_DB')) ? '' - : "\n" + : "\n" ); } @@ -494,7 +494,7 @@ function install_etape_liste_bases($server_db, $login_db, $disabled=array()) if (!$noms) return ''; foreach ($noms as $nom){ - $id = htmlspecialchars($nom); + $id = spip_htmlspecialchars($nom); $dis = in_array($nom, $disabled) ? " disabled='disabled'" : ''; $base = " name=\"choix_db\" value=\"" . $nom @@ -525,7 +525,7 @@ function install_propager($hidden) { $res = ''; foreach($hidden as $k) { - $v = htmlentities(_request($k)); + $v = spip_htmlentities(_request($k)); $res .= ""; } return $res;