From ca842229d2d58c85517a8fc8e5a2bc9414752dae Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Thu, 3 Oct 2002 14:04:02 +0000 Subject: Bug 155389 - More elements & templatization of navigation_links. Patch by gerv; r=bbaetz. --- template/en/default/bug/edit.html.tmpl | 1 - template/en/default/global/header.html.tmpl | 3 +- .../en/default/global/site-navigation.html.tmpl | 103 +++++++++++++++++++++ 3 files changed, 104 insertions(+), 3 deletions(-) create mode 100644 template/en/default/global/site-navigation.html.tmpl (limited to 'template/en') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index ef9ec2d7f..152852169 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -27,7 +27,6 @@ h1 = "Bugzilla Bug $bug.bug_id" h2 = filtered_desc h3 = "Last modified: $bug.calc_disp_date" - header_html = navigation_links style_urls = [ "css/edit_bug.css" ] %] [% END %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 889d63d0b..ed133140d 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -28,7 +28,6 @@ # h3: string. Right-aligned subheader. # bgcolor: string. the page's background color ("#rrggbb"). # onload: string. JavaScript code to run when the page finishes loading. - # header_html: string. Any other HTML to go inside the tags. # javascript: string. Javascript to go in the header. # style: string. CSS style. # style_urls: list. List of URLs to CSS style sheets. @@ -62,7 +61,7 @@ [%# Migration note: contents of the old Param 'headerhtml' would go here %] - [% header_html %] + [% PROCESS "global/site-navigation.html.tmpl" %] [% IF javascript %]