diff options
Diffstat (limited to 'tt-rss.php')
-rw-r--r-- | tt-rss.php | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/tt-rss.php b/tt-rss.php index a323922b4..4894cf92f 100644 --- a/tt-rss.php +++ b/tt-rss.php @@ -210,6 +210,16 @@ window.onload = init; <?php } ?> <div id="footer"> + <?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 ?> © 2005-2006 Andrew Dolgov </div> |