summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-06-06 08:11:03 +0100
committerAndrew Dolgov <[email protected]>2006-06-06 08:11:03 +0100
commit5d35cdcd63003161ddce3e939b4880fc15afafcc (patch)
tree316535ea41f5f6b49b502298548cfaa47fbc5d2d
parent407f063435c0d23c328219f7144f8933e587f8bb (diff)
add old gray logo to old-skool theme
-rw-r--r--prefs.php4
-rw-r--r--themes/compat/images/ttrss_logo.pngbin0 -> 8580 bytes
-rw-r--r--themes/compat/theme.css3
-rw-r--r--tt-rss.php4
4 files changed, 8 insertions, 3 deletions
diff --git a/prefs.php b/prefs.php
index aad7691d2..68bc6eb92 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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">&nbsp;</span></div>
diff --git a/themes/compat/images/ttrss_logo.png b/themes/compat/images/ttrss_logo.png
new file mode 100644
index 000000000..02e566d61
--- /dev/null
+++ b/themes/compat/images/ttrss_logo.png
Binary files differ
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">&nbsp;</span></div>