X-Git-Url: https://delta.frontaccounting.com/gitweb/?a=blobdiff_plain;f=includes%2Fui%2Fui_input.inc;h=d2854d865b6e4d01fd684f756b5472b38b2e7829;hb=f31eca3e9d68d964324ebb7da93eccb38dff6484;hp=feb136ffdfd64600bec9a97aa1abf9a9374c71fb;hpb=a2ae0e35302270ae811db2e6acb44c16b186a970;p=fa-stable.git
diff --git a/includes/ui/ui_input.inc b/includes/ui/ui_input.inc
index feb136ff..d2854d86 100644
--- a/includes/ui/ui_input.inc
+++ b/includes/ui/ui_input.inc
@@ -159,6 +159,7 @@ function submit($name, $value, $echo=true, $title=false, $atype=false, $icon=fal
if ($icon===false) $icon=ICON_ESCAPE; break;
case 'nonajax':
+ case 'download':
$atype = false;
}
}
@@ -287,7 +288,7 @@ function set_icon($icon, $title=false)
global $path_to_root;
if (basename($icon) === $icon) // standard icons does not contain path separator
$icon = "$path_to_root/themes/".user_theme()."/images/$icon";
- return "\n";
+ return "\n";
}
function button($name, $value, $title=false, $icon=false, $aspect='')
@@ -304,7 +305,7 @@ function button($name, $value, $title=false, $icon=false, $aspect='')
if ($value == _("Delete")) // Helper during implementation
$icon = ICON_DELETE;
return "