mirror of
https://git.tt-rss.org/git/tt-rss.git
synced 2026-02-09 05:42:13 +00:00
add debug mode only fast user switcher
This commit is contained in:
10
tt-rss.php
10
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>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user