diff --git a/ecrire/articles.php3 b/ecrire/articles.php3 index 26f797febf720364516c0184f30c467c6a7167da..f48cd22d887c721ae50331ba524cfc63157102b8 100644 --- a/ecrire/articles.php3 +++ b/ecrire/articles.php3 @@ -749,7 +749,7 @@ if ($soustitre) { if ($descriptif OR $url_site OR $nom_site) { - echo "<p><div align='left' style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4;' $dir_lang>"; + echo "<p><div align='$spip_lang_left' style='padding: 5px; border: 1px dashed #aaaaaa; background-color: #e4e4e4;' $dir_lang>"; echo "<font size=2 face='Verdana,Arial,Sans,sans-serif'>"; $texte_case = ($descriptif) ? "{{"._T('info_descriptif')."}} $descriptif\n\n" : ''; $texte_case .= ($nom_site.$url_site) ? "{{"._T('info_urlref')."}} [".$nom_site."->".$url_site."]" : ''; @@ -809,7 +809,7 @@ echo "</tr></table>\n"; echo "<div> </div>"; -echo "<div class='serif' align='left'>"; +echo "<div class='serif' align='$spip_lang_left'>"; // // Affichage date redac et date publi @@ -862,7 +862,7 @@ if ($flag_editable AND $options == 'avancees') { echo debut_block_invisible('dateredac'); echo "<div style='margin: 5px; margin-$spip_lang_left: 20px;'>"; echo '<table cellpadding="0" cellspacing="0" border="0" width="100%">'; - echo '<tr><td align="left">'; + echo '<tr><td align="$spip_lang_left">'; echo '<input type="radio" name="avec_redac" value="non" id="avec_redac_on"'; if ($annee_redac.'-'.$mois_redac.'-'.$jour_redac == '0000-00-00') echo ' checked="checked"'; echo " onClick=\"setvisibility('valider_date_prec', 'visible')\""; @@ -948,7 +948,7 @@ if ($creer_auteur AND $connect_statut=='0minirezo'){ // if ($cherche_auteur) { - echo "<P ALIGN='left'>"; + echo "<P ALIGN='$spip_lang_left'>"; $query = "SELECT id_auteur, nom FROM spip_auteurs"; $result = spip_query($query); unset($table_auteurs); @@ -1621,7 +1621,7 @@ echo "\n<div align='center'>"; icone(_T('icone_poster_message'), "forum_envoi.php3?statut=prive&adresse_retour=".$forum_retour."&id_article=$id_article&titre_message=".urlencode($titre), "forum-interne-24.gif", "creer.gif"); echo "</div>"; -echo "<P align='left'>"; +echo "<P align='$spip_lang_left'>"; $query_forum = "SELECT COUNT(*) AS cnt FROM spip_forum WHERE statut='prive' AND id_article='$id_article' AND id_parent=0"; diff --git a/ecrire/inc_documents.php3 b/ecrire/inc_documents.php3 index 02aa677295ade857a204cfdbc9aa081f5e255243..3fac935849b1e3fb6752828998268535a05ba295 100644 --- a/ecrire/inc_documents.php3 +++ b/ecrire/inc_documents.php3 @@ -876,7 +876,7 @@ function afficher_documents_non_inclus($id_article, $type = "article", $flag_mod echo "<p> </p>"; echo "<div align='right'>"; - echo "<table width='50%' cellpadding=0 cellspacing=0 border=0><tr><td style='text-align:left;'>"; + echo "<table width='50%' cellpadding=0 cellspacing=0 border=0><tr><td style='text-align: $spip_lang_left;'>"; echo debut_cadre_relief("image-24.gif", false, "", _T('titre_joindre_document')); diff --git a/ecrire/inc_presentation.php3 b/ecrire/inc_presentation.php3 index aac0e6ba031dcccc77e24391d810c50f157a5030..605c762bc6514131f724575f508e89e3d359438e 100644 --- a/ecrire/inc_presentation.php3 +++ b/ecrire/inc_presentation.php3 @@ -28,13 +28,16 @@ function aide($aide='') { if (!$aide OR $spip_display == 4) return; - return " <a class='aide' href=\"". _DIR_RESTREINT . - "aide_index.php3?aide=$aide&var_lang=$spip_lang\" target=\"spip_aide\" ". - "onclick=\"javascript:window.open(this.href, 'spip_aide', 'scrollbars=yes, ". - "resizable=yes, width=740, height=580'); return false;\">" . - http_img_pack("aide.gif" ,_T('info_image_aide'), - "title=\""._T('titre_image_aide')."\" width=\"12\" height=\"12\" border=\"0\" align=\"middle\"") . - "</a>"; + return " <a class='aide' href=\"". _DIR_RESTREINT + . "aide_index.php3?aide=$aide&" + . "var_lang=$spip_lang\" target=\"spip_aide\" " + . "onclick=\"javascript:window.open(this.href," + . "'spip_aide', 'scrollbars=yes, resizable=yes, width=740, " + . "height=580'); return false;\">" + . http_img_pack("aide".$spip_lang_rtl.".gif", + _T('info_image_aide'), "title=\""._T('titre_image_aide') + . "\" width=\"12\" height=\"12\" border=\"0\" align=\"middle\"") + . "</a>"; }