aboutsummaryrefslogtreecommitdiffstats
path: root/t/Support/Templates.pm
diff options
context:
space:
mode:
authormyk%mozilla.org <>2004-01-12 01:12:13 +0000
committermyk%mozilla.org <>2004-01-12 01:12:13 +0000
commit637b35d05add84f71adcf7d0d3cb060b1c3e7349 (patch)
tree68ac02c31b34b0883a71c20a473a88946302be09 /t/Support/Templates.pm
parente4bdfbbf265b93bbb9efa5d987ddb1d9167df28d (diff)
downloadbugs-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 't/Support/Templates.pm')
-rw-r--r--t/Support/Templates.pm2
1 files changed, 2 insertions, 0 deletions
diff --git a/t/Support/Templates.pm b/t/Support/Templates.pm
index e90565392..440358015 100644
--- a/t/Support/Templates.pm
+++ b/t/Support/Templates.pm
@@ -69,6 +69,8 @@ $num_actual_files = 0;
my $path = File::Spec->catdir('template', $langdir, 'custom');
my @dirs = ();
push(@dirs, $path) if(-d $path);
+ $path = File::Spec->catdir('template', $langdir, 'extension');
+ push(@dirs, $path) if(-d $path);
$path = File::Spec->catdir('template', $langdir, 'default');
push(@dirs, $path) if(-d $path);