@@ -117,7 +117,7 @@ discard block |
||
| 117 | 117 | // confirmation du deplacement |
| 118 | 118 | if ( |
| 119 | 119 | sql_table_exists('spip_breves') |
| 120 | - and ($contient_breves = sql_countsel('spip_breves', 'id_rubrique=' . intval($id_objet))) |
|
| 120 | + and ($contient_breves = sql_countsel('spip_breves', 'id_rubrique='.intval($id_objet))) |
|
| 121 | 121 | and ($contient_breves > 0) |
| 122 | 122 | ) { |
| 123 | 123 | // FIXME: utiliser singulier_ou_pluriel, migrer dans plugin Brèves |
@@ -131,7 +131,7 @@ discard block |
||
| 131 | 131 | ); |
| 132 | 132 | $confirm .= "\n<div class='confirmer_deplacement verdana2'>" |
| 133 | 133 | . "<div class='choix'><input type='checkbox' name='confirme_deplace' value='oui' id='confirme-deplace' /><label for='confirme-deplace'>" |
| 134 | - . $scb . |
|
| 134 | + . $scb. |
|
| 135 | 135 | "</label></div></div>\n"; |
| 136 | 136 | } else { |
| 137 | 137 | $confirm .= "<input type='hidden' name='confirme_deplace' value='oui' />\n"; |
@@ -140,11 +140,11 @@ discard block |
||
| 140 | 140 | $form .= $confirm; |
| 141 | 141 | if ($actionable) { |
| 142 | 142 | if (strpos($form, '<select') !== false) { |
| 143 | - $form .= "<div style='text-align: " . $GLOBALS['spip_lang_right'] . ";'>" |
|
| 144 | - . '<input class="fondo submit btn" type="submit" value="' . _T('bouton_choisir') . '"/>' |
|
| 143 | + $form .= "<div style='text-align: ".$GLOBALS['spip_lang_right'].";'>" |
|
| 144 | + . '<input class="fondo submit btn" type="submit" value="'._T('bouton_choisir').'"/>' |
|
| 145 | 145 | . '</div>'; |
| 146 | 146 | } |
| 147 | - $form = "<input type='hidden' name='editer_$objet' value='oui' />\n" . $form; |
|
| 147 | + $form = "<input type='hidden' name='editer_$objet' value='oui' />\n".$form; |
|
| 148 | 148 | if ($action = charger_fonction("editer_$objet", 'action', true)) { |
| 149 | 149 | $form = generer_action_auteur( |
| 150 | 150 | "editer_$objet", |
@@ -170,7 +170,7 @@ discard block |
||
| 170 | 170 | |
| 171 | 171 | include_spip('inc/presentation'); |
| 172 | 172 | |
| 173 | - return debut_cadre_couleur($logo, true, '', $titre) . $form . fin_cadre_couleur(); |
|
| 173 | + return debut_cadre_couleur($logo, true, '', $titre).$form.fin_cadre_couleur(); |
|
| 174 | 174 | } |
| 175 | 175 | |
| 176 | 176 | |
@@ -246,7 +246,7 @@ discard block |
||
| 246 | 246 | if ($statut == 'nouveau') { |
| 247 | 247 | if ($attente) { |
| 248 | 248 | $statut = $attente; |
| 249 | - $plus = ' (' . _T('info_statut_auteur_a_confirmer') . ')'; |
|
| 249 | + $plus = ' ('._T('info_statut_auteur_a_confirmer').')'; |
|
| 250 | 250 | } else { |
| 251 | 251 | return _T('info_statut_auteur_a_confirmer'); |
| 252 | 252 | } |
@@ -259,16 +259,16 @@ discard block |
||
| 259 | 259 | '5poubelle' => _T('texte_statut_poubelle'), // bouh |
| 260 | 260 | ]; |
| 261 | 261 | if (isset($recom[$statut])) { |
| 262 | - return $recom[$statut] . $plus; |
|
| 262 | + return $recom[$statut].$plus; |
|
| 263 | 263 | } |
| 264 | 264 | |
| 265 | 265 | // retrouver directement par le statut sinon |
| 266 | 266 | if ($t = array_search($statut, $GLOBALS['liste_des_statuts'])) { |
| 267 | 267 | if (isset($recom[$t])) { |
| 268 | - return $recom[$t] . $plus; |
|
| 268 | + return $recom[$t].$plus; |
|
| 269 | 269 | } |
| 270 | 270 | |
| 271 | - return _T($t) . $plus; |
|
| 271 | + return _T($t).$plus; |
|
| 272 | 272 | } |
| 273 | 273 | |
| 274 | 274 | // si on a pas reussi a le traduire, retournons la chaine telle quelle |
@@ -389,7 +389,7 @@ discard block |
||
| 389 | 389 | if (!$id_rubrique and defined('_CHOIX_RUBRIQUE_PAR_DEFAUT') and _CHOIX_RUBRIQUE_PAR_DEFAUT) { |
| 390 | 390 | $in = !(is_countable($GLOBALS['connect_id_rubrique']) ? count($GLOBALS['connect_id_rubrique']) : 0) |
| 391 | 391 | ? '' |
| 392 | - : (' AND ' . sql_in('id_rubrique', $GLOBALS['connect_id_rubrique'])); |
|
| 392 | + : (' AND '.sql_in('id_rubrique', $GLOBALS['connect_id_rubrique'])); |
|
| 393 | 393 | |
| 394 | 394 | // on tente d'abord l'ecriture a la racine dans le cas des rubriques uniquement |
| 395 | 395 | if ($objet == 'rubrique') { |
@@ -423,7 +423,7 @@ discard block |
||
| 423 | 423 | return ''; |
| 424 | 424 | } |
| 425 | 425 | |
| 426 | - return propre('[->' . $virtuel . ']'); |
|
| 426 | + return propre('[->'.$virtuel.']'); |
|
| 427 | 427 | } |
| 428 | 428 | |
| 429 | 429 | |
@@ -450,7 +450,7 @@ discard block |
||
| 450 | 450 | $clic = http_img_pack('rss-16.png', 'RSS', '', $title); |
| 451 | 451 | |
| 452 | 452 | $url = generer_url_api_low_sec('transmettre', 'rss', $op, '', http_build_query($args), false, true); |
| 453 | - return "<a style='float: " . $GLOBALS['spip_lang_right'] . ";' href='$url'>$clic</a>"; |
|
| 453 | + return "<a style='float: ".$GLOBALS['spip_lang_right'].";' href='$url'>$clic</a>"; |
|
| 454 | 454 | } |
| 455 | 455 | |
| 456 | 456 | |
@@ -526,7 +526,7 @@ discard block |
||
| 526 | 526 | ); |
| 527 | 527 | |
| 528 | 528 | if ($alertes = array_filter($alertes)) { |
| 529 | - return "<div class='wrap-messages-alertes'><div class='messages-alertes'>" . |
|
| 529 | + return "<div class='wrap-messages-alertes'><div class='messages-alertes'>". |
|
| 530 | 530 | join(' | ', $alertes) |
| 531 | 531 | . '</div></div>'; |
| 532 | 532 | } |
@@ -562,13 +562,13 @@ discard block |
||
| 562 | 562 | */ |
| 563 | 563 | function afficher_plus_info($lien, $titre = '+', $titre_lien = '') { |
| 564 | 564 | $titre = attribut_html($titre); |
| 565 | - $icone = "\n<a href='$lien' title='$titre' class='plus_info'>" . |
|
| 566 | - http_img_pack('information-16.png', $titre) . '</a>'; |
|
| 565 | + $icone = "\n<a href='$lien' title='$titre' class='plus_info'>". |
|
| 566 | + http_img_pack('information-16.png', $titre).'</a>'; |
|
| 567 | 567 | |
| 568 | 568 | if (!$titre_lien) { |
| 569 | 569 | return $icone; |
| 570 | 570 | } else { |
| 571 | - return $icone . "\n<a href='$lien'>$titre_lien</a>"; |
|
| 571 | + return $icone."\n<a href='$lien'>$titre_lien</a>"; |
|
| 572 | 572 | } |
| 573 | 573 | } |
| 574 | 574 | |