SPIP
Documentation
SPIP
Blog
Programmer
Code
Search
Contribution
Contrib
Plugins
Traduire
Forge Git
Entraide
Discuter
IRC
Discord
Découverte
Démo
Syntaxe
Skip to content
GitLab
Explorer
Connexion
S'inscrire
Navigation principale
Rechercher ou aller à…
Projet
spip
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de paquets
Registre de modèles
Opération
Environnements
Modules Terraform
Surveillance
Incidents
Service d'assistance
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté
Contribuer à GitLab
Donner votre avis
Conditions générales et politique de confidentialité
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
JO
spip
Validations
c52a4a13
Valider
c52a4a13
rédigé
19 years ago
par
ARNO*
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Meilleure ergonomie affichage mini_nav
parent
70146033
Branches
Branches contenant la validation
Étiquettes
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
4
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
4 fichiers modifiés
ecrire/ajax_page.php
+5
-2
5 ajouts, 2 suppressions
ecrire/ajax_page.php
ecrire/inc_layer.php3
+1
-0
1 ajout, 0 suppression
ecrire/inc_layer.php3
ecrire/layer.js
+21
-2
21 ajouts, 2 suppressions
ecrire/layer.js
ecrire/rubriques_edit.php3
+2
-1
2 ajouts, 1 suppression
ecrire/rubriques_edit.php3
avec
29 ajouts
et
5 suppressions
ecrire/ajax_page.php
+
5
−
2
Voir le fichier @
c52a4a13
...
...
@@ -64,11 +64,14 @@ echo "<"."?xml version='1.0' encoding='$charset'?>";
echo
"<div><p><b>
$titre
</b></p></div>"
;
if
(
strlen
(
$descriptif
)
>
0
)
echo
"<div>
$descriptif
</div>"
;
echo
"</div>"
;
echo
"<div style='text-align:
$spip_lang_right
;'>"
;
echo
"<input type='button' value='"
.
_T
(
'bouton_choisir'
)
.
"' class='fondo' onClick=
\"
sel=findObj_forcer('"
.
$rac
.
"_sel').value; sel2=findObj_forcer('"
.
$rac
.
"_sel2').value; func = findObj('"
.
$rac
.
"_fonc').value; func = func.replace('::sel::', sel); func = func.replace('::sel2::', sel2); eval(func);
\"
>"
;
echo
"</div>"
;
echo
"</div>"
;
}
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
ecrire/inc_layer.php3
+
1
−
0
Voir le fichier @
c52a4a13
...
...
@@ -37,6 +37,7 @@ function debut_block_invisible($nom_block){
$compteur_block
++
;
$numero_block
[
"
$nom_block
"
]
=
$compteur_block
;
}
return
http_script
(
"vis['"
.
$numero_block
[
"
$nom_block
"
]
.
"'] = 'hide';
document.write('<div id=
\"
Layer"
.
$numero_block
[
"
$nom_block
"
]
.
"
\"
style=
\"
display: none; margin-top: 1;
\"
>');"
,
''
,
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
ecrire/layer.js
+
21
−
2
Voir le fichier @
c52a4a13
...
...
@@ -45,7 +45,7 @@ var vis = new Array();
if
(
element
.
style
.
visibility
!=
"
hidden
"
)
element
.
style
.
visibility
=
"
hidden
"
;
}
}
function
swap_couche
(
couche
,
rtl
,
dir
,
no_swap
)
{
triangle
=
findObj
(
'
triangle
'
+
couche
);
if
(
!
(
layer
=
findObj
(
'
Layer
'
+
couche
)))
return
;
...
...
@@ -130,6 +130,8 @@ function changerhighlight (couche) {
function
aff_selection
(
type
,
rac
,
id
)
{
// alert (type + " - " + rac + " - " + id);
findObj_forcer
(
rac
+
"
_selection
"
).
style
.
display
=
"
none
"
;
charger_id_url
(
"
ajax_page.php?fonction=aff_info&type=
"
+
type
+
"
&id=
"
+
id
+
"
&rac=
"
+
rac
,
rac
+
"
_selection
"
);
}
...
...
@@ -144,7 +146,6 @@ var image_search = new Array();
function
charger_id_url
(
myUrl
,
myField
,
jjscript
)
{
var
Field
=
findObj_forcer
(
myField
);
// selects the given element
if
(
!
Field
)
return
;
if
(
xmlhttp
[
myField
])
xmlhttp
[
myField
].
abort
();
...
...
@@ -152,6 +153,7 @@ function charger_id_url(myUrl, myField, jjscript)
if
(
url_chargee
[
'
mem_
'
+
myUrl
])
{
Field
.
innerHTML
=
url_chargee
[
'
mem_
'
+
myUrl
];
Field
.
style
.
visibility
=
"
visible
"
;
Field
.
style
.
display
=
"
block
"
;
if
(
jjscript
)
eval
(
jjscript
);
}
else
{
image_search
[
myField
]
=
findObj_forcer
(
'
img_
'
+
myField
);
...
...
@@ -171,6 +173,7 @@ function charger_id_url(myUrl, myField, jjscript)
Field
.
innerHTML
=
xmlhttp
[
myField
].
responseText
;
// puts the result into the element
url_chargee
[
'
mem_
'
+
myUrl
]
=
Field
.
innerHTML
;
Field
.
style
.
visibility
=
"
visible
"
;
Field
.
style
.
display
=
"
block
"
;
if
(
image_search
[
myField
])
{
image_search
[
myField
].
style
.
visibility
=
"
hidden
"
;
}
...
...
@@ -182,6 +185,22 @@ function charger_id_url(myUrl, myField, jjscript)
}
function
charger_id_url_si_vide
(
myUrl
,
myField
,
jjscript
)
{
var
Field
=
findObj_forcer
(
myField
);
// selects the given element
if
(
!
Field
)
return
;
if
(
Field
.
innerHTML
==
""
)
{
charger_id_url
(
myUrl
,
myField
,
jjscript
)
}
else
{
Field
.
style
.
visibility
=
"
visible
"
;
Field
.
style
.
display
=
"
block
"
;
}
}
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
ecrire/rubriques_edit.php3
+
2
−
1
Voir le fichier @
c52a4a13
...
...
@@ -199,8 +199,9 @@ if ($spip_display == 4) {
$titre_parent
=
entites_html
(
_T
(
"info_racine_site"
));
}
echo
"<table width='100%'><tr width='100%'><td width='45'>"
;
echo
"<a href=
\"
javascript:findObj('selection_rubrique').style.display=
'block';
charger_id_url('ajax_page.php?fonction=aff_parent&id_rubrique=
$id_parent
&exclus=
$id_rubrique
','selection_rubrique');
\"
><img src='img_pack/loupe.png' style='border: 0px; vertical-align: middle;' /></a> "
;
echo
"<a href=
\"
javascript:
if(
findObj('selection_rubrique').style.display=
='none')
{
charger_id_url
_si_vide
('ajax_page.php?fonction=aff_parent&id_rubrique=$id_parent&exclus=$id_rubrique','selection_rubrique');
}
else
{
findObj('selection_rubrique').style.display='none';
}
\"
><img src='img_pack/loupe.png' style='border: 0px; vertical-align: middle;' /></a> "
;
echo
"<img src='img_pack/searching.gif' id='img_selection_rubrique' style='visibility: hidden;'>"
;
echo
"</td><td>"
;
echo
"<input type='text' id='titreparent' name='titreparent' disabled='disabled' class='forml' value=
\"
$titre_parent
\"
/>"
;
...
...
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter