fix: <br /> to <br>

This commit is contained in:
ljm42
2025-03-03 10:08:57 -07:00
parent 42f1985b04
commit 50d98f2a99
2 changed files with 4 additions and 4 deletions

View File

@@ -33,11 +33,11 @@ function create($type = "") {
for ($n = 0; $n < $max; $n++) {
[$cpu1, $cpu2] = my_preg_split('/[,-]/', $cpus[$c * 32 + $n]);
if (empty($text[$n])) $text[$n] = '';
$text[$n] .= "$cpu1<br />";
if ($cpu2) $text[$n] .= "$cpu2<br />";
$text[$n] .= "$cpu1<br>";
if ($cpu2) $text[$n] .= "$cpu2<br>";
}
}
$label = implode('<br />', array_fill(0, $loop, 'CPU:' . ($cpu2 ? '<br />CPU:' : '')));
$label = implode('<br>', array_fill(0, $loop, 'CPU:' . ($cpu2 ? '<br>CPU:' : '')));
if ($type == "vm") echo "<th>VPCUS</th>";
echo "<th>$label</th>" . implode(array_map(function($t) {
return "<th>$t</th>";

View File

@@ -332,7 +332,7 @@ $myDisks = array_filter(array_diff(array_keys(array_filter($disks,'my_disks')),
:share_edit_global2_help:
<?endif;?>
<br />
<br>
<div class="clone1">
<span class="clone">_(Read settings from)_</span><i class="fa fa-arrow-left fa-fw"></i>
<span class="wrap"><select name="readshare" class="clone" onchange="toggleButton('readshare',false)">