htmlent add encoding, date combined add wrapper for calc date interval for numeric and named index return

This commit is contained in:
2025-04-01 11:27:57 +09:00
parent 969467fa15
commit 9914815285
9 changed files with 110 additions and 28 deletions

View File

@@ -418,9 +418,7 @@ class ProgressBar
// if this is percent, we ignore anything, it is auto positioned
if ($this->label[$name]['type'] != 'percent') {
foreach (['top', 'left', 'width', 'height'] as $pos_name) {
if ($$pos_name !== false) {
$this->label[$name][$pos_name] = intval($$pos_name);
}
$this->label[$name][$pos_name] = intval($$pos_name);
}
if ($align != '') {