@@ -24,6 +24,11 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 ''; |
@@ -36,6 +36,9 @@ discard block |
||
| 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 |
||
| 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) |
@@ -119,6 +119,9 @@ |
||
| 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) |
@@ -125,6 +125,9 @@ |
||
| 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( |
@@ -87,6 +87,10 @@ discard block |
||
| 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 |
||
| 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; |
@@ -389,6 +389,9 @@ |
||
| 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']; |
@@ -149,6 +149,10 @@ |
||
| 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(); |
@@ -15,6 +15,10 @@ discard block |
||
| 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 |
||
| 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 |
||
| 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 = ''; |
@@ -115,6 +115,9 @@ |
||
| 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 ? |