[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple add
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple addbiblio.tmpl,1.3,1.4 |
Date: |
Fri, 20 Jun 2003 07:32:10 -0700 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple
In directory
sc8-pr-cvs1:/tmp/cvs-serv30438/koha-tmpl/intranet-tmpl/default/fr/acqui.simple
Modified Files:
addbiblio.tmpl
Log Message:
repetable field support.
The 3 problem from yesterday are fixed :
* cc the + to each tab (for instance, only in tab 0)
* doing the french template
* fixing an annoying bug : everything is stored in the same field :
200$a$b$c$a$b$c and not
200$a$b$c
200$a$b$c
as expected.
100% FUNCTIONNAL (at least I expect !)
IMPORTANT NOTE :
ALL subfields from a field MUST be in the same tab. Otherwise, Koha can't
magically find how to group subfields in case of repeted fields.
I'll add a check in checkmarc immediatly.
That's not a "bug" in Koha. That's mandatory because of MARC structure.
Index: addbiblio.tmpl
===================================================================
RCS file:
/cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple/addbiblio.tmpl,v
retrieving revision 1.3
retrieving revision 1.4
diff -C2 -r1.3 -r1.4
*** addbiblio.tmpl 17 Jun 2003 11:21:12 -0000 1.3
--- addbiblio.tmpl 20 Jun 2003 14:32:08 -0000 1.4
***************
*** 39,58 ****
<table width=100% cellspacing=0 cellpadding=2 border=0>
<TMPL_LOOP name="0XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory">*</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
</tmpl_loop>
</table>
--- 39,60 ----
<table width=100% cellspacing=0 cellpadding=2 border=0>
<TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
</tmpl_loop>
</table>
***************
*** 60,268 ****
<DIV name="1XX" id="1XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=1 border=0>
! <TMPL_LOOP name="1XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory">*</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="2XX" id="2XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="2XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="3XX" id="3XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="3XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><<TMPL_IF
name="mandatory"> *</b></TMPL_IF>/td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="4XX" id="4XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="4XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="5XX" id="5XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="5XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="6XX" id="6XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=90% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="6XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="7XX" id="7XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="7XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="8XX" id="8XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="8XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="9XX" id="9XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=90% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="9XX">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"></td></tr>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </TMPL_LOOP>
! </TMPL_LOOP>
! </table>
! </DIV>
<DIV name="hidden" id="hidden"
style="position:absolute;visibility:hidden;width:90%">
--- 62,288 ----
<DIV name="1XX" id="1XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="2XX" id="2XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="3XX" id="3XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="4XX" id="4XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="5XX" id="5XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="6XX" id="6XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="7XX" id="7XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="8XX" id="8XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="9XX" id="9XX"
style="position:absolute;visibility:hidden;width:90%">
! <table width=100% cellspacing=0 cellpadding=2 border=0>
! <TMPL_LOOP name="0XX">
! <TMPL_IF name="tag">
! <tr background="<TMPL_VAR
name="themelang">/images/background-mem.gif"><td colspan=4><b><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"> <a
href="javascript:AddField(<TMPL_VAR name="tag">)">+</a></td></tr>
! </TMPL_IF>
! <TMPL_LOOP name="subfield_loop">
! <tr>
! <td width="3%"> </td>
! <td width="2%"><b><TMPL_VAR
name="subfield"></b></td>
! <td width="55%" align="right"><TMPL_IF
name="mandatory"><b></TMPL_IF><TMPL_VAR name="marc_lib"><TMPL_IF
name="mandatory"> *</b></TMPL_IF></td>
! <td width="40%">
! <TMPL_VAR name="marc_value">
! <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">">
! </td>
! </tr>
! </tmpl_loop>
! </tmpl_loop>
! </table>
! </DIV>
<DIV name="hidden" id="hidden"
style="position:absolute;visibility:hidden;width:90%">
***************
*** 392,395 ****
--- 412,420 ----
}
+ function AddField(field) {
+ document.forms[0].op.value = "addfield";
+ document.forms[0].addfield_field.value=field;
+ document.f_add.submit();
+ }
</script>
</body>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/fr/acqui.simple addbiblio.tmpl,1.3,1.4,
Paul POULAIN <=