Closed Bug 138581 Opened 22 years ago Closed 22 years ago

Add template/en/default and template/en/custom to the template search path

Categories

(Bugzilla :: Bugzilla-General, defect, P1)

2.15
defect

Tracking

()

RESOLVED FIXED
Bugzilla 2.16

People

(Reporter: gerv, Assigned: gerv)

Details

Attachments

(1 file)

To migrate from template/default to template/en/default, we need to add
template/en/default to the search path. 

If we make it so "en" is searched second, we can convert the CGIs one at a time
by changing their internal names and CVS-removing the old template. Then, it'll
fall through to the new one. This gives us a short-term migration path.

In a few days, hopefully we will remove template/default and template/custom
from the search path altogether.

There are no plans to make the search path configurable for 2.16.

Gerv
Attached patch Patch v.1Splinter Review
Trivial patch to do what it says on the tin.

Gerv
Target Milestone: --- → Bugzilla 2.16
More widget twiddling...

Gerv
Severity: normal → blocker
Status: NEW → ASSIGNED
Keywords: patch, review
Priority: -- → P1
Comment on attachment 80042 [details] [diff] [review]
Patch v.1

2xr= justdave

IF you swap the order so template/en/custom is searched before
template/en/default.  :-)
Attachment #80042 - Flags: review+
Fixed.

Checking in globals.pl;
/cvsroot/mozilla/webtools/bugzilla/globals.pl,v  <--  globals.pl
new revision: 1.156; previous revision: 1.155
done

Gerv
Status: ASSIGNED → RESOLVED
Closed: 22 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: