[cvs] [Wiki] changed: ImageNotFound

Jan Schneider jan at horde.org
Sun Aug 15 13:04:17 PDT 2004


jan  Sun, 15 Aug 2004 13:04:17 -0700

Modified page: http://wiki.horde.org/display.php?page=ImageNotFound
New Revision:  1.5

@@ -5,9 +5,9 @@
 [http://www.bearne.com/images/FileNotFound.gif file not found]
 
 Put this in common-header.inc
 Please use the image preload from horde framework if there is one
-<php>
+<code type="php">
 <script language="javascript" type="text/javascript">
 <!--
 function imageNotFound(img){
 	document.getElementById(img.id).src="<?php echo $registry->getParam 'webroot', 'horde') ?>/klutz/graphics/FileNotFound.gif";
@@ -21,12 +21,12 @@
 }
 MM_preloadImages("<?php echo $registry->getParam('webroot', 'horde')?>/klutz/graphics/FileNotFound.gif")
 //-->
 </script>
-</php>
+</code>
 and the change in comic.inc ( look for the - and + )
 
-<php>
+<code type="php>
 <table border="0" cellpadding="1" cellspacing="0">
  <tr>
   <td align="left" class="header">
 <?php if (!empty($homepage)): ?>
@@ -46,11 +46,11 @@
 +  <img alt="<?php echo $name ?>" src="<?php echo $url ?>" <?php echo $size?> id="<?php echo $url ?>" onerror="imageNotFound(this);"/>
   </td>
  </tr>
 </table>
-</php>
+</code>
 I just used the url as the id I knew it would work but please replace with
 better code
 
 
 
 Paul Bearne


More information about the cvs mailing list