diff options
Diffstat (limited to 'template/en/default/admin/custom_fields')
4 files changed, 6 insertions, 6 deletions
diff --git a/template/en/default/admin/custom_fields/cf-js.js.tmpl b/template/en/default/admin/custom_fields/cf-js.js.tmpl index 528b88b2d..f9c31b5c7 100644 --- a/template/en/default/admin/custom_fields/cf-js.js.tmpl +++ b/template/en/default/admin/custom_fields/cf-js.js.tmpl @@ -25,7 +25,7 @@ function toggleCheckbox(this_checkbox, other_checkbox_id) { var select_values = new Array(); [% USE Bugzilla %] -[% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %] +[% FOREACH sel_field = Bugzilla.fields({ is_select => 1 }) %] select_values[[% sel_field.id FILTER js %]] = [ [% FOREACH legal_value = sel_field.legal_values %] [%# Prefix components with the name of their product so that admins diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl index fcdf73bc7..b96738473 100644 --- a/template/en/default/admin/custom_fields/create.html.tmpl +++ b/template/en/default/admin/custom_fields/create.html.tmpl @@ -123,7 +123,7 @@ YAHOO.util.Event.onDOMReady(function() {onChangeType(document.getElementById('ty <select name="visibility_field_id" id="visibility_field_id" onchange="onChangeVisibilityField()"> <option></option> - [% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %] + [% FOREACH sel_field = Bugzilla.fields({ is_select => 1 }) %] <option value="[% sel_field.id FILTER html %]"> [% sel_field.description FILTER html %] ([% sel_field.name FILTER html %]) @@ -149,7 +149,7 @@ YAHOO.util.Event.onDOMReady(function() {onChangeType(document.getElementById('ty <td> <select disabled="disabled" name="value_field_id" id="value_field_id"> <option></option> - [% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %] + [% FOREACH sel_field = Bugzilla.fields({ is_select => 1 }) %] <option value="[% sel_field.id FILTER html %]"> [% sel_field.description FILTER html %] ([% sel_field.name FILTER html %]) diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl index ec4e3276d..48c3396f3 100644 --- a/template/en/default/admin/custom_fields/edit.html.tmpl +++ b/template/en/default/admin/custom_fields/edit.html.tmpl @@ -108,7 +108,7 @@ <select name="visibility_field_id" id="visibility_field_id" onchange="onChangeVisibilityField()"> <option></option> - [% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %] + [% FOREACH sel_field = Bugzilla.fields({ is_select => 1 }) %] [% NEXT IF sel_field.id == field.id %] <option value="[% sel_field.id FILTER html %]" [% ' selected="selected"' @@ -151,7 +151,7 @@ <td> <select name="value_field_id" id="value_field_id"> <option></option> - [% FOREACH sel_field = Bugzilla.get_fields({ is_select => 1 }) %] + [% FOREACH sel_field = Bugzilla.fields({ is_select => 1 }) %] [% NEXT IF sel_field.id == field.id %] <option value="[% sel_field.id FILTER html %]" [% ' selected="selected"' diff --git a/template/en/default/admin/custom_fields/list.html.tmpl b/template/en/default/admin/custom_fields/list.html.tmpl index 385650a63..689aa0591 100644 --- a/template/en/default/admin/custom_fields/list.html.tmpl +++ b/template/en/default/admin/custom_fields/list.html.tmpl @@ -69,7 +69,7 @@ %] [% USE Bugzilla %] -[% custom_fields = Bugzilla.get_fields({ custom => 1 }) %] +[% custom_fields = Bugzilla.fields({ custom => 1 }) %] [%# We want to display the type name of fields, not their type ID. %] [% overrides.type = {} %] |