source: extensions/Slimi/slimi.php @ 31940

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

Compatibilité avec Slim

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