summaryrefslogtreecommitdiff
path: root/prefs.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2006-10-01 05:40:40 +0100
committerAndrew Dolgov <[email protected]>2006-10-01 05:40:40 +0100
commit23c2a4e7aefa20361b69751677152762ccef5553 (patch)
treeaae574c0ff5819f0b26d987a35362250091ca655 /prefs.php
parente7dfc9c9892f5a7b1aa205f04b254d12883ecab2 (diff)
graycube fixes; code cleanup
Diffstat (limited to 'prefs.php')
-rw-r--r--prefs.php14
1 files changed, 14 insertions, 0 deletions
diff --git a/prefs.php b/prefs.php
index 8e16a6d86..35af49944 100644
--- a/prefs.php
+++ b/prefs.php
@@ -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">