make the default theme easier to copy & paste :P

git-svn-id: file:///home/shish/svn/shimmie2/trunk@65 7f39781d-f577-437e-ae19-be835c7a54ca
This commit is contained in:
shish 2007-05-06 21:11:58 +00:00
parent c73f270f82
commit 1c4f4598b2

View file

@ -1,5 +1,6 @@
<?php
global $config;
$theme_name = $config->get_string('theme');
$base_href = $config->get_string('base_href');
$data_href = $config->get_string('data_href');
$contact_link = $config->get_string('contact_link');
@ -83,9 +84,9 @@ print <<<EOD
<html>
<head>
<title>{$this->title}</title>
<link rel="stylesheet" href="$data_href/themes/default/style.css" type="text/css">
<link rel="stylesheet" href="$data_href/themes/$theme_name/style.css" type="text/css">
$header_html
<script src='$data_href/themes/default/sidebar.js' type='text/javascript'></script>
<script src='$data_href/themes/$theme_name/sidebar.js' type='text/javascript'></script>
$script_html
</head>