diff options
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/admin/params/common.html.tmpl | 12 | ||||
-rw-r--r-- | template/en/default/setup/strings.txt.pl | 5 |
2 files changed, 16 insertions, 1 deletions
diff --git a/template/en/default/admin/params/common.html.tmpl b/template/en/default/admin/params/common.html.tmpl index d86da0dcd..6458ba419 100644 --- a/template/en/default/admin/params/common.html.tmpl +++ b/template/en/default/admin/params/common.html.tmpl @@ -28,9 +28,19 @@ <dl> [% FOREACH param = panel.param_list %] - <dt id="[% param.name FILTER html %]_desc">[% param.name FILTER html %]</dt> + <dt id="[% param.name FILTER html %]_desc">[% param.name FILTER html %] + [% IF panel.param_override.${param.name}.defined %] + (localconfig override) + [% END %] + </dt> <dd>[% panel.param_descs.${param.name} FILTER none %] <p> + [% IF panel.param_override.${param.name}.defined %] + <input type="hidden" name="[% param.name FILTER html %] value="[% Param(param.name) FILTER html %]"> + <input type="text" size="80" readonly + id="[% param.name FILTER html %]" value="[% panel.param_override.${param.name} FILTER html %]"> + [% NEXT %] + [% END %] [% IF param.type == "t" %] <input type="text" size="80" name="[% param.name FILTER html %]" id="[% param.name FILTER html %]" value="[% Param(param.name) FILTER html %]"> diff --git a/template/en/default/setup/strings.txt.pl b/template/en/default/setup/strings.txt.pl index d73d29a26..72ffb4a4d 100644 --- a/template/en/default/setup/strings.txt.pl +++ b/template/en/default/setup/strings.txt.pl @@ -240,6 +240,11 @@ security features in Bugzilla, to protect against certain types of attacks. A random string is generated by default. It's very important that this key is kept secret. It also must be very long. END + localconfig_param_override => <<'END', +This hash is used by BMO to override select data/params values on a per-webhead +basis. Keys set to undef will default to the value in data/params. +Only the keys listed below can be overridden. +END localconfig_use_suexec => <<'END', Set this to 1 if Bugzilla runs in an Apache SuexecUserGroup environment. |