@@ -209,8 +209,7 @@ discard block |
||
| 209 | 209 | $pagination['type_pagination'] = $modele; |
| 210 | 210 | if (trouver_fond('pagination_' . $modele, 'modeles')) { |
| 211 | 211 | $modele = '_' . $modele; |
| 212 | - } |
|
| 213 | - else { |
|
| 212 | + } else { |
|
| 214 | 213 | $modele = ''; |
| 215 | 214 | } |
| 216 | 215 | } |
@@ -297,8 +296,7 @@ discard block |
||
| 297 | 296 | if ($ids) { |
| 298 | 297 | $ids = array_column($ids, 'id_objet'); |
| 299 | 298 | return implode(',', $ids); |
| 300 | - } |
|
| 301 | - else { |
|
| 299 | + } else { |
|
| 302 | 300 | return '0'; |
| 303 | 301 | } |
| 304 | 302 | } |
@@ -672,8 +670,7 @@ discard block |
||
| 672 | 670 | $logo_bg = timestamp($logo_bg); |
| 673 | 671 | $styles .= ".page_login, .page_spip_pass {background-image:url($logo_bg), url($logo_mini);}\n"; |
| 674 | 672 | $Pile[0]['body_class'] = 'fond_image'; |
| 675 | - } |
|
| 676 | - else { |
|
| 673 | + } else { |
|
| 677 | 674 | $Pile[0]['body_class'] = 'sans_fond'; |
| 678 | 675 | } |
| 679 | 676 | if ($styles) { |
@@ -115,11 +115,9 @@ discard block |
||
| 115 | 115 | |
| 116 | 116 | if ($statut and test_espace_prive()) { |
| 117 | 117 | $footer = bouton_action(_T('public:accueil_site'), generer_url_ecrire('accueil')); |
| 118 | - } |
|
| 119 | - elseif (!empty($_COOKIE['spip_admin'])) { |
|
| 118 | + } elseif (!empty($_COOKIE['spip_admin'])) { |
|
| 120 | 119 | $footer = bouton_action(_T('public:lien_connecter'), generer_url_public('login')); |
| 121 | - } |
|
| 122 | - else { |
|
| 120 | + } else { |
|
| 123 | 121 | $footer = bouton_action(_T('public:accueil_site'), $GLOBALS['meta']['adresse_site'] ?? ''); |
| 124 | 122 | } |
| 125 | 123 | |
@@ -131,12 +129,10 @@ discard block |
||
| 131 | 129 | . $titre |
| 132 | 130 | . "</div>"; |
| 133 | 131 | $options['titre'] = ''; |
| 134 | - } |
|
| 135 | - else { |
|
| 132 | + } else { |
|
| 136 | 133 | $options['titre'] = $titre; |
| 137 | 134 | } |
| 138 | - } |
|
| 139 | - else { |
|
| 135 | + } else { |
|
| 140 | 136 | $options['titre'] = $titre; |
| 141 | 137 | } |
| 142 | 138 | $options['page_title'] = $titre; |