diff options
author | myk%mozilla.org <> | 2004-01-12 01:12:13 +0000 |
---|---|---|
committer | myk%mozilla.org <> | 2004-01-12 01:12:13 +0000 |
commit | 637b35d05add84f71adcf7d0d3cb060b1c3e7349 (patch) | |
tree | 68ac02c31b34b0883a71c20a473a88946302be09 /checksetup.pl | |
parent | e4bdfbbf265b93bbb9efa5d987ddb1d9167df28d (diff) | |
download | bugs-637b35d05add84f71adcf7d0d3cb060b1c3e7349.tar bugs-637b35d05add84f71adcf7d0d3cb060b1c3e7349.tar.gz bugs-637b35d05add84f71adcf7d0d3cb060b1c3e7349.tar.bz2 bugs-637b35d05add84f71adcf7d0d3cb060b1c3e7349.tar.xz bugs-637b35d05add84f71adcf7d0d3cb060b1c3e7349.zip |
Fix for bug 229658: Implements a mechanism for extensions to hook into standard Bugzilla templates so they can extend the Bugzilla UI without having to modify the standard templates themselves, making it easier to develop and use Bugzilla extensions.
r=bbaetz, gerv
a=myk
Diffstat (limited to 'checksetup.pl')
-rwxr-xr-x | checksetup.pl | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/checksetup.pl b/checksetup.pl index 821de1262..1d6240867 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -1046,6 +1046,8 @@ END next if($dir =~ /^CVS$/i); my $path = File::Spec->catdir($templatedir, $dir, 'custom'); push(@templatepaths, $path) if(-d $path); + $path = File::Spec->catdir($templatedir, $dir, 'extension'); + push(@templatepaths, $path) if(-d $path); $path = File::Spec->catdir($templatedir, $dir, 'default'); push(@templatepaths, $path) if(-d $path); } @@ -1088,6 +1090,9 @@ END # => $datadir/template/`pwd`/template/{en, ...}/{custom,default} COMPILE_DIR => "$datadir/template", + # Initialize templates (f.e. by loading plugins like Hook). + PRE_PROCESS => "global/initialize.none.tmpl", + # These don't actually need to do anything here, just exist FILTERS => { |