Lines 1-7
Link Here
|
|
|
1 |
[% SET footerjs = 1 %] |
1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
<title>UNIMARC field 127 builder</title> |
3 |
<title>UNIMARC field 127 builder</title> |
3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
</head> |
5 |
</head> |
|
|
6 |
|
5 |
<body id="cat_unimarc_field_127" class="cat" style="padding:1em;"> |
7 |
<body id="cat_unimarc_field_127" class="cat" style="padding:1em;"> |
6 |
<h3>UNIMARC field 127 builder</h3> |
8 |
<h3>UNIMARC field 127 builder</h3> |
7 |
<form name="f_pop" action=""> |
9 |
<form name="f_pop" action=""> |
Lines 23-50
Link Here
|
23 |
</table> |
25 |
</table> |
24 |
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset> |
26 |
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset> |
25 |
</form> |
27 |
</form> |
26 |
<script type="text/javascript"> |
|
|
27 |
//<![CDATA[ |
28 |
function report() { |
29 |
document.f_pop.f1.value=document.f_pop.f1.value+' '; |
30 |
document.f_pop.f2.value=document.f_pop.f2.value+' '; |
31 |
document.f_pop.f3.value=document.f_pop.f3.value+' '; |
32 |
|
33 |
|
28 |
|
|
|
29 |
[% MACRO jsinclude BLOCK %] |
30 |
<script type="text/javascript"> |
31 |
function report() { |
32 |
document.f_pop.f1.value=document.f_pop.f1.value+' '; |
33 |
document.f_pop.f2.value=document.f_pop.f2.value+' '; |
34 |
document.f_pop.f3.value=document.f_pop.f3.value+' '; |
34 |
|
35 |
|
35 |
document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2); |
36 |
document.f_pop.f1.value=document.f_pop.f1.value.substring(0,2); |
36 |
document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2); |
37 |
document.f_pop.f2.value=document.f_pop.f2.value.substring(0,2); |
37 |
document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2); |
38 |
document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2); |
38 |
|
39 |
|
39 |
|
40 |
var doc = opener.document; |
40 |
var doc = opener.document; |
|
|
41 |
var field = doc.getElementById("[% index %]"); |
41 |
var field = doc.getElementById("[% index %]"); |
42 |
|
|
|
43 |
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value; |
44 |
self.close(); |
45 |
return false; |
46 |
} |
47 |
//]]> |
48 |
</script> |
49 |
|
42 |
|
50 |
[% INCLUDE 'popup-bottom.inc' %] |
43 |
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value; |
|
|
44 |
self.close(); |
45 |
return false; |
46 |
} |
47 |
</script> |
48 |
[% END %] |
49 |
|
50 |
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] |
51 |
- |
|
|