Completed
Pull Request — master (#42)
by
unknown
01:14
created
index.php 1 patch
Indentation   +2 added lines, -2 removed lines patch added patch discarded remove patch
@@ -1,3 +1,3 @@
 block discarded – undo
1 1
 <?php
2
-	# appel SPIP
3
-	include('spip.php');
2
+    # appel SPIP
3
+    include('spip.php');
Please login to merge, or discard this patch.
prive/objets/liste/auteurs_lies_fonctions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 \***************************************************************************/
12 12
 
13 13
 if (!defined('_ECRIRE_INC_VERSION')) {
14
-	return;
14
+    return;
15 15
 }
16 16
 
17 17
 include_spip('prive/objets/liste/auteurs_fonctions');
Please login to merge, or discard this patch.
prive/objets/liste/objets-en-edition_fonctions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@
 block discarded – undo
11 11
 \***************************************************************************/
12 12
 
13 13
 if (!defined('_ECRIRE_INC_VERSION')) {
14
-	return;
14
+    return;
15 15
 }
16 16
 
17 17
 include_spip('inc/drapeau_edition');
Please login to merge, or discard this patch.
prive/formulaires/selecteur/generique_fonctions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -4,7 +4,7 @@
 block discarded – undo
4 4
  */
5 5
 
6 6
 if (!defined('_ECRIRE_INC_VERSION')) {
7
-	return;
7
+    return;
8 8
 }
9 9
 
10 10
 include_spip('inc/filtres_selecteur_generique');
Please login to merge, or discard this patch.
prive/echafaudage/hierarchie/objet_fonctions.php 1 patch
Indentation   +16 added lines, -16 removed lines patch added patch discarded remove patch
@@ -11,7 +11,7 @@  discard block
 block discarded – undo
11 11
 \***************************************************************************/
12 12
 
13 13
 if (!defined('_ECRIRE_INC_VERSION')) {
14
-	return;
14
+    return;
15 15
 }
16 16
 
17 17
 /**
@@ -24,20 +24,20 @@  discard block
 block discarded – undo
24 24
  */
25 25
 function deplacement_restreint($objet, $statut) {
26 26
 
27
-	switch ($objet) {
28
-		case 'rubrique':
29
-			return (!$GLOBALS['connect_toutes_rubriques']);
30
-			break;
31
-		case 'article':
32
-		case 'site':
33
-		case 'syndic':
34
-		case 'breve':
35
-			return ($statut == 'publie');
36
-			break;
37
-		default:
38
-			return ($statut ? $statut == 'publie' : false);
39
-			break;
40
-	}
27
+    switch ($objet) {
28
+        case 'rubrique':
29
+            return (!$GLOBALS['connect_toutes_rubriques']);
30
+            break;
31
+        case 'article':
32
+        case 'site':
33
+        case 'syndic':
34
+        case 'breve':
35
+            return ($statut == 'publie');
36
+            break;
37
+        default:
38
+            return ($statut ? $statut == 'publie' : false);
39
+            break;
40
+    }
41 41
 
42
-	return false;
42
+    return false;
43 43
 }
Please login to merge, or discard this patch.
prive/squelettes/contenu/job_queue_fonctions.php 1 patch
Indentation   +7 added lines, -7 removed lines patch added patch discarded remove patch
@@ -1,14 +1,14 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('_ECRIRE_INC_VERSION')) {
4
-	return;
4
+    return;
5 5
 }
6 6
 
7 7
 function job_queue_block_and_watch() {
8
-	// bloquer la queue sur ce hit
9
-	// pour avoir coherence entre l'affichage de la liste de jobs
10
-	// et les jobs en base en fin de hit
11
-	define('_DEBUG_BLOCK_QUEUE', true);
12
-	include_spip('inc/genie');
13
-	genie_queue_watch_dist();
8
+    // bloquer la queue sur ce hit
9
+    // pour avoir coherence entre l'affichage de la liste de jobs
10
+    // et les jobs en base en fin de hit
11
+    define('_DEBUG_BLOCK_QUEUE', true);
12
+    include_spip('inc/genie');
13
+    genie_queue_watch_dist();
14 14
 }
Please login to merge, or discard this patch.
prive/squelettes/contenu/recherche_fonctions.php 1 patch
Indentation   +10 added lines, -10 removed lines patch added patch discarded remove patch
@@ -1,21 +1,21 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('_ECRIRE_INC_VERSION')) {
4
-	return;
4
+    return;
5 5
 }
6 6
 
7 7
 include_spip('inc/rechercher');
8 8
 include_spip('base/abstract_sql');
9 9
 
10 10
 function inclure_liste_recherche_par_id($table, $id, $statut, $env) {
11
-	if (is_string($env)) {
12
-		$env = unserialize($env);
13
-	}
14
-	$env[id_table_objet($table)] = $id;
15
-	if ($statut) {
16
-		$env['statut'] = $statut;
17
-	}
18
-	unset($env['recherche']);
11
+    if (is_string($env)) {
12
+        $env = unserialize($env);
13
+    }
14
+    $env[id_table_objet($table)] = $id;
15
+    if ($statut) {
16
+        $env['statut'] = $statut;
17
+    }
18
+    unset($env['recherche']);
19 19
 
20
-	return recuperer_fond("prive/objets/liste/$table", $env);
20
+    return recuperer_fond("prive/objets/liste/$table", $env);
21 21
 }
Please login to merge, or discard this patch.
prive/squelettes/contenu/navigation_fonctions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('_ECRIRE_INC_VERSION')) {
4
-	return;
4
+    return;
5 5
 }
6 6
 
7 7
 include_spip('inc/bandeau');
Please login to merge, or discard this patch.
prive/squelettes/inclure/pied_fonctions.php 1 patch
Indentation   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -1,7 +1,7 @@
 block discarded – undo
1 1
 <?php
2 2
 
3 3
 if (!defined('_ECRIRE_INC_VERSION')) {
4
-	return;
4
+    return;
5 5
 }
6 6
 
7 7
 include_spip('inc/presentation_mini');
Please login to merge, or discard this patch.