summaryrefslogtreecommitdiff
path: root/htdocs
diff options
context:
space:
mode:
Diffstat (limited to 'htdocs')
-rw-r--r--htdocs/index.php12
1 files changed, 6 insertions, 6 deletions
diff --git a/htdocs/index.php b/htdocs/index.php
index 25f5ad1..37aebc3 100644
--- a/htdocs/index.php
+++ b/htdocs/index.php
@@ -39,7 +39,7 @@ if($config->value('splash') == "true") {
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" />
<link rel="author" title="Bent Bisballe Nyeng" href="http://www.aasimon.org"/>
<link href="/favicon.ico" rel="shortcut icon"/>
- <link rel="stylesheet" type="text/css" href="<?php echo $CSS; ?>" media="screen"/>
+ <link rel="stylesheet" type="text/css" href="<?php echo $config->value('css'); ?>" media="screen"/>
</head>
<body>
<div class="splash">
@@ -69,8 +69,8 @@ if($config->value('splash') == "true") {
<link rel="alternate" type="application/rss+xml" title="RSS" href="rss.xml" />
<link rel="author" title="Bent Bisballe Nyeng" href="http://www.aasimon.org"/>
<link href="/favicon.ico" rel="shortcut icon"/>
- <link rel="stylesheet" type="text/css" href="<?php echo $CSS; ?>" media="screen"/>
- <link rel="stylesheet" type="text/css" href="handheld.css" media="handheld"/>
+ <link rel="stylesheet" type="text/css" href="<?php echo $config->value('css'); ?>" media="screen"/>
+<!-- <link rel="stylesheet" type="text/css" href="handheld.css" media="handheld"/> -->
<link rel="stylesheet" type="text/css" href="admin.css" media="screen"/>
<script type="text/javascript">
// <!--
@@ -90,8 +90,8 @@ if($config->value('splash') == "true") {
</head>
<body><?php
- include_once($UTIL_DIR."/preload.php");
-preload("design/mors/style.css");
+include_once($UTIL_DIR."/preload.php");
+preload($config->value('css'));
if($page == "admin") {
include($UTIL_DIR."/admin.php");
@@ -118,7 +118,7 @@ if(sizeof($menu)) {
<div class="content">
<?php
if($page && $page != "admin") $_p = $pages->getPage($page);
-else $_p = $pages->getPage($config->value('default'));
+else $_p = $pages->getPage($config->value('defaultpage'));
if($_p) $_p->show();
?>
</div>