source: extensions/Slim/Slim.php @ 25997

Last change on this file since 25997 was 25997, checked in by Miklfe, 7 years ago
File size: 543 bytes
Line 
1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
4global $conf, $template;
5        $params = array_merge(unserialize($conf['Slim']));
6        $template->assign('Slim', $params);
7
8       
9       
10       
11if ($params['color_theme'] == 2 )
12                {
13                $template->block_html_head('', '
14<link rel="stylesheet" type="text/css" href="themes/Slim/theme_black.css">
15
16                ');
17                };
18if ($params['color_theme'] == 3 )
19                {
20                $template->block_html_head('', '
21<link rel="stylesheet" type="text/css" href="themes/Slim/theme_grey.css">
22
23                ');
24                };
25
26
27               
28               
29?>
Note: See TracBrowser for help on using the repository browser.