@@ -50,7 +50,7 @@ discard block |
||
| 50 | 50 | |
| 51 | 51 | // si l'objet existe deja, on retourne simplement ses valeurs |
| 52 | 52 | if (is_numeric($id_objet)) { |
| 53 | - return sql_fetsel('*', $table, "$_id_objet=" . intval($id_objet)); |
|
| 53 | + return sql_fetsel('*', $table, "$_id_objet=".intval($id_objet)); |
|
| 54 | 54 | } |
| 55 | 55 | |
| 56 | 56 | // ici, on demande une creation. |
@@ -64,7 +64,7 @@ discard block |
||
| 64 | 64 | // si demande de traduction |
| 65 | 65 | // on recupere les valeurs de la traduction |
| 66 | 66 | if ($lier_trad) { |
| 67 | - if ($select = charger_fonction('precharger_traduction_' . $type, 'inc', true)) { |
|
| 67 | + if ($select = charger_fonction('precharger_traduction_'.$type, 'inc', true)) { |
|
| 68 | 68 | $row = $select($id_objet, $id_rubrique, $lier_trad); |
| 69 | 69 | } else { |
| 70 | 70 | $row = precharger_traduction_objet($type, $id_objet, $id_rubrique, $lier_trad, $champ_titre); |
@@ -102,7 +102,7 @@ discard block |
||
| 102 | 102 | // recuperer le secteur, pour affecter les bons champs extras |
| 103 | 103 | if ($id_rubrique and $is_secteur) { |
| 104 | 104 | if (!$row['id_secteur']) { |
| 105 | - $row_rub = sql_getfetsel('id_secteur', 'spip_rubriques', 'id_rubrique=' . sql_quote($id_rubrique)); |
|
| 105 | + $row_rub = sql_getfetsel('id_secteur', 'spip_rubriques', 'id_rubrique='.sql_quote($id_rubrique)); |
|
| 106 | 106 | $row['id_secteur'] = $row_rub; |
| 107 | 107 | } |
| 108 | 108 | } |
@@ -133,10 +133,10 @@ discard block |
||
| 133 | 133 | $_id_objet = id_table_objet($table); |
| 134 | 134 | |
| 135 | 135 | // Recuperer les donnees de l'objet original |
| 136 | - $row = sql_fetsel('*', $table, "$_id_objet=" . intval($lier_trad)); |
|
| 136 | + $row = sql_fetsel('*', $table, "$_id_objet=".intval($lier_trad)); |
|
| 137 | 137 | if ($row) { |
| 138 | 138 | include_spip('inc/filtres'); |
| 139 | - $row[$champ_titre] = filtrer_entites(objet_T($type, 'info_nouvelle_traduction')) . ' ' . $row[$champ_titre]; |
|
| 139 | + $row[$champ_titre] = filtrer_entites(objet_T($type, 'info_nouvelle_traduction')).' '.$row[$champ_titre]; |
|
| 140 | 140 | } else { |
| 141 | 141 | $row = []; |
| 142 | 142 | } |
@@ -186,14 +186,14 @@ discard block |
||
| 186 | 186 | $id_parent = 0; |
| 187 | 187 | } else { |
| 188 | 188 | // on cherche une rubrique soeur dans la bonne langue |
| 189 | - $row_rub = sql_fetsel('id_parent', 'spip_rubriques', 'id_rubrique=' . intval($id_rubrique)); |
|
| 189 | + $row_rub = sql_fetsel('id_parent', 'spip_rubriques', 'id_rubrique='.intval($id_rubrique)); |
|
| 190 | 190 | $id_parent = $row_rub['id_parent']; |
| 191 | 191 | } |
| 192 | 192 | |
| 193 | 193 | $row_rub = sql_fetsel( |
| 194 | 194 | 'id_rubrique', |
| 195 | 195 | 'spip_rubriques', |
| 196 | - "lang='" . $GLOBALS['spip_lang'] . "' AND id_parent=" . intval($id_parent) |
|
| 196 | + "lang='".$GLOBALS['spip_lang']."' AND id_parent=".intval($id_parent) |
|
| 197 | 197 | ); |
| 198 | 198 | if ($row_rub) { |
| 199 | 199 | $row['id_rubrique'] = $row_rub['id_rubrique']; |
@@ -40,9 +40,9 @@ discard block |
||
| 40 | 40 | $mode = preg_replace(',\W,', '', $mode); |
| 41 | 41 | if ($mode) { |
| 42 | 42 | // chercher dans la base |
| 43 | - $mode_document = 'logo' . $mode; |
|
| 43 | + $mode_document = 'logo'.$mode; |
|
| 44 | 44 | $objet = objet_type($_id_objet); |
| 45 | - $doc = sql_fetsel('D.*', 'spip_documents AS D JOIN spip_documents_liens AS L ON L.id_document=D.id_document', 'D.mode=' . sql_quote($mode_document) . ' AND L.objet=' . sql_quote($objet) . ' AND id_objet=' . intval($id)); |
|
| 45 | + $doc = sql_fetsel('D.*', 'spip_documents AS D JOIN spip_documents_liens AS L ON L.id_document=D.id_document', 'D.mode='.sql_quote($mode_document).' AND L.objet='.sql_quote($objet).' AND id_objet='.intval($id)); |
|
| 46 | 46 | if ($doc) { |
| 47 | 47 | include_spip('inc/documents'); |
| 48 | 48 | $d = get_spip_doc($doc['fichier']); |
@@ -53,10 +53,10 @@ discard block |
||
| 53 | 53 | if ($compat_old_logos) { |
| 54 | 54 | # attention au cas $id = '0' pour LOGO_SITE_SPIP : utiliser intval() |
| 55 | 55 | $type = type_du_logo($_id_objet); |
| 56 | - $nom = $type . $mode . intval($id); |
|
| 56 | + $nom = $type.$mode.intval($id); |
|
| 57 | 57 | |
| 58 | 58 | foreach ($GLOBALS['formats_logos'] as $format) { |
| 59 | - if (@file_exists($d = (_DIR_LOGOS . $nom . '.' . $format))) { |
|
| 59 | + if (@file_exists($d = (_DIR_LOGOS.$nom.'.'.$format))) { |
|
| 60 | 60 | return [$d, _DIR_LOGOS, $nom, $format, @filemtime($d)]; |
| 61 | 61 | } |
| 62 | 62 | } |
@@ -55,7 +55,7 @@ |
||
| 55 | 55 | $champs[] = 'virtuel'; |
| 56 | 56 | } |
| 57 | 57 | |
| 58 | - $data = sql_fetsel('*', $desc['table'], $_id_table . '=' . intval($id_trad)); |
|
| 58 | + $data = sql_fetsel('*', $desc['table'], $_id_table.'='.intval($id_trad)); |
|
| 59 | 59 | |
| 60 | 60 | foreach ($champs as $c) { |
| 61 | 61 | $set[$c] = $data[$c]; |
@@ -47,15 +47,15 @@ discard block |
||
| 47 | 47 | $je_suis_poste = $flux['args']['je_suis_poste']; |
| 48 | 48 | |
| 49 | 49 | $cle_autosave = serialize($cle_autosave); |
| 50 | - $cle_autosave = $form . '_' . md5($cle_autosave); |
|
| 50 | + $cle_autosave = $form.'_'.md5($cle_autosave); |
|
| 51 | 51 | |
| 52 | 52 | // si on a un backup en session et qu'on est au premier chargement, non poste |
| 53 | 53 | // on restitue les donnees |
| 54 | 54 | if ( |
| 55 | - isset($GLOBALS['visiteur_session']['session_autosave_' . $cle_autosave]) |
|
| 55 | + isset($GLOBALS['visiteur_session']['session_autosave_'.$cle_autosave]) |
|
| 56 | 56 | and !$je_suis_poste |
| 57 | 57 | ) { |
| 58 | - parse_str($GLOBALS['visiteur_session']['session_autosave_' . $cle_autosave], $vars); |
|
| 58 | + parse_str($GLOBALS['visiteur_session']['session_autosave_'.$cle_autosave], $vars); |
|
| 59 | 59 | foreach ($vars as $key => $val) { |
| 60 | 60 | if (isset($flux['data'][$key])) { |
| 61 | 61 | $flux['data'][$key] = (is_string($val) ? autosave_clean_value($val) : array_map( |
@@ -71,8 +71,8 @@ discard block |
||
| 71 | 71 | if ($je_suis_poste and _request('autosave') === $cle_autosave and function_exists('terminer_actualiser_sessions')) { |
| 72 | 72 | terminer_actualiser_sessions(); |
| 73 | 73 | // et verifions si jamais l'autosave a fait un come back, dans ce cas on le revide |
| 74 | - if (isset($GLOBALS['visiteur_session']['session_autosave_' . $cle_autosave])) { |
|
| 75 | - session_set('session_autosave_' . $cle_autosave, null); |
|
| 74 | + if (isset($GLOBALS['visiteur_session']['session_autosave_'.$cle_autosave])) { |
|
| 75 | + session_set('session_autosave_'.$cle_autosave, null); |
|
| 76 | 76 | // en court sleep pour etre certain que la concurrence est finie |
| 77 | 77 | sleep(1); |
| 78 | 78 | terminer_actualiser_sessions(); |
@@ -85,7 +85,7 @@ discard block |
||
| 85 | 85 | */ |
| 86 | 86 | $flux['data']['_hidden'] .= "<input type='hidden' name='autosave' class='autosaveactive' value='$cle_autosave' />" |
| 87 | 87 | . '<script type="text/javascript">/*<![CDATA[*/if (window.jQuery) jQuery(function(){ |
| 88 | - $("input.autosaveactive").closest("form:not(.autosaveon)").autosave({url:"' . $GLOBALS['meta']['adresse_site'] . '/"}).addClass("autosaveon"); |
|
| 88 | + $("input.autosaveactive").closest("form:not(.autosaveon)").autosave({url:"' . $GLOBALS['meta']['adresse_site'].'/"}).addClass("autosaveon"); |
|
| 89 | 89 | });/*]]>*/</script>'; |
| 90 | 90 | } |
| 91 | 91 | |
@@ -107,7 +107,7 @@ discard block |
||
| 107 | 107 | // on elimine les donnees de la session |
| 108 | 108 | if ($cle_autosave = _request('autosave')) { |
| 109 | 109 | include_spip('inc/session'); |
| 110 | - session_set('session_autosave_' . $cle_autosave, null); |
|
| 110 | + session_set('session_autosave_'.$cle_autosave, null); |
|
| 111 | 111 | } |
| 112 | 112 | |
| 113 | 113 | if (isset($GLOBALS['visiteur_session']) and $GLOBALS['visiteur_session']) { |
@@ -150,7 +150,7 @@ discard block |
||
| 150 | 150 | $role = $roles['roles']['defaut']; |
| 151 | 151 | } |
| 152 | 152 | // where |
| 153 | - $cond = ["$colonne_role=" . sql_quote($role)]; |
|
| 153 | + $cond = ["$colonne_role=".sql_quote($role)]; |
|
| 154 | 154 | } |
| 155 | 155 | |
| 156 | 156 | return [$role, $colonne_role, $cond]; |
@@ -185,7 +185,7 @@ discard block |
||
| 185 | 185 | if ($colonne_role) { |
| 186 | 186 | // on ajoute la condition du role aux autres conditions. |
| 187 | 187 | if ($role != '*') { |
| 188 | - $cond[] = "$colonne_role=" . sql_quote($role); |
|
| 188 | + $cond[] = "$colonne_role=".sql_quote($role); |
|
| 189 | 189 | } |
| 190 | 190 | } |
| 191 | 191 | |
@@ -369,7 +369,7 @@ discard block |
||
| 369 | 369 | $all = sql_allfetsel( |
| 370 | 370 | "DISTINCT $colone_role", |
| 371 | 371 | $l, |
| 372 | - 'objet=' . sql_quote(($objet_source == $objet_lien) ? $objet : $objet_source) |
|
| 372 | + 'objet='.sql_quote(($objet_source == $objet_lien) ? $objet : $objet_source) |
|
| 373 | 373 | ); |
| 374 | 374 | $done[$hash] = array_map('reset', $all); |
| 375 | 375 | |
@@ -146,7 +146,7 @@ discard block |
||
| 146 | 146 | if (isset($data[$root])) { # pas de racine sauf pour les rubriques |
| 147 | 147 | $r = "<option$selected value='$root' class='$class' style='$style'>$espace" |
| 148 | 148 | . $data[$root] |
| 149 | - . '</option>' . "\n"; |
|
| 149 | + . '</option>'."\n"; |
|
| 150 | 150 | } else { |
| 151 | 151 | $r = ''; |
| 152 | 152 | } |
@@ -174,7 +174,7 @@ discard block |
||
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | // et voila le travail |
| 177 | - return $r . $sous; |
|
| 177 | + return $r.$sous; |
|
| 178 | 178 | } |
| 179 | 179 | |
| 180 | 180 | /** |
@@ -221,12 +221,12 @@ discard block |
||
| 221 | 221 | while ($r = sql_fetch($q)) { |
| 222 | 222 | if (autoriser('voir', 'rubrique', $r['id_rubrique'])) { |
| 223 | 223 | // titre largeur maxi a 50 |
| 224 | - $titre = couper(supprimer_tags(typo($r['titre'])) . ' ', 50); |
|
| 224 | + $titre = couper(supprimer_tags(typo($r['titre'])).' ', 50); |
|
| 225 | 225 | if ( |
| 226 | 226 | $GLOBALS['meta']['multi_rubriques'] == 'oui' |
| 227 | 227 | and ($r['langue_choisie'] == 'oui' or $r['id_parent'] == 0) |
| 228 | 228 | ) { |
| 229 | - $titre .= ' [' . traduire_nom_langue($r['lang']) . ']'; |
|
| 229 | + $titre .= ' ['.traduire_nom_langue($r['lang']).']'; |
|
| 230 | 230 | } |
| 231 | 231 | $data[$r['id_rubrique']] = $titre; |
| 232 | 232 | $enfants[$r['id_parent']][] = $r['id_rubrique']; |
@@ -253,9 +253,9 @@ discard block |
||
| 253 | 253 | $att = " id='id_parent' name='id_parent'\nclass='selecteur_parent verdana1'"; |
| 254 | 254 | |
| 255 | 255 | if (preg_match(',^<option[^<>]*value=.(\d*).[^<>]*>([^<]*)</option>$,', $opt, $r)) { |
| 256 | - $r = "<input$att type='hidden' value='" . $r[1] . "' />" . $r[2]; |
|
| 256 | + $r = "<input$att type='hidden' value='".$r[1]."' />".$r[2]; |
|
| 257 | 257 | } else { |
| 258 | - $r = '<select' . $att . " size='1'>\n$opt</select>\n"; |
|
| 258 | + $r = '<select'.$att." size='1'>\n$opt</select>\n"; |
|
| 259 | 259 | } |
| 260 | 260 | |
| 261 | 261 | # message pour neuneus (a supprimer ?) |
@@ -297,7 +297,7 @@ discard block |
||
| 297 | 297 | function selecteur_rubrique_ajax($id_rubrique, $type, $restreint, $idem = 0, $do = 'aff') { |
| 298 | 298 | |
| 299 | 299 | if ($id_rubrique) { |
| 300 | - $titre = sql_getfetsel('titre', 'spip_rubriques', 'id_rubrique=' . intval($id_rubrique)); |
|
| 300 | + $titre = sql_getfetsel('titre', 'spip_rubriques', 'id_rubrique='.intval($id_rubrique)); |
|
| 301 | 301 | } else { |
| 302 | 302 | if ($type == 'auteur') { |
| 303 | 303 | $titre = ' '; |
@@ -307,7 +307,7 @@ discard block |
||
| 307 | 307 | } |
| 308 | 308 | |
| 309 | 309 | $titre = str_replace('&', '&', entites_html(textebrut(typo($titre)))); |
| 310 | - $init = " disabled='disabled' type='text' value=\"" . $titre . "\"\nstyle='width:300px;'"; |
|
| 310 | + $init = " disabled='disabled' type='text' value=\"".$titre."\"\nstyle='width:300px;'"; |
|
| 311 | 311 | |
| 312 | 312 | $url = generer_url_ecrire('selectionner', "id=$id_rubrique&type=$type&do=$do" |
| 313 | 313 | . (!$idem ? '' : "&exclus=$idem") |
@@ -356,7 +356,7 @@ discard block |
||
| 356 | 356 | . " jQuery(this).toggleClass('toggled'); " |
| 357 | 357 | . "return charger_node_url_si_vide('" |
| 358 | 358 | . $url |
| 359 | - . "', this.parentNode.nextSibling, this.nextSibling,'',event)\" title='" . attribut_html(_T('titre_image_selecteur')) . "'>" |
|
| 359 | + . "', this.parentNode.nextSibling, this.nextSibling,'',event)\" title='".attribut_html(_T('titre_image_selecteur'))."'>" |
|
| 360 | 360 | . $img_icone |
| 361 | 361 | . "</a><img src='" |
| 362 | 362 | . chemin_image('loader.svg') |
@@ -65,7 +65,7 @@ discard block |
||
| 65 | 65 | renouvelle_alea(); |
| 66 | 66 | $new = false; |
| 67 | 67 | } else { |
| 68 | - spip_log("impossible d'ecrire dans " . $cache); |
|
| 68 | + spip_log("impossible d'ecrire dans ".$cache); |
|
| 69 | 69 | } |
| 70 | 70 | } |
| 71 | 71 | // et refaire le cache si on a du lire en base |
@@ -166,7 +166,7 @@ discard block |
||
| 166 | 166 | if (!isset($touch[$table])) { |
| 167 | 167 | touch_meta($antidate, $table); |
| 168 | 168 | } |
| 169 | - sql_delete('spip_' . $table, "nom='$nom'", '', 'continue'); |
|
| 169 | + sql_delete('spip_'.$table, "nom='$nom'", '', 'continue'); |
|
| 170 | 170 | unset($GLOBALS[$table][$nom]); |
| 171 | 171 | if (!isset($touch[$table])) { |
| 172 | 172 | touch_meta($antidate, $table); |
@@ -197,7 +197,7 @@ discard block |
||
| 197 | 197 | return; |
| 198 | 198 | } |
| 199 | 199 | include_spip('base/abstract_sql'); |
| 200 | - $res = sql_select('*', 'spip_' . $table, 'nom=' . sql_quote($nom), '', '', '', '', '', 'continue'); |
|
| 200 | + $res = sql_select('*', 'spip_'.$table, 'nom='.sql_quote($nom), '', '', '', '', '', 'continue'); |
|
| 201 | 201 | // table pas encore installee, travailler en php seulement |
| 202 | 202 | if (!$res) { |
| 203 | 203 | $GLOBALS[$table][$nom] = $valeur; |
@@ -231,9 +231,9 @@ discard block |
||
| 231 | 231 | $r['impt'] = sql_quote($importable, '', 'text'); |
| 232 | 232 | } |
| 233 | 233 | if ($row) { |
| 234 | - sql_update('spip_' . $table, $r, 'nom=' . sql_quote($nom)); |
|
| 234 | + sql_update('spip_'.$table, $r, 'nom='.sql_quote($nom)); |
|
| 235 | 235 | } else { |
| 236 | - sql_insert('spip_' . $table, '(' . join(',', array_keys($r)) . ')', '(' . join(',', array_values($r)) . ')'); |
|
| 236 | + sql_insert('spip_'.$table, '('.join(',', array_keys($r)).')', '('.join(',', array_values($r)).')'); |
|
| 237 | 237 | } |
| 238 | 238 | if (!isset($touch[$table])) { |
| 239 | 239 | touch_meta($antidate, $table); |
@@ -250,7 +250,7 @@ discard block |
||
| 250 | 250 | * Nom du fichier cache |
| 251 | 251 | **/ |
| 252 | 252 | function cache_meta($table = 'meta') { |
| 253 | - return ($table == 'meta') ? _FILE_META : (_DIR_CACHE . $table . '.php'); |
|
| 253 | + return ($table == 'meta') ? _FILE_META : (_DIR_CACHE.$table.'.php'); |
|
| 254 | 254 | } |
| 255 | 255 | |
| 256 | 256 | /** |
@@ -75,7 +75,7 @@ discard block |
||
| 75 | 75 | function generer_generer_url_arg($type, $p, $_id) { |
| 76 | 76 | if ($s = trouver_nom_serveur_distant($p)) { |
| 77 | 77 | // si une fonction de generation des url a ete definie pour ce connect l'utiliser |
| 78 | - if (function_exists($f = 'generer_generer_url_' . $s)) { |
|
| 78 | + if (function_exists($f = 'generer_generer_url_'.$s)) { |
|
| 79 | 79 | return $f($type, $_id, $s); |
| 80 | 80 | } |
| 81 | 81 | if (!$GLOBALS['connexions'][strtolower($s)]['spip_connect_version']) { |
@@ -85,8 +85,8 @@ discard block |
||
| 85 | 85 | # exception des urls de documents sur un serveur distant... |
| 86 | 86 | if ($type == 'document') { |
| 87 | 87 | return |
| 88 | - "quete_meta('adresse_site', $s) . '/' .\n\t" . |
|
| 89 | - "quete_meta('dir_img', $s) . \n\t" . |
|
| 88 | + "quete_meta('adresse_site', $s) . '/' .\n\t". |
|
| 89 | + "quete_meta('dir_img', $s) . \n\t". |
|
| 90 | 90 | "quete_fichier($_id,$s)"; |
| 91 | 91 | } |
| 92 | 92 | $s = ", '', '', $s, quete_meta('type_urls', $s)"; |
@@ -230,7 +230,7 @@ discard block |
||
| 230 | 230 | */ |
| 231 | 231 | function balise_URL_SITE_SPIP_dist($p) { |
| 232 | 232 | $p->code = "sinon(\$GLOBALS['meta']['adresse_site'],'.')"; |
| 233 | - $p->code = 'spip_htmlspecialchars(' . $p->code . ')'; |
|
| 233 | + $p->code = 'spip_htmlspecialchars('.$p->code.')'; |
|
| 234 | 234 | $p->interdire_scripts = false; |
| 235 | 235 | |
| 236 | 236 | return $p; |
@@ -271,7 +271,7 @@ discard block |
||
| 271 | 271 | if ($s = trouver_nom_serveur_distant($p)) { |
| 272 | 272 | // si une fonction de generation des url a ete definie pour ce connect l'utiliser |
| 273 | 273 | // elle devra aussi traiter le cas derogatoire type=page |
| 274 | - if (function_exists($f = 'generer_generer_url_' . $s)) { |
|
| 274 | + if (function_exists($f = 'generer_generer_url_'.$s)) { |
|
| 275 | 275 | if ($args and $args !== "''") { |
| 276 | 276 | $code .= ", $args"; |
| 277 | 277 | } |
@@ -279,7 +279,7 @@ discard block |
||
| 279 | 279 | $p->code = $code; |
| 280 | 280 | return $p; |
| 281 | 281 | } |
| 282 | - $s = 'connect=' . addslashes($s); |
|
| 282 | + $s = 'connect='.addslashes($s); |
|
| 283 | 283 | $args = (($args and $args !== "''") ? "$args . '&$s'" : "'$s'"); |
| 284 | 284 | } |
| 285 | 285 | |
@@ -294,7 +294,7 @@ discard block |
||
| 294 | 294 | $code = "generer_url_public($code, $args$noentities)"; |
| 295 | 295 | } |
| 296 | 296 | $p->code = $code; |
| 297 | - spip_log("Calcul url page : connect vaut $s ca donne :" . $p->code . " args $args", _LOG_INFO); |
|
| 297 | + spip_log("Calcul url page : connect vaut $s ca donne :".$p->code." args $args", _LOG_INFO); |
|
| 298 | 298 | |
| 299 | 299 | #$p->interdire_scripts = true; |
| 300 | 300 | return $p; |
@@ -338,7 +338,7 @@ discard block |
||
| 338 | 338 | $fonc .= ",$args$noentities"; |
| 339 | 339 | } |
| 340 | 340 | } |
| 341 | - $p->code = 'generer_url_ecrire(' . $fonc . ')'; |
|
| 341 | + $p->code = 'generer_url_ecrire('.$fonc.')'; |
|
| 342 | 342 | $p->interdire_scripts = false; |
| 343 | 343 | |
| 344 | 344 | return $p; |
@@ -373,17 +373,17 @@ discard block |
||
| 373 | 373 | |
| 374 | 374 | $args = interprete_argument_balise(2, $p); |
| 375 | 375 | if ($args != "''" && $args !== null) { |
| 376 | - $p->code .= ',' . $args; |
|
| 376 | + $p->code .= ','.$args; |
|
| 377 | 377 | } |
| 378 | 378 | $redirect = interprete_argument_balise(3, $p); |
| 379 | 379 | if ($redirect != "''" && $redirect !== null) { |
| 380 | 380 | if ($args == "''" || $args === null) { |
| 381 | 381 | $p->code .= ",''"; |
| 382 | 382 | } |
| 383 | - $p->code .= ',' . $redirect; |
|
| 383 | + $p->code .= ','.$redirect; |
|
| 384 | 384 | } |
| 385 | 385 | |
| 386 | - $p->code = 'generer_action_auteur(' . $p->code . ')'; |
|
| 386 | + $p->code = 'generer_action_auteur('.$p->code.')'; |
|
| 387 | 387 | $p->interdire_scripts = false; |
| 388 | 388 | |
| 389 | 389 | return $p; |
@@ -86,7 +86,7 @@ |
||
| 86 | 86 | ); |
| 87 | 87 | foreach ($s as $row) { |
| 88 | 88 | if (email_valide($row['email'])) { |
| 89 | - $r .= ', ' . $row['email']; |
|
| 89 | + $r .= ', '.$row['email']; |
|
| 90 | 90 | } |
| 91 | 91 | } |
| 92 | 92 | $args[2] = substr($r, 2); |