From 72b9fa525c91a4955f98d6f93c1529d93bba9581 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Fri, 29 Jan 2010 11:02:22 -0500 Subject: [PATCH] Markup and formatting corrections. - XHTML validity - Can't nest TMPL_IF inside --breaks translator Signed-off-by: Galen Charlton --- .../prog/en/modules/admin/currency.tmpl | 25 +++++++++++-------- 1 file changed, 14 insertions(+), 11 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl index 49bf9c46fb..980fbd5304 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tmpl @@ -1,5 +1,5 @@ -Koha › Administration › Currencies & Exchange Rates › +<title>Koha › Administration › Currencies & Exchange Rates › <!-- TMPL_IF NAME="add_form" --><!-- TMPL_IF NAME="searchfield" -->Modify Currency '<!-- TMPL_VAR NAME="searchfield" -->'<!-- TMPL_ELSE -->New Currency<!-- /TMPL_IF --><!-- /TMPL_IF --> <!-- TMPL_IF NAME="add_validate" -->Data Recorded<!-- /TMPL_IF --> <!-- TMPL_IF NAME="delete_confirm" -->Confirm Deletion of Currency '<!-- TMPL_VAR NAME="searchfield" -->'<!-- /TMPL_IF --> @@ -69,7 +69,7 @@ <div id="bd"> <div id="yui-main"> <div class="yui-b"> - + <!-- TMPL_IF NAME="else" --> <div id="toolbar"> <ul class="toolbar"> @@ -107,20 +107,23 @@ </li> <li> - <label for="currency">Last Updated: </label><!-- TMPL_VAR NAME="timestamp" --> + <span class="label">Last Updated: </span><!-- TMPL_VAR NAME="timestamp" --> </li> <li> - <label for="currency">Active: </label> - <input type="checkbox" id="active" name="active" value="1" - <!-- TMPL_IF NAME="active" --> checked <!-- /TMPL_IF --> /> + <label for="active">Active: </label> + <!-- TMPL_IF NAME="active" --> + <input type="checkbox" id="active" name="active" value="1" checked="checked" /> + <!-- TMPL_ELSE --> + <input type="checkbox" id="active" name="active" value="1" /> + <!-- /TMPL_IF --> </li> </ol> </fieldset> - + <fieldset class="action"> <input type="submit" value="Submit" onclick="Check(this.form)" /> - <input type="button" onclick="window.location.href='<!-- TMPL_VAR NAME="script_name" -->'" value="Cancel" /> + <a href="/cgi-bin/koha/admin/currency.pl" class="cancel">Cancel</a> </fieldset> </form> @@ -179,7 +182,7 @@ <h2>Currencies and Exchange Rates</h2> <!-- TMPL_IF NAME="searchfield" --> You searched for <!-- TMPL_VAR NAME="searchfield" --></span> - <!-- /TMPL_IF --> + <!-- /TMPL_IF --> <table> <tr> @@ -207,13 +210,13 @@ <!-- /TMPL_LOOP --> </table> <br> - + <!-- TMPL_IF NAME="offsetgtzero" --> <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="prevpage" -->"><< Previous</a> <!-- /TMPL_IF --> <!-- TMPL_IF NAME="ltcount" --> - <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->">Next >></a> + <a href="<!-- TMPL_VAR NAME="script_name" -->?offset=<!-- TMPL_VAR NAME="nextpage" -->">Next >></a> <!-- /TMPL_IF --> <!-- /TMPL_IF --> -- 2.39.5