$feed_search = $_SESSION["prefs_feed_search"];
}
- print "<table width='100%' class=\"prefGenericAddBox\"
- cellspacing='0' cellpadding='0'><tr>
- <td>
- <input id=\"fadd_link\"
- onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
- size=\"40\">
- <input type=\"submit\" class=\"button\"
- disabled=\"true\" id=\"fadd_submit_btn\"
- onclick=\"addFeed()\" value=\"Subscribe\">";
+ print "<div class=\"feedEditSearch\">
+ <input id=\"feed_search\" size=\"20\"
+ onchange=\"javascript:updateFeedList()\" value=\"$feed_search\">
+ <input type=\"submit\" class=\"button\"
+ onclick=\"javascript:updateFeedList()\" value=\"Search\">
+ </div>";
+
+ print "<div class=\"prefGenericAddBox\">
+ <input id=\"fadd_link\"
+ onkeyup=\"toggleSubmitNotEmpty(this, 'fadd_submit_btn')\"
+ size=\"40\">
+ <input type=\"submit\" class=\"button\"
+ disabled=\"true\" id=\"fadd_submit_btn\"
+ onclick=\"addFeed()\" value=\"Subscribe\">";
if (ENABLE_FEED_BROWSER && !SINGLE_USER_MODE) {
print " <input type=\"submit\" class=\"button\"
onclick=\"javascript:browseFeeds()\" value=\"Top 25\">";
}
-
- print "</td><td align='right'>
- <input id=\"feed_search\" size=\"20\"
- onchange=\"javascript:updateFeedList()\" value=\"$feed_search\">
- <input type=\"submit\" class=\"button\"
- onclick=\"javascript:updateFeedList()\" value=\"Search\">
- </td>
- </tr></table>";
+
+ print "</div>";
$feeds_sort = db_escape_string($_GET["sort"]);
onkeyup=\"toggleSubmitNotEmpty(this, 'user_add_btn')\"
size=\"40\"> ";
- print"<input type=\"submit\" class=\"button\"
+ print "<input type=\"submit\" class=\"button\"
id=\"user_add_btn\" disabled=\"true\"
onclick=\"javascript:addUser()\" value=\"Create user\"></div>";
<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">