DTL and the CGI Environment Hash

I'm trying to create a web link in the AgentNavigationBar.dtl to our bug
logging system. Our developers sometimes work from home so I thought I could
make the link intelligent based on their IP. Basically I'm trying to do
something like this, but it's not working. How Do I get access to the $ENV
table in DTL or am I going about this all wrong?

Hi Charles, On Thu, Apr 03, 2003 at 10:02:25AM -0500, Charles R. Rusty Thompson wrote:
I'm trying to create a web link in the AgentNavigationBar.dtl to our bug logging system. Our developers sometimes work from home so I thought I could make the link intelligent based on their IP. Basically I'm trying to do something like this, but it's not working. How Do I get access to the $ENV table in DTL or am I going about this all wrong?
and later...
<td>http://$Data{"Server"}/bugtrack/" target="_blank">$Text{"BugTracker"}</a></td>
Regexp and dtl works only with upcoming OTRS 1.1 or OTRS CVS version.
-=> Use the following for your case:
[...]
CT
Martin -- Martin Edenhofer - <martin at edenhofer.de> - http://martin.edenhofer.de/ -- Noch 164 Tage bis zum Gäubodenvolksfest! ;-)
participants (2)
-
Charles R. "Rusty" Thompson
-
Martin Edenhofer