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

(-)a/admin/admin-home.pl (-13 / +9 lines)
Lines 22-41 use CGI qw ( -utf8 ); Link Here
22
use C4::Auth;
22
use C4::Auth;
23
use C4::Output;
23
use C4::Output;
24
24
25
26
27
my $query = new CGI;
25
my $query = new CGI;
28
my ($template, $loggedinuser, $cookie)
26
my ( $template, $loggedinuser, $cookie ) = get_template_and_user(
29
    = get_template_and_user({template_name => "admin/admin-home.tt",
27
    {
30
			     query => $query,
28
        template_name   => "admin/admin-home.tt",
31
			     type => "intranet",
29
        query           => $query,
32
			     authnotrequired => 0,
30
        type            => "intranet",
33
                 flagsrequired => {parameters => '*'},
31
        authnotrequired => 0,
34
			     debug => 1,
32
        flagsrequired   => { parameters => '*' },
35
			     });
33
        debug           => 1,
36
34
    }
37
$template->param(
38
    SMSSendDriver => C4::Context->preference('SMSSendDriver'),
39
);
35
);
40
36
41
output_html_with_http_headers $query, $cookie, $template->output;
37
output_html_with_http_headers $query, $cookie, $template->output;
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt (-2 / +2 lines)
Lines 1-3 Link Here
1
[% USE Koha %]
1
[% INCLUDE 'doc-head-open.inc' %]
2
[% INCLUDE 'doc-head-open.inc' %]
2
<title>Koha &rsaquo; Administration</title>
3
<title>Koha &rsaquo; Administration</title>
3
[% INCLUDE 'doc-head-close.inc' %]
4
[% INCLUDE 'doc-head-close.inc' %]
Lines 110-116 Link Here
110
                    <dd>Hide or show columns for tables.</dd>
111
                    <dd>Hide or show columns for tables.</dd>
111
                    <dt><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></dt>
112
                    <dt><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></dt>
112
                    <dd>Define which events trigger which sounds</dd>
113
                    <dd>Define which events trigger which sounds</dd>
113
                    [% IF SMSSendDriver == 'Email' %]
114
                    [% IF Koha.Preference('SMSSendDriver') == 'Email' %]
114
                        <dt><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></dt>
115
                        <dt><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></dt>
115
                        <dd>Define a list of cellular providers for sending SMS messages via email.</dd>
116
                        <dd>Define a list of cellular providers for sending SMS messages via email.</dd>
116
                    [% END %]
117
                    [% END %]
117
- 

Return to bug 9021