Completed
Pull Request — master (#42)
by
unknown
01:14
created
prive/objets/liste/auteurs_fonctions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -154,7 +154,7 @@
 block discarded – undo
154 154
 	) {
155 155
 		return parametre_url(parametre_url(generer_url_ecrire('message_edit', 'new=oui'), 'to', $id_auteur), 'redirect', self());
156 156
 	} elseif (strlen($email) and autoriser('voir', 'auteur', $id_auteur)) {
157
-		return 'mailto:' . $email;
157
+		return 'mailto:'.$email;
158 158
 	} else {
159 159
 		return '';
160 160
 	}
Please login to merge, or discard this patch.
prive/formulaires/configurer_metas.php 1 patch
Spacing   +3 added lines, -3 removed lines patch added patch discarded remove patch
@@ -80,13 +80,13 @@  discard block
 block discarded – undo
80 80
 // Attention a l'ordre:
81 81
 // si l'un des 3 est un sous-rep d'un autre, le mettre avant.
82 82
 
83
-define('_EXTRAIRE_PLUGIN', '@(' . _DIR_PLUGINS_AUTO . '|' . _DIR_PLUGINS . '|' . _DIR_PLUGINS_DIST . ')/?([^/]+)/@');
83
+define('_EXTRAIRE_PLUGIN', '@('._DIR_PLUGINS_AUTO.'|'._DIR_PLUGINS.'|'._DIR_PLUGINS_DIST.')/?([^/]+)/@');
84 84
 
85 85
 // Recuperer la version compilee de plugin.xml et normaliser
86 86
 // Si ce n'est pas un plugin, dire qu'il faut prendre la table std des meta.
87 87
 function formulaires_configurer_metas_infos($form) {
88 88
 
89
-	$path = find_in_path($form . '.' . _EXTENSION_SQUELETTES, 'formulaires/');
89
+	$path = find_in_path($form.'.'._EXTENSION_SQUELETTES, 'formulaires/');
90 90
 	if (!$path) {
91 91
 		return '';
92 92
 	} // cas traite en amont normalement.
@@ -105,7 +105,7 @@  discard block
 block discarded – undo
105 105
 	$prefix = $infos['prefix'];
106 106
 	$infos['path'] = $path;
107 107
 	if (!isset($infos['meta'])) {
108
-		$infos['meta'] = ($prefix . '_metas');
108
+		$infos['meta'] = ($prefix.'_metas');
109 109
 	}
110 110
 
111 111
 	return $infos;
Please login to merge, or discard this patch.
prive/formulaires/configurer_reducteur.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -142,5 +142,5 @@
 block discarded – undo
142 142
 			break;
143 143
 	}
144 144
 
145
-	return generer_url_action('tester', "arg=$process&time=" . time());
145
+	return generer_url_action('tester', "arg=$process&time=".time());
146 146
 }
Please login to merge, or discard this patch.
prive/formulaires/configurer_langage.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -51,7 +51,7 @@
 block discarded – undo
51 51
 		$checked = ($l == $selected) ? ' checked=\'checked\'' : '';
52 52
 		$ret .= "<div class='choix'>"
53 53
 			. "<input type='radio' name='$name' id='{$id}_$l' value='$l'$checked />"
54
-			. "<label for='{$id}_$l'>" . traduire_nom_langue($l) . '</label>'
54
+			. "<label for='{$id}_$l'>".traduire_nom_langue($l).'</label>'
55 55
 			. '</div>';
56 56
 	}
57 57
 
Please login to merge, or discard this patch.
prive/rss/a_suivre_fonctions.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -15,7 +15,7 @@
 block discarded – undo
15 15
 			}
16 16
 		}
17 17
 		krsort($items);
18
-		$texte = str_replace($placeholder, implode("\n\t", $items) . "\n", $texte);
18
+		$texte = str_replace($placeholder, implode("\n\t", $items)."\n", $texte);
19 19
 	}
20 20
 
21 21
 	return $texte;
Please login to merge, or discard this patch.
ecrire/action/session.php 1 patch
Spacing   +1 added lines, -1 removed lines patch added patch discarded remove patch
@@ -37,7 +37,7 @@
 block discarded – undo
37 37
 	) {
38 38
 		if ($_SERVER['REQUEST_METHOD'] == 'POST') {
39 39
 			include_spip('inc/session');
40
-			session_set('session_' . $var, $val = _request('val'));
40
+			session_set('session_'.$var, $val = _request('val'));
41 41
 			#spip_log("autosave:$var:$val",'autosave');
42 42
 		}
43 43
 	}
Please login to merge, or discard this patch.
ecrire/install/etape_ldap2.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -66,7 +66,7 @@  discard block
 block discarded – undo
66 66
 		echo info_etape(
67 67
 			_T('titre_connexion_ldap'),
68 68
 			info_progression_etape(2, 'etape_ldap', 'install/')
69
-		),  _T('info_connexion_ldap_ok');
69
+		), _T('info_connexion_ldap_ok');
70 70
 		echo generer_form_ecrire('install', (
71 71
 			"\n<input type='hidden' name='etape' value='ldap3' />"
72 72
 			. "\n<input type='hidden' name='adresse_ldap' value=\"$adresse_ldap\" />"
@@ -78,10 +78,10 @@  discard block
 block discarded – undo
78 78
 			. bouton_suivant()));
79 79
 	} else {
80 80
 		echo info_etape(_T('titre_connexion_ldap')), info_progression_etape(1, 'etape_ldap', 'install/', true),
81
-			"<div class='error'><p>" . _T('avis_connexion_ldap_echec_1') . '</p>',
82
-			'<p>' . _T('avis_connexion_ldap_echec_2') .
83
-			"<br />\n" . _T('avis_connexion_ldap_echec_3') .
84
-			'<br /><br />' . $erreur . '<b> ?</b></p></div>';
81
+			"<div class='error'><p>"._T('avis_connexion_ldap_echec_1').'</p>',
82
+			'<p>'._T('avis_connexion_ldap_echec_2').
83
+			"<br />\n"._T('avis_connexion_ldap_echec_3').
84
+			'<br /><br />'.$erreur.'<b> ?</b></p></div>';
85 85
 	}
86 86
 
87 87
 	echo install_fin_html();
Please login to merge, or discard this patch.
ecrire/install/etape_ldap3.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -45,7 +45,7 @@  discard block
 block discarded – undo
45 45
 	$checked = false;
46 46
 	$res = '';
47 47
 	if (is_array($info) and $info['count'] > 0) {
48
-		$res .= '<p>' . _T('info_selection_chemin_acces') . '</p>';
48
+		$res .= '<p>'._T('info_selection_chemin_acces').'</p>';
49 49
 		$res .= '<ul>';
50 50
 		$n = 0;
51 51
 		for ($i = 0; $i < $info['count']; $i++) {
@@ -53,18 +53,18 @@  discard block
 block discarded – undo
53 53
 			if (is_array($names)) {
54 54
 				for ($j = 0; $j < $names['count']; $j++) {
55 55
 					$n++;
56
-					$res .= '<li><input name="base_ldap" value="' . spip_htmlspecialchars($names[$j]) . "\" type='radio' id='tab$n'";
56
+					$res .= '<li><input name="base_ldap" value="'.spip_htmlspecialchars($names[$j])."\" type='radio' id='tab$n'";
57 57
 					if (!$checked) {
58 58
 						$res .= ' checked="checked"';
59 59
 						$checked = true;
60 60
 					}
61 61
 					$res .= ' />';
62
-					$res .= "<label for='tab$n'>" . spip_htmlspecialchars($names[$j]) . "</label></li>\n";
62
+					$res .= "<label for='tab$n'>".spip_htmlspecialchars($names[$j])."</label></li>\n";
63 63
 				}
64 64
 			}
65 65
 		}
66 66
 		$res .= '</ul>';
67
-		$res .= _T('info_ou') . ' ';
67
+		$res .= _T('info_ou').' ';
68 68
 	}
69 69
 	$res .= "<br />\n<input name=\"base_ldap\" value=\"\" type='radio' id='manuel'";
70 70
 	if (!$checked) {
@@ -73,7 +73,7 @@  discard block
 block discarded – undo
73 73
 	}
74 74
 
75 75
 	$res .= ' />'
76
-		. "\n<label for='manuel'>" . _T('entree_chemin_acces') . '</label> '
76
+		. "\n<label for='manuel'>"._T('entree_chemin_acces').'</label> '
77 77
 		. "\n<fieldset>"
78 78
 		. "<input type='text' name='base_ldap_text' class='text' value=\"$base_ldap_text\" size='40' />"
79 79
 		. "\n</fieldset>"
Please login to merge, or discard this patch.
ecrire/install/etape_.php 1 patch
Spacing   +5 added lines, -5 removed lines patch added patch discarded remove patch
@@ -34,11 +34,11 @@
 block discarded – undo
34 34
 	} else {
35 35
 		include_spip('inc/presentation'); // pour info_copyright
36 36
 
37
-		$res = "<div class='petit-centre'><img alt='SPIP' class='logo' src='" . chemin_image('logo-spip.png') . "' />\n" .
38
-			"<p class='small'>" . info_copyright() . "</p></div>\n" .
39
-			'<p>' . _T('install_select_langue') . '</p>' .
40
-			'<div>' . $menu_langues . "</div>\n" .
41
-			generer_form_ecrire('install', "<input type='hidden' name='etape' value='chmod' />" . bouton_suivant());
37
+		$res = "<div class='petit-centre'><img alt='SPIP' class='logo' src='".chemin_image('logo-spip.png')."' />\n".
38
+			"<p class='small'>".info_copyright()."</p></div>\n".
39
+			'<p>'._T('install_select_langue').'</p>'.
40
+			'<div>'.$menu_langues."</div>\n".
41
+			generer_form_ecrire('install', "<input type='hidden' name='etape' value='chmod' />".bouton_suivant());
42 42
 		echo minipres('AUTO', $res);
43 43
 	}
44 44
 }
Please login to merge, or discard this patch.