From: Gervase Markham Date: Mon, 15 Dec 2014 18:40:43 +0000 (+0000) Subject: Bug 950486: Move the webdotbase and font_file parameters from data/params into localc... X-Git-Tag: release-5.1.1~419 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=f1d4771b6317236748abaaa035b2635f3baa3635;p=thirdparty%2Fbugzilla.git Bug 950486: Move the webdotbase and font_file parameters from data/params into localconfig (and kill the Graphs panel). r=gerv, a=glob. (commit 2) --- diff --git a/Bugzilla/Config/DependencyGraph.pm b/Bugzilla/Config/DependencyGraph.pm deleted file mode 100644 index c815822f38..0000000000 --- a/Bugzilla/Config/DependencyGraph.pm +++ /dev/null @@ -1,37 +0,0 @@ -# This Source Code Form is subject to the terms of the Mozilla Public -# License, v. 2.0. If a copy of the MPL was not distributed with this -# file, You can obtain one at http://mozilla.org/MPL/2.0/. -# -# This Source Code Form is "Incompatible With Secondary Licenses", as -# defined by the Mozilla Public License, v. 2.0. - -package Bugzilla::Config::DependencyGraph; - -use 5.10.1; -use strict; -use warnings; - -use Bugzilla::Config::Common; - -our $sortkey = 800; - -sub get_param_list { - my $class = shift; - my @param_list = ( - { - name => 'webdotbase', - type => 't', - default => '', - checker => \&check_webdotbase - }, - - { - name => 'font_file', - type => 't', - default => '', - checker => \&check_font_file - }); - return @param_list; -} - -1; diff --git a/template/en/default/admin/params/dependencygraph.html.tmpl b/template/en/default/admin/params/dependencygraph.html.tmpl deleted file mode 100644 index 64a334a202..0000000000 --- a/template/en/default/admin/params/dependencygraph.html.tmpl +++ /dev/null @@ -1,46 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] -[% - title = "Graphs" - desc = "Optional setup to generate graphs" -%] - -[% param_descs = { - webdotbase => "It is possible to show graphs of dependent ${terms.bugs}. You may set - this parameter to any of the following: - - The default value is a publicly-accessible webdot server. If you change - this value, make certain that the webdot server can read files from your - webdot directory. On Apache you do this by editing the .htaccess file, - for other systems the needed measures may vary. You can run checksetup.pl - to recreate the .htaccess file if it has been lost.", - - font_file => "You can specify the full path to a TrueType font file which will be used " _ - "to display text (labels, legends, ...) in charts and graphical reports. " _ - "To support as many languages as possible, we recommend to specify a TrueType " _ - "font such as Unifont " _ - "which supports all printable characters in the Basic Multilingual Plane. " _ - "If you leave this parameter empty, a default font will be used, but " _ - "its support is limited to English characters only and so other characters " _ - "will be displayed incorrectly.", - } -%]