From 1c180e28ffe223c8cdff7e9bb7ec237cded48ef4 Mon Sep 17 00:00:00 2001 From: Christian Weiske Date: Wed, 25 May 2011 06:55:16 +0200 Subject: [PATCH] use theme->resource() method to get paths to themable filse --- data/templates/default/bookmarks.tpl.php | 25 +++++++++++++++++------- data/templates/default/top.inc.php | 4 ++-- src/SemanticScuttle/Model/Theme.php | 2 +- 3 files changed, 21 insertions(+), 10 deletions(-) diff --git a/data/templates/default/bookmarks.tpl.php b/data/templates/default/bookmarks.tpl.php index 93bcf53..91d50bf 100644 --- a/data/templates/default/bookmarks.tpl.php +++ b/data/templates/default/bookmarks.tpl.php @@ -39,7 +39,9 @@ include('search.menu.php'); isAdmin($userid) && $pageName != PAGE_WATCHLIST) : ?>
- + + +
@@ -70,7 +72,7 @@ if ($userservice->isLoggedOn()) { ) { echo ' '; echo !is_array($cDescription) || strlen($cDescription['cdDescription'])==0?T_('Edit the common description of this tag'):''; - echo ' '; + echo ' '; } else if (isset($hash)) { echo ' ('; echo T_('Edit the common description of this bookmark').')'; @@ -95,7 +97,7 @@ if($userservice->isLoggedOn()) { if($currenttag!= '') { echo ' '; echo strlen($pDescription['tDescription'])==0?T_('Edit your personal description of this tag'):''; - echo ' '; + echo ' '; } } ?>

@@ -219,9 +221,12 @@ if ($currenttag!= '') { $brss = ''; $size = count($rsschannels); for ($i = 0; $i < $size; $i++) { - $brss = '' - . '' . htmlspecialchars($rsschannels[$i][0]) .'' + . '' . htmlspecialchars($rsschannels[$i][0]) .'' . ''; } @@ -361,9 +366,15 @@ if ($currenttag!= '') { } // Admin specific design - if ($userservice->isAdmin($row['username']) && $GLOBALS['enableAdminColors']) { + if ($userservice->isAdmin($row['username']) + && $GLOBALS['enableAdminColors'] + ) { $adminBgClass = ' class="adminBackground"'; - $adminStar = ' '; + $adminStar = ' '; } else { $adminBgClass = ''; $adminStar = ''; 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 @@ <?php echo filter($GLOBALS['sitename'] .(isset($pagetitle) ? ' ยป ' . $pagetitle : '')); ?> - - + +