2014-03-06 19:57:21 +01:00
|
|
|
<?php
|
2013-07-02 16:00:41 +02:00
|
|
|
|
2014-03-06 19:57:21 +01:00
|
|
|
if (! $object->customvars) { return; }
|
|
|
|
|
|
|
|
foreach ($object->customvars as $name => $value) {
|
|
|
|
$name = ucwords(str_replace('_', ' ', strtolower($name)));
|
|
|
|
if (preg_match('~(?:pw|pass|community)~', strtolower($name))) {
|
|
|
|
$value = '***';
|
|
|
|
}
|
|
|
|
printf(
|
|
|
|
"<tr><th>%s</th><td>%s</td></tr>\n",
|
|
|
|
$this->escape($name),
|
|
|
|
$this->escape($value)
|
|
|
|
);
|
|
|
|
}
|
2013-10-14 18:17:58 +02:00
|
|
|
|