|
Lines 1-3
Link Here
|
|
|
1 |
[% SET footerjs = 1 %] |
| 1 |
[% INCLUDE 'doc-head-open.inc' %] |
2 |
[% INCLUDE 'doc-head-open.inc' %] |
| 2 |
<title>UNIMARC field 123e builder</title> |
3 |
<title>UNIMARC field 123e builder</title> |
| 3 |
[% INCLUDE 'doc-head-close.inc' %] |
4 |
[% INCLUDE 'doc-head-close.inc' %] |
|
Lines 46-54
Link Here
|
| 46 |
</table> |
47 |
</table> |
| 47 |
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset> |
48 |
<fieldset class="action"><input type="button" value="OK" onclick="report();" /> <a href="#" class="cancel close">Cancel</a></fieldset> |
| 48 |
</form> |
49 |
</form> |
| 49 |
<script type="text/javascript"> |
50 |
|
| 50 |
//<![CDATA[ |
51 |
[% MACRO jsinclude BLOCK %] |
| 51 |
function report() { |
52 |
<script type="text/javascript"> |
|
|
53 |
function report() { |
| 52 |
document.f_pop.f2.value=document.f_pop.f2.value+' '; |
54 |
document.f_pop.f2.value=document.f_pop.f2.value+' '; |
| 53 |
document.f_pop.f3.value=document.f_pop.f3.value+' '; |
55 |
document.f_pop.f3.value=document.f_pop.f3.value+' '; |
| 54 |
document.f_pop.f4.value=document.f_pop.f4.value+' '; |
56 |
document.f_pop.f4.value=document.f_pop.f4.value+' '; |
|
Lines 56-69
Link Here
|
| 56 |
document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2); |
58 |
document.f_pop.f3.value=document.f_pop.f3.value.substring(0,2); |
| 57 |
document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2); |
59 |
document.f_pop.f4.value=document.f_pop.f4.value.substring(0,2); |
| 58 |
|
60 |
|
| 59 |
var doc = opener.document; |
61 |
var doc = opener.document; |
| 60 |
var field = doc.getElementById("[% index %]"); |
62 |
var field = doc.getElementById("[% index %]"); |
| 61 |
|
63 |
|
| 62 |
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value; |
64 |
field.value = document.f_pop.f1.value+document.f_pop.f2.value+document.f_pop.f3.value+document.f_pop.f4.value; |
| 63 |
window.close(); |
65 |
window.close(); |
| 64 |
return false; |
66 |
return false; |
| 65 |
} |
67 |
} |
| 66 |
//]]> |
68 |
</script> |
| 67 |
</script> |
69 |
[% END %] |
| 68 |
|
70 |
|
| 69 |
[% INCLUDE 'popup-bottom.inc' %] |
71 |
[% INCLUDE 'intranet-bottom.inc' popup_window=1 %] |