public function view($pThemeID = null, $message = false)
    {
        if (!$pThemeID) {
            $this->redirect('/dashboard/pages/themes/');
        }

        $v = Loader::helper('validation/error');
        $pt = PageTheme::getByID($pThemeID);
        if (is_object($pt)) {
            $files = $pt->getFilesInTheme();
            $this->set('files', $files);
            $this->set('pThemeID', $pThemeID);
            $this->set('pageTheme', $pt);
        } else {
            $v->add('Invalid Theme');
        }

        switch ($message) {
            case 'install':
                $this->set(
                    'message',
                    t(
                        "Theme installed. You may automatically create page templates from template files contained in your theme using the form below."
                    )
                );
                break;
            case 'activate':
                $this->set(
                    'message',
                    t(
                        "Theme activated. You may automatically create page templates from template files contained in your theme using the form below."
                    )
                );
                break;
        }

        if ($v->has()) {
            $this->set('error', $v);
        }

        $this->set('disableThirdLevelNav', true);
    }