Completed
Push — spip-2.1 ( 40676b...3873a3 )
by cam
106:54 queued 93:44
created
ecrire/inc/gadgets.php 1 patch
Doc Comments   +11 added lines patch added patch discarded remove patch
@@ -24,6 +24,11 @@  discard block
 block discarded – undo
24 24
 //
25 25
 
26 26
 // http://doc.spip.org/@bandeau_gadgets
27
+/**
28
+ * @param integer $largeur
29
+ * @param boolean $options
30
+ * @param string $id_rubrique
31
+ */
27 32
 function bandeau_gadgets($largeur, $options, $id_rubrique) {
28 33
  
29 34
 	return "<div id='bandeau-gadgets'>" .
@@ -192,6 +197,9 @@  discard block
 block discarded – undo
192 197
 }
193 198
 
194 199
 // http://doc.spip.org/@installer_gadgets
200
+/**
201
+ * @param string $id_rubrique
202
+ */
195 203
 function installer_gadgets($id_rubrique)
196 204
 {
197 205
 	return "<a id='boutonbandeautoutsite' href='"
@@ -231,6 +239,9 @@  discard block
 block discarded – undo
231 239
 }
232 240
 
233 241
 // http://doc.spip.org/@repercuter_gadgets
242
+/**
243
+ * @param integer $id_rubrique
244
+ */
234 245
 function repercuter_gadgets($id_rubrique) {
235 246
 
236 247
 	if (!_SPIP_AJAX) return '';
Please login to merge, or discard this patch.
ecrire/inc/getdocument.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@  discard block
 block discarded – undo
36 36
 
37 37
 // Efface le repertoire de maniere recursive !
38 38
 // http://doc.spip.org/@effacer_repertoire_temporaire
39
+/**
40
+ * @param null|string $nom
41
+ */
39 42
 function effacer_repertoire_temporaire($nom) {
40 43
 	$d = opendir($nom);
41 44
 	while (($f = readdir($d)) !== false) {
@@ -78,6 +81,9 @@  discard block
 block discarded – undo
78 81
 //
79 82
 
80 83
 // http://doc.spip.org/@deplacer_fichier_upload
84
+/**
85
+ * @param string $dest
86
+ */
81 87
 function deplacer_fichier_upload($source, $dest, $move=false) {
82 88
 	// Securite
83 89
 	if (substr($dest,0,strlen(_DIR_RACINE))==_DIR_RACINE)
Please login to merge, or discard this patch.
ecrire/inc/grouper_mots.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -119,6 +119,9 @@
 block discarded – undo
119 119
 }
120 120
 
121 121
 // http://doc.spip.org/@generer_supprimer_mot
122
+/**
123
+ * @param string $clic
124
+ */
122 125
 function generer_supprimer_mot($id_mot, $id_groupe, $clic, $total, $deb_aff='')
123 126
 {
124 127
 	$cont = ($total > 1)
Please login to merge, or discard this patch.
ecrire/inc/headers.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -125,6 +125,9 @@
 block discarded – undo
125 125
 }
126 126
 
127 127
 // http://doc.spip.org/@http_status
128
+/**
129
+ * @param integer $status
130
+ */
128 131
 function http_status($status) {
129 132
 	global $REDIRECT_STATUS, $flag_sapi_name;
130 133
 	static $status_string = array(
Please login to merge, or discard this patch.
ecrire/inc/iconifier.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -87,6 +87,10 @@  discard block
 block discarded – undo
87 87
 
88 88
 
89 89
 // http://doc.spip.org/@indiquer_logo
90
+/**
91
+ * @param string $mode
92
+ * @param string $iframe_script
93
+ */
90 94
 function indiquer_logo($titre, $id_objet, $mode, $id, $script, $iframe_script) {
91 95
 
92 96
 	global $formats_logos;
@@ -144,6 +148,11 @@  discard block
 block discarded – undo
144 148
 }
145 149
 
146 150
 // http://doc.spip.org/@decrire_logo
151
+/**
152
+ * @param string $mode
153
+ * @param integer $width
154
+ * @param integer $height
155
+ */
147 156
 function decrire_logo($id_objet, $mode, $id, $width, $height, $img, $titre="", $script="", $flag_modif=true) {
148 157
 
149 158
 	list($fid, $dir, $nom, $format, $timestamp) = $img;
Please login to merge, or discard this patch.
ecrire/inc/import.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -389,6 +389,9 @@
 block discarded – undo
389 389
 }
390 390
 
391 391
 // http://doc.spip.org/@import_init_meta
392
+/**
393
+ * @return string
394
+ */
392 395
 function import_init_meta($tag, $atts, $charset, $request)
393 396
 {
394 397
 	$version_archive = $atts['version_archive'];
Please login to merge, or discard this patch.
ecrire/inc/import_1_3.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -149,6 +149,10 @@
 block discarded – undo
149 149
 }
150 150
 
151 151
 // http://doc.spip.org/@import_lire_champs
152
+/**
153
+ * @param string $gz
154
+ * @param string $table
155
+ */
152 156
 function import_lire_champs($f, $fields, $gz, $phpmyadmin, $table, $atts)
153 157
 {
154 158
 	$values = array();
Please login to merge, or discard this patch.
ecrire/inc/install.php 1 patch
Doc Comments   +12 added lines patch added patch discarded remove patch
@@ -15,6 +15,10 @@  discard block
 block discarded – undo
15 15
 //  Pour ecrire les fichiers memorisant les parametres de connexion
16 16
 
17 17
 // http://doc.spip.org/@install_fichier_connexion
18
+/**
19
+ * @param string $nom
20
+ * @param string $texte
21
+ */
18 22
 function install_fichier_connexion($nom, $texte)
19 23
 {
20 24
 	$texte = "<"."?php\n"
@@ -183,6 +187,11 @@  discard block
 block discarded – undo
183 187
 }
184 188
 
185 189
 // http://doc.spip.org/@info_progression_etape
190
+/**
191
+ * @param integer $en_cours
192
+ * @param string $phase
193
+ * @param string $dir
194
+ */
186 195
 function info_progression_etape($en_cours,$phase,$dir, $erreur = false){
187 196
 	//$en_cours = _request('etape')?_request('etape'):"";
188 197
 	$liste = find_all_in_path($dir,$phase.'(([0-9])+|fin)[.]php$');
@@ -457,6 +466,9 @@  discard block
 block discarded – undo
457 466
 	return array($checked, $bases);
458 467
 }
459 468
 
469
+/**
470
+ * @param string[] $hidden
471
+ */
460 472
 function install_propager($hidden)
461 473
 {
462 474
 	$res = '';
Please login to merge, or discard this patch.
ecrire/inc/instituer_auteur.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -115,6 +115,9 @@
 block discarded – undo
115 115
 
116 116
 // Menu de choix d'un statut d'auteur
117 117
 // http://doc.spip.org/@choix_statut_auteur
118
+/**
119
+ * @param integer $id_auteur
120
+ */
118 121
 function choix_statut_auteur($statut, $id_auteur, $ancre) {
119 122
 
120 123
 	// Le menu doit-il etre actif ?
Please login to merge, or discard this patch.