[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en authorities... [rel_2_2]
From: |
Owen Leonard |
Subject: |
[Koha-cvs] koha/koha-tmpl/intranet-tmpl/npl/en authorities... [rel_2_2] |
Date: |
Mon, 02 Jul 2007 16:26:36 +0000 |
CVSROOT: /sources/koha
Module name: koha
Branch: rel_2_2
Changes by: Owen Leonard <oleonard> 07/07/02 16:26:36
Modified files:
koha-tmpl/intranet-tmpl/npl/en/authorities: authorities.tmpl
koha-tmpl/intranet-tmpl/npl/en/members: memberentry.tmpl
Log message:
More fixes for Bug 1366. These have NOT BEEN TESTED.
CVSWeb URLs:
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/authorities.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.1.2.7&r2=1.1.2.8
http://cvs.savannah.gnu.org/viewcvs/koha/koha-tmpl/intranet-tmpl/npl/en/members/memberentry.tmpl?cvsroot=koha&only_with_tag=rel_2_2&r1=1.3.2.13&r2=1.3.2.14
Patches:
Index: authorities/authorities.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/authorities/Attic/authorities.tmpl,v
retrieving revision 1.1.2.7
retrieving revision 1.1.2.8
diff -u -b -r1.1.2.7 -r1.1.2.8
--- authorities/authorities.tmpl 2 Jul 2007 15:58:37 -0000 1.1.2.7
+++ authorities/authorities.tmpl 2 Jul 2007 16:26:36 -0000 1.1.2.8
@@ -13,24 +13,24 @@
<h1>Adding authority (<!-- TMPL_VAR name="authtypetext"
-->)</h1>
<!-- /TMPL_IF -->
<p>
- <input type="hidden" name="op" value="add">
- <input type="hidden" name="addfield_field">
- <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR
NAME="authtypecode" -->">
- <input type="hidden" name="authid" value="<!-- TMPL_VAR
NAME="authid" -->">
+ <input type="hidden" name="op" value="add" />
+ <input type="hidden" name="addfield_field" />
+ <input type="hidden" name="authtypecode" value="<!-- TMPL_VAR
NAME="authtypecode" -->" />
+ <input type="hidden" name="authid" value="<!-- TMPL_VAR
NAME="authid" -->" />
<!-- TMPL_IF name="authid" -->
- <input type="button" value="Save"
onClick="Check(this.form)" accesskey="w" class="submit">
+ <input type="button" value="Save"
onClick="Check(this.form)" accesskey="w" class="submit" />
<!-- TMPL_ELSE -->
- <input type="button" value="Add authority"
onClick="Check(this.form)" accesskey="w" class="submit">
+ <input type="button" value="Add authority"
onClick="Check(this.form)" accesskey="w" class="submit" />
<!-- /TMPL_IF -->
</p>
</div>
<!-- TMPL_IF name="duplicateauthid" -->
<div class="error">
- <p>Duplicate suspected with <a
href='javascript:openWindow("detail.pl?authid=<!-- TMPL_VAR
name="duplicateauthid" -->&popup=1", "Duplicate Authority")'><!-- TMPL_VAR
name="duplicateauthvalue" --></a></p>
+ <p>Duplicate suspected with <a href="#"
onclick="openWindow("detail.pl?authid=<!-- TMPL_VAR name="duplicateauthid"
-->&popup=1", "Duplicate Authority"); return false;"><!-- TMPL_VAR
name="duplicateauthvalue" --></a></p>
<p>You must either :</p>
<ul>
- <p><input type="checkbox" value="1"
name="confirm_not_duplicate">confirm it's not a duplicate (and click on <input
type="button" value="Add authority" onClick="Check(this.form)" accesskey="w"
class="submit"> again)</p>
+ <p><input type="checkbox" value="1"
name="confirm_not_duplicate" />confirm it's not a duplicate (and click on
<input type="button" value="Add authority" onClick="Check(this.form)"
accesskey="w" class="submit" /> again)</p>
<p>Go to <a href="authorities.pl?authid=<!-- TMPL_VAR
name="duplicateauthid" -->" >original authority</a></p>
</ul>
</div>
@@ -40,8 +40,8 @@
<!-- TMPL_IF name="tag" -->
<p class="MARCtag">
<!-- TMPL_VAR NAME="tag" -->
- <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR
NAME="tag" -->">
- <input type="text" name="indicator" size="3" maxlength="2"
value="<!-- TMPL_VAR NAME="indicator" -->"> - <TMPL_VAR NAME="tag_lib">
+ <input type="hidden" name="ind_tag" value="<!-- TMPL_VAR
NAME="tag" -->" />
+ <input type="text" name="indicator" size="3" maxlength="2"
value="<!-- TMPL_VAR NAME="indicator" -->" /> - <TMPL_VAR NAME="tag_lib">
<!-- TMPL_IF name="repeatable" -->
<a href="javascript:AddField(<!-- TMPL_VAR NAME="tag"
-->)">+</a>
<!-- /TMPL_IF -->
@@ -51,45 +51,45 @@
<p>
<label class="labelsubfield">
<!-- TMPL_UNLESS name="hide_marc" -->
- <a href="#" onclick="
onclick="upSubfield('<!-- TMPL_VAR name="index" -->'); return false;"><img
src="<!-- TMPL_VAR NAME="themelang" -->/images/up.png" border="0" /></a>
- <input type="text"
name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1"
maxlength="1">
+ <a href="#" onclick="upSubfield('<!--
TMPL_VAR name="index" -->'); return false;"><img src="<!-- TMPL_VAR
NAME="themelang" -->/images/up.png" border="0" /></a>
+ <input type="text"
name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" size="1"
maxlength="1" />
<!-- TMPL_ELSE -->
- <input type="hidden"
name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->">
+ <input type="hidden"
name="subfield" value="<!-- TMPL_VAR NAME="subfield" -->" />
<!-- /TMPL_UNLESS -->
<!-- TMPL_IF name="mandatory" --><b><!--
/TMPL_IF -->
<!-- TMPL_VAR NAME="marc_lib" -->
<!-- TMPL_IF name="mandatory" --> *</b><!--
/TMPL_IF -->
</label>
<!-- TMPL_VAR NAME="marc_value" -->
- <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="tag" -->">
- <input type="hidden" name="mandatory" value="<!--
TMPL_VAR NAME="mandatory" -->">
- <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->">
- <input type="hidden" name="tag_mandatory" value="<!--
TMPL_VAR NAME="tag_mandatory" -->">
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="tag" -->" />
+ <input type="hidden" name="mandatory" value="<!--
TMPL_VAR NAME="mandatory" -->" />
+ <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->" />
+ <input type="hidden" name="tag_mandatory" value="<!--
TMPL_VAR NAME="tag_mandatory" -->" />
</p>
<!-- /tmpl_loop -->
<!-- /tmpl_loop -->
<div name="hidden" id="hidden" class="tab">
<!-- TMPL_LOOP NAME="hidden_loop" -->
- <input type="hidden" name="tag" value="<!--
TMPL_VAR NAME="tag" -->">
- <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->">
- <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->">
- <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->">
- <input type="hidden" name="tag_mandatory"
value="<!-- TMPL_VAR NAME="tag_mandatory" -->">
+ <input type="hidden" name="tag" value="<!--
TMPL_VAR NAME="tag" -->" />
+ <input type="hidden" name="subfield"
value="<!-- TMPL_VAR NAME="subfield" -->" />
+ <input type="hidden" name="mandatory"
value="<!-- TMPL_VAR NAME="mandatory" -->" />
+ <input type="hidden" name="kohafield"
value="<!-- TMPL_VAR NAME="kohafield" -->" />
+ <input type="hidden" name="tag_mandatory"
value="<!-- TMPL_VAR NAME="tag_mandatory" -->" />
<!-- /TMPL_LOOP -->
</div>
<!-- TMPL_IF name="oldbiblionumtagfield" -->
- <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblionumtagfield" -->">
- <input type="hidden" name="subfield" value="<!--
TMPL_VAR NAME="oldbiblionumtagsubfield" -->">
- <input type="hidden" name="field_value" value="<!--
TMPL_VAR NAME="oldbiblionumber" -->">
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblionumtagfield" -->" />
+ <input type="hidden" name="subfield" value="<!--
TMPL_VAR NAME="oldbiblionumtagsubfield" -->" />
+ <input type="hidden" name="field_value" value="<!--
TMPL_VAR NAME="oldbiblionumber" -->" />
<input type="hidden" name="mandatory" value="0">
- <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->">
- <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblioitemnumtagfield" -->">
- <input type="hidden" name="subfield" value="<!--
TMPL_VAR NAME="oldbiblioitemnumtagsubfield" -->">
- <input type="hidden" name="field_value" value="<!--
TMPL_VAR NAME="oldbiblioitemnumber" -->">
- <input type="hidden" name="mandatory" value="0">
- <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->">
- <input type="hidden" name="tag_mandatory" value="<!--
TMPL_VAR NAME="tag_mandatory" -->">
+ <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->" />
+ <input type="hidden" name="tag" value="<!-- TMPL_VAR
NAME="oldbiblioitemnumtagfield" -->" />
+ <input type="hidden" name="subfield" value="<!--
TMPL_VAR NAME="oldbiblioitemnumtagsubfield" -->" />
+ <input type="hidden" name="field_value" value="<!--
TMPL_VAR NAME="oldbiblioitemnumber" -->" />
+ <input type="hidden" name="mandatory" value="0" />
+ <input type="hidden" name="kohafield" value="<!--
TMPL_VAR NAME="kohafield" -->" />
+ <input type="hidden" name="tag_mandatory" value="<!--
TMPL_VAR NAME="tag_mandatory" -->" />
<!-- /TMPL_IF -->
</form>
</div>
Index: members/memberentry.tmpl
===================================================================
RCS file:
/sources/koha/koha/koha-tmpl/intranet-tmpl/npl/en/members/Attic/memberentry.tmpl,v
retrieving revision 1.3.2.13
retrieving revision 1.3.2.14
diff -u -b -r1.3.2.13 -r1.3.2.14
--- members/memberentry.tmpl 2 Jul 2007 15:58:37 -0000 1.3.2.13
+++ members/memberentry.tmpl 2 Jul 2007 16:26:36 -0000 1.3.2.14
@@ -187,7 +187,17 @@
<!-- /TMPL_IF -->
<!-- /TMPL_IF -->
-<a name="cardnumber" id="cardnumber">Card Number</a></label></th><td><input
id="cardnumber" type="text" name="cardnumber" size="10" value="<!-- TMPL_VAR
NAME="cardnumber" -->"<!-- TMPL_IF NAME="ERROR_cardnumber" -->
class="focus"<!-- /TMPL_IF --><!-- TMPL_IF NAME="ERROR_invalid_cardnumber" -->
class="focus"<!-- /TMPL_IF --> /></td></tr>
+<a name="cardnumber" id="cardnumber">Card Number</a></label></th><td>
+
+<!-- TMPL_IF NAME="ERROR_cardnumber" -->
+<input id="cardnumber" type="text" name="cardnumber" size="10" value="<!--
TMPL_VAR NAME="cardnumber" -->" class="focus" />
+<!-- TMPL_ELSE -->
+ <!-- TMPL_IF NAME="ERROR_invalid_cardnumber" -->
+ <input id="cardnumber" type="text" name="cardnumber" size="10"
value="<!-- TMPL_VAR NAME="cardnumber" -->" class="focus" />
+ <!-- TMPL_ELSE -->
+ <input id="cardnumber" type="text" name="cardnumber" size="10"
value="<!-- TMPL_VAR NAME="cardnumber" -->" />
+ <!-- /TMPL_IF -->
+</td></tr>
</table>
<table><caption>Additional Fields</caption>
<tr><th><label for="sort1">Sorting field 1</label></th><td><!-- TMPL_IF
Name="CGIsort1" -->