parent
3cbc8602a4
commit
523a1cff31
|
@ -1,17 +1,6 @@
|
||||||
<?php if (empty($object->customvars)) return; ?>
|
<?php foreach ($object->customvars as $name => $value): ?>
|
||||||
<tr class="newsection">
|
<tr>
|
||||||
<td colspan="2">
|
<th><?= $this->escape($name) ?></th>
|
||||||
<h2 class="customvar"><?= $this->translate('Custom variables') ?></h2>
|
<td><?= $this->customvar($value) ?></td>
|
||||||
</td>
|
|
||||||
</tr>
|
</tr>
|
||||||
<?php
|
<?php endforeach ?>
|
||||||
|
|
||||||
foreach ($object->customvars as $name => $value) {
|
|
||||||
|
|
||||||
printf(
|
|
||||||
'<tr><th>%s</th><td class="customvar">%s</td></tr>' . "\n",
|
|
||||||
$this->escape($name),
|
|
||||||
$this->customvar($value)
|
|
||||||
);
|
|
||||||
}
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue