diff --git a/pages/preferences.php b/pages/preferences.php index a7773ee48..8b3438027 100644 --- a/pages/preferences.php +++ b/pages/preferences.php @@ -33,6 +33,10 @@ require_once(APPROOT.'/application/application.inc.php'); require_once(APPROOT.'/application/startup.inc.php'); IssueLog::Trace('----- Request: '.utils::GetRequestUri(), LogChannels::WEB_REQUEST); +const MAX_NEWSROOM_DISPLAY_SIZE = 20; +const MIN_NEWSROOM_DISPLAY_SIZE = 1; +const DEFAULT_NEWSROOM_DISPLAY_SIZE = 7; + /** * Displays the user's changeable preferences * @param $oP WebPage The web page used for the output @@ -269,10 +273,10 @@ JS $sNewsroomHtml = ''; $sNewsroomHtml .= '