From a40d927bfd9a9b3012be9e0f85da84aa4dd58344 Mon Sep 17 00:00:00 2001 From: "bbaetz%student.usyd.edu.au" <> Date: Fri, 20 Dec 2002 15:21:24 +0000 Subject: Bug 173622 - Move template handling into a module. r=justdave, joel, a=justdave --- template/en/default/global/site-navigation.html.tmpl | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'template/en/default/global/site-navigation.html.tmpl') diff --git a/template/en/default/global/site-navigation.html.tmpl b/template/en/default/global/site-navigation.html.tmpl index e0fb49a6a..178a99167 100644 --- a/template/en/default/global/site-navigation.html.tmpl +++ b/template/en/default/global/site-navigation.html.tmpl @@ -24,8 +24,11 @@ # bug_list: list of integers. List of bug numbers of current query (if any). # bug.bug_id: integer. Number of current bug (for navigation purposes) #%] - -[% IF NOT (user_agent.match("MSIE [1-6]") OR user_agent.match("Mozilla/4")) %] + +[% USE Bugzilla %] +[% cgi = Bugzilla.cgi %] + +[% IF NOT (cgi.user_agent("MSIE [1-6]") OR cgi.user_agent("Mozilla/4")) %] [%# *** Bug List Navigation *** %] -- cgit v1.2.3-24-g4f1b