Completed
Push — spip-2.1 ( b6b097 )
by cam
42:28 queued 30:44
created
ecrire/inc/syndic.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -281,6 +281,9 @@  discard block
 block discarded – undo
281 281
 // helas strtotime ne reconnait pas le format W3C
282 282
 // http://www.w3.org/TR/NOTE-datetime
283 283
 // http://doc.spip.org/@my_strtotime
284
+/**
285
+ * @param string $la_date
286
+ */
284 287
 function my_strtotime($la_date) {
285 288
 
286 289
 	// format complet
@@ -317,6 +320,9 @@  discard block
 block discarded – undo
317 320
 // A partir d'un <dc:subject> ou autre essayer de recuperer
318 321
 // le mot et son url ; on cree <a href="url" rel="tag">mot</a>
319 322
 // http://doc.spip.org/@creer_tag
323
+/**
324
+ * @param string $type
325
+ */
320 326
 function creer_tag($mot,$type,$url) {
321 327
 	if (!strlen($mot = trim($mot))) return '';
322 328
 	$mot = "<a rel=\"tag\">$mot</a>";
Please login to merge, or discard this patch.
ecrire/inc/texte.php 1 patch
Doc Comments   +15 added lines patch added patch discarded remove patch
@@ -478,6 +478,9 @@  discard block
 block discarded – undo
478 478
 // avec protection prealable des balises HTML et SPIP
479 479
 
480 480
 // http://doc.spip.org/@typo
481
+/**
482
+ * @param string $connect
483
+ */
481 484
 function typo($letexte, $echapper=true, $connect=null) {
482 485
 	// Plus vite !
483 486
 	if (!$letexte) return $letexte;
@@ -581,6 +584,9 @@  discard block
 block discarded – undo
581 584
 define('_RACCOURCI_THEAD', true);
582 585
 
583 586
 // http://doc.spip.org/@traiter_tableau
587
+/**
588
+ * @param string $bloc
589
+ */
584 590
 function traiter_tableau($bloc) {
585 591
 
586 592
 	// Decouper le tableau en lignes
@@ -809,6 +815,9 @@  discard block
 block discarded – undo
809 815
 // Sert aussi a nettoyer un texte qu'on veut mettre dans un <a> etc.
810 816
 // TODO: gerer les modeles ?
811 817
 // http://doc.spip.org/@supprime_img
818
+/**
819
+ * @param string $message
820
+ */
812 821
 function supprime_img($letexte, $message=NULL) {
813 822
 	if ($message===NULL) $message = '(' . _T('img_indisponible') . ')';
814 823
 	return preg_replace(',<(img|doc|emb)([0-9]+)(\|([^>]*))?'.'\s*/?'.'>,i',
@@ -823,6 +832,9 @@  discard block
 block discarded – undo
823 832
 // deuxieme argument : forcer les <p> meme pour un seul paragraphe
824 833
 //
825 834
 // http://doc.spip.org/@paragrapher
835
+/**
836
+ * @param string $letexte
837
+ */
826 838
 function paragrapher($letexte, $forcer=true) {
827 839
 	global $class_spip;
828 840
 
@@ -884,6 +896,9 @@  discard block
 block discarded – undo
884 896
 
885 897
 // Harmonise les retours chariots et mange les paragraphes html
886 898
 // http://doc.spip.org/@traiter_retours_chariots
899
+/**
900
+ * @return string
901
+ */
887 902
 function traiter_retours_chariots($letexte) {
888 903
 	$letexte = preg_replace(",\r\n?,S", "\n", $letexte);
889 904
 	$letexte = preg_replace(",<p[>[:space:]],iS", "\n\n\\0", $letexte);
Please login to merge, or discard this patch.
ecrire/inc/tourner.php 1 patch
Doc Comments   +10 added lines patch added patch discarded remove patch
@@ -68,6 +68,9 @@  discard block
 block discarded – undo
68 68
 }
69 69
 
70 70
 // http://doc.spip.org/@tourner_greffe
71
+/**
72
+ * @param string|null $res
73
+ */
71 74
 function tourner_greffe($id_document, $document, $url, $res)
72 75
 {
73 76
 	$res .= "<div style='text-align: center;'>"
@@ -81,6 +84,9 @@  discard block
 block discarded – undo
81 84
 }
82 85
 
83 86
 // http://doc.spip.org/@boutons_rotateurs
87
+/**
88
+ * @param integer $id
89
+ */
84 90
 function boutons_rotateurs($document, $type, $id, $id_document, $script) {
85 91
 	global $spip_lang_right;
86 92
 
@@ -112,6 +118,10 @@  discard block
 block discarded – undo
112 118
 }
113 119
 
114 120
 // http://doc.spip.org/@bouton_tourner_document
121
+/**
122
+ * @param integer $rot
123
+ * @param string $img
124
+ */
115 125
 function bouton_tourner_document($id, $id_document, $script, $rot, $type, $img, $title)
116 126
 {
117 127
   return ajax_action_auteur("tourner",
Please login to merge, or discard this patch.
ecrire/inc/traduire.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -16,6 +16,9 @@
 block discarded – undo
16 16
 // Charger un fichier langue
17 17
 //
18 18
 // http://doc.spip.org/@chercher_module_lang
19
+/**
20
+ * @param string $module
21
+ */
19 22
 function chercher_module_lang($module, $lang = '') {
20 23
 	if ($lang)
21 24
 		$lang = '_'.$lang;
Please login to merge, or discard this patch.
ecrire/inc/xml.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -158,6 +158,9 @@
 block discarded – undo
158 158
 }
159 159
 
160 160
 // http://doc.spip.org/@spip_xml_match_nodes
161
+/**
162
+ * @param string $regexp
163
+ */
161 164
 function spip_xml_match_nodes($regexp,&$arbre,&$matches){
162 165
 	if(is_array($arbre) && count($arbre))
163 166
 		foreach(array_keys($arbre) as $tag){
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/install/etape_sup1.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -83,6 +83,11 @@
 block discarded – undo
83 83
 }
84 84
 
85 85
 // http://doc.spip.org/@install_etape_sup1_form
86
+/**
87
+ * @param string $hidden
88
+ * @param string $checked
89
+ * @param string $etape
90
+ */
86 91
 function install_etape_sup1_form($hidden, $checked, $bases, $etape)
87 92
  {
88 93
 	if ($bases) {
Please login to merge, or discard this patch.
ecrire/maj/v019_pre193.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -12,6 +12,9 @@
 block discarded – undo
12 12
 
13 13
 if (!defined('_ECRIRE_INC_VERSION')) return;
14 14
 
15
+/**
16
+ * @param integer $version_cible
17
+ */
15 18
 function v019_pre193($version_installee, $version_cible)
16 19
 {
17 20
 	// Syndication : ajout de l'option resume=oui/non et de la langue
Please login to merge, or discard this patch.