From: Janusz Dobrowolski Date: Fri, 5 Dec 2008 08:58:54 +0000 (+0000) Subject: Button helpers moved to ui_input.inc, reusable button code. X-Git-Tag: v2.4.2~19^2~1710 X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=commitdiff_plain;h=9b8f5ee5d6cf0defc1b3eef5422b84e0d87eec91;p=fa-stable.git Button helpers moved to ui_input.inc, reusable button code. --- diff --git a/includes/ui/ui_controls.inc b/includes/ui/ui_controls.inc index d851544c..5d9f6113 100644 --- a/includes/ui/ui_controls.inc +++ b/includes/ui/ui_controls.inc @@ -184,51 +184,6 @@ function table_header($labels) labelheader_cell($label); end_row(); } - -//----------------------------------------------------------------------------------- - -function set_icon($icon, $title=false) -{ - global $path_to_root; - return "\n"; -} - -function button($name, $value, $title=false, $icon=false) -{ - // php silently changes dots,spaces,'[' and characters 128-159 - // to underscore in POST names, to maintain compatibility with register_globals - if (user_graphic_links() && $icon) - { - if ($value == _("Delete")) // Helper during implementation - $icon = ICON_DELETE; - echo "