Skip to content
Extraits de code Groupes Projets
Valider 1aa043dc rédigé par ARNO*'s avatar ARNO*
Parcourir les fichiers

Modifs graphiques: presentation spip_encadrer, et boutons espace privŽ

parent 42929a34
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -1143,7 +1143,7 @@ function icone_bandeau_principal($texte, $lien, $fond, $rubrique_icone = "vide",
$compteur_survol ++;
if ($rubrique_icone == $rubrique){
echo "\n<td background='' align='center' valign='top' width='$largeur' onMouseOver=\"changesurvol('survol$compteur_survol','bouton48blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton48gris');\" $onClick>";
echo "\n<td background='' style='padding: 2px' align='center' valign='top' width='$largeur' onMouseOver=\"changesurvol('survol$compteur_survol','bouton48blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton48gris');\" $onClick>";
if ($spip_display == 1) {
echo "\n<table cellpadding=0 cellspacing=0 border=0 width=$largeur class=\"fondgrison\" $onClick>";
echo "<tr><td background='' align='center' width='$largeur' height='$hauteur'>";
......@@ -1159,7 +1159,7 @@ function icone_bandeau_principal($texte, $lien, $fond, $rubrique_icone = "vide",
echo "</td>\n";
}
else {
echo "\n<td background='' align='center' valign='top' width='$largeur' onMouseOver=\"changesurvol('survol$compteur_survol','bouton48blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton48off');\" $onClick>";
echo "\n<td background='' style='padding: 2px' align='center' valign='top' width='$largeur' onMouseOver=\"changesurvol('survol$compteur_survol','bouton48blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton48off');\" $onClick>";
if ($spip_display == 1) {
echo "\n<table cellpadding=0 cellspacing=0 border=0 width=$largeur class=\"fondgris\" onMouseOver=\"changeclass(this,'fondgrison2');\" onMouseOut=\"changeclass(this,'fondgris');\" $onClick>";
echo "<tr><td background='' align='center' width='$largeur' height='$hauteur'>";
......@@ -1169,7 +1169,7 @@ function icone_bandeau_principal($texte, $lien, $fond, $rubrique_icone = "vide",
echo "<div class='bouton48off' id='survol$compteur_survol'>$a_href_icone<img src='img_pack/$fond'$alt$title border='0'></a></div>";
}
if ($spip_display != 3) {
echo "<div>$a_href<font face='Verdana,Arial,Helvetica,sans-serif' size='2' color='black'><b>$texte</b></font></a></div>";
echo "<div>$a_href<font face='Verdana,Arial,Helvetica,sans-serif' size='2' color='#666666'><b>$texte</b></font></a></div>";
}
if ($spip_display == 1) echo "</td></tr></table>";
echo "</td>\n";
......@@ -1200,9 +1200,9 @@ function icone_bandeau_secondaire($texte, $lien, $fond, $rubrique_icone = "vide"
$hauteur = 68;
if (count(explode(" ", $texte)) > 1) $largeur = 80;
else $largeur = 70;
if (strlen($aide) > 0) $largeur += 50;
$alt = " alt=\" \"";
}
if (strlen($aide) > 0) $largeur += 50;
if ($largeur) $width = "width='$largeur'";
if (!$menu_accesskey) $menu_accesskey = 1;
......@@ -1218,7 +1218,7 @@ function icone_bandeau_secondaire($texte, $lien, $fond, $rubrique_icone = "vide"
$compteur_survol ++;
if ($rubrique_icone == $rubrique){
echo "\n<td background='' align='center' valign='top' $width onMouseOver=\"changesurvol('survol$compteur_survol','bouton36blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton36gris');\">";
echo "\n<td background='' style='padding: 2px' align='center' valign='top' $width onMouseOver=\"changesurvol('survol$compteur_survol','bouton36blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton36gris');\">";
if ($spip_display == 1) {
echo "\n<table cellpadding=0 cellspacing=0 border=0 class=\"fondgrison\">";
echo "<tr><td background='' align='center'>";
......@@ -1237,7 +1237,7 @@ function icone_bandeau_secondaire($texte, $lien, $fond, $rubrique_icone = "vide"
echo "</td>";
}
else {
echo "\n<td background='' align='center' valign='top' $width onMouseOver=\"changesurvol('survol$compteur_survol','bouton36blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton36off');\">";
echo "\n<td background='' style='padding: 2px' align='center' valign='top' $width onMouseOver=\"changesurvol('survol$compteur_survol','bouton36blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','bouton36off');\">";
if ($spip_display == 1) {
echo "\n<table cellpadding=0 cellspacing=0 border=0 class=\"fondgris\" onMouseOver=\"changeclass(this,'fondgrison2');\" onMouseOut=\"changeclass(this,'fondgris');\">";
echo "<tr><td background='' align='center'>";
......@@ -1247,7 +1247,7 @@ function icone_bandeau_secondaire($texte, $lien, $fond, $rubrique_icone = "vide"
}
echo "<div><img src='img_pack/rien.gif' $width height=1></div>";
if ($spip_display != 3){
echo "<div><a$accesskey href='$lien' class='icone'><font face='Verdana,Arial,Helvetica,sans-serif' size='1' color='black'><b>$texte</b></font></a>";
echo "<div><a$accesskey href='$lien' class='icone'><font face='Verdana,Arial,Helvetica,sans-serif' size='1' color='#999999'><b>$texte</b></font></a>";
if (strlen($aide)>0) echo aide($aide);
echo "</div>";
}
......@@ -1339,7 +1339,7 @@ function icone_horizontale($texte, $lien, $fond = "", $fonction = "") {
$largeur = "100%";
$style = "icone-h";
$classe_image = "bouton36gris";
$classe_image = "bouton24gris";
if ($fonction == "supprimer.gif") {
$style = "icone-h-danger";
$classe_image = "bouton36rouge";
......@@ -1351,7 +1351,7 @@ function icone_horizontale($texte, $lien, $fond = "", $fonction = "") {
echo "\n<table class=\"$style\" onMouseOver=\"changeclass(this,'icone-h-on');\" onMouseOut=\"changeclass(this,'$style');\" onClick=\"document.location='$lien'\">";
echo "<tr>";
} else {
echo "\n<table cellpadding='0' cellspacing='1' border='0' onMouseOver=\"changesurvol('survol$compteur_survol','bouton36blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','$classe_image');\" onClick=\"document.location='$lien'\">";
echo "\n<table cellpadding='0' cellspacing='1' border='0' onMouseOver=\"changesurvol('survol$compteur_survol','bouton24blanc');\" onMouseOut=\"changesurvol('survol$compteur_survol','$classe_image');\" onClick=\"document.location='$lien'\">";
echo "<tr>";
}
......@@ -1450,7 +1450,7 @@ function debut_page($titre = "", $rubrique = "asuivre", $sous_rubrique = "asuivr
// Icones principales
echo "<table cellpadding='0' style='background-image: url(img_pack/rayures-fines.gif);' width='100%'><tr width='100%'><td width='100%' align='center'>";
echo "<table cellpadding='0' cellspacing='5' background='' width='$largeur'><tr width='$largeur'>";
echo "<table cellpadding='0' cellspacing='0' background='' width='$largeur'><tr width='$largeur'>";
icone_bandeau_principal (_T('icone_a_suivre'), "index.php3", "asuivre-48.gif", "asuivre", $rubrique);
icone_bandeau_principal (_T('icone_edition_site'), "naviguer.php3", "documents-48$spip_lang_rtl.gif", "documents", $rubrique);
if ($options == "avancees") {
......@@ -1484,7 +1484,7 @@ function debut_page($titre = "", $rubrique = "asuivre", $sous_rubrique = "asuivr
// Icones secondaires
echo "<table cellpadding='0' bgcolor='#eeeeee' style='border-bottom: solid 1px black; border-top: solid 1px #333333;' width='100%'><tr width='100%'><td width='100%' align='center'>";
echo "<table cellpadding='0' cellspacing='4' background='' width='$largeur'><tr width='$largeur'>";
echo "<table cellpadding='0' cellspacing='0' background='' width='$largeur'><tr width='$largeur'>";
if ($rubrique == "asuivre"){
icone_bandeau_secondaire (_T('icone_a_suivre'), "index.php3", "asuivre-24.gif", "asuivre", $sous_rubrique);
......
......@@ -154,9 +154,9 @@ function retour_forum($id_rubrique, $id_parent, $id_article, $id_breve, $id_synd
if (!$nouveau_document AND $afficher_texte != 'non'){
$ret .= "<div class='spip_encadrer'>";
if ($afficher_texte != "non"){
$ret .= "<font size=4 color='#aaaaaa'><b>".typo($titre)."</b></font>";
$ret .= "<p><b><a href='mailto:".entites_html($email_auteur)."'>".typo($auteur)."</a></b>";
$ret .= "<p>".propre($texte)."<p>";
$ret .= "<div style='font-size: 120%; font-weigth: bold;'>".typo($titre)."</div>";
$ret .= "<p /><b><a href='mailto:".entites_html($email_auteur)."'>".typo($auteur)."</a></b>";
$ret .= "<p />".propre($texte)."<p />";
}
$ret .= "<a href='".entites_html($url_site)."'>".typo($nom_site_forum)."</a>";
......@@ -173,7 +173,7 @@ function retour_forum($id_rubrique, $id_parent, $id_article, $id_breve, $id_synd
$les_mots[$id_mot] = true;
$presence_mots = true;
$ret.= "<li> $type_mot&nbsp;: <b>$titre_mot</b>";
$ret.= "<li class='font-size=80%'> $type_mot&nbsp;: <b>$titre_mot</b></li>";
}
if (strlen($texte) < 10 AND !$presence_mots) {
......@@ -267,11 +267,11 @@ function retour_forum($id_rubrique, $id_parent, $id_article, $id_breve, $id_synd
$total_rows = spip_num_rows($result);
if ($total_rows > 0){
$ret .= "\n<p><div class='spip_encadrer'>";
$ret .= "\n<p /><div class='spip_encadrer' style='font-size: 80%;'>";
$ret.= "<b>$titre_groupe&nbsp;:</b>";
$ret .= "<table cellpadding=0 cellspacing=0 border=0 width='100%'>\n";
$ret .= "<tr><td width='47%' valign='top'><font face='Verdana,Arial,Helvetica,sans-serif' size=2>";
$ret .= "<tr><td width='47%' valign='top'>";
$i = 0;
while ($row = spip_fetch_array($result)) {
......@@ -282,7 +282,7 @@ function retour_forum($id_rubrique, $id_parent, $id_article, $id_breve, $id_synd
if ($i >= ($total_rows/2) AND $i < $total_rows){
$i = $total_rows + 1;
$ret .= "</font></td><td width='6%'>&nbsp;</td><td width='47%' valign='top'><font face='Verdana,Arial,Helvetica,sans-serif' size=2>";
$ret .= "</font></td><td width='6%'>&nbsp;</td><td width='47%' valign='top'>";
}
if ($les_mots[$id_mot]) $checked = "checked";
......
......@@ -64,6 +64,7 @@ i.spip { }
.forml { width: 100% ; background-color: #FFDDAA;}
.spip_encadrer {
font-family: helvetica, arial, sans-serif;
width : 100%;
background-color: #FFFFFF;
padding: 5px;
......
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter