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

Encore qq pétouilles XHTML strictes en moins.

parent 8c87804a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -81,11 +81,10 @@ function exec_admin_tech_dist()
$form = $chercher_rubrique(0, 'rubrique', !$GLOBALS['connect_toutes_rubriques'], 0, 'admin_tech');
$res .= "\n<p><label for='id_parent'>" .
$res .= "\n<label for='id_parent'>" .
_L("Dans un but de fusion avec une autre base, vous pouvez limiter la sauvegarde &agrave; la rubrique: ") .
"</label>" .
$form
. "</p>";
"</label><br /><br />" .
$form . '<br />';
$file = nom_fichier_dump();
$nom = "\n<input name='nom_sauvegarde' id='nom_sauvegarde' size='40' value='$file' />";
......@@ -93,9 +92,9 @@ function exec_admin_tech_dist()
if ($flag_gz) {
$res .= "\n<p>" .
$res .=
_T('texte_admin_tech_03') .
"</p>\n<ul>" .
"\n<ul>" .
"\n<li style='list-style:none;'><input type='radio' name='gz' value='1' id='gz_on' checked='checked' /><label for='gz_on'> " .
_T('bouton_radio_sauvegarde_compressee', array('fichier'=>'')) .
" </label><br />\n" .
......@@ -203,8 +202,6 @@ function exec_admin_tech_dist()
}
}
echo fin_cadre_relief(true);
echo "<br />";
echo fin_gauche(), fin_page();
......
......@@ -87,7 +87,6 @@ function afficher_numero_edit($id, $key, $type,$row=NULL) {
// puis la partie hors lien
// http://doc.spip.org/@afficher_titre_objet
function afficher_titre_objet($type,$row){
spip_log("afficher_titre_objet($type,$row");
if (function_exists($f = "afficher_titre_$type"))
return $f($row);
$titre = isset($row['titre'])?sinon($row['titre'], _T('ecrire:info_sans_titre')):
......
......@@ -116,9 +116,9 @@ function afficher_groupe_mots_boucle($row, $occurrences, $total, $deb_aff)
if (autoriser('modifier', 'mot', $id_mot, null, array('id_groupe' => $id_groupe))) {
$clic = '<small>'
._T('info_supprimer_mot')
. "&nbsp;<img src='"
. "&nbsp;<img style='vertical-align: bottom;' src='"
. _DIR_IMG_PACK
. "croix-rouge.gif' alt='X' width='7' height='7' align='bottom' />"
. "croix-rouge.gif' alt='X' width='7' height='7' />"
. '</small>';
if ($nr OR $na OR $ns OR $nb)
......
......@@ -577,7 +577,7 @@ function propre_diff($texte) {
}
// quand le dernier tag est ouvrant le refermer ...
$reg = end($regs);
if (!$reg[1]) $texte.="</$reg[2]>";
if (!$reg[1] AND $reg[2]) $texte.="</$reg[2]>";
return $texte;
}
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Veuillez vous inscrire ou vous pour commenter