diff --git a/functions.js b/functions.js
index f308a3d27..3a67b1837 100644
--- a/functions.js
+++ b/functions.js
@@ -1320,7 +1320,7 @@ function leading_zero(p) {
function closeInfoBox(cleanup) {
- if (!is_msie()) {
+ if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
var overlay = document.getElementById("dialog_overlay");
if (overlay) {
overlay.style.display = "none";
@@ -1383,10 +1383,12 @@ function infobox_submit_callback() {
function infobox_callback() {
if (xmlhttp.readyState == 4) {
- var overlay = document.getElementById("dialog_overlay");
- if (overlay) {
- overlay.style.display = "block";
+ if (!is_msie() && !getInitParam("infobox_disable_overlay")) {
+ var overlay = document.getElementById("dialog_overlay");
+ if (overlay) {
+ overlay.style.display = "block";
+ }
}
var box = document.getElementById('infoBox');
diff --git a/functions.php b/functions.php
index f528edc9b..cdf592f70 100644
--- a/functions.php
+++ b/functions.php
@@ -2202,16 +2202,16 @@
get_pref($link, "ON_CATCHUP_SHOW_NEXT_FEED") . "\"/>";
print "";
+ (int) get_pref($link, "HIDE_READ_FEEDS") . "\"/>";
print "";
+ (int) get_pref($link, "FEEDS_SORT_BY_UNREAD") . "\"/>";
print "";
+ (int) get_pref($link, "CONFIRM_FEED_CATCHUP") . "\"/>";
print "";
+ (int) get_pref($link, "CDM_AUTO_CATCHUP") . "\"/>";
print "";
@@ -2221,11 +2221,14 @@
get_pref($link, "_DEFAULT_VIEW_MODE") . "\"/>";
print "";
+ (int) get_pref($link, "_DEFAULT_VIEW_LIMIT") . "\"/>";
print "";
+ print "";
+
print "";
}
diff --git a/schema/ttrss_schema_mysql.sql b/schema/ttrss_schema_mysql.sql
index 6db955e5f..25c2ec95e 100644
--- a/schema/ttrss_schema_mysql.sql
+++ b/schema/ttrss_schema_mysql.sql
@@ -274,6 +274,8 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_ACTIVE_TAB', 2, '', '', 1);
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_INFOBOX_DISABLE_OVERLAY', 1, 'false', '', 1);
+
create table ttrss_user_prefs (
owner_uid integer not null,
pref_name varchar(250),
diff --git a/schema/ttrss_schema_pgsql.sql b/schema/ttrss_schema_pgsql.sql
index e5509a981..ed109e5fd 100644
--- a/schema/ttrss_schema_pgsql.sql
+++ b/schema/ttrss_schema_pgsql.sql
@@ -254,6 +254,8 @@ insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) valu
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_ACTIVE_TAB', 2, '', '', 1);
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_INFOBOX_DISABLE_OVERLAY', 1, 'false', '', 1);
+
create table ttrss_user_prefs (
owner_uid integer not null references ttrss_users(id) ON DELETE CASCADE,
pref_name varchar(250) not null references ttrss_prefs(pref_name) ON DELETE CASCADE,
diff --git a/schema/versions/mysql/17.sql b/schema/versions/mysql/17.sql
index 631dc30a2..1416be2c1 100644
--- a/schema/versions/mysql/17.sql
+++ b/schema/versions/mysql/17.sql
@@ -1,3 +1,5 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_ACTIVE_TAB', 2, '', '', 1);
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_INFOBOX_DISABLE_OVERLAY', 1, 'false', '', 1);
+
update ttrss_version set schema_version = 17;
diff --git a/schema/versions/pgsql/17.sql b/schema/versions/pgsql/17.sql
index 631dc30a2..1416be2c1 100644
--- a/schema/versions/pgsql/17.sql
+++ b/schema/versions/pgsql/17.sql
@@ -1,3 +1,5 @@
insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_PREFS_ACTIVE_TAB', 2, '', '', 1);
+insert into ttrss_prefs (pref_name,type_id,def_value,short_desc,section_id) values('_INFOBOX_DISABLE_OVERLAY', 1, 'false', '', 1);
+
update ttrss_version set schema_version = 17;