From 947e78213b1a987b483a9c29f3436dc15a80d6e0 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Wed, 22 Feb 2006 22:25:24 +0000 Subject: [PATCH] Bug 291459: Make textareas zoom large when in use - Patch by Marc Schumann r=vladd a=justdave --- checksetup.pl | 3 ++ .../admin/classifications/add.html.tmpl | 9 +++- .../admin/classifications/edit.html.tmpl | 9 +++- .../default/admin/components/create.html.tmpl | 8 ++- .../default/admin/components/edit.html.tmpl | 10 +++- .../en/default/admin/flag-type/edit.html.tmpl | 7 ++- .../default/admin/keywords/create.html.tmpl | 8 ++- .../en/default/admin/keywords/edit.html.tmpl | 9 +++- .../en/default/admin/users/userdata.html.tmpl | 12 +++-- .../en/default/attachment/create.html.tmpl | 9 +++- template/en/default/attachment/edit.html.tmpl | 26 ++++++++-- .../bug/create/create-guided.html.tmpl | 35 +++++++++---- .../en/default/bug/create/create.html.tmpl | 12 ++++- template/en/default/bug/edit.html.tmpl | 10 +++- .../en/default/global/setting-descs.none.tmpl | 1 + template/en/default/global/textarea.html.tmpl | 50 +++++++++++++++++++ .../en/default/list/edit-multiple.html.tmpl | 8 ++- template/en/default/pages/linkify.html.tmpl | 6 ++- template/en/default/whine/schedule.html.tmpl | 11 ++-- 19 files changed, 204 insertions(+), 39 deletions(-) create mode 100644 template/en/default/global/textarea.html.tmpl diff --git a/checksetup.pl b/checksetup.pl index 4c1455d45f..f5cf909d54 100755 --- a/checksetup.pl +++ b/checksetup.pl @@ -4416,6 +4416,9 @@ add_setting ("post_bug_submit_action", {"next_bug" => 1, # 2005-06-29 wurblzap@gmail.com -- Bug 257767 add_setting ('csv_colsepchar', {',' => 1, ';' => 2 }, ',' ); +# 2005-10-26 wurblzap@gmail.com -- Bug 291459 +add_setting ("zoom_textareas", {"on" => 1, "off" => 2 }, "on" ); + # 2005-10-21 LpSolit@gmail.com -- Bug 313020 add_setting('per_bug_queries', {'on' => 1, 'off' => 2}, 'on'); diff --git a/template/en/default/admin/classifications/add.html.tmpl b/template/en/default/admin/classifications/add.html.tmpl index d6a7c38803..d11a8d36c0 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 24ec9dacfc..b00ea68532 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 fcb57bb03c..ea4380d507 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 8b350d9e85..920ad1ff61 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 ad41576cb2..dc49890b77 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 006b4b3447..3f9f5aecfc 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 3809563c2c..74cef3d55c 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 672e180bfa..afb4025542 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 c3ef855d49..4de1e5a08d 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 eefe141f80..53eb44d9e0 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' + %]