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

gestion des révisions (suite)

parent 62a1f70c
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
......@@ -469,10 +469,7 @@ function creer_base() {
id_auteur bigint(21) NOT NULL,
titre_version text DEFAULT '' NOT NULL,
permanent char(3) NOT NULL,
chapo text NOT NULL,
texte text NOT NULL,
ps text NOT NULL,
extra text NOT NULL,
champs text NOT NULL,
PRIMARY KEY (id_article, id_version),
KEY date (id_article, date),
......@@ -1503,6 +1500,14 @@ function maj_base() {
maj_version (1.732);
}
if ($version_installee < 1.733) {
// spip_query("ALTER TABLE spip_articles ADD id_version int unsigned DEFAULT '0' NOT NULL");
spip_query("DROP TABLE spip_versions");
spip_query("DROP TABLE spip_versions_fragments");
creer_base();
maj_version(1.733);
}
return true;
}
......
......@@ -173,7 +173,7 @@ if ($flag_ecrire) {
// (utilise pour les modifs de la base de donnees)
// version de la base
$spip_version = 1.732;
$spip_version = 1.733;
// version de spip
$spip_version_affichee = "1.8 alpha 1 CVS";
......
......@@ -618,6 +618,87 @@ a:hover { text-decoration: none; }
a.icone { text-decoration: none; }
a.icone:hover { text-decoration: none; }
/*
* Correction orthographique
*/
.ortho {
background: #ffe0e0;
border: 2px transparent;
border-bottom: 2px dashed red;
color: inherit;
text-decoration: none;
}
a.ortho:hover {
border: 2px dashed red;
color: inherit;
text-decoration: none;
}
.suggest-actif, .suggest-inactif {
font-family: "Trebuchet Sans MS", Verdana, Arial, sans-serif;
font-size: 95%;
font-weight: bold;
margin: 8px;
z-index: 1;
}
.suggest-actif .detail, .suggest-inactif .detail {
margin: 8px;
margin-top: -0.5em;
padding: 0.5em;
padding-top: 1em;
border: 1px solid #c8c8c8;
background: #f3f2f3;
font-family: Georgia, Garamond, "Times New Roman", serif;
font-weight: normal;
z-index: 0;
}
.suggest-actif .detail {
display: block;
}
.suggest-inactif .detail {
display: none;
}
/*
* Comparaison d'articles
*/
.diff-para-deplace {
background: #e8e8ff;
}
.diff-para-ajoute {
background: #d0ffc0;
color: #000000;
}
.diff-para-supprime {
background: #ffd0c0;
color: #904040;
text-decoration: line-through;
}
.diff-deplace {
background: #e8e8ff;
}
.diff-ajoute {
background: #d0ffc0;
}
.diff-supprime {
background: #ffd0c0;
color: #802020;
text-decoration: line-through;
}
.diff-para-deplace .diff-ajoute {
border: 1px solid #808080;
background: #b8ffb8;
}
.diff-para-deplace .diff-supprime {
border: 1px solid #808080;
background: #ffb8b8;
}
.diff-para-deplace .diff-deplace {
border: 1px solid #808080;
background: #b8b8ff;
}
/*
* Barre de raccourcis
*/
......
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