View | Details | Raw Unified | Return to bug 16174
Collapse All | Expand All

(-)a/xt/author/translatable-templates.t (-1 / +1 lines)
Lines 39-45 my $po_dir = tempdir(CLEANUP => 1); Link Here
39
# Find OPAC themes
39
# Find OPAC themes
40
my $opac_dir  = 'koha-tmpl/opac-tmpl';
40
my $opac_dir  = 'koha-tmpl/opac-tmpl';
41
opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
41
opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
42
my @opac_themes = grep { not /^\.|lib|js/ } readdir($dh);
42
my @opac_themes = grep { not /^\.|lib|js|xslt/ } readdir($dh);
43
close $dh;
43
close $dh;
44
44
45
# Find STAFF themes
45
# Find STAFF themes
(-)a/xt/author/valid-templates.t (-1 / +1 lines)
Lines 41-47 my @themes; Link Here
41
# OPAC themes
41
# OPAC themes
42
my $opac_dir  = 'koha-tmpl/opac-tmpl';
42
my $opac_dir  = 'koha-tmpl/opac-tmpl';
43
opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
43
opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
44
for my $theme ( grep { not /^\.|lib|js/ } readdir($dh) ) {
44
for my $theme ( grep { not /^\.|lib|js|xslt/ } readdir($dh) ) {
45
    push @themes, {
45
    push @themes, {
46
        type     => "opac",
46
        type     => "opac",
47
        theme    => $theme,
47
        theme    => $theme,
(-)a/xt/single_quotes.t (-2 / +1 lines)
Lines 27-33 my @themes; Link Here
27
# OPAC themes
27
# OPAC themes
28
my $opac_dir  = 'koha-tmpl/opac-tmpl';
28
my $opac_dir  = 'koha-tmpl/opac-tmpl';
29
opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
29
opendir ( my $dh, $opac_dir ) or die "can't opendir $opac_dir: $!";
30
for my $theme ( grep { not /^\.|lib|js/ } readdir($dh) ) {
30
for my $theme ( grep { not /^\.|lib|js|xslt/ } readdir($dh) ) {
31
    push @themes, "$opac_dir/$theme/en";
31
    push @themes, "$opac_dir/$theme/en";
32
}
32
}
33
close $dh;
33
close $dh;
34
- 

Return to bug 16174