]> git.wh0rd.org - tt-rss.git/commitdiff
add old gray logo to old-skool theme
authorAndrew Dolgov <fox@madoka.spb.ru>
Tue, 6 Jun 2006 07:11:03 +0000 (08:11 +0100)
committerAndrew Dolgov <fox@madoka.spb.ru>
Tue, 6 Jun 2006 07:11:03 +0000 (08:11 +0100)
prefs.php
themes/compat/images/ttrss_logo.png [new file with mode: 0644]
themes/compat/theme.css
tt-rss.php

index aad7691d280bae3ad404873c2d8d737303239f69..68bc6eb9202e6be27d11a4521e64883744e6a240 100644 (file)
--- 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 (file)
index 0000000..02e566d
Binary files /dev/null and b/themes/compat/images/ttrss_logo.png differ
index 6f6586a4fcddb89325aace4f8d8242ec18e686f2..d996c44575fb056b0d06086871443123fe825d1c 100644 (file)
@@ -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;
index 2bfd505dea3d60a3f847d879591841dce6a6769b..afc8c14ec0d4b258990fcfd7f0019078a46ff2ec 100644 (file)
@@ -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>