#318 (in 2.5.1) display wide textarea when type is longtext

fixed
1
2013-06-11
2003-05-13
No

A slight modification to the way phpMyAdmin displays 'longtext', it will not display the textarea element to the right of a row (just like any other type), but instead it will start a new row beneath it and use the entire width of the table to display the textarea element.

I found this useful for editing large chunks of HTML that were stored in a 'longtext'...

Maybe it's worth an extra config var (wideLongtext = TRUE ???).

included is a patch for 'tbl_change.php' taken from the 2.5.0 release

Discussion

  • Remco Aalbers

    Remco Aalbers - 2003-05-13

    patch for tbl_change.php

     
  • Garvin Hicking

    Garvin Hicking - 2003-05-14
    • status: open --> open-fixed
     
  • Garvin Hicking

    Garvin Hicking - 2003-05-14
    • summary: display wide textarea when type is longtext --> (in 2.5.1) display wide textarea when type is longtext
    • priority: 5 --> 1
    • labels: 509121 --> Data insertion/extraction/manipulation
     
  • Garvin Hicking

    Garvin Hicking - 2003-05-14

    Logged In: YES
    user_id=473563

    I like the idea, and took the freedom to modify that
    slightly. Mainly concerning the display, and I used the
    $cfg['TextareaWidth'] and $cfg['TextareaHeight'] values
    (multiplied by 2) for the size of the textarea.

    I did not include a config option, as I think it's not
    really necessary. I thought about making it possible to use
    the 'new row' feature for customizable field types (like for
    mediumtext and text types), but I think this only confuses
    the users and it's really only suitable for longtexts.

    What do our other developers think of this? I put your
    changes into CVS to start the discussion ;)

    Regards,
    Garvin.

     
  • Michal Čihař

    Michal Čihař - 2003-05-14

    Logged In: YES
    user_id=192186

    I vote for config option for this, I have textarea big
    enough, and when it is twice larger , it won't fit on screen...

     
  • Michal Čihař

    Michal Čihař - 2003-05-14
    • priority: 1 --> 2
    • status: open-fixed --> open-remind
     
  • Michal Čihař

    Michal Čihař - 2003-05-15
    • assigned_to: nobody --> nijel
     
  • Michal Čihař

    Michal Čihař - 2003-05-15

    Logged In: YES
    user_id=192186

    Added $cfg['LongtextDoubleTextarea'].

     
  • Michal Čihař

    Michal Čihař - 2003-05-15
    • priority: 2 --> 1
    • status: open-remind --> open-fixed
     
  • Michal Čihař

    Michal Čihař - 2003-06-02
    • status: open-fixed --> closed-fixed
     
  • Michal Čihař

    Michal Čihař - 2013-06-11
    • Status: closed-fixed --> fixed