From 30b94fb19467c023cf299a2c37f5063e85c4bb18 Mon Sep 17 00:00:00 2001 From: Andrew Dolgov Date: Tue, 2 Mar 2021 12:22:48 +0300 Subject: store widescreen mode setting in preferences instead of a cookie --- classes/prefs.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'classes/prefs.php') diff --git a/classes/prefs.php b/classes/prefs.php index e736ff7c8..24f0f7a80 100644 --- a/classes/prefs.php +++ b/classes/prefs.php @@ -59,6 +59,7 @@ class Prefs { const HEADLINES_NO_DISTINCT = "HEADLINES_NO_DISTINCT"; const DEBUG_HEADLINE_IDS = "DEBUG_HEADLINE_IDS"; const DISABLE_CONDITIONAL_COUNTERS = "DISABLE_CONDITIONAL_COUNTERS"; + const WIDESCREEN_MODE = "WIDESCREEN_MODE"; private const _DEFAULTS = [ Prefs::PURGE_OLD_DAYS => [ 60, Config::T_INT ], @@ -118,6 +119,7 @@ class Prefs { Prefs::HEADLINES_NO_DISTINCT => [ false, Config::T_BOOL ], Prefs::DEBUG_HEADLINE_IDS => [ false, Config::T_BOOL ], Prefs::DISABLE_CONDITIONAL_COUNTERS => [ false, Config::T_BOOL ], + Prefs::WIDESCREEN_MODE => [ false, Config::T_BOOL ], ]; const _PROFILE_BLACKLIST = [ -- cgit v1.2.3