Customvars: use new helper

refs #7569
This commit is contained in:
Thomas Gelf 2014-11-06 16:11:29 +01:00
parent a8326350d1
commit da20926a97

View File

@ -1,8 +1,11 @@
<?php <?php
foreach ($object->customvars as $name => $value) { foreach ($object->customvars as $name => $value) {
printf( printf(
"<tr><th>%s</th><td>%s</td></tr>\n", '<tr><th>%s</th><td class="customvar">%s</td></tr>' . "\n",
$this->escape($name), $this->escape($name),
$this->escape($value) $this->customvar($value)
); );
} }