[Chameleon] RE : Print in LocateByAttribute widget

Ilham Adi Afdillah ilham.adi at gmail.com
Fri Aug 31 09:51:51 EDT 2007


Hi Jacob,

I was add print function on this section of searchresults.phtml :

//------------------------------- end adding results to
map--------------------


      $winContent .="</TABLE><BR><a href='javascript:window.print();'>print
page</a></BODY></HTML>";

      $winContent = str_replace ('"','\"', $winContent);
      $winContent = str_replace ("\n"," ", $winContent);
      $winContent = str_replace ("\r","", $winContent);

this link will shown on Attribute Results window, but still can print that
page with this function.
Any suggestion??


Regards,


Ilham Adi A.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/chameleon/attachments/20070831/e0c09eee/attachment.html


More information about the Chameleon mailing list