summaryrefslogtreecommitdiff
path: root/it_text.class
diff options
context:
space:
mode:
authorUrban Müller2009-11-02 15:37:10 +0000
committerUrban Müller2009-11-02 15:37:10 +0000
commitbc8300d2bafdc3ebfba09ed74adb9612b5225a7a (patch)
treeb66bf8a5033b5171a156d7ec30d05fb47a925d8f /it_text.class
parent4f178bc34d790d08b2c611a591a6cdb96eb31ee0 (diff)
downloaditools-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.class2
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']))