summaryrefslogtreecommitdiff
path: root/data/templates/default/top.inc.php
diff options
context:
space:
mode:
authorChristian Weiske <cweiske@cweiske.de>2011-05-25 06:55:16 +0200
committerChristian Weiske <cweiske@cweiske.de>2011-05-25 06:55:16 +0200
commit1c180e28ffe223c8cdff7e9bb7ec237cded48ef4 (patch)
treeea512f8a5d4cca706cf919ed383459304f0acc4a /data/templates/default/top.inc.php
parente01c813101f2811879acfe808c4573b924f7b666 (diff)
downloadsemanticscuttle-1c180e28ffe223c8cdff7e9bb7ec237cded48ef4.tar.gz
semanticscuttle-1c180e28ffe223c8cdff7e9bb7ec237cded48ef4.tar.bz2
use theme->resource() method to get paths to themable filse
Diffstat (limited to 'data/templates/default/top.inc.php')
-rw-r--r--data/templates/default/top.inc.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/data/templates/default/top.inc.php b/data/templates/default/top.inc.php
index 6ad2df2..9eed6ff 100644
--- a/data/templates/default/top.inc.php
+++ b/data/templates/default/top.inc.php
@@ -4,8 +4,8 @@
<head>
<meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" />
<title><?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' ยป ' . $pagetitle : '')); ?></title>
- <link rel="icon" type="image/png" href="<?php echo ROOT ?>themes/<?php echo $GLOBALS['theme']; ?>/icon.png" />
- <link rel="stylesheet" type="text/css" href="<?php echo ROOT ?>themes/<?php echo $GLOBALS['theme']; ?>/scuttle.css" />
+ <link rel="icon" type="image/png" href="<?php echo $theme->resource('icon.png');?>" />
+ <link rel="stylesheet" type="text/css" href="<?php echo $theme->resource('scuttle.css');?>" />
<link rel="search" type="application/opensearchdescription+xml" href="<?php echo ROOT ?>api/opensearch.php" title="<?php echo htmlspecialchars($GLOBALS['sitename']) ?>"/>
<?php
if (isset($rsschannels)) {