X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=588f867c31ddd381387a3c6a90478d6457a6cc24;hb=4e31fd74b18825d8ac35f4a38b96ef33a08c2025;hp=93afe5c72a1d5de4f5b2b35e90db71c5391460e3;hpb=ba80e275bd7d437b92dd62eec01d97e461c74bce;p=fa-stable.git diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc index 93afe5c7..588f867c 100644 --- a/includes/ui/ui_input.inc +++ b/includes/ui/ui_input.inc @@ -1,6 +1,6 @@ \n"; + 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; + return "