diff options
author | Andrew Dolgov <[email protected]> | 2006-10-01 05:40:40 +0100 |
---|---|---|
committer | Andrew Dolgov <[email protected]> | 2006-10-01 05:40:40 +0100 |
commit | 23c2a4e7aefa20361b69751677152762ccef5553 (patch) | |
tree | aae574c0ff5819f0b26d987a35362250091ca655 /prefs.php | |
parent | e7dfc9c9892f5a7b1aa205f04b254d12883ecab2 (diff) |
graycube fixes; code cleanup
Diffstat (limited to 'prefs.php')
-rw-r--r-- | prefs.php | 14 |
1 files changed, 14 insertions, 0 deletions
@@ -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 ?> © 2005-2006 Andrew Dolgov +</div> + <?php db_close($link); ?> <script type="text/javascript"> |