source: extensions/Flash_Gallery/modules/simpleviewer/xml/before_header.inc.php @ 32069

Revision 3531, 768 bytes checked in by tiico, 11 years ago (diff)

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

Line 
1<?php
2// File to personalize datas for the header xml (ex. color...)
3if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
4
5$navPosition = array( "", "top", "bottom", "left", "rigt");
6$vAlign = array( "", "top", "center", "bottom");
7$hAlign = array( "", "left", "center", "rigt");
8
9$module['ext_datas']['navPosition'] = $navPosition[$module['ext_datas']['navPosition']];
10$module['ext_datas']['vAlign'] = $vAlign[$module['ext_datas']['vAlign']];
11$module['ext_datas']['hAlign'] = $hAlign[$module['ext_datas']['hAlign']];
12
13$module['ext_datas']['textColor']  = str_replace("#", "0x", $module['ext_datas']['textColor']);
14$module['ext_datas']['frameColor'] = str_replace("#", "0x", $module['ext_datas']['frameColor']);
15                                 
16?>
Note: See TracBrowser for help on using the repository browser.