[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/value_builder un
From: |
Paul POULAIN |
Subject: |
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/value_builder unimarc_field_100.tmpl,NONE,1.1 |
Date: |
Tue, 12 Nov 2002 07:58:45 -0800 |
Update of /cvsroot/koha/koha/koha-tmpl/intranet-tmpl/default/en/value_builder
In directory
usw-pr-cvs1:/tmp/cvs-serv9086/koha-tmpl/intranet-tmpl/default/en/value_builder
Added Files:
unimarc_field_100.tmpl
Log Message:
road to 1.3.2 :
* many bugfixes
* adding value_builder : you can map a subfield in the marc_subfield_structure
to a sub stored in "value_builder" directory. In this directory you can create
screen used to build values with any method. In this commit is a 1st draft of
the builder for 100$a unimarc french subfield, which is composed of 35 digits,
with 12 differents values (only the 4th first are provided for instance)
--- NEW FILE ---
<html>
<head>
<title>UNIMARC Field 100 builder</title>
</head>
<body>
<form name="f_pop" onSubmit="javascript:report()">
<table>
<tr>
<td>Date d'enregistrement </td>
<td><input type="text" name="f1" maxlength=8 size=8
value="<TMPL_VAR name="f1">"></td>
</tr>
<tr>
<td>Code date publication </td><td><select name="f2" size="1">
<option value="a" <TMPL_IF
name="f2a">SELECTED</TMPL_IF>>périodique en cours</option>
<option value="b" <TMPL_IF
name="f2b">SELECTED</TMPL_IF>>périodique mort</option>
<option value="c" <TMPL_IF
name="f2c">SELECTED</TMPL_IF>>périodique d'état inconnu</option>
<option value="d" <TMPL_IF
name="f2d">SELECTED</TMPL_IF>>monographie complète</option>
<option value="e" <TMPL_IF
name="f2e">SELECTED</TMPL_IF>>reproduction</option>
</select>
</td>
</tr>
<tr>
<td>Année début</td>
<td><input type="text" name="f3" maxlength=4 size=5
value="<TMPL_VAR name="f3">"></td>
</tr>
<tr>
<td>Année fin</td>
<td><input type="text" name="f4" maxlength=4 size=5 value="<TMPL_VAR
name="f4">"></td>
</tr>
<tr><td colspan=2><input type="submit" value="OK"></td></tr>
</table>
</form>
<script>
function report() {
document.f_pop.f1.value=document.f_pop.f1.value+' ';
document.f_pop.f3.value=document.f_pop.f3.value+' ';
document.f_pop.f4.value=document.f_pop.f4.value+' ';
document.f_pop.f1.value=document.f_pop.f1.value.substring(0,8);
document.f_pop.f3.value=document.f_pop.f3.value.substring(0,4);
document.f_pop.f4.value=document.f_pop.f4.value.substring(0,4);
opener.document.f.field_value[<TMPL_VAR name="index">].value=
document.f_pop.f1.value + document.f_pop.f2.value +document.f_pop.f3.value
+document.f_pop.f4.value;
self.close();
return false;
}
</script>
</body>
</html>
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/value_builder unimarc_field_100.tmpl,NONE,1.1,
Paul POULAIN <=
- Prev by Date:
[Koha-cvs] CVS: koha/C4 Biblio.pm,1.25,1.26
- Next by Date:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbiblio2.tmpl,1.1,1.2 addbiblio.tmpl,1.2,1.3
- Previous by thread:
[Koha-cvs] CVS: koha/C4 Biblio.pm,1.25,1.26
- Next by thread:
[Koha-cvs] CVS: koha/koha-tmpl/intranet-tmpl/default/en/acqui.simple addbiblio2.tmpl,1.1,1.2 addbiblio.tmpl,1.2,1.3
- Index(es):