var last_feeds = [];
+var init_params = {};
+
+var db = false;
+var store = false;
var _active_feed_id = false;
var _active_feed_offset = false;
function get_feed_icon(feed) {
try {
if (feed.has_icon)
- return 'icons/' + feed.id + '.ico';
+ return getInitParam('icons_location') + "/" + feed.id + '.ico';
if (feed.id == -1)
return 'images/mark_set.png';
}
}
-function sanity_check(transport) {
- try {
-
-
- } catch (e) {
- exception_error("sanity_check", e);
- }
-}
-
function init() {
try {
new Ajax.Request("backend.php", {
parameters: "?op=rpc&subop=sanityCheck",
onComplete: function(transport) {
- sanity_check(transport);
+ backend_sanity_check_callback(transport);
} });
} catch (e) {