From 523a1cff31ca9b6d40f655365b6bfbd2e5aaf92c Mon Sep 17 00:00:00 2001 From: Eric Lippmann Date: Thu, 24 Sep 2015 16:05:52 +0200 Subject: [PATCH] monitoring: Simplify customvars markup refs #5543 --- .../scripts/show/components/customvars.phtml | 21 +++++-------------- 1 file changed, 5 insertions(+), 16 deletions(-) diff --git a/modules/monitoring/application/views/scripts/show/components/customvars.phtml b/modules/monitoring/application/views/scripts/show/components/customvars.phtml index b3e4c334b..6ef2c678b 100644 --- a/modules/monitoring/application/views/scripts/show/components/customvars.phtml +++ b/modules/monitoring/application/views/scripts/show/components/customvars.phtml @@ -1,17 +1,6 @@ -customvars)) return; ?> - - -

translate('Custom variables') ?>

- +customvars as $name => $value): ?> + + escape($name) ?> + customvar($value) ?> -customvars as $name => $value) { - - printf( - '%s%s' . "\n", - $this->escape($name), - $this->customvar($value) - ); -} - +