From 947e78213b1a987b483a9c29f3436dc15a80d6e0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 22 Feb 2006 22:25:24 +0000 Subject: Bug 291459: Make textareas zoom large when in use - Patch by Marc Schumann r=vladd a=justdave --- .../en/default/admin/classifications/add.html.tmpl | 9 +++- .../default/admin/classifications/edit.html.tmpl | 9 +++- .../en/default/admin/components/create.html.tmpl | 8 +++- .../en/default/admin/components/edit.html.tmpl | 10 ++++- template/en/default/admin/flag-type/edit.html.tmpl | 7 ++- .../en/default/admin/keywords/create.html.tmpl | 8 +++- template/en/default/admin/keywords/edit.html.tmpl | 9 +++- template/en/default/admin/users/userdata.html.tmpl | 12 ++++-- template/en/default/attachment/create.html.tmpl | 9 +++- template/en/default/attachment/edit.html.tmpl | 26 ++++++++--- .../en/default/bug/create/create-guided.html.tmpl | 35 +++++++++++---- template/en/default/bug/create/create.html.tmpl | 12 +++++- template/en/default/bug/edit.html.tmpl | 10 ++++- template/en/default/global/setting-descs.none.tmpl | 1 + template/en/default/global/textarea.html.tmpl | 50 ++++++++++++++++++++++ template/en/default/list/edit-multiple.html.tmpl | 8 +++- template/en/default/pages/linkify.html.tmpl | 6 ++- template/en/default/whine/schedule.html.tmpl | 11 +++-- 18 files changed, 201 insertions(+), 39 deletions(-) create mode 100644 template/en/default/global/textarea.html.tmpl (limited to 'template/en/default') 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 @@ Description: - + + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + %] +
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 @@ Description: - + + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + defaultcontent = classification.description + %] 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 @@ Description: - + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + %] 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 @@ Component Description: - + + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + defaultcontent = comp.description + %] 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 @@ Description: a comprehensive description of this type
- + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 80 + defaultcontent = type.description + %] 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 @@ Description: - + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + %] 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 @@ Description: - + [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 4 + cols = 64 + wrap = 'virtual' + defaultcontent = description + %] 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 @@ -
+ [% INCLUDE global/textarea.html.tmpl + name = 'disabledtext' + id = 'disabledtext' + minrows = 2 + maxrows = 10 + defaultrows = 10 + cols = 60 + defaultcontent = otheruser.disabledtext + %]
(If non-empty, then the account will be disabled, and this text should explain why.) [% IF editform %] diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index c3ef855d4..4de1e5a08 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -237,7 +237,14 @@ (optional) Add a comment about this attachment to the [% terms.bug %].
- + [% INCLUDE global/textarea.html.tmpl + name = 'comment' + id = 'comment' + minrows = 6 + maxrows = 15 + cols = 80 + wrap = 'soft' + %] diff --git a/template/en/default/attachment/edit.html.tmpl b/template/en/default/attachment/edit.html.tmpl index eefe141f8..53eb44d9e 100644 --- a/template/en/default/attachment/edit.html.tmpl +++ b/template/en/default/attachment/edit.html.tmpl @@ -212,8 +212,13 @@ Description:
-
+ [% INCLUDE global/textarea.html.tmpl + name = 'description' + minrows = 3 + cols = 25 + wrap = 'soft' + defaultcontent = attachment.description + %]
[% IF attachment.isurl %] Comment (on the [% terms.bug %]):
-
+ [% INCLUDE global/textarea.html.tmpl + name = 'comment' + minrows = 5 + cols = 25 + wrap = 'soft' + %]


@@ -264,8 +274,14 @@ [% IF isviewable %] - + [% INCLUDE global/textarea.html.tmpl + id = 'editFrame' + name = 'comment' + style = 'height: 400px; width: 100%; display: none' + minrows = 10 + cols = 80 + wrap = 'soft' + %]