@@ -267,6 +267,9 @@ |
||
| 267 | 267 | // Enregistrre les options et retourne True s'il faut syndiquer. |
| 268 | 268 | |
| 269 | 269 | // http://doc.spip.org/@editer_site_options |
| 270 | +/** |
|
| 271 | + * @param string $id_syndic |
|
| 272 | + */ |
|
| 270 | 273 | function editer_site_options($id_syndic) |
| 271 | 274 | { |
| 272 | 275 | $moderation = _request('moderation'); |
@@ -21,6 +21,9 @@ discard block |
||
| 21 | 21 | } |
| 22 | 22 | |
| 23 | 23 | |
| 24 | +/** |
|
| 25 | + * @param integer $longueur_maxi |
|
| 26 | + */ |
|
| 24 | 27 | function url_nettoyer($titre,$longueur_maxi,$longueur_min=0,$separateur='-',$filtre=''){ |
| 25 | 28 | if (!defined('_TRANSLITTERER_URL')) define('_TRANSLITTERER_URL', true); |
| 26 | 29 | |
@@ -79,6 +82,10 @@ discard block |
||
| 79 | 82 | return $url; |
| 80 | 83 | } |
| 81 | 84 | |
| 85 | +/** |
|
| 86 | + * @param boolean $confirmer |
|
| 87 | + * @param string $separateur |
|
| 88 | + */ |
|
| 82 | 89 | function url_insert(&$set,$confirmer,$separateur){ |
| 83 | 90 | // Si l'insertion echoue, c'est une violation d'unicite. |
| 84 | 91 | if (@sql_insertq('spip_urls', $set) <= 0) { |
@@ -41,6 +41,9 @@ discard block |
||
| 41 | 41 | echo minipres(_T('info_sauvegarde'), $corps); |
| 42 | 42 | } |
| 43 | 43 | |
| 44 | +/** |
|
| 45 | + * @param string $subdir |
|
| 46 | + */ |
|
| 44 | 47 | function export_all_rename($nom, $subdir) |
| 45 | 48 | { |
| 46 | 49 | $dir = dirname($subdir); |
@@ -57,6 +60,9 @@ discard block |
||
| 57 | 60 | // Concatenation des tranches |
| 58 | 61 | |
| 59 | 62 | // http://doc.spip.org/@ramasse_parties |
| 63 | +/** |
|
| 64 | + * @param string $meta |
|
| 65 | + */ |
|
| 60 | 66 | function ramasse_parties($rub, $archive, $meta) |
| 61 | 67 | { |
| 62 | 68 | $dir = base_dump_dir($meta); |
@@ -88,6 +94,9 @@ discard block |
||
| 88 | 94 | } |
| 89 | 95 | |
| 90 | 96 | // http://doc.spip.org/@export_entete |
| 97 | +/** |
|
| 98 | + * @param string $version_archive |
|
| 99 | + */ |
|
| 91 | 100 | function export_entete($version_archive) |
| 92 | 101 | { |
| 93 | 102 | return |
@@ -108,6 +117,10 @@ discard block |
||
| 108 | 117 | // http://doc.spip.org/@export_enpied |
| 109 | 118 | function export_enpied () { return "</SPIP>\n";} |
| 110 | 119 | |
| 120 | +/** |
|
| 121 | + * @param false|string $dest |
|
| 122 | + * @param string $retour |
|
| 123 | + */ |
|
| 111 | 124 | function export_all_report_size($dest, $rub, $size, $retour) |
| 112 | 125 | { |
| 113 | 126 | global $spip_lang_left,$spip_lang_right; |
@@ -28,6 +28,9 @@ |
||
| 28 | 28 | } |
| 29 | 29 | |
| 30 | 30 | // http://doc.spip.org/@action_instituer_groupe_mots_post |
| 31 | +/** |
|
| 32 | + * @param string $id_groupe |
|
| 33 | + */ |
|
| 31 | 34 | function action_instituer_groupe_mots_post($id_groupe) |
| 32 | 35 | { |
| 33 | 36 | if ($id_groupe < 0){ |
@@ -31,6 +31,9 @@ |
||
| 31 | 31 | } |
| 32 | 32 | |
| 33 | 33 | // http://doc.spip.org/@action_legender_post |
| 34 | +/** |
|
| 35 | + * @param string[] $r |
|
| 36 | + */ |
|
| 34 | 37 | function action_legender_post($r) |
| 35 | 38 | { |
| 36 | 39 | $id_document = $r[1]; |
@@ -25,6 +25,9 @@ |
||
| 25 | 25 | } |
| 26 | 26 | |
| 27 | 27 | // http://doc.spip.org/@action_poster_forum_prive_post |
| 28 | +/** |
|
| 29 | + * @param string[] $r |
|
| 30 | + */ |
|
| 28 | 31 | function action_poster_forum_prive_post($r) |
| 29 | 32 | { |
| 30 | 33 | list(,$id, $id_parent, $statut, $script, $objet) = $r; |
@@ -44,6 +44,10 @@ |
||
| 44 | 44 | } |
| 45 | 45 | |
| 46 | 46 | // http://doc.spip.org/@instituer_langue_article |
| 47 | +/** |
|
| 48 | + * @param string $id_article |
|
| 49 | + * @param string $id_rubrique |
|
| 50 | + */ |
|
| 47 | 51 | function instituer_langue_article($id_article, $id_rubrique) { |
| 48 | 52 | |
| 49 | 53 | $changer_lang = _request('changer_lang'); |
@@ -24,6 +24,9 @@ |
||
| 24 | 24 | } |
| 25 | 25 | |
| 26 | 26 | // http://doc.spip.org/@action_supprimer_traduction_post |
| 27 | +/** |
|
| 28 | + * @param string[] $r |
|
| 29 | + */ |
|
| 27 | 30 | function action_supprimer_traduction_post($r) |
| 28 | 31 | { |
| 29 | 32 | sql_updateq("spip_articles", array("id_trad" => 0), "id_article=" . $r[1]); |
@@ -23,6 +23,9 @@ discard block |
||
| 23 | 23 | } |
| 24 | 24 | |
| 25 | 25 | // http://doc.spip.org/@action_tourner_post |
| 26 | +/** |
|
| 27 | + * @param string[] $r |
|
| 28 | + */ |
|
| 26 | 29 | function action_tourner_post($r) |
| 27 | 30 | { |
| 28 | 31 | $arg = $r[1]; |
@@ -120,6 +123,11 @@ discard block |
||
| 120 | 123 | // Faire tourner une image |
| 121 | 124 | // |
| 122 | 125 | // http://doc.spip.org/@gdRotate |
| 126 | +/** |
|
| 127 | + * @param string $src |
|
| 128 | + * @param string $dest |
|
| 129 | + * @param integer $rtt |
|
| 130 | + */ |
|
| 123 | 131 | function gdRotate ($src, $dest, $rtt){ |
| 124 | 132 | $src_img = ''; |
| 125 | 133 | if(preg_match("/\.(png|gif|jpe?g|bmp)$/i", $src, $regs)) { |