diff options
Diffstat (limited to 'setup.cpp')
-rw-r--r-- | setup.cpp | 5 |
1 files changed, 4 insertions, 1 deletions
@@ -29,7 +29,8 @@ Setup::Setup(): m_adminLogin("admin"), m_theme("marine"), m_lastwhatsonlistmode("detail"), - m_tntnetloglevel("INFO") + m_tntnetloglevel("INFO"), + m_showInfoBox(1) { m_adminPasswordMD5 = "4:" + MD5Hash("live"); liveplugin = cPluginManager::GetPlugin("live"); @@ -85,6 +86,7 @@ bool Setup::ParseSetupEntry( char const* name, char const* value ) else if ( strcmp( name, "Theme" ) == 0 ) m_theme = value; else if ( strcmp( name, "LocalNetMask" ) == 0 ) { m_localnetmask = value; } else if ( strcmp( name, "LastWhatsOnListMode" ) == 0 ) { m_lastwhatsonlistmode = value; } + else if ( strcmp( name, "ShowInfoBox" ) == 0 ) { m_showInfoBox = atoi(value); } else return false; return true; } @@ -208,6 +210,7 @@ bool Setup::SaveSetup() liveplugin->SetupStore("StartPage", m_startscreen.c_str()); liveplugin->SetupStore("Theme", m_theme.c_str()); liveplugin->SetupStore("LastWhatsOnListMode", m_lastwhatsonlistmode.c_str()); + liveplugin->SetupStore("ShowInfoBox", m_showInfoBox); return true; } |