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
86488b6e
Commit
86488b6e
authored
Feb 11, 2007
by
reed%reedloden.com
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 364095 - "Default template does not validate as valid HTML" [p=reed r=LpSolit a=LpSolit]
parent
8d3addb3
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
61 additions
and
65 deletions
+61
-65
filterexceptions.pl
template/en/default/filterexceptions.pl
+0
-4
header.html.tmpl
template/en/default/global/header.html.tmpl
+1
-1
per-bug-queries.html.tmpl
template/en/default/global/per-bug-queries.html.tmpl
+36
-37
useful-links.html.tmpl
template/en/default/global/useful-links.html.tmpl
+24
-23
No files found.
template/en/default/filterexceptions.pl
View file @
86488b6e
...
...
@@ -260,10 +260,6 @@
'content'
,
],
'global/useful-links.html.tmpl'
=>
[
'sep'
,
],
# You are not permitted to add any values here. Everything in this file should
# be filtered unless there's an extremely good reason why not, in which case,
# use the "none" dummy filter.
...
...
template/en/default/global/header.html.tmpl
View file @
86488b6e
...
...
@@ -207,7 +207,7 @@
[% IF atomlink %]
<link
rel=
"alternate"
type=
"application/atom+xml"
title=
"Atom feed"
href=
"[% atomlink FILTER html %]"
/
>
href=
"[% atomlink FILTER html %]"
>
[% END %]
[%# Required for the 'Autodiscovery' feature in Firefox 2 and IE 7. %]
...
...
template/en/default/global/per-bug-queries.html.tmpl
View file @
86488b6e
...
...
@@ -15,50 +15,49 @@
#%]
[% IF user.id && user.settings.per_bug_queries.value == "on" %]
<script type="text/javascript">
<!--
function update_text() {
// 'lob' means list_of_bugs.
var lob_action = document.getElementById('lob_action');
var action = lob_action.options[lob_action.selectedIndex].value;
var text = document.getElementById('lob_direction');
var new_query_text = document.getElementById('lob_new_query_text');
<li id="links-special">
<script type="text/javascript">
<!--
function update_text() {
// 'lob' means list_of_bugs.
var lob_action = document.getElementById('lob_action');
var action = lob_action.options[lob_action.selectedIndex].value;
var text = document.getElementById('lob_direction');
var new_query_text = document.getElementById('lob_new_query_text');
if (action == "add") {
text.innerHTML = "to";
new_query_text.style.display = 'inline';
}
else {
text.innerHTML = "from";
new_query_text.style.display = 'none';
if (action == "add") {
text.innerHTML = "to";
new_query_text.style.display = 'inline';
}
else {
text.innerHTML = "from";
new_query_text.style.display = 'none';
}
}
}
function manage_old_lists() {
var old_lists = document.getElementById('lob_oldqueryname');
// If there is no saved searches available, returns.
if (!old_lists) return;
function manage_old_lists() {
var old_lists = document.getElementById('lob_oldqueryname');
// If there is no saved searches available, returns.
if (!old_lists) return;
var new_query = document.getElementById('lob_newqueryname').value;
var new_query = document.getElementById('lob_newqueryname').value;
if (new_query != "") {
old_lists.disabled = true;
}
else {
old_lists.disabled = false;
if (new_query != "") {
old_lists.disabled = true;
}
else {
old_lists.disabled = false;
}
}
}
//-->
</script>
//-->
</script>
[%# Get existing lists of bugs for this user %]
[% lists_of_bugs = [] %]
[% FOREACH q = user.queries %]
[% NEXT UNLESS q.bug_ids_only %]
[% lists_of_bugs.push(q.name) %]
[% END %]
<li id="links-special">
[%# Get existing lists of bugs for this user %]
[% lists_of_bugs = [] %]
[% FOREACH q = user.queries %]
[% NEXT UNLESS q.bug_ids_only %]
[% lists_of_bugs.push(q.name) %]
[% END %]
<div class="label"></div>
<ul class="links"><li class="form">
<form id="list_of_bugs" action="buglist.cgi" method="get">
...
...
template/en/default/global/useful-links.html.tmpl
View file @
86488b6e
...
...
@@ -40,51 +40,51 @@
|| user.groups.editcomponents || user.groups.admin || user.groups.creategroups
|| user.groups.editkeywords || user.groups.bz_canusewhines) %]
[%
sep = "" FILTER html
%]
[%
print_pipe = 0
%]
<li id="links-edit">
<div class="label">Edit: </div>
<ul class="links">
[% IF user.groups.tweakparams %]
<li>
<span class="separator">[% sep %]</span>
<a href="editparams.cgi">Parameters</a></li>
[%
sep = "| "
%]
<li>
<span class="separator">[% sep %]</span>
<a href="editsettings.cgi">User Preferences</a></li>
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editparams.cgi">Parameters</a></li>
[%
print_pipe = 1
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editsettings.cgi">User Preferences</a></li>
[% END %]
[% IF user.groups.editcomponents %]
<li>
<span class="separator">[% sep %]</span>
<a href="sanitycheck.cgi">Sanity Check</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="sanitycheck.cgi">Sanity Check</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF user.groups.editusers || user.can_bless %]
<li>
<span class="separator">[% sep %]</span>
<a href="editusers.cgi">Users</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editusers.cgi">Users</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF Param('useclassification') && user.groups.editclassifications %]
<li>
<span class="separator">[% sep %]</span>
<a href="editclassifications.cgi">Classifications</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editclassifications.cgi">Classifications</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF user.groups.editcomponents || user.get_products_by_permission("editcomponents").size %]
<li>
<span class="separator">[% sep %]</span>
<a href="editproducts.cgi">Products</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editproducts.cgi">Products</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF user.groups.editcomponents %]
<li>
<span class="separator">[% sep %]</span>
<a href="editflagtypes.cgi">Flags</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editflagtypes.cgi">Flags</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF user.groups.admin %]
<li>
<span class="separator">[% sep %]</span>
<a href="editfields.cgi">Custom Fields</a></li>
[%
sep = "| "
%]
<li>
<span class="separator">[% sep %]</span>
<a href="editvalues.cgi">Field Values</a></li>
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editfields.cgi">Custom Fields</a></li>
[%
print_pipe = 1
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editvalues.cgi">Field Values</a></li>
[% END %]
[% IF user.groups.creategroups %]
<li>
<span class="separator">[% sep %]</span>
<a href="editgroups.cgi">Groups</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editgroups.cgi">Groups</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF user.groups.editkeywords %]
<li>
<span class="separator">[% sep %]</span>
<a href="editkeywords.cgi">Keywords</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editkeywords.cgi">Keywords</a></li>
[%
print_pipe = 1
%]
[% END %]
[% IF user.groups.bz_canusewhines %]
<li>
<span class="separator">[% sep %]</span>
<a href="editwhines.cgi">Whining</a></li>
[%
sep = "| "
%]
<li>
[% '<span class="separator">| </span>' IF print_pipe %]
<a href="editwhines.cgi">Whining</a></li>
[%
print_pipe = 1
%]
[% END %]
</ul>
</li>
...
...
@@ -95,6 +95,7 @@
[% IF user.showmybugslink OR user.queries.size
OR user.queries_subscribed.size
%]
[% print_pipe = 0 %]
<li id="links-saved">
<div class="label">
Saved Searches:
...
...
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