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
7e6f8dbf
Commit
7e6f8dbf
authored
Apr 29, 2003
by
burnus%gmx.de
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Bug 200198 - user-error.html.tmpl's use [% changedsince %] instead of $changedsince
r=gerv, a=justdave
parent
e5086e90
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
11 additions
and
10 deletions
+11
-10
duplicates.cgi
duplicates.cgi
+9
-9
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+2
-1
No files found.
duplicates.cgi
View file @
7e6f8dbf
...
@@ -137,6 +137,15 @@ while (my ($key, $value) = each %count) {
...
@@ -137,6 +137,15 @@ while (my ($key, $value) = each %count) {
delete
$count
{
$key
}
if
$sortvisible
&&
(
lsearch
(
\
@buglist
,
$key
)
==
-
1
);
delete
$count
{
$key
}
if
$sortvisible
&&
(
lsearch
(
\
@buglist
,
$key
)
==
-
1
);
}
}
my
$origmaxrows
=
$maxrows
;
detaint_natural
(
$maxrows
)
||
ThrowUserError
(
"invalid_maxrows"
,
{
maxrows
=>
$origmaxrows
});
my
$origchangedsince
=
$changedsince
;
detaint_natural
(
$changedsince
)
||
ThrowUserError
(
"invalid_changedsince"
,
{
changedsince
=>
$origchangedsince
});
# Try and open the database from "changedsince" days ago
# Try and open the database from "changedsince" days ago
my
$dobefore
=
0
;
my
$dobefore
=
0
;
my
%
delta
;
my
%
delta
;
...
@@ -159,15 +168,6 @@ if (!tie(%before, 'AnyDBM_File', "data/duplicates/dupes$whenever",
...
@@ -159,15 +168,6 @@ if (!tie(%before, 'AnyDBM_File', "data/duplicates/dupes$whenever",
$dobefore
=
1
;
$dobefore
=
1
;
}
}
my
$origmaxrows
=
$maxrows
;
detaint_natural
(
$maxrows
)
||
ThrowUserError
(
"invalid_maxrows"
,
{
maxrows
=>
$origmaxrows
});
my
$origchangedsince
=
$changedsince
;
detaint_natural
(
$changedsince
)
||
ThrowUserError
(
"invalid_changedsince"
,
{
changedsince
=>
$origchangedsince
});
my
@bugs
;
my
@bugs
;
my
@bug_ids
;
my
@bug_ids
;
...
...
template/en/default/global/user-error.html.tmpl
View file @
7e6f8dbf
...
@@ -446,7 +446,8 @@
...
@@ -446,7 +446,8 @@
[% ELSIF error == "no_dupe_stats_error_whenever" %]
[% ELSIF error == "no_dupe_stats_error_whenever" %]
[% title = "Error Reading Previous Dupes File" %]
[% title = "Error Reading Previous Dupes File" %]
An error occurred opening $changedsince days ago ($whenever)'s dupes file:
An error occurred opening [% changedsince FILTER html %] days ago
([% whenever FILTER html %])'s dupes file:
[% error_msg FILTER html %].
[% error_msg FILTER html %].
[% ELSIF error == "no_dupe_stats_error_yesterday" %]
[% ELSIF error == "no_dupe_stats_error_yesterday" %]
...
...
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