source: extensions/Flash_Gallery/modules/simpleviewer/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: 768 bytes
RevLine 
[3531]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.