Lines 39-44
sub _help_template_file_of_url {
Link Here
|
39 |
|
39 |
|
40 |
my $query = new CGI; |
40 |
my $query = new CGI; |
41 |
|
41 |
|
|
|
42 |
# Init the interface to get the correct language. |
43 |
# This is usually set by get_template_and_user |
44 |
C4::Context->interface('intranet'); |
45 |
|
42 |
# find the script that called the online help using the CGI referer() |
46 |
# find the script that called the online help using the CGI referer() |
43 |
our $refer = $query->param('url'); |
47 |
our $refer = $query->param('url'); |
44 |
$refer = $query->referer() if !$refer || $refer eq 'undefined'; |
48 |
$refer = $query->referer() if !$refer || $refer eq 'undefined'; |
45 |
- |
|
|