Johannes Meyer 87e676e1fb customvars.phtml: Show a customvar name as-is
Don't uppercase first, exchange `_` for spaces and lower everything else

resolves #3987
2020-05-13 14:56:58 +02:00

7 lines
201 B
PHTML

<?php foreach ($object->customvars as $name => $value): ?>
<tr>
<th><?= $this->escape($name) ?></th>
<td class="custom-variables"><?= $this->customvar($value) ?></td>
</tr>
<?php endforeach ?>