Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
633f6e9d
Commit
633f6e9d
authored
Jun 05, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 148179: Cleans up interface to header.html.tmpl.
r=justdave,bbaetz
parent
94e37442
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
5 deletions
+11
-5
create.html.tmpl
template/en/default/attachment/create.html.tmpl
+1
-1
header.html.tmpl
template/en/default/global/header.html.tmpl
+8
-2
search-advanced.html.tmpl
template/en/default/search/search-advanced.html.tmpl
+1
-1
search.html.tmpl
template/en/default/search/search.html.tmpl
+1
-1
No files found.
template/en/default/attachment/create.html.tmpl
View file @
633f6e9d
...
@@ -32,7 +32,7 @@
...
@@ -32,7 +32,7 @@
th { text-align: right; vertical-align: baseline; white-space: nowrap; }
th { text-align: right; vertical-align: baseline; white-space: nowrap; }
td { text-align: left; vertical-align: baseline; padding-bottom: 5px; }
td { text-align: left; vertical-align: baseline; padding-bottom: 5px; }
"
"
body_attributes = "onload=\"setContentTypeDisabledState();\"
"
onload="setContentTypeDisabledState();
"
%]
%]
<form name="entryform" method="post" action="attachment.cgi" enctype="multipart/form-data">
<form name="entryform" method="post" action="attachment.cgi" enctype="multipart/form-data">
...
...
template/en/default/global/header.html.tmpl
View file @
633f6e9d
...
@@ -24,6 +24,8 @@
...
@@ -24,6 +24,8 @@
# title: string. Page title.
# title: string. Page title.
# h1: string. Main page header.
# h1: string. Main page header.
# h2: string. Page subheader.
# h2: string. Page subheader.
# bgcolor: string. the page's background color ("#rrggbb").
# onload: string. JavaScript code to run when the page finishes loading.
# extra: string. Any other HTML to go inside the
<head>
tags.
# extra: string. Any other HTML to go inside the
<head>
tags.
# jscript: string. Javascript to go in the header.
# jscript: string. Javascript to go in the header.
# style: string. CSS style.
# style: string. CSS style.
...
@@ -33,6 +35,8 @@
...
@@ -33,6 +35,8 @@
[% DEFAULT
[% DEFAULT
h1 = title
h1 = title
h2 = ""
h2 = ""
bgcolor = "#ffccff"
onload = ""
%]
%]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<html>
...
@@ -61,9 +65,11 @@
...
@@ -61,9 +65,11 @@
</head>
</head>
[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag %]
[%# Migration note: contents of the old Param 'bodyhtml' go in the body tag,
# but set the bgcolor and onload attributes in the DEFAULT directive above.
#%]
<body
[%
"
bgcolor=
\"#FFFFFF\""
UNLESS
body_attributes
.
search
('(?
:
^|\
s
)
bgcolor=
') %] [%+ body_attributes %]
>
<body
bgcolor=
"[% bgcolor %]"
onload=
"[% onload %]"
>
[%# Migration note: the following file corresponds to the old Param
[%# Migration note: the following file corresponds to the old Param
# 'bannerhtml'
# 'bannerhtml'
...
...
template/en/default/search/search-advanced.html.tmpl
View file @
633f6e9d
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
[% PROCESS global/header.html.tmpl
[% PROCESS global/header.html.tmpl
title = "Search for bugs"
title = "Search for bugs"
body_attributes = "onload=\"selectProduct(document.forms['queryform']);\"
"
onload = "selectProduct(document.forms['queryform']);
"
%]
%]
[% button_name = "Search" %]
[% button_name = "Search" %]
...
...
template/en/default/search/search.html.tmpl
View file @
633f6e9d
...
@@ -27,7 +27,7 @@
...
@@ -27,7 +27,7 @@
[% PROCESS global/header.html.tmpl
[% PROCESS global/header.html.tmpl
title = "Search for bugs"
title = "Search for bugs"
body_attributes = "onload=\"selectProduct(document.forms['queryform']);\"
"
onload = "selectProduct(document.forms['queryform']);
"
%]
%]
[% button_name = "Search" %]
[% button_name = "Search" %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment