Try replacing this:
Code:
new SWFObject("includes/templates/charroutemplate/images/flash/charrou.swf", "charrou",
with this:
Code:
new SWFObject("<?php echo HEADER_SWF; ?>", "charrou",
and then in your /includes/languages/english/charroutemplate/header.php file, add this:
Code:
define('HEADER_SWF', 'includes/templates/charroutemplate/images/flash/charrou_en.swf');
and for /includes/languages/dutch/charroutemplate/header.php
Code:
define('HEADER_SWF', 'includes/templates/charroutemplate/images/flash/charrou_nl.swf');
(This assumes you already have a header.php file in each of your charroutemplate language folders ... if you don't already have one, copy it from the /includes/languages/english/header.php and modify appropriately.)
Bookmarks