From 44b48df3901d829e1423749136d142964ccb4a3e Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 4 Jul 2003 04:31:13 +0000 Subject: Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave. --- template/en/default/attachment/create.html.tmpl | 28 +++++++++++++------------ 1 file changed, 15 insertions(+), 13 deletions(-) (limited to 'template/en/default/attachment/create.html.tmpl') diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index 56bad7fae..c2e5378e1 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -19,13 +19,15 @@ # Contributor(s): Myk Melez #%] +[% PROCESS global/variables.none.tmpl %] + [%# Define strings that will serve as the title and header of this page %] -[% title = BLOCK %]Create New Attachment for Bug #[% bugid %][% END %] +[% title = BLOCK %]Create New Attachment for [% terms.Bug %] #[% bugid %][% END %] [% h1 = BLOCK %]Create New Attachment for - [%+ GetBugLink(bugid, "Bug $bugid") %][% END %] + [%+ GetBugLink(bugid, "$terms.Bug $bugid") %][% END %] [% h2 = BLOCK %][% bugsummary FILTER html %][% END %] -[% PROCESS global/header.html.tmpl +[% PROCESS global/header.html.tmpl title = title h1 = h1 h2 = h2 @@ -48,7 +50,7 @@
- + @@ -74,15 +76,15 @@ [% END %] @@ -152,12 +154,12 @@
File: If the attachment is a patch, check the box below.
+ onchange="setContentTypeDisabledState();">

Otherwise, choose a method for determining the content type.
+ name="contenttypemethod" value="autodetect">
+ name="contenttypemethod" value="list">
Reassignment: - If you want to assign this bug to yourself, + If you want to assign this [% terms.bug %] to yourself, check the box below.
- - + +
Comment: - (optional) Add a comment about this attachment to the bug.
+ (optional) Add a comment about this attachment to the [% terms.bug %].