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

Revision 3531, 1.5 KB checked in by tiico, 11 years ago (diff)

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

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$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.