source: extensions/Slim/Slim.php

Last change on this file was 25997, checked in by Miklfe, 10 years ago
File size: 543 bytes
RevLine 
[18811]1<?php
2if (!defined('PHPWG_ROOT_PATH')) die('Hacking attempt!');
3
[25997]4global $conf, $template;
[18811]5        $params = array_merge(unserialize($conf['Slim']));
[25997]6        $template->assign('Slim', $params);
7
[18811]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
[25997]16                ');
[18811]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
[25997]23                ');
[18811]24                };
25
26
27               
28               
29?>
Note: See TracBrowser for help on using the repository browser.