From fba07b220c2836db5a75401ddbcdd204ad1638ca Mon Sep 17 00:00:00 2001
From: Christian Lefebvre <christian_lefebvre@laposte.net>
Date: Sat, 11 Nov 2006 22:42:56 +0000
Subject: [PATCH] autodoc

---
 ecrire/inc/autoriser.php | 1 +
 ecrire/public/debug.php  | 3 +++
 2 files changed, 4 insertions(+)

diff --git a/ecrire/inc/autoriser.php b/ecrire/inc/autoriser.php
index 27e612935d..71109e31e6 100644
--- a/ecrire/inc/autoriser.php
+++ b/ecrire/inc/autoriser.php
@@ -18,6 +18,7 @@ define ('_DEBUG_AUTORISER', false);
 // surcharge possible de autoriser(), sinon autoriser_dist()
 // http://doc.spip.org/@autoriser
 if (!function_exists('autoriser')) {
+// http://doc.spip.org/@autoriser
 	function autoriser() {
 		$args = func_get_args(); 
 		return call_user_func_array('autoriser_dist', $args);
diff --git a/ecrire/public/debug.php b/ecrire/public/debug.php
index 73c96c13f4..16c047f752 100644
--- a/ecrire/public/debug.php
+++ b/ecrire/public/debug.php
@@ -456,6 +456,7 @@ function debug_dumpfile ($texte, $fonc, $type) {
 
 // Fonction pour l'espace de redaction, appeler par ecrire/index.php
 
+// http://doc.spip.org/@debug_script
 function debug_script ($fonc) {
 
 	$sax = charger_fonction($GLOBALS['xml_indent'], 'inc');
@@ -471,6 +472,7 @@ function debug_script ($fonc) {
 	}
 }
 
+// http://doc.spip.org/@debug_debut
 function debug_debut($titre)
 {
 	global $auteur_session;
@@ -491,6 +493,7 @@ function debug_debut($titre)
 	  "\n<div id='spip-debug' style='position: absolute; top: 22px; z-index: 1000;height:97%;left:10px;right:10px;'><div id='spip-boucles'>\n"; 
 }
 
+// http://doc.spip.org/@debug_fin
 function debug_fin()
 {
 	global $debug_objets;
-- 
GitLab