[Koha-patches] [PATCH] Fix for Bug 2869, 'do not delete' marc framework tag - reverts to 'default' framework
Owen Leonard
oleonard at myacpl.org
Fri Dec 25 03:35:43 CET 2009
- "Do not delete" form was missing hidden framework code input.
- Also added details to breadcrumb navigation
---
.../prog/en/modules/admin/marctagstructure.tmpl | 4 +++-
1 files changed, 3 insertions(+), 1 deletions(-)
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl
index 31e757d..34153ef 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/marctagstructure.tmpl
@@ -43,8 +43,10 @@ $(document).ready(function() {
<!-- TMPL_ELSIF name="else" -->
› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</a>
<!-- TMPL_ELSIF name="delete_confirm" -->
+› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</a>
› Confirm Deletion of Tag '<!-- TMPL_VAR name="searchfield" -->'
<!-- TMPL_ELSIF name="delete_confirmed" -->
+› <a href="/cgi-bin/koha/admin/marctagstructure.pl?frameworkcode=<!-- TMPL_VAR NAME="frameworkcode" -->"><!-- TMPL_VAR NAME="frameworktext" --> (<!-- TMPL_VAR NAME="frameworkcode" -->)</a>
› Data Deleted
<!-- /TMPL_IF -->
</div>
@@ -94,7 +96,7 @@ $(document).ready(function() {
<input type="hidden" name="searchfield" value="<!-- TMPL_VAR NAME="searchfield" -->" /><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" />
<input type="submit" class="approve" value="Yes, Delete this Tag" /></form>
- <form action="<!-- TMPL_VAR NAME="script_name" -->" method="get"><input type="submit" value="No, Do Not Delete" class="deny" /></form></div>
+ <form action="<!-- TMPL_VAR NAME="script_name" -->" method="get"><input type="hidden" name="frameworkcode" value="<!-- TMPL_VAR NAME="frameworkcode" -->" /><input type="submit" value="No, Do Not Delete" class="deny" /></form></div>
<!-- /TMPL_IF -->
<!-- TMPL_IF NAME="delete_confirmed" -->
--
1.5.6.5
More information about the Koha-patches
mailing list