diff --git a/ecrire/inc_brouteur.php b/ecrire/inc_brouteur.php index 03eaa295c522cdc1b0eadb6b0b87c45af0a2caa9..88cc2fb719c3238e1d63af0aefc7eaa74d869459 100644 --- a/ecrire/inc_brouteur.php +++ b/ecrire/inc_brouteur.php @@ -111,17 +111,18 @@ function brouteur_dist() echo "<tr width='$largeur_table'>"; - + for ($i=0; $i < $nb_col; $i++) { echo "<td valign='top' width='$largeur_col'>"; - echo "<iframe width='100%' id='iframe$i' name='iframe$i' src='brouteur_frame.php3?id_rubrique=".$dest[$i]."&frame=$i' class='iframe-bouteur' height='$hauteur_table'></iframe>"; + echo "<iframe width='100%' id='iframe$i' name='iframe$i' src=", + http_php_script('brouteur_frame',"id_rubrique=".$dest[$i]."&frame=$i'"), + "class='iframe-bouteur' height='$hauteur_table'></iframe>"; echo "</td>"; - } - + fin_page(); } ?> diff --git a/ecrire/inc_minipres.php b/ecrire/inc_minipres.php index 60048415d8846c80df99ed60f8df210332e20e4e..e145f17a739c657056fb8a700cd99e6baa8d4865 100644 --- a/ecrire/inc_minipres.php +++ b/ecrire/inc_minipres.php @@ -26,20 +26,20 @@ function install_debut_html($titre = 'AUTO') { include_ecrire('inc_headers'); http_no_cache(); - echo _DOCTYPE_ECRIRE . - "<html lang='".$GLOBALS['spip_lang']. - "' dir='".($GLOBALS['spip_lang_rtl'] ? 'rtl' : 'ltr')."'>\n" . - "<head>\n" . - "<title>$titre</title>\n" . - '<link rel="stylesheet" type="text/css" href="' . - _DIR_RESTREINT . - 'spip_style.php3?couleur_claire=' . - urlencode('#FFCC66') . - '&couleur_foncee=' . - urlencode('#000000') . - '&left=' . - $GLOBALS['spip_lang_left'] . - "\" > + echo _DOCTYPE_ECRIRE , + "<html lang='",$GLOBALS['spip_lang'], + "' dir='",($GLOBALS['spip_lang_rtl'] ? 'rtl' : 'ltr'),"'>\n" , + "<head>\n" , + "<title>$titre</title>\n" , + '<link rel="stylesheet" type="text/css" href=' , + http_php_script(_DIR_RESTREINT . 'spip_style', + "couleur_claire=" . + urlencode('#FFCC66') . + '&couleur_foncee=' . + urlencode('#000000') . + '&left=' . + $GLOBALS['spip_lang_left']) , + "> <style type='text/css'> <!-- a {text-decoration: none; } @@ -48,8 +48,8 @@ function install_debut_html($titre = 'AUTO') { </head> <body bgcolor='#FFFFFF' text='#000000' link='#E86519' vlink='#6E003A' alink='#FF9900'> <center><table style='margin-top:50px; width: 450px'> -<tr><th style='color: #970038;text-align: left;font-family: Verdana; font-weigth: bold; font-size: 18px'>". - $titre . +<tr><th style='color: #970038;text-align: left;font-family: Verdana; font-weigth: bold; font-size: 18px'>", + $titre , "</th></tr> <tr><td class='serif'>"; }