diff options
author | Andrew Dolgov <[email protected]> | 2010-01-14 13:39:05 +0300 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2010-01-14 13:39:05 +0300 |
commit | dce46cade3ef1d24a12cf6d27abad5d93de95373 (patch) | |
tree | 6134e71244b7eeb72b1232ac40a736e76df7aede /tt-rss.php | |
parent | 7abf159d61a933106b9b7a704cf3e549a3b4ab01 (diff) |
query themes from filesystem; obsolete ttrss_themes
Diffstat (limited to 'tt-rss.php')
-rw-r--r-- | tt-rss.php | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/tt-rss.php b/tt-rss.php index 0cd784ee0..6226c05b8 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -29,11 +29,9 @@ <?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?<?php echo $dt_add ?>"> + <link rel="stylesheet" type="text/css" href="<?php echo $user_theme ?>/theme.css?<?php echo $dt_add ?>"> <?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) { ?> <link rel="stylesheet" type="text/css" href="<?php echo $user_css_url ?>"/> @@ -161,7 +159,7 @@ </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="feeds-holder"> |