dbFields = array( // Label shown at the top of the sidebar and in the mobile drawer. 'title' => 'On this page', // Pixel offset to clear the fixed navbar when jumping to a heading. 'navbarHeight' => 80, // Viewport width (px) at which the fixed sidebar appears. // Below this width the mobile floating-button drawer is used instead. 'minWidth' => 1280, ); } // ---- Admin settings form ---- public function form() { global $L; $title = htmlspecialchars($this->getValue('title'), ENT_QUOTES, 'UTF-8'); $navbarHeight = (int) $this->getValue('navbarHeight'); $minWidth = (int) $this->getValue('minWidth'); $h = ''; $h .= '