<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
  <meta content="text/html;charset=ISO-8859-1" http-equiv="Content-Type">
  <title></title>
</head>
<body>
I'm trying to get a legend template working.<br>
<br>
I have the CLASS names displaying, but how do I get the LAYER names to
return?<br>
<br>
In the Map File :<br>
<br>
LAYER<br>
&nbsp;&nbsp;&nbsp; NAME 'tgr2k_mnplacepoly_alb'<br>
&nbsp;&nbsp;&nbsp; DATA '/var/www/lehdmap_data/tgr2k_mnplacepoly_alb'<br>
&nbsp;&nbsp;&nbsp; TYPE POLYGON<br>
&nbsp;&nbsp;&nbsp; STATUS OFF<br>
&nbsp;&nbsp;&nbsp; CLASS<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <b>NAME 'Cities &amp; Towns'</b><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ##COLOR 0 0 255<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; OUTLINECOLOR 0 0 255<br>
&nbsp;&nbsp;&nbsp; END<br>
&nbsp;&nbsp;&nbsp; MAXSCALE 2000000<br>
&nbsp; END<br>
<br>
and in the legend template:<br>
<br>
<br>
&nbsp;&nbsp; [leg_class_html]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;input type=checkbox name="map_[leg_class_name]_status"<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; value=1 [if name=layer_status oper=eq value=2]CHECKED[/if]
&gt;&lt;img src=[leg_icon]&gt; [leg_class_name]&lt;br&gt;<br>
&nbsp;&nbsp; [/leg_class_html]<br>
<br>
This displays the "<b>NAME 'Cities &amp; Towns'" above just fine, but
how do I get at the LAYER-NAME above, </b>NAME
'tgr2k_mnplacepoly_alb', I need to have them both output, can this be
done in the template?<br>
<br>
Thanks<br>
<br>
<br>
<br>
bobb<br>
<br>
</body>
</html>