From: jouni%heikniemi.net <> Date: Sat, 6 Jul 2002 16:32:01 +0000 (+0000) Subject: Bug 155388: next/prev/first/last (Mozilla's Site navigation bar) didn't work... X-Git-Tag: bugzilla-2.16~23 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=19afd11b0422a265f9edc5c5e3c6b64c0af1e550;p=thirdparty%2Fbugzilla.git Bug 155388: next/prev/first/last (Mozilla's Site navigation bar) didn't work after 2.16 templatization. r=gerv,bbaetz --- diff --git a/bug_form.pl b/bug_form.pl index 784b4caf79..7da36f2e59 100644 --- a/bug_form.pl +++ b/bug_form.pl @@ -311,9 +311,13 @@ sub show_bug { $vars->{'bug'} = \%bug; $vars->{'user'} = \%user; + # Create the elements for browsing bug lists + $vars->{'navigation_links'} = navigation_links(join(':',@bug_list)); + # Generate and return the UI (HTML page) from the appropriate template. $template->process("bug/edit.html.tmpl", $vars) || ThrowTemplateError($template->error()); } 1; + diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index 81b0a15bf6..0adb3afa8e 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -25,7 +25,7 @@ title = "Bug $bug.bug_id - $bug.short_desc" h1 = "Bugzilla Bug $bug.bug_id" h2 = filtered_desc - header_html = navigation_links() + header_html = navigation_links %] [% END %]