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 130 builder</title> |
3 |
<title>UNIMARC field 130 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_130" class="cat" style="padding:1em;"> |
7 |
<body id="cat_unimarc_field_130" class="cat" style="padding:1em;"> |
6 |
<h3>UNIMARC field 130 builder</h3> |
8 |
<h3>UNIMARC field 130 builder</h3> |
7 |
<form name="f_pop" action=""> |
9 |
<form name="f_pop" action=""> |
Lines 325-342
value="[% f5 %]" /></td>
Link Here
|
325 |
</table> |
327 |
</table> |
326 |
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset> |
328 |
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset> |
327 |
</form> |
329 |
</form> |
328 |
<script type="text/javascript"> |
330 |
|
329 |
//<![CDATA[ |
331 |
[% MACRO jsinclude BLOCK %] |
330 |
function report() { |
332 |
<script type="text/javascript"> |
331 |
document.f_pop.f5.value=document.f_pop.f5.value+' '; |
333 |
var dateformat = "[% Koha.Preference('dateformat') %]"; |
332 |
document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3); |
334 |
function report() { |
333 |
var doc = opener.document; |
335 |
document.f_pop.f5.value=document.f_pop.f5.value+' '; |
|
|
336 |
document.f_pop.f5.value=document.f_pop.f5.value.substring(0,3); |
337 |
var doc = opener.document; |
334 |
var field = doc.getElementById("[% index %]"); |
338 |
var field = doc.getElementById("[% index %]"); |
335 |
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value ; |
339 |
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value+document.f_pop.f5.value+document.f_pop.f6.value+document.f_pop.f7.value+document.f_pop.f8.value+document.f_pop.f9.value ; |
336 |
window.close(); |
340 |
window.close(); |
337 |
return false; |
341 |
return false; |
338 |
} |
342 |
} |
339 |
//]]> |
343 |
</script> |
340 |
</script> |
344 |
[% END %] |
341 |
|
345 |
|
342 |
[% INCLUDE 'popup-bottom.inc' %] |
346 |
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] |