summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUrban Müller2012-03-15 17:41:55 +0000
committerUrban Müller2012-03-15 17:41:55 +0000
commit5781eba8b158ecb3fc6d62ebe13223168534e862 (patch)
tree1e76a4513b4b7d4b9286fdde8828bbcb0faab106
parent77e3c45d5b04e18c7dc83db65050b0407e578ad6 (diff)
downloaditools-5781eba8b158ecb3fc6d62ebe13223168534e862.tar.gz
itools-5781eba8b158ecb3fc6d62ebe13223168534e862.tar.bz2
itools-5781eba8b158ecb3fc6d62ebe13223168534e862.zip
offer editor link in .texts.
-rw-r--r--it_text.class2
1 files changed, 1 insertions, 1 deletions
diff --git a/it_text.class b/it_text.class
index 871fc93..86e6a75 100644
--- a/it_text.class
+++ b/it_text.class
@@ -143,7 +143,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>";
+ $text = "<span style='background:#8F8' title='$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . "</span><a href='/admin.html?edit=$label'>.</a>";
if (isset($GLOBALS['it_text_sampling']))
$GLOBALS['it_text_sampling'][$label] = true;