<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Hello,<br>
    <br>
    i have solved the problem using PHP<br>
    <br>
    Best regards,<br>
    <br>
    <div class="moz-signature">FX GAMOY<br>
      <b>G&eacute;omatika</b><br>
      Technopole Izarbel<br>
      Cr&eacute;aticit&eacute; - B&acirc;timent B<br>
      64210 BIDART<br>
      T&eacute;l : 05 59 22 32 58 / 06 87 39 32 03<br>
      <a class="moz-txt-link-freetext" href="http://www.geomatika.fr/">http://www.geomatika.fr/</a></div>
    <br>
    Le 28/09/2011 21:55, fx gamoy a &eacute;crit&nbsp;:
    <blockquote cite="mid:4E837B9D.2020202@geomatika.fr" type="cite">Hello
      <br>
      <br>
      I ve got somme difficulties with html legend and template
      <br>
      <br>
      basic works fine.
      <br>
      <br>
      [leg_layer_html opt_flag=3]
      <br>
      &lt;table
      style="width:100%;margin:0px;padding:0;border-collapse:collapse;"&gt;
      &lt;tr&gt;&lt;td class="corpsblack"&gt;[if name=layer_status
      oper=eq value=1]Hello[/if][if name=any_layer_metadata isset
      value=title][metadata name=title][/if]
(&lt;b&gt;[leg_layer_minscale]&lt;/b&gt;-&lt;b&gt;[leg_layer_maxscale]&lt;/b&gt;)&lt;/td&gt;&lt;/tr&gt;&lt;/table&gt;<br>
      [/leg_layer_html]
      <br>
      <br>
      The first "if" works fine -&gt; if layer-&gt;status==MS_ON returns
      hello
      <br>
      <br>
      the second if don't work.
      <br>
      i would like to get the value of the metadata "title" if the
      metadata is set for my layer
      <br>
      but the "if" is not processed and the processing return the all if
      syntax witouth any translation...
      <br>
      you can see un screenshot in this email.
      <br>
      <br>
      mapserv-5.6.7on linux debian box..
      <br>
      <br>
      Any suggestion will be appreciated..
      <br>
      <br>
      Thanks
      <br>
      Best regards,
      <br>
      fx
      <br>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>
</pre>
    </blockquote>
  </body>
</html>