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
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Ivan Ivlev
bugzilla
Commits
26118155
Commit
26118155
authored
Aug 20, 2002
by
myk%mozilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix for bug 163541: let there be a page title but no primary page header.
2xr=bbaetz
parent
e7e9e5c5
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
1 deletion
+10
-1
header.html.tmpl
template/en/default/global/header.html.tmpl
+10
-1
No files found.
template/en/default/global/header.html.tmpl
View file @
26118155
...
...
@@ -40,12 +40,21 @@
[% END %]
[% DEFAULT
h1 = title
h2 = ""
h3 = ""
bgcolor = "#ffffff"
onload = ""
%]
[%# We should be able to set the default value of the h1 variable
# to the value of the title variable using the DEFAULT directive,
# but that doesn't work if a caller sets h1 to the empty string
# to avoid h1 inheriting the value of title, since DEFAULT
# mistakenly treats empty strings as undefined and gives h1 the
# value of title anyway. To get around that problem we explicitly
# set h1's default value here only if it is undefined. %]
[% h1 = title IF !h1.defined %]
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
...
...
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