From 821f1fdd3e150db400ab057fca489ac24a58ca00 Mon Sep 17 00:00:00 2001
From: Christian Lefebvre <christian_lefebvre@laposte.net>
Date: Sun, 21 Jan 2007 22:42:34 +0000
Subject: [PATCH] autodoc

---
 ecrire/action/export_all.php | 1 +
 ecrire/exec/export_all.php   | 1 +
 ecrire/inc/autoriser.php     | 4 ++++
 ecrire/inc/export.php        | 1 +
 4 files changed, 7 insertions(+)

diff --git a/ecrire/action/export_all.php b/ecrire/action/export_all.php
index b7e0ffba8b..a391c1da0b 100644
--- a/ecrire/action/export_all.php
+++ b/ecrire/action/export_all.php
@@ -16,6 +16,7 @@ include_spip('inc/export');
 include_spip('inc/actions');
 include_spip('inc/minipres');
 
+// http://doc.spip.org/@action_export_all_dist
 function action_export_all_dist()
 {
 	global $gz, $connect_toutes_rubriques ;
diff --git a/ecrire/exec/export_all.php b/ecrire/exec/export_all.php
index f09ff90268..a83503864a 100644
--- a/ecrire/exec/export_all.php
+++ b/ecrire/exec/export_all.php
@@ -168,6 +168,7 @@ function exec_export_all_dist()
 // + toutes les tables auxiliaires hors relations
 // + les tables relations dont les deux tables liees sont dans la liste
 
+// http://doc.spip.org/@export_all_list_tables
 function export_all_list_tables()
 {
 	$tables_for_dump = array();
diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php
index a4f5a6b202..7e069e7cac 100644
--- a/ecrire/inc/autoriser.php
+++ b/ecrire/inc/autoriser.php
@@ -122,6 +122,7 @@ function autoriser_rubrique_publierdans_dist($faire, $type, $id, $qui, $opt) {
 }
 
 // Autoriser a creer un article dans la rubrique $id
+// http://doc.spip.org/@autoriser_rubrique_creerrubriquedans_dist
 function autoriser_rubrique_creerrubriquedans_dist($faire, $type, $id, $qui, $opt) {
 	return
 		autoriser('voir','rubrique',$id)
@@ -129,6 +130,7 @@ function autoriser_rubrique_creerrubriquedans_dist($faire, $type, $id, $qui, $op
 }
 
 // Autoriser a creer un article dans la rubrique $id
+// http://doc.spip.org/@autoriser_rubrique_creerarticledans_dist
 function autoriser_rubrique_creerarticledans_dist($faire, $type, $id, $qui, $opt) {
 	return
 		$id
@@ -136,6 +138,7 @@ function autoriser_rubrique_creerarticledans_dist($faire, $type, $id, $qui, $opt
 }
 
 // Autoriser a creer une breve dans la rubrique $id
+// http://doc.spip.org/@autoriser_rubrique_creerbrevedans_dist
 function autoriser_rubrique_creerbrevedans_dist($faire, $type, $id, $qui, $opt) {
 	$s = spip_query(
 	"SELECT id_parent FROM spip_rubriques WHERE id_rubrique="._q($id));
@@ -148,6 +151,7 @@ function autoriser_rubrique_creerbrevedans_dist($faire, $type, $id, $qui, $opt)
 }
 
 // Autoriser a creer un site dans la rubrique $id
+// http://doc.spip.org/@autoriser_rubrique_creersitedans_dist
 function autoriser_rubrique_creersitedans_dist($faire, $type, $id, $qui, $opt) {
 	return
 		$id
diff --git a/ecrire/inc/export.php b/ecrire/inc/export.php
index cb6571564f..9ec43f74cd 100644
--- a/ecrire/inc/export.php
+++ b/ecrire/inc/export.php
@@ -173,6 +173,7 @@ function text_to_xml($string) {
 
 // production de l'entete du fichier d'archive
 
+// http://doc.spip.org/@export_entete
 function export_entete()
 {
 	return
-- 
GitLab