diff options
author | Urban Müller | 2015-03-04 16:09:58 +0100 |
---|---|---|
committer | Urban Müller | 2015-03-04 16:09:58 +0100 |
commit | 2481621a8516ba69c177b27db003cc658af5b1c4 (patch) | |
tree | 6360f8ca75787d9cd70bb467a4b2e90c7150a785 /it_text.class | |
parent | 93fc1fc439122f8370b5b5b62d29887683f30b34 (diff) | |
download | itools-2481621a8516ba69c177b27db003cc658af5b1c4.tar.gz itools-2481621a8516ba69c177b27db003cc658af5b1c4.tar.bz2 itools-2481621a8516ba69c177b27db003cc658af5b1c4.zip |
correct background color for unquoted ET() values in .texts debug
Diffstat (limited to 'it_text.class')
-rw-r--r-- | it_text.class | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class index 1ff7a51..7a0f0dd 100644 --- a/it_text.class +++ b/it_text.class @@ -242,7 +242,7 @@ function transmogrify($text, $values = null, $label = null) it::error(array('title' => "No value given for text variable {" . $key ."} in label $label", 'backtraceskip' => 3)); } - $result .= $value; + $result .= $GLOBALS['debug_texts'] ? "</span>$value<span style='background:#8F8'>" : $value; } else $result .= $part; |