summaryrefslogtreecommitdiff
path: root/includes/sys_template.php
diff options
context:
space:
mode:
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) {