From: Janusz Dobrowolski Date: Sun, 17 May 2009 11:57:25 +0000 (+0000) Subject: Remoived buggy and obsolete hotkey support in pager_link(). X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=0228e36c29279f5d434ae2a2b5588382043dc04d;p=textcart.git Remoived buggy and obsolete hotkey support in pager_link(). --- diff --git a/includes/ui/db_pager_view.inc b/includes/ui/db_pager_view.inc index 7fe7754..ce3ae3d 100644 --- a/includes/ui/db_pager_view.inc +++ b/includes/ui/db_pager_view.inc @@ -14,12 +14,11 @@ function pager_link($link_text, $url, $icon=false) { global $path_to_root; - $link = access_string($link_text); if (user_graphic_links() && $icon) - $link[0] = set_icon($icon, $link[0]); + $link_text = set_icon($icon, $link_text); $href = $path_to_root . $url; - return "" . $link[0] . ""; + return "" . $link_text . ""; } function navi_button($name, $value, $enabled=true, $icon = false) {