diff options
author | Urban Müller | 2010-04-07 12:20:04 +0000 |
---|---|---|
committer | Urban Müller | 2010-04-07 12:20:04 +0000 |
commit | 84e8dff59003dcd3148382e6c6c735fdf65f0086 (patch) | |
tree | 6021a6f268cc9f117757af02e0e10b61cdea8eb2 /it_text.class | |
parent | e360cc1c1169c90027bd30b5bea89e688f967a5c (diff) | |
download | itools-84e8dff59003dcd3148382e6c6c735fdf65f0086.tar.gz itools-84e8dff59003dcd3148382e6c6c735fdf65f0086.tar.bz2 itools-84e8dff59003dcd3148382e6c6c735fdf65f0086.zip |
fewer coloring exceptions
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 c424dbb..83c2937 100644 --- a/it_text.class +++ b/it_text.class @@ -142,7 +142,7 @@ function text($label, $language = null) } } - if ($GLOBALS['debug_texts'] && !preg_match('/submit|reset|button/i', $label) && (!$_GET['it_texts_mark'] || $label == $_GET['it_texts_mark'])) + if ($GLOBALS['debug_texts'] && !preg_match('/submit|button/i', $label) && (!$_GET['it_texts_mark'] || $label == $_GET['it_texts_mark'])) $text = "<span style='background:#8F8' title='$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . "</span>"; if (isset($GLOBALS['it_text_sampling'])) |