source: extensions/Slimi/slimi.php @ 31810

Last change on this file since 31810 was 28586, checked in by Miklfe, 10 years ago

Compatibilité avec Slim

File size: 480 bytes
RevLine 
[18812]1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4global $conf, $template;
[28586]5    $params = array_merge(unserialize($conf['Slimi']));
[25998]6        $template->assign('Slimi', $params);
[18812]7
8 
9  $template->block_html_head('', '
10<style media="screen" type="text/css">
11body{background:'.$params['bg_slimi'].'}
[25998]12#infoBlock,#imageHeaderBar, #carousel,#menubar{background:'.$params['bd_slimi'].'}
[18812]13#theHeader p, #theHeader h1{color:'.$params['title_slimi'].'}
14</style>
[28586]15  ');
[18812]16?>
Note: See TracBrowser for help on using the repository browser.