Implemented $have_ent detection (enabled by $detect_ent, default)
[www.energie.vellum.cz.git] / index.php
index 8b044cc..724a636 100644 (file)
--- a/index.php
+++ b/index.php
@@ -159,7 +159,8 @@ print_addr("Adresa pro zas
 <hr />
 <table border="0" width="100%"><colgroup width="0*" />
 <tr><td class="smaller">Doporuèujeme:</td><td align="center"><?php
-       print("<a href=\"http://www.tzb-info.cz/\">".img("img/tzb-info.gif","TZB-info")."</a>");
+       print("<a href=\"http://www.tzb-info.cz/\">".img("img/tzb-info.".(image_supported("video/x-mng") ? "mng" : "gif"),
+                       "TZB-info")."</a>");
 ?></td></tr>
 </table>