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
1 changed files with 5 additions and 2 deletions

View File

@ -1,8 +1,11 @@
<?php
foreach ($object->customvars as $name => $value) {
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($value)
$this->customvar($value)
);
}