diff options
author | Urban Müller | 2011-12-21 17:54:54 +0000 |
---|---|---|
committer | Urban Müller | 2011-12-21 17:54:54 +0000 |
commit | be9701c21536b77f5a5a99fdb08c63bb0ef8063d (patch) | |
tree | 37ef1c3d42077a26388c367ef94c00f0bfa44ced | |
parent | 85fc606febb139cfc7bfc7b164614178a1e07eb1 (diff) | |
download | itools-be9701c21536b77f5a5a99fdb08c63bb0ef8063d.tar.gz itools-be9701c21536b77f5a5a99fdb08c63bb0ef8063d.tar.bz2 itools-be9701c21536b77f5a5a99fdb08c63bb0ef8063d.zip |
blacklist for nomarkable labels
-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 9c492ea..6863750 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|button/i', $label) && (!$_GET['it_texts_mark'] || $label == $_GET['it_texts_mark'])) + if ($GLOBALS['debug_texts'] && !preg_match('/submit|button|servicedomain/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'])) |