|
Lines 42-55
my ( $template, $borrowernumber, $cookie ) = get_template_and_user(
Link Here
|
| 42 |
my $action = $cgi->param('action') || q{}; |
42 |
my $action = $cgi->param('action') || q{}; |
| 43 |
my $biblionumber = $cgi->param('biblionumber'); |
43 |
my $biblionumber = $cgi->param('biblionumber'); |
| 44 |
my $homebranch = C4::Context->userenv->{'branch'} || ""; |
44 |
my $homebranch = C4::Context->userenv->{'branch'} || ""; |
| 45 |
my $location = 'ArticleRequestsDisclaimerText_'; |
|
|
| 46 |
my $disclaimer; |
| 47 |
if ( !$action ) { |
| 48 |
$disclaimer = GetNewsToDisplay( $location . $template->lang, $homebranch ); |
| 49 |
$disclaimer = GetNewsToDisplay( $location . "en", $homebranch ) |
| 50 |
if !scalar(@$disclaimer); |
| 51 |
} |
| 52 |
|
| 53 |
|
45 |
|
| 54 |
if ( $action eq 'create' ) { |
46 |
if ( $action eq 'create' ) { |
| 55 |
my $branchcode = $cgi->param('branchcode'); |
47 |
my $branchcode = $cgi->param('branchcode'); |
| 56 |
- |
|
|