projects
/
fa-stable.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
New transaction reference formats {FF}/{FFFF} for fiscal years starting on other...
[fa-stable.git]
/
includes
/
ui
/
ui_input.inc
diff --git
a/includes/ui/ui_input.inc
b/includes/ui/ui_input.inc
index 448bd8f408eb264a1cbfdb60829a8e8451efdaca..6ff977ad096d1eec3c64490e926f6c27e1877c30 100644
(file)
--- 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':
if ($icon===false) $icon=ICON_ESCAPE; break;
case 'nonajax':
+ case 'download':
$atype = false;
}
}
$atype = false;
}
}
@@
-304,7
+305,7
@@
function button($name, $value, $title=false, $icon=false, $aspect='')
if ($value == _("Delete")) // Helper during implementation
$icon = ICON_DELETE;
return "<button type='submit' class='editbutton' name='"
if ($value == _("Delete")) // Helper during implementation
$icon = ICON_DELETE;
return "<button type='submit' class='editbutton' name='"
- .html
entities
(strtr($name, array('.'=>'=2E', '='=>'=3D',// ' '=>'=20','['=>'=5B'
+ .html
_specials_encode
(strtr($name, array('.'=>'=2E', '='=>'=3D',// ' '=>'=20','['=>'=5B'
)))
."' value='1'" . ($title ? " title='$title'":" title='$value'")
. ($aspect ? " aspect='$aspect'" : '')
)))
."' value='1'" . ($title ? " title='$title'":" title='$value'")
. ($aspect ? " aspect='$aspect'" : '')
@@
-757,7
+758,7
@@
function ref_cells($label, $name, $title=null, $init=null, $params=null, $submit
label_cell($list."<input name='".$name."' "
.(check_edit_access($name) ? '' : 'disabled ')
label_cell($list."<input name='".$name."' "
.(check_edit_access($name) ? '' : 'disabled ')
- ."value='".@$_POST[$name]."' size=1
0
maxlength=35>");
+ ."value='".@$_POST[$name]."' size=1
6
maxlength=35>");
}
else // just wildcard ref field (e.g. for global inquires)
{
}
else // just wildcard ref field (e.g. for global inquires)
{