/** * Displays the basic info for an object */ public function Show($pa_options = null) { JavascriptLoadManager::register('panel'); parent::Show($pa_options); // redirect user if not logged in if ($this->request->config->get('pawtucket_requires_login') && !$this->request->isLoggedIn() || $this->request->config->get('show_bristol_only') && !$this->request->isLoggedIn()) { $this->response->setRedirect(caNavUrl($this->request, "", "LoginReg", "form")); } elseif ($this->request->config->get('show_bristol_only') && $this->request->isLoggedIn()) { $this->response->setRedirect(caNavUrl($this->request, "bristol", "Show", "Index")); } }
/** * shows the basic info for a place */ public function Show() { parent::Show(); }