rtrim(rtrim(number_format($n, 2, '.', ''), '0'), '.') . $m[2]; $base = (float)$m[1]; $lg = $base * 3.0; if ($m[2] === 'vh') $lg = min($lg, 85.0); return [$fmt($base + ($lg - $base) * 0.55), $fmt($lg)]; }; [$defMed, $defLarge] = $sizes($height); $tall = $o['tall'] ?? $defMed; $large = $o['tallLarge'] ?? $defLarge; $style = $height !== '' ? ' style="height:' . htmlspecialchars($height, ENT_QUOTES) . ';max-height:none;"' . ' data-h="' . htmlspecialchars($height, ENT_QUOTES) . '"' . ' data-h-tall="' . htmlspecialchars($tall, ENT_QUOTES) . '"' . ' data-h-large="' . htmlspecialchars($large, ENT_QUOTES) . '"' : ''; ?>
>
$def): ?>
>
loading…