source: extensions/Flash_Gallery/modules/TiltViewer/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: 1.5 KB
RevLine 
[3531]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$module['ext_datas'] = (!empty($module['ext_datas']) ? unserialize($module['ext_datas']) : array(''));
13
14$block['allowFullScreen'] = isset($module['ext_datas']['allowFullScreen']) ? "true" : "false";
15$block['useReloadButton'] = isset($module['ext_datas']['useReloadButton']) ? "true" : "false";
16$block['columns'] = $module['ext_datas']['columns'];
17$block['rows'] = $module['ext_datas']['rows'];
18$block['showFlipButton'] = isset($module['ext_datas']['showFlipButton']) ? "true" : "false";
19$block['showLinkButton'] = isset($module['ext_datas']['showLinkButton']) ? "true" : "false";
20$block['linkLabel'] = $module['ext_datas']['linkLabel'];
21$block['frameColor'] = str_replace("#", "0x", $module['ext_datas']['frameColor']);
22$block['backColor'] = str_replace("#", "0x", $module['ext_datas']['backColor']);
23$block['bkgndInnerColor'] = str_replace("#", "0x", $module['ext_datas']['bkgndInnerColor']);
24$block['bkgndOuterColor'] = str_replace("#", "0x", $module['ext_datas']['bkgndOuterColor']);
25$block['langGoFull'] = $module['ext_datas']['langGoFull'];
26$block['langExitFull'] = $module['ext_datas']['langExitFull'];
27$block['langAbout'] = $module['ext_datas']['langAbout'];
28
29
30
31?>
Note: See TracBrowser for help on using the repository browser.