1
0
mirror of https://git.tt-rss.org/git/tt-rss.git synced 2026-01-29 09:57:12 +00:00

graycube fixes; code cleanup

This commit is contained in:
Andrew Dolgov
2006-10-01 05:40:40 +01:00
parent e7dfc9c989
commit 23c2a4e7ae
5 changed files with 56 additions and 29 deletions

View File

@@ -133,6 +133,20 @@ window.onload = init;
<p>Loading, please wait...</p>
</div>
<div id="prefFooter">
<?php if (defined('_DEBUG_USER_SWITCH')) { ?>
<select id="userSwitch" onchange="userSwitch()">
<?php
foreach (array('admin', 'fox', 'test') as $u) {
$op_sel = ($u == $_SESSION["name"]) ? "selected" : "";
print "<option $op_sel>$u</option>";
}
?>
</select>
<? } ?>
<a href="http://tt-rss.spb.ru/">Tiny Tiny RSS</a> v<?php echo VERSION ?> &copy; 2005-2006 Andrew Dolgov
</div>
<?php db_close($link); ?>
<script type="text/javascript">