From ad0aa11ace328914d2ce49167d2dadeb398c682a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Xe=CC=81fir=20Destiny?= Date: Thu, 17 Oct 2013 09:57:29 +0200 Subject: [PATCH] Ajout de la protection + couleurs HTML --- index.php | 1 + utils.php | 14 +++++++------- 2 files changed, 8 insertions(+), 7 deletions(-) diff --git a/index.php b/index.php index 0309924..d05b255 100644 --- a/index.php +++ b/index.php @@ -1,6 +1,7 @@ diff --git a/utils.php b/utils.php index c117502..e5b7058 100644 --- a/utils.php +++ b/utils.php @@ -11,14 +11,14 @@ if (defined('ONGITLAB') && ONGITLAB) { function ansi2html($string) { $dictionary = array( - '[30m' => '', - '[31m' => '', - '[32m' => '', - '[33m' => '', + '[30m' => '', + '[31m' => '', + '[32m' => '', + '[33m' => '', '[34m' => '', - '[35m' => '', - '[36m' => '', - '[37m' => '', + '[35m' => '', + '[36m' => '', + '[37m' => '', '[m' => '', );