source: extensions/Flash_Gallery/modules/simpleviewer/main.inc.php @ 9220

Last change on this file since 9220 was 3936, checked in by tiico, 15 years ago

[Flash_Gallery] Fix bug 0001178 (Simpleviewer bug on IE) + Add possibility to add a background image on simpleviewer
Correct prometeus config file

File size: 356 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5if (!url_is_remote($block['FLASHNAME']))
6        $block['FLASHNAME'] = embellish_url(get_root_url().$block['FLASHNAME']);
7
8$full_url = embellish_url( get_root_url().FLASHGAL_PATH.'js');
9$block['SCRIPT'] = '<script type="text/javascript" src="'.$full_url.'/swfobject.js"></script>';
10
11
12?>
Note: See TracBrowser for help on using the repository browser.