opacity patch

This commit is contained in:
Baptiste 2022-06-18 13:10:02 +02:00
parent 333890c2ca
commit 8e526d73ce
2 changed files with 1 additions and 7 deletions

View file

@ -50,7 +50,7 @@ if(isset($_POST['send'])) {
if (isset($_POST['colorhex']) AND !empty($_POST['colorhex'])) { if (isset($_POST['colorhex']) AND !empty($_POST['colorhex'])) {
$color = htmlspecialchars($_POST['colorhex']); $color = htmlspecialchars($_POST['colorhex']);
} else { } else {
$color = $color.dechex($opacity); $color = $color.dechex($opacity*2.55);
} }
if($opacity <= 100 AND $opacity >= 0) { if($opacity <= 100 AND $opacity >= 0) {

View file

@ -69,12 +69,6 @@ if(isset($_GET['planning']) AND !empty(['planning']))
<?php <?php
} }
$cnt = $req1->rowCount(); //pour les ptit farceurs
if($cnt == 0) {
header('Location: error.php');
}
echo "</td>"; echo "</td>";
} }
?> ?>