diff options
-rw-r--r-- | prefs.php | 4 | ||||
-rw-r--r-- | themes/compat/images/ttrss_logo.png | bin | 0 -> 8580 bytes | |||
-rw-r--r-- | themes/compat/theme.css | 3 | ||||
-rw-r--r-- | tt-rss.php | 4 |
4 files changed, 8 insertions, 3 deletions
@@ -27,6 +27,8 @@ <link rel="stylesheet" type="text/css" href="themes/<?= $user_theme ?>/theme.css"> <? } ?> + <? if ($user_theme) { $theme_image_path = "themes/$user_theme/"; } ?> + <? $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?> <? if ($user_css_url) { ?> <link type="text/css" href="<?= $user_css_url ?>"/> @@ -90,7 +92,7 @@ window.onload = init; <td colspan="2"> <table cellspacing="0" cellpadding="0" width="100%"><tr> <td rowspan="2" class="header" valign="middle"> - <img src="images/ttrss_logo.png" alt="logo"> + <img src="<?= $theme_image_path ?>images/ttrss_logo.png" alt="logo"> </td> <td valign="top" class="notifyBox"> <div id="notify"><span id="notify_body"> </span></div> diff --git a/themes/compat/images/ttrss_logo.png b/themes/compat/images/ttrss_logo.png Binary files differnew file mode 100644 index 000000000..02e566d61 --- /dev/null +++ b/themes/compat/images/ttrss_logo.png diff --git a/themes/compat/theme.css b/themes/compat/theme.css index 6f6586a4f..d996c4457 100644 --- a/themes/compat/theme.css +++ b/themes/compat/theme.css @@ -14,10 +14,11 @@ table.main td.headerBox { background-repeat : repeat-x; } +/* table.main td.header { padding : 10px 10px 10px 30px; height : 70px; -} +} */ table.main td.mainToolbar { border-width : 0px 0px 0px 0px; diff --git a/tt-rss.php b/tt-rss.php index 2bfd505de..afc8c14ec 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -28,6 +28,8 @@ <link rel="stylesheet" type="text/css" href="themes/<?= $user_theme ?>/theme.css"> <? } ?> + <? if ($user_theme) { $theme_image_path = "themes/$user_theme/"; } ?> + <? $user_css_url = get_pref($link, 'USER_STYLESHEET_URL'); ?> <? if ($user_css_url) { ?> <link type="text/css" href="<?= $user_css_url ?>"/> @@ -93,7 +95,7 @@ window.onload = init; <td colspan="2" class="headerBox" id="mainHeader"> <table cellspacing="0" cellpadding="0" width="100%"><tr> <td rowspan="2" class="header" valign="middle"> - <img src="images/ttrss_logo.png" alt="logo"> + <img src="<?= $theme_image_path ?>images/ttrss_logo.png" alt="logo"> </td> <td valign="top" class="notifyBox"> <div id="notify"><span id="notify_body"> </span></div> |