summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Flatz2016-07-01 15:22:16 +0200
committerDavid Flatz2016-07-01 15:22:16 +0200
commit2f7e016b7af6aa1a9543dde4cbb369078eef00e1 (patch)
tree5c3eb4577cb89098a2c21d993bb73385e6bd9ba9
parentae09401e2342ade5e505b6e1f553ad270e6ccdd6 (diff)
downloaditools-2f7e016b7af6aa1a9543dde4cbb369078eef00e1.tar.gz
itools-2f7e016b7af6aa1a9543dde4cbb369078eef00e1.tar.bz2
itools-2f7e016b7af6aa1a9543dde4cbb369078eef00e1.zip
update path to textadmin
-rw-r--r--it_text.class4
1 files changed, 2 insertions, 2 deletions
diff --git a/it_text.class b/it_text.class
index 7a0f0dd..df3509d 100644
--- a/it_text.class
+++ b/it_text.class
@@ -143,7 +143,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.html?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/text?edit=$label'>.</a>";
it::error(array('title'=>"unknown label $label language $language - see /tmp/alertdata/alert.log", 'backtraceskip'=>2, 'blockmail'=>21600));
}
}
@@ -154,7 +154,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.html?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/text?edit=$label'>.</a>";
}
if (isset($GLOBALS['it_text_sampling']))