diff options
author | lpsolit%gmail.com <> | 2006-02-22 23:25:24 +0100 |
---|---|---|
committer | lpsolit%gmail.com <> | 2006-02-22 23:25:24 +0100 |
commit | 947e78213b1a987b483a9c29f3436dc15a80d6e0 (patch) | |
tree | b4804b91f751265bdc15cc78289404ad7aea6f04 /template/en/default/admin | |
parent | b3cdb97bbfa7fa359d30267530dbc6f213ba33c3 (diff) | |
download | bugzilla-947e78213b1a987b483a9c29f3436dc15a80d6e0.tar.gz bugzilla-947e78213b1a987b483a9c29f3436dc15a80d6e0.tar.xz |
Bug 291459: Make textareas zoom large when in use - Patch by Marc Schumann <wurblzap@gmail.com> r=vladd a=justdave
Diffstat (limited to 'template/en/default/admin')
8 files changed, 57 insertions, 15 deletions
diff --git a/template/en/default/admin/classifications/add.html.tmpl b/template/en/default/admin/classifications/add.html.tmpl index d6a7c3880..d11a8d36c 100644 --- a/template/en/default/admin/classifications/add.html.tmpl +++ b/template/en/default/admin/classifications/add.html.tmpl @@ -31,7 +31,14 @@ </tr> <tr> <th align="right">Description:</th> - <td><textarea rows=4 cols=64 wrap=virtual name="description"></textarea></td> + <td> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + %] + </td> </tr> </table> <hr> diff --git a/template/en/default/admin/classifications/edit.html.tmpl b/template/en/default/admin/classifications/edit.html.tmpl index 24ec9dacf..b00ea6853 100644 --- a/template/en/default/admin/classifications/edit.html.tmpl +++ b/template/en/default/admin/classifications/edit.html.tmpl @@ -32,8 +32,13 @@ </tr> <tr> <th align="right">Description:</th> - <td><textarea rows=4 cols=64 name="description"> - [% classification.description FILTER none %]</textarea> + <td> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + defaultcontent = classification.description + %] </td> </tr> <tr valign=top> diff --git a/template/en/default/admin/components/create.html.tmpl b/template/en/default/admin/components/create.html.tmpl index fcb57bb03..ea4380d50 100644 --- a/template/en/default/admin/components/create.html.tmpl +++ b/template/en/default/admin/components/create.html.tmpl @@ -40,8 +40,12 @@ <tr> <th align="right">Description:</th> <td> - <textarea rows="4" cols="64" wrap="virtual" - name="description"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + %] </td> </tr> <tr> diff --git a/template/en/default/admin/components/edit.html.tmpl b/template/en/default/admin/components/edit.html.tmpl index 8b350d9e8..920ad1ff6 100644 --- a/template/en/default/admin/components/edit.html.tmpl +++ b/template/en/default/admin/components/edit.html.tmpl @@ -43,8 +43,14 @@ </tr> <tr> <td valign="top">Component Description:</td> - <td><textarea rows="4" cols="64" wrap="virtual" - name="description">[% comp.description FILTER html %]</textarea> + <td> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + defaultcontent = comp.description + %] </td> </tr> <tr> diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index ad41576cb..dc49890b7 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -85,7 +85,12 @@ <th>Description:</th> <td> a comprehensive description of this type<br> - <textarea name="description" rows="4" cols="80">[% type.description FILTER html %]</textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 80 + defaultcontent = type.description + %] </td> </tr> diff --git a/template/en/default/admin/keywords/create.html.tmpl b/template/en/default/admin/keywords/create.html.tmpl index 006b4b344..3f9f5aecf 100755 --- a/template/en/default/admin/keywords/create.html.tmpl +++ b/template/en/default/admin/keywords/create.html.tmpl @@ -38,8 +38,12 @@ <tr> <th align="right">Description:</th> <td> - <textarea rows="4" cols="64" wrap="virtual" - name="description"></textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + %] </td> </tr> </table> diff --git a/template/en/default/admin/keywords/edit.html.tmpl b/template/en/default/admin/keywords/edit.html.tmpl index 3809563c2..74cef3d55 100755 --- a/template/en/default/admin/keywords/edit.html.tmpl +++ b/template/en/default/admin/keywords/edit.html.tmpl @@ -42,8 +42,13 @@ <tr> <th align="right">Description:</th> <td> - <textarea rows="4" cols="64" wrap="virtual" - name="description">[% description FILTER html %]</textarea> + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + defaultcontent = description + %] </td> </tr> <tr> diff --git a/template/en/default/admin/users/userdata.html.tmpl b/template/en/default/admin/users/userdata.html.tmpl index 672e180bf..afb402554 100644 --- a/template/en/default/admin/users/userdata.html.tmpl +++ b/template/en/default/admin/users/userdata.html.tmpl @@ -72,9 +72,15 @@ <tr> <th><label for="disabledtext">Disable text:</label></th> <td> - <textarea name="disabledtext" rows="10" - id="disabledtext" - cols="60">[% otheruser.disabledtext FILTER html %]</textarea><br /> + [% INCLUDE global/textarea.html.tmpl + name = 'disabledtext' + id = 'disabledtext' + minrows = 2 + maxrows = 10 + defaultrows = 10 + cols = 60 + defaultcontent = otheruser.disabledtext + %]<br> (If non-empty, then the account will be disabled, and this text should explain why.) [% IF editform %] |