source: extensions/Slimi/slimi.php @ 31810

Revision 28586, 480 bytes checked in by Miklfe, 6 years ago (diff)

Compatibilité avec Slim

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.