Updated Tag Create and Edit Modal UI, added icons, added ability to choose any color

This commit is contained in:
johnnyq
2023-11-16 18:36:22 -05:00
parent d54a026a33
commit 2779d6543e
3 changed files with 37 additions and 45 deletions

View File

@@ -1,5 +1,5 @@
<?php
$name = sanitizeInput($_POST['name']);
$type = intval($_POST['type']);
$color = preg_replace("/[^0-9a-zA-Z-]/", "", sanitizeInput($_POST['color']));
$color = sanitizeInput($_POST['color']);
$icon = preg_replace("/[^0-9a-zA-Z-]/", "", sanitizeInput($_POST['icon']));