Bugzilla – Attachment 39838 Details for
Bug 14329
Useless copy/paste from Template::Plugin::HtmlToText
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText
Bug-14329-Useless-copypasta-from-TemplatePluginHtm.patch (text/plain), 3.03 KB, created by
Marcel de Rooy
on 2015-06-04 10:06:57 UTC
(
hide
)
Description:
Bug 14329: Useless copy/pasta from Template::Plugin::HtmlToText
Filename:
MIME Type:
Creator:
Marcel de Rooy
Created:
2015-06-04 10:06:57 UTC
Size:
3.03 KB
patch
obsolete
>From 167e11161e097a239cc0c80af317fda37cc66ea2 Mon Sep 17 00:00:00 2001 >From: Marcel de Rooy <m.de.rooy@rijksmuseum.nl> >Date: Thu, 4 Jun 2015 12:03:42 +0200 >Subject: [PATCH] Bug 14329: Useless copy/pasta from > Template::Plugin::HtmlToText >Content-Type: text/plain; charset=utf-8 > >The synopsis of this TT plugin contains two example lines: >[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 0) %] >[% myhtmltext | html2text %] > >These lines have been copied (without too much thought :) to a few templates. Since we do no use the variables myhtml or myhtmltext in these templates, these lines are useless. > >Test plan: >[1] Put some items in your cart. And send it. >[2] Send a shelf. >[3] Git grep on myhtml. Should not have results. >--- > koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt | 2 -- > koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt | 2 -- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt | 2 -- > koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt | 2 -- > 4 files changed, 8 deletions(-) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >index 0514bc1..c99b54e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/basket/sendbasket.tt >@@ -3,8 +3,6 @@ Your cart > <END_SUBJECT> > > [% USE HtmlToText %] >-[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 0) %] >-[% myhtmltext | html2text %] > > <HEADER> > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >index f3738f4..b70dac9 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/sendshelf.tt >@@ -3,8 +3,6 @@ Your list: [% shelfname %] > <END_SUBJECT> > > [% USE HtmlToText %] >-[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 0) %] >-[% myhtmltext | html2text %] > > <HEADER> > [% FILTER html2text %] >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >index 29c4cbb..e3c88ab 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendbasket.tt >@@ -3,8 +3,6 @@ Your cart > <END_SUBJECT> > > [% USE HtmlToText %] >-[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 0) %] >-[% myhtmltext | html2text %] > > <HEADER> > >diff --git a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >index 91041bb..4c7f5d4 100644 >--- a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >+++ b/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-sendshelf.tt >@@ -3,8 +3,6 @@ Your list : [% shelfname %] > <END_SUBJECT> > > [% USE HtmlToText %] >-[% myhtml FILTER html2text(leftmargin => 0, rightmargin => 0) %] >-[% myhtmltext | html2text %] > > <HEADER> > [% FILTER html2text %] >-- >1.7.10.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 14329
:
39838
|
39915
|
39940