diff options
author | David Flatz | 2016-11-24 15:14:39 +0100 |
---|---|---|
committer | David Flatz | 2016-11-24 15:14:39 +0100 |
commit | 38d7d4235092acc12bff4d1d8e36c328e2961a37 (patch) | |
tree | 545a9c120d102f3547c898f49ad94f81af0b8e77 | |
parent | 03abe80eb9c105693a9d63ac5b97786e9c9368ef (diff) | |
download | itools-38d7d4235092acc12bff4d1d8e36c328e2961a37.tar.gz itools-38d7d4235092acc12bff4d1d8e36c328e2961a37.tar.bz2 itools-38d7d4235092acc12bff4d1d8e36c328e2961a37.zip |
fix link to label editor
-rw-r--r-- | it_text.class | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/it_text.class b/it_text.class index 830dfe2..29bc2d1 100644 --- a/it_text.class +++ b/it_text.class @@ -144,7 +144,7 @@ function text($label, $language = null) $text = $this->statictext[$label][$this->p['fallbacklanguage']]; if (!isset($text)) { - $text = "<span style='background:#F88' title='" . Q("$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")") . "'>" . Q($label) . "</span><a href='/admin/text?edit=$label'>.</a>"; + $text = "<span style='background:#F88' title='" . Q("$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")") . "'>" . Q($label) . "</span><a href='/admin/texts.html?edit=$label'>.</a>"; it::error(array('title'=>"unknown label $label language $language - see /tmp/alertdata/alert.log", 'backtraceskip'=>2, 'blockmail'=>21600)); } } @@ -155,7 +155,7 @@ function text($label, $language = null) if ($service = $this->label_to_service[$label]) $host = preg_replace('#//(admin\.)?[^.]*\.#', "//$service.", $host); - $text = "<span style='background:#8F8' title='$label (" . it_debug::backtrace(array('levels'=>1, 'skipfiles'=>"text|auto_prepend")) . ")'>" . ($text ? $text : $label) . "</span><a href='$host/admin/text?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='$host/admin/texts.html?edit=$label'>.</a>"; } if (isset($GLOBALS['it_text_sampling'])) |