Bugzilla – Attachment 47814 Details for
Bug 9021
Add SMS via email as an alternative to SMS services via SMS::Send drivers
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 9021 [QA Followup] - Use TT plugin instead of passing syspref via script
Bug-9021-QA-Followup---Use-TT-plugin-instead-of-pa.patch (text/plain), 2.47 KB, created by
Kyle M Hall (khall)
on 2016-02-09 15:48:36 UTC
(
hide
)
Description:
Bug 9021 [QA Followup] - Use TT plugin instead of passing syspref via script
Filename:
MIME Type:
Creator:
Kyle M Hall (khall)
Created:
2016-02-09 15:48:36 UTC
Size:
2.47 KB
patch
obsolete
>From 7160bfb71d993da3029f0fd47c136000e1fc26fb Mon Sep 17 00:00:00 2001 >From: Kyle M Hall <kyle@bywatersolutions.com> >Date: Tue, 9 Feb 2016 14:45:51 +0000 >Subject: [PATCH] Bug 9021 [QA Followup] - Use TT plugin instead of passing > syspref via script > >--- > admin/admin-home.pl | 22 +++++++++------------- > .../prog/en/modules/admin/admin-home.tt | 3 ++- > 2 files changed, 11 insertions(+), 14 deletions(-) > >diff --git a/admin/admin-home.pl b/admin/admin-home.pl >index 327d24d..08c6ed1 100755 >--- a/admin/admin-home.pl >+++ b/admin/admin-home.pl >@@ -22,20 +22,16 @@ use CGI qw ( -utf8 ); > use C4::Auth; > use C4::Output; > >- >- > my $query = new CGI; >-my ($template, $loggedinuser, $cookie) >- = get_template_and_user({template_name => "admin/admin-home.tt", >- query => $query, >- type => "intranet", >- authnotrequired => 0, >- flagsrequired => {parameters => '*'}, >- debug => 1, >- }); >- >-$template->param( >- SMSSendDriver => C4::Context->preference('SMSSendDriver'), >+my ( $template, $loggedinuser, $cookie ) = get_template_and_user( >+ { >+ template_name => "admin/admin-home.tt", >+ query => $query, >+ type => "intranet", >+ authnotrequired => 0, >+ flagsrequired => { parameters => '*' }, >+ debug => 1, >+ } > ); > > output_html_with_http_headers $query, $cookie, $template->output; >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >index d3285c7..d0f65f2 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/admin-home.tt >@@ -1,3 +1,4 @@ >+[% USE Koha %] > [% INCLUDE 'doc-head-open.inc' %] > <title>Koha › Administration</title> > [% INCLUDE 'doc-head-close.inc' %] >@@ -110,7 +111,7 @@ > <dd>Hide or show columns for tables.</dd> > <dt><a href="/cgi-bin/koha/admin/audio_alerts.pl">Audio alerts</a></dt> > <dd>Define which events trigger which sounds</dd> >- [% IF SMSSendDriver == 'Email' %] >+ [% IF Koha.Preference('SMSSendDriver') == 'Email' %] > <dt><a href="/cgi-bin/koha/admin/sms_providers.pl">SMS cellular providers</a></dt> > <dd>Define a list of cellular providers for sending SMS messages via email.</dd> > [% END %] >-- >2.1.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 9021
:
13290
|
13291
|
13293
|
13294
|
14166
|
14167
|
14363
|
15685
|
15687
|
15689
|
15691
|
16628
|
17311
|
21729
|
22478
|
28488
|
29927
|
32453
|
34180
|
34181
|
35816
|
40720
|
44331
|
45152
|
46163
|
46164
|
46165
|
46168
|
46169
|
46170
|
46171
|
47128
|
47129
|
47130
|
47133
|
47134
|
47135
|
47338
|
47339
|
47814
|
47815
|
47816
|
47817
|
47818
|
47845
|
47846
|
47847
|
47848
|
47995
|
48024
|
48025
|
48026
|
48027
|
48028
|
48029
|
48030
|
48031
|
48032
|
48033
|
48034
|
48035
|
48036
|
48052
|
48053
|
48054
|
48055
|
48056
|
48057
|
48058
|
48059
|
48060
|
48061
|
48062
|
48063
|
48064
|
48065
|
48066