summaryrefslogtreecommitdiffstats
path: root/templates/show_test.inc
diff options
context:
space:
mode:
Diffstat (limited to 'templates/show_test.inc')
-rw-r--r--templates/show_test.inc11
1 files changed, 9 insertions, 2 deletions
diff --git a/templates/show_test.inc b/templates/show_test.inc
index f44e806a..f455021c 100644
--- a/templates/show_test.inc
+++ b/templates/show_test.inc
@@ -219,9 +219,16 @@ $row_classes = array('even','odd');
<td>
<?php if (count($difference)) {
echo _('Ampache.cfg.php is missing the following:');
- echo "<br /><dl>\n";
+ echo "<br /><dl style=\"text-align:left;\">\n";
foreach ($difference as $key=>$value) {
- echo "\t<dd>$key = \"$value\"</dd>\n";
+ if (is_array($value)) {
+ foreach ($value as $element) {
+ echo "\t<dd>$key = \"$element\"</dd>\n";
+ }
+ }
+ else {
+ echo "\t<dd>$key = \"$value\"</dd>\n";
+ }
}
echo "</dl><br />\n";
} else { ?>