source: extensions/Flash_Gallery/modules/FlashGallery/main.inc.php @ 24775

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

some minor corrections
add block.tpl from pwg_stuff (for flopure)
add prometeus module (javascript)
[TO BE COMPLETED]

File size: 717 bytes
Line 
1<?php
2
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5set_make_full_url();
6if (!url_is_remote($block['FLASHNAME']))
7        $block['FLASHNAME'] = embellish_url(get_root_url().$block['FLASHNAME']);
8
9$full_url = embellish_url( get_root_url().FLASHGAL_PATH.'js');
10$block['SCRIPT'] = '<script type="text/javascript" src="'.$full_url.'/swfobject.js"></script>';
11
12$block['XMLPARAM']=embellish_url( get_root_url().FLASHGAL_PATH.'modules/FlashGallery/config.php');
13unset_make_full_url();
14
15$module['ext_datas'] = (!empty($module['ext_datas']) ? unserialize($module['ext_datas']) : array(''));
16
17foreach ($module['ext_datas'] as $key => $value)
18{
19        $block[$key] = str_replace("#", "", $value);
20}
21
22
23
24?>
Note: See TracBrowser for help on using the repository browser.