Code Duplication    Length = 9-9 lines in 2 locations

ecrire/plugins/afficher_plugin.php 2 locations

@@ 274-282 (lines=9) @@
271
	}
272
	$s .= "<dd class='desc'>" . $description . "</dd>\n";
273
274
	if (isset($info['auteur'])) {
275
		if (is_array($info['auteur'])) {
276
			$a = formater_credits($info['auteur'], ', ');
277
		} // pour compat mais ne doit plus arriver
278
		else {
279
			$a = trim($info['auteur']);
280
		}
281
		if ($a) {
282
			$s .= "<dt class='auteurs'>" . _T('public:par_auteur') . "</dt><dd class='auteurs'>" . PtoBR(propre($a,
283
					$dir)) . "</dd>\n";
284
		}
285
	}
@@ 294-302 (lines=9) @@
291
		}
292
	}
293
294
	if (isset($info['licence'])) {
295
		if (is_array($info['licence'])) {
296
			$a = formater_credits($info['licence'], ', ');
297
		} // pour compat mais ne doit plus arriver
298
		else {
299
			$a = trim($info['licence']);
300
		}
301
		if ($a) {
302
			$s .= "<dt class='licence'>" . _T('intitule_licence') . "</dt><dd class='licence'>" . PtoBR(propre($a,
303
					$dir)) . "</dd>\n";
304
		}
305
	}