Completed
Push — spip-2.1 ( b6b097...e95542 )
by cam
18:56 queued 09:04
created
ecrire/inc/charger_plugin.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -64,6 +64,9 @@  discard block
 block discarded – undo
64 64
 
65 65
 
66 66
 // http://doc.spip.org/@interface_plugins_auto
67
+/**
68
+ * @param string $retour
69
+ */
67 70
 function interface_plugins_auto($retour) {
68 71
 
69 72
 	$res = "<div class='verdana2'>";
@@ -444,6 +447,9 @@  discard block
 block discarded – undo
444 447
 // les renvoie sous forme de tableau url => titre
445 448
 // si $desc on ramene aussi le descriptif du paquet desc
446 449
 // http://doc.spip.org/@chercher_enclosures_zip
450
+/**
451
+ * @param string $rss
452
+ */
447 453
 function chercher_enclosures_zip($rss, $desc = '') {
448 454
 	$liste = array();
449 455
 	include_spip('inc/syndic');
@@ -517,6 +523,9 @@  discard block
 block discarded – undo
517 523
 // Si le chargement auto est autorise, un bouton
518 524
 // sinon on donne l'url du zip
519 525
 // http://doc.spip.org/@bouton_telechargement_plugin
526
+/**
527
+ * @param string $rep
528
+ */
520 529
 function bouton_telechargement_plugin($url, $rep) {
521 530
 	// essayer de creer le repertoire lib/ si on en a le droit
522 531
 	if (($rep == 'lib') AND !is_dir(_DIR_RACINE . 'lib'))
Please login to merge, or discard this patch.
ecrire/inc/charsets.php 1 patch
Doc Comments   +9 added lines patch added patch discarded remove patch
@@ -557,6 +557,9 @@  discard block
 block discarded – undo
557 557
 
558 558
 
559 559
 // http://doc.spip.org/@translitteration_rapide
560
+/**
561
+ * @return string
562
+ */
560 563
 function translitteration_rapide($texte, $charset='AUTO', $complexe='') {
561 564
 	static $trans;
562 565
 	if ($charset == 'AUTO')
@@ -699,6 +702,9 @@  discard block
 block discarded – undo
699 702
 // Gerer les outils mb_string
700 703
 //
701 704
 // http://doc.spip.org/@spip_substr
705
+/**
706
+ * @param integer $length
707
+ */
702 708
 function spip_substr($c, $start=0, $length = NULL) {
703 709
 	// Si ce n'est pas utf-8, utiliser substr
704 710
 	if ($GLOBALS['meta']['charset'] != 'utf-8') {
@@ -722,6 +728,9 @@  discard block
 block discarded – undo
722 728
 
723 729
 // version manuelle de substr utf8, pour php vieux et/ou mal installe
724 730
 // http://doc.spip.org/@spip_substr_manuelle
731
+/**
732
+ * @param integer $start
733
+ */
725 734
 function spip_substr_manuelle($c, $start, $length = NULL) {
726 735
 
727 736
 	// Cas pathologique
Please login to merge, or discard this patch.
ecrire/inc/chercher_rubrique.php 1 patch
Doc Comments   +13 added lines patch added patch discarded remove patch
@@ -63,6 +63,11 @@  discard block
 block discarded – undo
63 63
 }
64 64
 
65 65
 // http://doc.spip.org/@sous_menu_rubriques
66
+/**
67
+ * @param integer $root
68
+ * @param integer $niv
69
+ * @param integer $exclus
70
+ */
66 71
 function sous_menu_rubriques($id_rubrique, $root, $niv, &$data, &$enfants, $exclus, $restreint, $type) {
67 72
 	global $browser_name, $browser_version;
68 73
 	static $decalage_secteur;
@@ -163,6 +168,9 @@  discard block
 block discarded – undo
163 168
 }
164 169
 
165 170
 // http://doc.spip.org/@selecteur_rubrique_ajax
171
+/**
172
+ * @param string $do
173
+ */
166 174
 function selecteur_rubrique_ajax($id_rubrique, $type, $restreint, $idem=0, $do) {
167 175
 
168 176
        ## $restreint, si c'est un tableau, limite les rubriques selectionnables
@@ -197,6 +205,11 @@  discard block
 block discarded – undo
197 205
 // getElement en mode Ajax est trop couteux).
198 206
 
199 207
 // http://doc.spip.org/@construire_selecteur
208
+/**
209
+ * @param string $url
210
+ * @param string $idom
211
+ * @param string $name
212
+ */
200 213
 function construire_selecteur($url, $js, $idom, $name, $init='', $id=0)
201 214
 {
202 215
 	$icone = (strpos($idom, 'auteur')!==false) ? 'message.gif' : 'loupe.png';
Please login to merge, or discard this patch.
ecrire/inc/commencer_page.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -239,6 +239,11 @@
 block discarded – undo
239 239
 
240 240
 
241 241
 // http://doc.spip.org/@lien_change_var
242
+/**
243
+ * @param string $set
244
+ * @param string $couleur
245
+ * @param string $coords
246
+ */
242 247
 function lien_change_var($lien, $set, $couleur, $coords, $titre, $mouseOver="") {
243 248
 	$lien = parametre_url($lien, $set, $couleur);
244 249
 	return "\n<area shape='rect' href='$lien' coords='$coords' title=\"$titre\" alt=\"$titre\" $mouseOver />";
Please login to merge, or discard this patch.
ecrire/inc/config.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -163,6 +163,9 @@
 block discarded – undo
163 163
 
164 164
 
165 165
 // http://doc.spip.org/@afficher_choix
166
+/**
167
+ * @param string $nom
168
+ */
166 169
 function afficher_choix($nom, $valeur_actuelle, $valeurs, $sep = "<br />") {
167 170
 	$choix = array();
168 171
 	while (list($valeur, $titre) = each($valeurs)) {
Please login to merge, or discard this patch.
ecrire/inc/date.php 1 patch
Doc Comments   +6 added lines patch added patch discarded remove patch
@@ -84,6 +84,9 @@  discard block
 block discarded – undo
84 84
 }
85 85
 
86 86
 // http://doc.spip.org/@afficher_heure
87
+/**
88
+ * @param string $heure
89
+ */
87 90
 function afficher_heure($heure, $attributs, $autre=false){
88 91
 	$res = '';
89 92
 	for($i=0;$i<=23;$i++){
@@ -94,6 +97,9 @@  discard block
 block discarded – undo
94 97
 }
95 98
 
96 99
 // http://doc.spip.org/@afficher_minute
100
+/**
101
+ * @param string $minute
102
+ */
97 103
 function afficher_minute($minute, $attributs, $autre=false){
98 104
 	$res = '';
99 105
 	for($i=0;$i<=59;$i+=5){
Please login to merge, or discard this patch.
ecrire/inc/dater.php 1 patch
Doc Comments   +7 added lines patch added patch discarded remove patch
@@ -34,6 +34,9 @@  discard block
 block discarded – undo
34 34
 	return ajax_action_greffe("dater", $id, $res);
35 35
 }
36 36
 
37
+/**
38
+ * @param string $date_redac
39
+ */
37 40
 function dater_lecture($date, $date_redac, $possedeDateRedac, $label)
38 41
 {
39 42
 	$res = "<div style='text-align:center;'><b> <span class='verdana1'>"
@@ -54,6 +57,10 @@  discard block
 block discarded – undo
54 57
 	return $res;
55 58
 }
56 59
 
60
+/**
61
+ * @param string $date_redac
62
+ * @param string $fct_ajax
63
+ */
57 64
 function dater_ecriture($id, $possedeDateRedac, $statut, $type, $script, $date, $date_redac, $fct_ajax) {
58 65
 	global $spip_lang_left, $spip_lang_right, $debut_date_publication;
59 66
 
Please login to merge, or discard this patch.
ecrire/inc/diff.php 1 patch
Doc Comments   +3 added lines patch added patch discarded remove patch
@@ -194,6 +194,9 @@
 block discarded – undo
194 194
 	}
195 195
 
196 196
 // http://doc.spip.org/@_diff
197
+	/**
198
+	 * @return string
199
+	 */
197 200
 	function _diff($p, $p_old) {
198 201
 		$diff = new Diff(new DiffPara);
199 202
 		return $diff->comparer($p, $p_old);
Please login to merge, or discard this patch.
ecrire/inc/discuter.php 1 patch
Doc Comments   +5 added lines patch added patch discarded remove patch
@@ -16,6 +16,11 @@
 block discarded – undo
16 16
 include_spip('inc/presentation');
17 17
 
18 18
 // http://doc.spip.org/@formulaire_discuter
19
+/**
20
+ * @param integer $debut
21
+ * @param integer $pas
22
+ * @param string $ancre
23
+ */
19 24
 function formulaire_discuter($script, $args, $debut, $pas, $ancre, $total, $objet)
20 25
 {
21 26
 	$nav = '';
Please login to merge, or discard this patch.