#1912 Text area parameter not showed in form.cgi

1.170
closed
5
2005-01-22
2005-01-17
Anonymous
No

When the custom commands module is configured
to show links to commands, the commands are
displayed in form.cgi. However, any text area
parameters aren't displayed. The attached patch
fixes it for me (code taken from index.cgi).

Found in Debian package (1.160) but also exists in 1.170.

Leigh Brown <leigh@solinno.co.uk>

Discussion

  • Nobody/Anonymous

    Logged In: NO

    Woops, I didn't check that checkbox. Here's the patch:

    --- form.cgi.orig 2005-01-17 15:45:49.000000000 +0000
    +++ form.cgi 2005-01-17 15:46:23.000000000 +0000
    @@ -64,6 +64,10 @@
    elsif ($a->{'type'} == 10) {
    print "<input name=$n type=file size=20>\n";
    }
    + elsif ($a->{'type'} == 11) {
    + print "<textarea name=$n rows=4 cols=30>".
    + "</textarea>\n";
    + }
    print "</td>\n";
    print "</tr>\n" if ($col);
    $col = !$col;

     
  • Jamie Cameron

    Jamie Cameron - 2005-01-22
    • status: open --> closed
     
  • Jamie Cameron

    Jamie Cameron - 2005-01-22

    Logged In: YES
    user_id=129364

    Thanks, this patch will go into the 1.180 webmin release..

     

Log in to post a comment.

Get latest updates about Open Source Projects, Conferences and News.

Sign up for the SourceForge newsletter:

JavaScript is required for this form.





No, thanks