diff options
author | Urban Müller | 2024-08-19 02:21:56 +0200 |
---|---|---|
committer | Urban Müller | 2024-08-19 02:21:56 +0200 |
commit | c60e76906060423a232ecc8ad828925a638d0fa5 (patch) | |
tree | ce99df2a4638eea9dd66a6a243952c4961013665 /it_text.class | |
parent | b70c14f80103015ee8f71c4fbec498f4eee993a6 (diff) | |
download | itools-c60e76906060423a232ecc8ad828925a638d0fa5.tar.gz itools-c60e76906060423a232ecc8ad828925a638d0fa5.tar.bz2 itools-c60e76906060423a232ecc8ad828925a638d0fa5.zip |
fewer backslackes when ED()-ing html content with debug output
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 e08fff0..78df85b 100644 --- a/it_text.class +++ b/it_text.class @@ -149,7 +149,7 @@ function text($label, $language = null) 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><a href='" . it::replace(['\.texts\.' => '.'], U(it::replace(['^///' => '/'], '//' . $this->label_to_service[$label] . '/admin/texts'), ['edit' => $label])) . "'>.</a>"; + $text = "<span style=\"background:#8F8\" title=\"$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ')">' . ($text ? $text : $label) . "</span><a href=\"" . it::replace(['\.texts\.' => '.'], U(it::replace(['^///' => '/'], '//' . $this->label_to_service[$label] . '/admin/texts'), ['edit' => $label])) . '">.</a>'; } if (isset($GLOBALS['it_text_sampling'])) |