Bugzilla – Attachment 2699 Details for
Bug 5315
Authority search Templates refer to unused variable
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Proposd patch
0001-Bug-5315-Remove-references-to-obsolete-variable-nbst.patch (text/plain), 4.99 KB, created by
Colin Campbell
on 2010-10-22 13:10:47 UTC
(
hide
)
Description:
Proposd patch
Filename:
MIME Type:
Creator:
Colin Campbell
Created:
2010-10-22 13:10:47 UTC
Size:
4.99 KB
patch
obsolete
>From 701fe77a6188cda748df88ae29f152871a796f97 Mon Sep 17 00:00:00 2001 >From: Colin Campbell <colin.campbell@ptfs-europe.com> >Date: Wed, 20 Oct 2010 17:37:55 +0100 >Subject: [PATCH] [Bug 5315] Remove references to obsolete variable nbstatements >Content-Type: text/plain; charset="utf-8" > >Trying to see the wood from the trees >--- > authorities/authorities-home.pl | 2 -- > .../prog/en/includes/auth-finder-search.inc | 1 - > .../prog/en/includes/authorities-search.inc | 3 --- > .../prog/en/modules/labels/label-bib-search.tmpl | 3 +-- > .../prog/en/modules/opac-authorities-home.tmpl | 1 - > 5 files changed, 1 insertions(+), 9 deletions(-) > >diff --git a/authorities/authorities-home.pl b/authorities/authorities-home.pl >index fbaa1ba..edf02a5 100755 >--- a/authorities/authorities-home.pl >+++ b/authorities/authorities-home.pl >@@ -161,8 +161,6 @@ elsif ( $op eq "delete" ) { > } > ); > >- # $template->param("statements" => \@statements, >- # "nbstatements" => $nbstatements); > } > else { > ( $template, $loggedinuser, $cookie ) = get_template_and_user( >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc >index 8a725f0..437b313 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/auth-finder-search.inc >@@ -1,7 +1,6 @@ > <form name="f" method="get" action="auth_finder.pl"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> >- <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> > <input type="hidden" name="index" value="<!-- TMPL_VAR NAME="index" -->" /> > <fieldset class="rows"><ol><li> > <span class="label">Authority type</span> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >index 9a7b2e3..0a1548f 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search.inc >@@ -6,7 +6,6 @@ > <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> >- <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> > <select name="authtypecode"> > <!-- TMPL_LOOP NAME="authtypesloop" --> > <!-- TMPL_IF name="selected" --> >@@ -36,7 +35,6 @@ > <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> >- <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> > <select name="authtypecode"> > <!-- TMPL_LOOP NAME="authtypesloop" --> > <!-- TMPL_IF name="selected" --> >@@ -68,7 +66,6 @@ > <form action="/cgi-bin/koha/authorities/authorities-home.pl" method="get"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> >- <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> > <select name="authtypecode"> > <!-- TMPL_LOOP NAME="authtypesloop" --> > <!-- TMPL_IF name="selected" --> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tmpl >index 0efeb34..846f32e 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tmpl >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/labels/label-bib-search.tmpl >@@ -8,7 +8,6 @@ > <form name="f" method="post"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="intranet" /> >- <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> > <div class="details"> > <h2>Search on</h2> > <p> >@@ -32,4 +31,4 @@ > </form> > </div> > >-<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> >\ No newline at end of file >+<!-- TMPL_INCLUDE NAME="intranet-bottom.inc" --> >diff --git a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authorities-home.tmpl b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authorities-home.tmpl >index 2b07471..f0b4cf7 100644 >--- a/koha-tmpl/opac-tmpl/prog/en/modules/opac-authorities-home.tmpl >+++ b/koha-tmpl/opac-tmpl/prog/en/modules/opac-authorities-home.tmpl >@@ -12,7 +12,6 @@ > <form name="f" action="/cgi-bin/koha/opac-authorities-home.pl" method="get"> > <input type="hidden" name="op" value="do_search" /> > <input type="hidden" name="type" value="opac" /> >- <input type="hidden" name="nbstatements" value="<!-- TMPL_VAR NAME="nbstatements" -->" /> > <fieldset class="rows"> > <legend>Authority search</legend> > <ol> >-- >1.7.2.3 >
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 5315
: 2699