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
e55ec184
Valider
e55ec184
rédigé
19 years ago
par
Fil
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
mettre l'antiscript sur #NOM_SITE_SPIP, #EMAIL_WEBMASTER etc
parent
61c35329
Branches
Branches contenant la validation
Étiquettes
Étiquettes contenant la validation
Aucune requête de fusion associée trouvée
Modifications
1
Masquer les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
inc-balises.php3
+12
-12
12 ajouts, 12 suppressions
inc-balises.php3
avec
12 ajouts
et
12 suppressions
inc-balises.php3
+
12
−
12
Voir le fichier @
e55ec184
...
@@ -66,19 +66,19 @@ function balise_distante_interdite($p) {
...
@@ -66,19 +66,19 @@ function balise_distante_interdite($p) {
//
//
function
balise_NOM_SITE_SPIP_dist
(
$p
)
{
function
balise_NOM_SITE_SPIP_dist
(
$p
)
{
$p
->
code
=
"lire_meta('nom_site')"
;
$p
->
code
=
"lire_meta('nom_site')"
;
$p
->
statut
=
'
php
'
;
$p
->
statut
=
'
html
'
;
return
$p
;
return
$p
;
}
}
function
balise_EMAIL_WEBMASTER_dist
(
$p
)
{
function
balise_EMAIL_WEBMASTER_dist
(
$p
)
{
$p
->
code
=
"lire_meta('email_webmaster')"
;
$p
->
code
=
"lire_meta('email_webmaster')"
;
$p
->
statut
=
'
php
'
;
$p
->
statut
=
'
html
'
;
return
$p
;
return
$p
;
}
}
function
balise_CHARSET_dist
(
$p
)
{
function
balise_CHARSET_dist
(
$p
)
{
$p
->
code
=
"lire_meta('charset')"
;
$p
->
code
=
"lire_meta('charset')"
;
$p
->
statut
=
'
php
'
;
$p
->
statut
=
'
html
'
;
return
$p
;
return
$p
;
}
}
...
@@ -152,13 +152,13 @@ function balise_DATE_NOUVEAUTES_dist($p) {
...
@@ -152,13 +152,13 @@ function balise_DATE_NOUVEAUTES_dist($p) {
function
balise_DOSSIER_SQUELETTE_dist
(
$p
)
{
function
balise_DOSSIER_SQUELETTE_dist
(
$p
)
{
$p
->
code
=
"'"
.
addslashes
(
dirname
(
$p
->
descr
[
'sourcefile'
]))
.
"'"
;
$p
->
code
=
"'"
.
addslashes
(
dirname
(
$p
->
descr
[
'sourcefile'
]))
.
"'"
;
$p
->
statut
=
'
php
'
;
$p
->
statut
=
'
html
'
;
return
$p
;
return
$p
;
}
}
function
balise_URL_SITE_SPIP_dist
(
$p
)
{
function
balise_URL_SITE_SPIP_dist
(
$p
)
{
$p
->
code
=
"lire_meta('adresse_site')"
;
$p
->
code
=
"lire_meta('adresse_site')"
;
$p
->
statut
=
'
php
'
;
$p
->
statut
=
'
html
'
;
return
$p
;
return
$p
;
}
}
...
@@ -180,7 +180,7 @@ function balise_URL_ARTICLE_dist($p) {
...
@@ -180,7 +180,7 @@ function balise_URL_ARTICLE_dist($p) {
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
}
}
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
@@ -191,7 +191,7 @@ function balise_URL_RUBRIQUE_dist($p) {
...
@@ -191,7 +191,7 @@ function balise_URL_RUBRIQUE_dist($p) {
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
@@ -202,7 +202,7 @@ function balise_URL_BREVE_dist($p) {
...
@@ -202,7 +202,7 @@ function balise_URL_BREVE_dist($p) {
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
@@ -214,7 +214,7 @@ function balise_URL_MOT_dist($p) {
...
@@ -214,7 +214,7 @@ function balise_URL_MOT_dist($p) {
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
@@ -231,7 +231,7 @@ function balise_URL_FORUM_dist($p) {
...
@@ -231,7 +231,7 @@ function balise_URL_FORUM_dist($p) {
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
@@ -239,7 +239,7 @@ function balise_URL_DOCUMENT_dist($p) {
...
@@ -239,7 +239,7 @@ function balise_URL_DOCUMENT_dist($p) {
$p
->
code
=
"generer_url_document("
.
$p
->
code
=
"generer_url_document("
.
champ_sql
(
'id_document'
,
$p
)
.
")"
;
champ_sql
(
'id_document'
,
$p
)
.
")"
;
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
@@ -249,7 +249,7 @@ function balise_URL_AUTEUR_dist($p) {
...
@@ -249,7 +249,7 @@ function balise_URL_AUTEUR_dist($p) {
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
if
(
$p
->
boucles
[
$p
->
nom_boucle
?
$p
->
nom_boucle
:
$p
->
id_boucle
]
->
hash
)
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
code
=
"url_var_recherche("
.
$p
->
code
.
")"
;
$p
->
statut
=
'
html
'
;
$p
->
statut
=
'
php
'
;
return
$p
;
return
$p
;
}
}
...
...
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