source: extensions/Slim/Slim.php @ 21059

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