<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éomatika</b><br>
Technopole Izarbel<br>
Créaticité - Bâtiment B<br>
64210 BIDART<br>
Té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 écrit :
<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>
<table
style="width:100%;margin:0px;padding:0;border-collapse:collapse;">
<tr><td class="corpsblack">[if name=layer_status
oper=eq value=1]Hello[/if][if name=any_layer_metadata isset
value=title][metadata name=title][/if]
(<b>[leg_layer_minscale]</b>-<b>[leg_layer_maxscale]</b>)</td></tr></table><br>
[/leg_layer_html]
<br>
<br>
The first "if" works fine -> if layer->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>