Lines 30-35
use C4::Overdues;
Link Here
|
30 |
use Koha::Checkouts; |
30 |
use Koha::Checkouts; |
31 |
use Koha::Holds; |
31 |
use Koha::Holds; |
32 |
use Koha::News; |
32 |
use Koha::News; |
|
|
33 |
use Koha::Patron::Categories; |
33 |
use Koha::Patron::Messages; |
34 |
use Koha::Patron::Messages; |
34 |
|
35 |
|
35 |
my $input = CGI->new; |
36 |
my $input = CGI->new; |
Lines 103-112
if ( $patron ) {
Link Here
|
103 |
} |
104 |
} |
104 |
} |
105 |
} |
105 |
|
106 |
|
|
|
107 |
my $PatronSelfRegistrationDefaultCategory = C4::Context->preference('PatronSelfRegistrationDefaultCategory'); |
108 |
my $self_registration_enabled = $PatronSelfRegistrationDefaultCategory && Koha::Patron::Categories->find($PatronSelfRegistrationDefaultCategory); |
106 |
$template->param( |
109 |
$template->param( |
107 |
koha_news => $all_koha_news, |
110 |
koha_news => $all_koha_news, |
108 |
branchcode => $homebranch, |
111 |
branchcode => $homebranch, |
109 |
daily_quote => Koha::Quotes->get_daily_quote(), |
112 |
daily_quote => Koha::Quotes->get_daily_quote(), |
|
|
113 |
self_registration_enabled => $self_registration_enabled, |
110 |
); |
114 |
); |
111 |
|
115 |
|
112 |
output_html_with_http_headers $input, $cookie, $template->output; |
116 |
output_html_with_http_headers $input, $cookie, $template->output; |
113 |
- |
|
|