Code Duplication    Length = 9-9 lines in 2 locations

ecrire/plugins/afficher_plugin.php 2 locations

@@ 266-274 (lines=9) @@
263
	}
264
	$s .= "<dd class='desc'>" . $description . "</dd>\n";
265
266
	if (isset($info['auteur'])) {
267
		if (is_array($info['auteur'])) {
268
			$a = formater_credits($info['auteur'], ', ');
269
		} // pour compat mais ne doit plus arriver
270
		else {
271
			$a = trim($info['auteur']);
272
		}
273
		if ($a) {
274
			$s .= "<dt class='auteurs'>" . _T('public:par_auteur') . "</dt><dd class='auteurs'>" . PtoBR(propre($a,
275
					$dir)) . "</dd>\n";
276
		}
277
	}
@@ 286-294 (lines=9) @@
283
		}
284
	}
285
286
	if (isset($info['licence'])) {
287
		if (is_array($info['licence'])) {
288
			$a = formater_credits($info['licence'], ', ');
289
		} // pour compat mais ne doit plus arriver
290
		else {
291
			$a = trim($info['licence']);
292
		}
293
		if ($a) {
294
			$s .= "<dt class='licence'>" . _T('intitule_licence') . "</dt><dd class='licence'>" . PtoBR(propre($a,
295
					$dir)) . "</dd>\n";
296
		}
297
	}