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

(-)a/installer/install.pl (-1 / +2 lines)
Lines 10-15 use IPC::Cmd; Link Here
10
10
11
use C4::Context;
11
use C4::Context;
12
use C4::Output;
12
use C4::Output;
13
use C4::Templates;
13
use C4::Languages qw(getAllLanguages getTranslatedLanguages);
14
use C4::Languages qw(getAllLanguages getTranslatedLanguages);
14
use C4::Installer;
15
use C4::Installer;
15
16
Lines 22-28 my ( $template, $loggedinuser, $cookie ); Link Here
22
my $all_languages = getAllLanguages();
23
my $all_languages = getAllLanguages();
23
24
24
if ( defined($language) ) {
25
if ( defined($language) ) {
25
    setlanguagecookie( $query, $language, "install.pl?step=1" );
26
    C4::Templates::setlanguagecookie( $query, $language, "install.pl?step=1" );
26
}
27
}
27
( $template, $loggedinuser, $cookie ) = get_template_and_user(
28
( $template, $loggedinuser, $cookie ) = get_template_and_user(
28
    {
29
    {
(-)a/opac/changelanguage.pl (-3 / +2 lines)
Lines 18-28 Link Here
18
#use strict;
18
#use strict;
19
#use warnings; FIXME - Bug 2505
19
#use warnings; FIXME - Bug 2505
20
20
21
use C4::Output;
21
use C4::Templates;
22
use CGI;
22
use CGI;
23
23
24
my $query    = new CGI;
24
my $query    = new CGI;
25
my $language = $query->param('language');
25
my $language = $query->param('language');
26
my $url      = $query->referer();
26
my $url      = $query->referer();
27
27
28
setlanguagecookie( $query, $language, $url );
28
C4::Templates::setlanguagecookie( $query, $language, $url );
29
- 

Return to bug 6755