From ac8a8468c55915b100804d290de600edcef3f56e Mon Sep 17 00:00:00 2001 From: Kyle M Hall <kyle@bywatersolutions.com> Date: Tue, 19 Mar 2013 03:27:46 -0700 Subject: [PATCH] Bug 8015: Fix template capitalization amd other template issues Signed-off-by: Leila <koha.aixmarseille@gmail.com> Signed-off-by: Bernardo Gonzalez Kriegel <bgkriegel@gmail.com> --- .../modules/tools/marc_modification_templates.tt | 20 ++++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt index 255310d..760901d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt @@ -1,5 +1,5 @@ [% INCLUDE 'doc-head-open.inc' %] -<title>Koha › Tools › MARC Modification Templates</title> +<title>Koha › Tools › MARC modification templates</title> [% INCLUDE 'doc-head-close.inc' %] <script type="text/javascript"> @@ -242,12 +242,12 @@ function setSelectByValue( selectId, value ) { [% INCLUDE 'header.inc' %] [% INCLUDE 'cat-search.inc' %] -<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › MARC Modification Templates</div> +<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › MARC modification templates</div> <div id="doc3" class="yui-t2"> <div id="yui-main"> <div class="yui-b"> - <h2>MARC Modification Templates</h2> + <h2>MARC modification templates</h2> [% IF ( TemplatesLoop ) %] @@ -255,7 +255,11 @@ function setSelectByValue( selectId, value ) { <label for="select_template">Template: </label> <select name="template_id" id="select_template" style="width:20em;"> [% FOREACH TemplatesLoo IN TemplatesLoop %] - <option value="[% TemplatesLoo.template_id %]" [% IF ( TemplatesLoo.selected ) %] selected [% END %] > [% TemplatesLoo.name %]</option> + [% IF ( TemplatesLoo.selected ) %] + <option value="[% TemplatesLoo.template_id %]" selected="selected"> [% TemplatesLoo.name %]</option> + [% ELSE %] + <option value="[% TemplatesLoo.template_id %]"> [% TemplatesLoo.name %]</option> + [% END %] [% END %] </select> <input type="hidden" name="op" value="select_template"> @@ -265,7 +269,7 @@ function setSelectByValue( selectId, value ) { <form method="get" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="delete_template"> <input type="hidden" name="template_id" value="[% template_id %]" /> <input type="hidden" name="op" value="delete_template"> - <input type="submit" value="Delete Template" onClick="return confirmDelete()" /> + <input type="submit" value="Delete template" onClick="return confirmDelete()" /> </form> @@ -464,18 +468,18 @@ function setSelectByValue( selectId, value ) { <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="add_template" > <fieldset> - <legend>Create A New Template</legend> + <legend>Create a new template</legend> <label for="template_name">Name: </label> <input name="template_name" id="template_name" type="text" size="30" /> <input type="hidden" name="op" value="create_template" /> - <input type="submit" value="Create Template" /> + <input type="submit" value="Create template" /> [% IF ( template_id ) %] <input type="hidden" name="template_id" value="[% template_id %]" /> <input type="checkbox" name="duplicate_current_template" id="duplicate_current_template" /> - <label for="duplicate_current_template">Duplicate Current Template</label> + <label for="duplicate_current_template">Duplicate current template</label> [% END %] </fieldset> </form> -- 1.7.9.5