diff options
author | Urban Müller | 2009-11-02 15:37:10 +0000 |
---|---|---|
committer | Urban Müller | 2009-11-02 15:37:10 +0000 |
commit | bc8300d2bafdc3ebfba09ed74adb9612b5225a7a (patch) | |
tree | b66bf8a5033b5171a156d7ec30d05fb47a925d8f /it_text.class | |
parent | 4f178bc34d790d08b2c611a591a6cdb96eb31ee0 (diff) | |
download | itools-bc8300d2bafdc3ebfba09ed74adb9612b5225a7a.tar.gz itools-bc8300d2bafdc3ebfba09ed74adb9612b5225a7a.tar.bz2 itools-bc8300d2bafdc3ebfba09ed74adb9612b5225a7a.zip |
allow marking of single label
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 54bc779..eb99157 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|_search$|service|claim/i', $label)) + if ($GLOBALS['debug_texts'] && !preg_match('/submit|reset|button|_search$|service|claim/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'])) |