Ticket #5273: weather.am.php.diff
File weather.am.php.diff, 1.1 KB (added by , 16 years ago) |
---|
-
weather.am.php
32 32 echo "imageTotal = ". $matches[2] .";\n"; 33 33 for ($i=0; $i<$matches[2]; $i++) { 34 34 echo "images[$i] = new Image();\n"; 35 echo "images[$i].src = \"/". cache_dir ."/". $matches[1] ."-$i\";\n"; 35 /** 36 * Removed escaped backslash - backslash assuming mythweb is the root of the server 37 /**/ 38 echo "images[$i].src = \"" . cache_dir ."/". $matches[1] ."-$i\";\n"; 36 39 } 37 40 ?> 38 41 function nextFrame (inc) { … … 68 71 ?> 69 72 70 73 output += ' <b>Faster</b><br>' 71 output += '<img name="animation" src="<?php echo " /". cache_dir ."/". $matches[1] ."-0" ?>" alt="Animation" onload="setTimeout(\'animate()\', delay)">'74 output += '<img name="animation" src="<?php echo "". cache_dir ."/". $matches[1] ."-0" ?>" alt="Animation" onload="setTimeout(\'animate()\', delay)">' 72 75 output += '</form>' 73 76 document.write(output);