source: extensions/Flash_Gallery/modules/ZenGallery/xml/before_header.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.2 KB
Line 
1<?php
2// File to personalize datas for the header xml (ex. color...)
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5$imageScaleMode = array('',  'Crop', 'Fit');
6$initialState = array ('', 'Load Image',  'Start Slideshow',  'Show Albums',  'Show Thumbnails');
7$showCaption = array ('', 'Always', 'Never', 'onMouseOver');
8$showButtons = array ('', 'Always', 'Never', 'onMouseOver');
9$rotationDirection = array('', 'Vertical CW', 'Vertical CCW', 'Horizontal CW', 'Horizontal CCW');
10
11$module['ext_datas']['imageScaleMode'] = $imageScaleMode[$module['ext_datas']['imageScaleMode']];
12$module['ext_datas']['initialState'] = $initialState[$module['ext_datas']['initialState']];
13$module['ext_datas']['showCaption'] = $showCaption[$module['ext_datas']['showCaption']];
14$module['ext_datas']['showButtons'] = $showButtons[$module['ext_datas']['showButtons']];
15$module['ext_datas']['rotationDirection'] = $imageScaleMode[$module['ext_datas']['rotationDirection']];
16
17$module['ext_datas']['frameColor'] = str_replace ("#", "0x", $module['ext_datas']['frameColor']);
18$module['ext_datas']['backgroundColor'] = str_replace ("#", "0x", $module['ext_datas']['backgroundColor']);
19
20?>
Note: See TracBrowser for help on using the repository browser.