diff options
author | Andrew Dolgov <[email protected]> | 2005-10-16 05:51:09 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2005-10-16 05:51:09 +0100 |
commit | da5d0d09dae48a39fc44fe0ca97d6cb18f0a3f1b (patch) | |
tree | 0340ed79a1b2462f69c4bcd2271c4c56b3deaacc /tt-rss.php | |
parent | fe2f1970868b8b9935ecba7ea0469dc5b01f7bb5 (diff) |
options to disable header/footer and to select more compact stylesheet (included as tt-rss_compact.css)
Diffstat (limited to 'tt-rss.php')
-rw-r--r-- | tt-rss.php | 28 |
1 files changed, 24 insertions, 4 deletions
diff --git a/tt-rss.php b/tt-rss.php index 89ff40762..96261bb66 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -1,7 +1,26 @@ +<? require_once "version.php" ?> +<? require_once "config.php" ?> + <html> <head> <title>Tiny Tiny RSS</title> - <link rel="stylesheet" href="tt-rss.css" type="text/css"> + + <? if (USE_COMPACT_STYLESHEET) { ?> + + <link title="Compact Stylesheet" + rel="stylesheet" href="tt-rss_compact.css" type="text/css"> + <link title="Normal Stylesheet" rel="alternate stylesheet" + type="text/css" href="tt-rss.css"/> + + <? } else { ?> + + <link title="Normal Stylesheet" + rel="stylesheet" href="tt-rss.css" type="text/css"> + <link title="Compact Stylesheet" rel="alternate stylesheet" + type="text/css" href="tt-rss_compact.css"/> + + <? } ?> + <script type="text/javascript" src="functions.js"></script> <script type="text/javascript" src="tt-rss.js"></script> <!--[if gte IE 5.5000]> @@ -10,17 +29,16 @@ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> </head> -<? require_once "version.php" ?> -<? require_once "config.php" ?> - <body onload="init()"> <table width="100%" height="100%" cellspacing=0 cellpadding=0 class="main"> +<? if (DISPLAY_HEADER) { ?> <tr> <td class="header" valign="middle" colspan="2"> <img src="images/ttrss_logo.png" alt="logo"> </td> </tr> +<? } ?> <tr> <td class="mainToolbar" colspan="2"> @@ -118,6 +136,7 @@ id="content-frame" class="contentFrame"> </iframe> </td> </tr> +<? if (DISPLAY_FOOTER) { ?> <tr> <td colspan="2" class="footer"> <a href="http://bah.spb.su/~fox/tt-rss/">Tiny-Tiny RSS</a> v<?= VERSION ?> © 2005 Andrew Dolgov @@ -126,6 +145,7 @@ <? } ?> </td> </td> +<? } ?> </table> |