[Koha-patches] [PATCH] [SIGNED-OFF] Bug 5315: Remove references to obsolete variable nbstatements
Galen Charlton
gmcharlt at gmail.com
Fri Oct 22 15:19:58 CEST 2010
From: Colin Campbell <colin.campbell at ptfs-europe.com>
Trying to see the wood from the trees
Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
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.0
More information about the Koha-patches
mailing list