]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 950486: Move the webdotbase and font_file parameters from data/params into localc...
authorGervase Markham <gerv@gerv.net>
Mon, 15 Dec 2014 18:40:43 +0000 (18:40 +0000)
committerGervase Markham <gerv@gerv.net>
Mon, 15 Dec 2014 18:40:43 +0000 (18:40 +0000)
Bugzilla/Config/DependencyGraph.pm [deleted file]
template/en/default/admin/params/dependencygraph.html.tmpl [deleted file]

diff --git a/Bugzilla/Config/DependencyGraph.pm b/Bugzilla/Config/DependencyGraph.pm
deleted file mode 100644 (file)
index c815822..0000000
+++ /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 (file)
index 64a334a..0000000
+++ /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:
-                 <ul>
-                   <li>
-                     A complete file path to 'dot' (part of
-                     <a href=\"http://www.graphviz.org\">GraphViz</a>) will
-                     generate the graphs locally.
-                   </li>
-                   <li>
-                     A URL prefix pointing to an installation of the
-                     <a href=\"http://www.research.att.com/~north/cgi-bin/webdot.cgi\">webdot
-                     package</a> will generate the graphs remotely.
-                   </li>
-                   <li>
-                     A blank value will disable dependency graphing.
-                   </li>
-                 </ul>
-                 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 <kbd>checksetup.pl</kbd>
-                 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 <a href=\"http://unifoundry.com/unifont.html\">Unifont</a> " _
-               "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.",
-  }
-%]