1
0
mirror of https://github.com/devcode-it/openstamanager.git synced 2025-06-05 22:09:38 +02:00

Aggiunte skin light per tema

This commit is contained in:
Luca
2024-02-12 18:13:39 +01:00
parent 74ad2bd1e3
commit 571b5d2f85
5 changed files with 30 additions and 5 deletions

View File

@ -113,7 +113,11 @@ if (!empty($query)) {
$column = [];
if (!empty($r['_bg_'])) {
$column['data-background'] = $r['_bg_'];
if (preg_match('/-light$/', $r['_bg_'])) {
$column['data-background'] = substr($r['_bg_'], 0, -6); // Remove the "-light" suffix from the word
}else{
$column['data-background'] = $r['_bg_'];
}
}
// Allineamento