diff --git a/config/global.ini b/config/global.ini index 14d3e6d0..a14e19c9 100644 --- a/config/global.ini +++ b/config/global.ini @@ -34,4 +34,9 @@ A propos = "about.php" [themes_light] 0 = '--text: hsl(0, 0%, 20%);--background: hsl(0, 0%, 100%);--banner-background: hsl(0, 0%, 100%);--buttons: hsl(0, 0%, 100%)' -1 = '--text: hsl(208, 100%, 0%); --background: hsl(215, 21%, 100%); --banner-background: hsl(216, 28%, 95%); --buttons: hsl(216, 28%, 95%)' \ No newline at end of file +1 = '--text: hsl(208, 100%, 0%); --background: hsl(215, 21%, 100%); --banner-background: hsl(216, 28%, 95%); --buttons: hsl(216, 28%, 95%)' + +[certifcolors] +1 = "#ff0000" +2 = "#00ff00" +3 = "#0000ff" \ No newline at end of file diff --git a/html/user.php b/html/user.php index 876a0c94..fe2db4f6 100644 --- a/html/user.php +++ b/html/user.php @@ -78,6 +78,9 @@ if($resultat) { ?> } + .certification { + color: 0 ? $certif_colors[$user_role] : "#000000"?>; + }