Completed
Push — master ( 3b02ce...3ce0a2 )
by cam
32:10 queued 14:09
created
ecrire/inc/filtres_images_mini.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -14,6 +14,9 @@
 block discarded – undo
14 14
 include_spip('inc/filtres_images_lib_mini'); // par precaution
15 15
 
16 16
 // http://doc.spip.org/@couleur_html_to_hex
17
+/**
18
+ * @param string $couleur
19
+ */
17 20
 function couleur_html_to_hex($couleur){
18 21
 	$couleurs_html=array(
19 22
 		'aqua'=>'00FFFF','black'=>'000000','blue'=>'0000FF','fuchsia'=>'FF00FF','gray'=>'808080','green'=>'008000','lime'=>'00FF00','maroon'=>'800000',
Please login to merge, or discard this patch.
ecrire/install/etape_2.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -147,6 +147,11 @@
 block discarded – undo
147 147
 }
148 148
 
149 149
 // http://doc.spip.org/@install_etape_2_form
150
+/**
151
+ * @param string $hidden
152
+ * @param string $res
153
+ * @param integer $etape
154
+ */
150 155
 function install_etape_2_form($hidden, $checked, $res, $etape)
151 156
  {
152 157
 	return generer_form_ecrire('install', (
Please login to merge, or discard this patch.
ecrire/install/etape_3.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -185,6 +185,9 @@
 block discarded – undo
185 185
 
186 186
 
187 187
 // http://doc.spip.org/@install_premier_auteur
188
+/**
189
+ * @param string $hidden
190
+ */
188 191
 function install_premier_auteur($email, $login, $nom, $pass, $hidden)
189 192
 {
190 193
 	return info_progression_etape(3,'etape_','install/') .
Please login to merge, or discard this patch.
ecrire/plugins/afficher_liste.php 1 patch
Doc Comments   +4 added lines patch added patch discarded remove patch
@@ -51,6 +51,10 @@
 block discarded – undo
51 51
 
52 52
 
53 53
 // http://doc.spip.org/@affiche_block_initiale
54
+/**
55
+ * @param string $initiale
56
+ * @param string $block
57
+ */
54 58
 function affiche_block_initiale($initiale,$block,$block_actif){
55 59
 	if (strlen($block)){
56 60
 		return "<li class='item'>"
Please login to merge, or discard this patch.
ecrire/plugins/afficher_repertoires.php 1 patch
Doc Comments   +8 added lines patch added patch discarded remove patch
@@ -69,11 +69,19 @@
 block discarded – undo
69 69
 // vraiment n'importe quoi la gestion des chemins des plugins
70 70
 // une fonction pour aider...
71 71
 // http://doc.spip.org/@chemin_plug
72
+/**
73
+ * @param string $racine
74
+ *
75
+ * @return string
76
+ */
72 77
 function chemin_plug($racine, $plug) {
73 78
 	return preg_replace(',[^/]+/\.\./,', '', "$racine/$plug");
74 79
 }
75 80
 
76 81
 // http://doc.spip.org/@tree_open_close_dir
82
+/**
83
+ * @param string $target
84
+ */
77 85
 function tree_open_close_dir(&$current,$target,$deplie=array()){
78 86
 	if ($current == $target) return "";
79 87
 	$tcur = explode("/",$current);
Please login to merge, or discard this patch.
ecrire/public/normaliser.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -71,6 +71,9 @@
 block discarded – undo
71 71
 }
72 72
 
73 73
 
74
+/**
75
+ * @param string $nom
76
+ */
74 77
 function phraser_logo_faux_filtres($nom)
75 78
 {
76 79
 	switch($nom) {
Please login to merge, or discard this patch.
ecrire/public/parametrer.php 1 patch
Doc Comments   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -183,7 +183,7 @@
 block discarded – undo
183 183
  * http://doc.spip.org/@tester_redirection
184 184
  *
185 185
  * @param string $fond
186
- * @param array $contexte
186
+ * @param string $contexte
187 187
  * @param string $connect
188 188
  * @return array|bool
189 189
  */
Please login to merge, or discard this patch.
ecrire/public/tracer.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -36,6 +36,9 @@
 block discarded – undo
36 36
 }
37 37
 
38 38
 // http://doc.spip.org/@trace_query_chrono
39
+/**
40
+ * @param string $m2
41
+ */
39 42
 function trace_query_chrono($m1, $m2, $query, $result, $serveur='')
40 43
 {
41 44
 	static $tt = 0, $nb=0;
Please login to merge, or discard this patch.
ecrire/xml/analyser_dtd.php 1 patch
Doc Comments   +24 added lines patch added patch discarded remove patch
@@ -139,6 +139,9 @@  discard block
 block discarded – undo
139 139
 }
140 140
 
141 141
 // http://doc.spip.org/@analyser_dtd_comment
142
+/**
143
+ * @param string $dtd
144
+ */
142 145
 function analyser_dtd_comment($dtd, &$dtc, $grammaire){
143 146
 	// ejecter les commentaires, surtout quand ils contiennent du code.
144 147
 	// Option /s car sur plusieurs lignes parfois
@@ -149,6 +152,9 @@  discard block
 block discarded – undo
149 152
 }
150 153
 
151 154
 // http://doc.spip.org/@analyser_dtd_pi
155
+/**
156
+ * @param string $dtd
157
+ */
152 158
 function analyser_dtd_pi($dtd, &$dtc, $grammaire){
153 159
 	if (!preg_match('/^<\?.*?>\s*(.*)$/s', $dtd, $m))
154 160
 		return -10;
@@ -156,6 +162,9 @@  discard block
 block discarded – undo
156 162
 }
157 163
 
158 164
 // http://doc.spip.org/@analyser_dtd_lexeme
165
+/**
166
+ * @param string $dtd
167
+ */
159 168
 function analyser_dtd_lexeme($dtd, &$dtc, $grammaire){
160 169
 
161 170
 	if (!preg_match(_REGEXP_ENTITY_DEF,$dtd, $m))
@@ -181,6 +190,9 @@  discard block
 block discarded – undo
181 190
 // ca ne depasse pas 3 ici.
182 191
 
183 192
 // http://doc.spip.org/@analyser_dtd_data
193
+/**
194
+ * @param string $dtd
195
+ */
184 196
 function analyser_dtd_data($dtd, &$dtc, $grammaire){
185 197
 
186 198
 	if (!preg_match(_REGEXP_INCLUDE_USE,$dtd,$m))
@@ -196,6 +208,9 @@  discard block
 block discarded – undo
196 208
 }
197 209
 
198 210
 // http://doc.spip.org/@analyser_dtd_notation
211
+/**
212
+ * @param string $dtd
213
+ */
199 214
 function analyser_dtd_notation($dtd, &$dtc, $grammaire){
200 215
 	if (!preg_match('/^<!NOTATION.*?>\s*(.*)$/s',$dtd, $m))
201 216
 		return -8;
@@ -204,6 +219,9 @@  discard block
 block discarded – undo
204 219
 }
205 220
 
206 221
 // http://doc.spip.org/@analyser_dtd_entity
222
+/**
223
+ * @param string $dtd
224
+ */
207 225
 function analyser_dtd_entity($dtd, &$dtc, $grammaire)
208 226
 {
209 227
 	if (!preg_match(_REGEXP_ENTITY_DECL, $dtd, $m))
@@ -253,6 +271,9 @@  discard block
 block discarded – undo
253 271
 // Fin du controle en finElement
254 272
 
255 273
 // http://doc.spip.org/@analyser_dtd_element
274
+/**
275
+ * @param string $dtd
276
+ */
256 277
 function analyser_dtd_element($dtd, &$dtc, $grammaire)
257 278
 {
258 279
 	if (!preg_match('/^<!ELEMENT\s+([^>\s]+)([^>]*)>\s*(.*)$/s', $dtd, $m))
@@ -295,6 +316,9 @@  discard block
 block discarded – undo
295 316
 
296 317
 
297 318
 // http://doc.spip.org/@analyser_dtd_attlist
319
+/**
320
+ * @param string $dtd
321
+ */
298 322
 function analyser_dtd_attlist($dtd, &$dtc, $grammaire)
299 323
 {
300 324
 	if (!preg_match('/^<!ATTLIST\s+(\S+)\s+([^>]*)>\s*(.*)/s', $dtd, $m))
Please login to merge, or discard this patch.