[%- USE T8 %]
[%- USE HTML %]
-<body onload="[%- onload %]">
+<h1>[% title %]</h1>
<form name="Form">
<input type="hidden" name="input_id" value="[% HTML.escape(input_id) %]">
<table width="100%">
- <tr>
- <th class="listtop">[% title %]</th>
- </tr>
- <tr height="5"></tr>
-
<tr><td>[% 'Please insert object dimensions below.' | $T8 %]</td></tr>
<tr>
<script type="text/javascript">
function calculate_qty() {
[%- FOREACH row = VARIABLES %]
- var [% row.name %] = parse_amount('[% myconfig.numberformat %]', document.getElementsByName("[% row.name %]")[0].value);
+ var [% row.name %] = parse_amount('[% MYCONFIG.numberformat %]', document.getElementsByName("[% row.name %]")[0].value);
[%- END %]
var result = [% formel %];
- result = number_format(result, 2, '[% myconfig.numberformat %]');
+ result = number_format(result, 2, '[% MYCONFIG.numberformat %]');
window.opener.document.getElementsByName(document.Form.input_name.value)[0].value = result;
self.close();
}