source: extensions/Flash_Gallery/modules/FlashPageFlip/main.inc.php @ 3531

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

First revision (for testing)
Only in French (translation to be done)

File size: 667 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5
6//$block['XMLFEED'] = embellish_url(get_root_url().FLASHGAL_PATH.'modules/FlashPageFlip/xml/Pages.xml');
7set_make_full_url();
8if (!url_is_remote($block['FLASHNAME']))
9        $block['FLASHNAME'] = embellish_url(get_root_url().$block['FLASHNAME']);
10$block['SWFDIR'] = str_replace(".swf", "",$block['FLASHNAME'] ); 
11
12$full_url = embellish_url( get_root_url().FLASHGAL_PATH.'js');
13$block['SCRIPT'] = '<script type="text/javascript" src="'.$full_url.'/AC_RunActiveContent.js"></script>'
14                                        .'<script type="text/javascript" src="'.$full_url.'/PopUpWin.js"></script>';
15
16unset_make_full_url();
17?>
Note: See TracBrowser for help on using the repository browser.