Revision ba364b4c
Von Moritz Bunkus vor etwa 18 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
307 | 307 |
|
308 | 308 |
if (($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) { |
309 | 309 |
$column_data{description} = |
310 |
qq|<td><textarea name="description_$i" rows=$rows cols=30 wrap=soft>$form->{"description_$i"}</textarea><button type="button" onclick="set_longdescription_window('longdescription_$i')">| . $locale->text('L') . qq|</button></td>|;
|
|
310 |
qq|<td><textarea name="description_$i" rows=$rows cols=30 wrap=soft>| . H($form->{"description_$i"}) . qq|</textarea><button type="button" onclick="set_longdescription_window('longdescription_$i')">| . $locale->text('L') . qq|</button></td>|;
|
|
311 | 311 |
} else { |
312 | 312 |
$column_data{description} = |
313 |
qq|<td><input name="description_$i" size=30 value="$form->{"description_$i"}"><button type="button" onclick="set_longdescription_window('longdescription_$i')">| . $locale->text('L') . qq|</button></td>|;
|
|
313 |
qq|<td><input name="description_$i" size=30 value="| . $form->quote($form->{"description_$i"}) . qq|"><button type="button" onclick="set_longdescription_window('longdescription_$i')">| . $locale->text('L') . qq|</button></td>|;
|
|
314 | 314 |
} |
315 | 315 |
|
316 | 316 |
(my $qty_dec) = ($form->{"qty_$i"} =~ /\.(\d+)/); |
... | ... | |
424 | 424 |
|
425 | 425 |
<input type=hidden name="pricegroup_old_$i" value=$form->{"pricegroup_old_$i"}> |
426 | 426 |
<input type=hidden name="price_old_$i" value=$form->{"price_old_$i"}> |
427 |
<input type=hidden name="unit_old_$i" value="$form->{"selected_unit_$i"}">
|
|
427 |
<input type=hidden name="unit_old_$i" value="| . $form->quote($form->{"selected_unit_$i"}) . qq|">
|
|
428 | 428 |
<input type=hidden name="price_new_$i" value=| |
429 | 429 |
. $form->format_amount(\%myconfig, $form->{"price_new_$i"}) . qq|> |
430 | 430 |
|
... | ... | |
432 | 432 |
<input type=hidden name="inventory_accno_$i" value=$form->{"inventory_accno_$i"}> |
433 | 433 |
<input type=hidden name="bin_$i" value="$form->{"bin_$i"}"> |
434 | 434 |
<input type=hidden name="partsgroup_$i" value="$form->{"partsgroup_$i"}"> |
435 |
<input type=hidden name="partnotes_$i" value="$form->{"partnotes_$i"}">
|
|
435 |
<input type=hidden name="partnotes_$i" value="| . $form->quote($form->{"partnotes_$i"}) . qq|">
|
|
436 | 436 |
<input type=hidden name="income_accno_$i" value=$form->{"income_accno_$i"}> |
437 | 437 |
<input type=hidden name="expense_accno_$i" value=$form->{"expense_accno_$i"}> |
438 | 438 |
<input type=hidden name="listprice_$i" value="$form->{"listprice_$i"}"> |
... | ... | |
441 | 441 |
<input type=hidden name="ordnumber_$i" value="$form->{"ordnumber_$i"}"> |
442 | 442 |
<input type=hidden name="transdate_$i" value="$form->{"transdate_$i"}"> |
443 | 443 |
<input type=hidden name="cusordnumber_$i" value="$form->{"cusordnumber_$i"}"> |
444 |
<input type=hidden name="longdescription_$i" value="$form->{"longdescription_$i"}">
|
|
444 |
<input type=hidden name="longdescription_$i" value="| . $form->quote($form->{"longdescription_$i"}) . qq|">
|
|
445 | 445 |
<input type=hidden name="basefactor_$i" value="$form->{"basefactor_$i"}"> |
446 | 446 |
|
447 | 447 |
|; |
Auch abrufbar als: Unified diff
Bei der Formularausgabe einige weitere Werte quoten.