summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2010-01-14 13:39:05 +0300
committerAndrew Dolgov <[email protected]>2010-01-14 13:39:05 +0300
commitdce46cade3ef1d24a12cf6d27abad5d93de95373 (patch)
tree6134e71244b7eeb72b1232ac40a736e76df7aede /prefs.php
parent7abf159d61a933106b9b7a704cf3e549a3b4ab01 (diff)
query themes from filesystem; obsolete ttrss_themes
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php6
1 files changed, 2 insertions, 4 deletions
diff --git a/prefs.php b/prefs.php
index 656bdaf19..9d2d0a846 100644
--- a/prefs.php
+++ b/prefs.php
@@ -28,10 +28,8 @@
<?php $user_theme = get_user_theme_path($link);
if ($user_theme) { ?>
- <link rel="stylesheet" type="text/css" href="themes/<?php echo $user_theme ?>/theme.css"/>
+ <link rel="stylesheet" type="text/css" href="<?php echo $user_theme ?>/theme.css"/>
<?php } ?>
-
- <?php if ($user_theme) { $theme_image_path = "themes/$user_theme/"; } ?>
<?php $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?>
<?php if ($user_css_url) { ?>
@@ -96,7 +94,7 @@
| <a href="logout.php"><?php echo __('Logout') ?></a>
<?php } ?>
</div>
- <img src="<?php echo $theme_image_path ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>
+ <img src="<?php echo $user_theme ?>images/ttrss_logo.png" alt="Tiny Tiny RSS"/>
</div>
<div id="prefTabs">