Code Duplication    Length = 2-2 lines in 2 locations

ecrire/inc/commencer_page.php 1 location

@@ 86-87 (lines=2) @@
83
 */
84
function init_entete($titre = '', $dummy = 0, $minipres = false) {
85
	include_spip('inc/texte');
86
	if (!$nom_site_spip = textebrut(typo($GLOBALS['meta']["nom_site"]))) {
87
		$nom_site_spip = _T('info_mon_site_spip');
88
	}
89
90
	$titre = "["

ecrire/inc/pipelines_ecrire.php 1 location

@@ 87-88 (lines=2) @@
84
		and $match = textebrut(trim($match[1]))
85
		and ($p = strpos($texte, '<head>')) !== false
86
	) {
87
		if (!$nom_site_spip = textebrut(typo($GLOBALS['meta']["nom_site"]))) {
88
			$nom_site_spip = _T('info_mon_site_spip');
89
		}
90
91
		$titre = "<title>["