acp_styles::frontend PHP Метод

frontend() защищенный Метод

Main page
protected frontend ( )
    protected function frontend()
    {
        add_form_key('styles_management');
        // Check mode
        switch ($this->mode) {
            case 'style':
                $this->welcome_message('ACP_STYLES', 'ACP_STYLES_EXPLAIN');
                $this->show_installed();
                return;
            case 'install':
                $this->welcome_message('INSTALL_STYLES', 'INSTALL_STYLES_EXPLAIN');
                $this->show_available();
                return;
        }
        trigger_error($this->user->lang['NO_MODE'] . adm_back_link($this->u_action), E_USER_WARNING);
    }