X-Git-Url: http://koha-dev.rot13.org:8081/gitweb/?a=blobdiff_plain;f=edithelp.pl;h=32db0622915cd56b101fa9ef0e2aee663c0cf46a;hb=31d748665a396582ad344249c3dfd394b6047f85;hp=4d7e0c0090ce2ab8b9c49a06786d910ef3083dfb;hpb=cac6eb12502f82ed5a0b59a74cf84fa009ba0a26;p=koha_fer diff --git a/edithelp.pl b/edithelp.pl index 4d7e0c0090..32db062291 100755 --- a/edithelp.pl +++ b/edithelp.pl @@ -19,6 +19,7 @@ use strict; use C4::Output; +use C4::Templates; use C4::Auth; use CGI; use warnings; @@ -66,7 +67,7 @@ sub _get_filepath ($;$) { $referer =~ /koha\/(.*)\.pl/; my $from = "help/$1.tt"; my $htdocs = C4::Context->config('intrahtdocs'); - my ($theme, $lang) = themelanguage( $htdocs, $from, "intranet", $input ); + my ($theme, $lang) = C4::Templates::themelanguage( $htdocs, $from, "intranet", $input ); $debug and print STDERR "help filepath: $htdocs/$theme/$lang/modules/$from"; return "$htdocs/$theme/$lang/modules/$from"; }