Skip to content
Extraits de code Groupes Projets
Valider b235b7ce rédigé par Fil's avatar Fil
Parcourir les fichiers

un peu mieux pour le statut spam

parent b65b6f6a
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
...@@ -138,16 +138,22 @@ function controle_un_forum($row) { ...@@ -138,16 +138,22 @@ function controle_un_forum($row) {
$controle .= debut_cadre_thread_forum("", true, "", typo($forum_titre)); $controle .= debut_cadre_thread_forum("", true, "", typo($forum_titre));
if ($forum_stat=="off" OR $forum_stat == "privoff") { switch($forum_stat) {
$controle .= "<div style='border: 2px #ff0000 dashed;'>"; case 'off':
case 'privoff':
$controle .= "<div style='border: 2px #ff0000 dashed;'>";
break;
case 'prop':
$controle .= "<div style='border: 2px yellow solid; background-color: white;'>";
break;
case 'spam':
$controle .= "<div style='border: 2px black dotted;'>";
break;
default:
$controle .= "<div>";
break;
} }
else if ($forum_stat=="prop") {
$controle .= "<div style='border: 2px yellow solid; background-color: white;'>";
}
else {
$controle .= "<div>";
}
$controle .= "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n<tr><td style='width: 100%' valign='top'><table width='100%' cellpadding='5' cellspacing='0'>\n<tr><td class='serif'><span class='arial2'>" . $controle .= "<table width='100%' cellpadding='0' cellspacing='0' border='0'>\n<tr><td style='width: 100%' valign='top'><table width='100%' cellpadding='5' cellspacing='0'>\n<tr><td class='serif'><span class='arial2'>" .
date_interface($forum_date_heure) . date_interface($forum_date_heure) .
"</span>"; "</span>";
......
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