From d93453cc60f00fd43cc393da477b86cfcc605091 Mon Sep 17 00:00:00 2001
From: Christian Lefebvre <christian_lefebvre@laposte.net>
Date: Mon, 3 Sep 2007 21:42:46 +0000
Subject: [PATCH] autodoc

---
 ecrire/public/assembler.php | 1 +
 ecrire/urls/html.php        | 1 +
 ecrire/urls/page.php        | 1 +
 ecrire/urls/propres.php     | 2 ++
 ecrire/urls/propres2.php    | 1 +
 ecrire/urls/propres_qs.php  | 1 +
 6 files changed, 7 insertions(+)

diff --git a/ecrire/public/assembler.php b/ecrire/public/assembler.php
index 48a54e6beb..13dfb1f169 100644
--- a/ecrire/public/assembler.php
+++ b/ecrire/public/assembler.php
@@ -395,6 +395,7 @@ function f_admin ($texte) {
 // * gestion du PNG transparent
 // * images background (TODO)
 // Cf. aussi inc/presentation, fonction fin_page();
+// http://doc.spip.org/@f_msie
 function f_msie ($texte) {
 	if (!$GLOBALS['html']) return $texte;
 
diff --git a/ecrire/urls/html.php b/ecrire/urls/html.php
index 43a098f461..766d262ce2 100644
--- a/ecrire/urls/html.php
+++ b/ecrire/urls/html.php
@@ -74,6 +74,7 @@ function generer_url_document($id_document, $args='', $ancre='') {
 
 
 // retrouver les parametres d'une URL dite "html"
+// http://doc.spip.org/@urls_html_dist
 function urls_html_dist($fond, $url) {
 	global $contexte;
 
diff --git a/ecrire/urls/page.php b/ecrire/urls/page.php
index 75c7b82a23..af20f560da 100644
--- a/ecrire/urls/page.php
+++ b/ecrire/urls/page.php
@@ -69,6 +69,7 @@ function generer_url_document($id_document, $args='', $ancre='') {
 }
 
 // retrouve le fond et les parametres d'une URL abregee
+// http://doc.spip.org/@urls_page_dist
 function urls_page_dist(&$fond, $url) {
 	global $contexte;
 
diff --git a/ecrire/urls/propres.php b/ecrire/urls/propres.php
index 7d67430fbb..e63698a7db 100644
--- a/ecrire/urls/propres.php
+++ b/ecrire/urls/propres.php
@@ -64,6 +64,7 @@ define ('_marqueur_mot_f', '');
 
 // Retire les marqueurs de type dans une URL propre ancienne maniere
 
+// http://doc.spip.org/@retirer_marqueurs_url_propre
 function retirer_marqueurs_url_propre($url_propre)
 {
 	if (preg_match(',^\+\-(.*?)\-\+$,', $url_propre, $regs)) {
@@ -271,6 +272,7 @@ function generer_url_document($id_document, $args='', $ancre='') {
 }
 
 // retrouve le fond et les parametres d'une URL propre
+// http://doc.spip.org/@urls_propres_dist
 function urls_propres_dist(&$fond, $url) {
 	global $contexte;
 	$id_objet = $type = 0;
diff --git a/ecrire/urls/propres2.php b/ecrire/urls/propres2.php
index ded404798e..8724ee1848 100644
--- a/ecrire/urls/propres2.php
+++ b/ecrire/urls/propres2.php
@@ -23,6 +23,7 @@ if (!defined("_ECRIRE_INC_VERSION")) return; // securiser
 if (!defined('_terminaison_urls_propres'))
 	define ('_terminaison_urls_propres', '.html');
 
+// http://doc.spip.org/@urls_propres2_dist
 function urls_propres2_dist(&$fond, $url) {
 	$f = charger_fonction('propres', 'urls', true);
 	if ($f) $f($fond, $url);
diff --git a/ecrire/urls/propres_qs.php b/ecrire/urls/propres_qs.php
index bb56ceec12..b657b3f01d 100644
--- a/ecrire/urls/propres_qs.php
+++ b/ecrire/urls/propres_qs.php
@@ -32,6 +32,7 @@ if (!defined('_terminaison_urls_propres'))
 define ('_debut_urls_propres', './?');
 
 
+// http://doc.spip.org/@urls_propres_qs_dist
 function urls_propres_qs_dist(&$fond, $url) {
 	$f = charger_fonction('propres', 'urls', true);
 	if ($f) $f($fond, $url);
-- 
GitLab