summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
authorPhilip Häusler <msquare@notrademark.de>2013-11-25 21:04:58 +0100
committerPhilip Häusler <msquare@notrademark.de>2013-11-25 21:04:58 +0100
commitaad54bfe885e2ce69801597c791bff4b7f0e1521 (patch)
treeea5b6164698163c07ab1833df5a1afebdbdbc7ab /includes/sys_template.php
parent96a263f7129fbcf01ef644c531cdcc0a0be59085 (diff)
basic gettext integration
Diffstat (limited to 'includes/sys_template.php')
-rw-r--r--includes/sys_template.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/sys_template.php b/includes/sys_template.php
index a7662e84..f59cff37 100644
--- a/includes/sys_template.php
+++ b/includes/sys_template.php
@@ -259,8 +259,7 @@ function html_select_key($id, $name, $rows, $selected) {
}
function img_button($link, $icon, $text, $extra_text = '') {
- $translation = empty($text) ? '' : Get_Text($text);
- return '<a href="' . htmlspecialchars($link) . '"><img src="pic/icons/' . htmlspecialchars($icon) . '.png" alt="' . $translation . '" ' . (empty($translation) ? '' : 'title="' . $translation . '"') . '>' . (empty($extra_text) ? '' : ' ' . $extra_text) . '</a>';
+ return '<a href="' . htmlspecialchars($link) . '"><img src="pic/icons/' . htmlspecialchars($icon) . '.png" alt="' . $text . '" ' . (empty($text) ? '' : 'title="' . $text . '"') . '>' . (empty($extra_text) ? '' : ' ' . $extra_text) . '</a>';
}
function ReplaceSmilies($neueckig) {