From: lpsolit%gmail.com <> Date: Tue, 15 Aug 2006 03:10:21 +0000 (+0000) Subject: Bug 348337: enter_bug.cgi doesn't pass HTML validation - Patch by Frédéric Buclin... X-Git-Tag: bugzilla-2.23.3~156 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=212b28b07c639d876e057ab50b783de7002cb4e5;p=thirdparty%2Fbugzilla.git Bug 348337: enter_bug.cgi doesn't pass HTML validation - Patch by Frédéric Buclin r=kevin.benton a=myk --- diff --git a/template/en/default/bug/create/create.html.tmpl b/template/en/default/bug/create/create.html.tmpl index bb4936861f..33e8b80902 100644 --- a/template/en/default/bug/create/create.html.tmpl +++ b/template/en/default/bug/create/create.html.tmpl @@ -265,6 +265,7 @@ function handleWantsAttachment(wants_attachment) { [% IF product.flag_types.bug.size > 0 %] [% PROCESS "flag/list.html.tmpl" flag_types = product.flag_types.bug any_flags_requesteeble = 1 + flag_table_id = "bug_flags" %] [% END %] @@ -365,7 +366,7 @@ function handleWantsAttachment(wants_attachment) { enter_bug => 1 }) %] [% SET value = ${field.name} IF ${field.name}.defined %] - [% PROCESS bug/field.html.tmpl editable=1 value_span=3 %] + [% PROCESS bug/field.html.tmpl editable=1 value_span=2 %] [% END %] @@ -425,8 +426,8 @@ function handleWantsAttachment(wants_attachment) { + 'onClick="handleWantsAttachment(true)"> ' + 'This button has no ' + 'functionality for you because your browser does ' - + 'not support CSS or does not use it.' - + '' + + 'not support CSS or does not use it.<\/em>' + + '<\/div>' + '