Revision a6c9465a
Von Moritz Bunkus vor fast 17 Jahren hinzugefügt
bin/mozilla/io.pl | ||
---|---|---|
245 | 245 |
$column_data{runningnumber} = $cgi->textfield(-name => "runningnumber_$i", -size => 5, -value => $i); # HuT |
246 | 246 |
$column_data{partnumber} = $cgi->textfield(-name => "partnumber_$i", -size => 12, -value => $form->{"partnumber_$i"}); |
247 | 247 |
$column_data{description} = ((($rows = $form->numtextrows($form->{"description_$i"}, 30, 6)) > 1) # if description is too large, use a textbox instead |
248 |
? $cgi->textarea( -name => "description_$i", -default => H($form->{"description_$i"}), -rows => $rows, -columns => 30)
|
|
248 |
? $cgi->textarea( -name => "description_$i", -default => $form->{"description_$i"}, -rows => $rows, -columns => 30)
|
|
249 | 249 |
: $cgi->textfield(-name => "description_$i", -size => 30, -value => $form->quote($form->{"description_$i"}))) |
250 | 250 |
. $cgi->button(-value => $locale->text('L'), -onClick => "set_longdescription_window('longdescription_$i')"); |
251 | 251 |
|
Auch abrufbar als: Unified diff
Doppeltes Quoting von HTML-Sonderzeichen vermeiden (CGI quotet den Inhalt bereits).