From 3cd24dd3923a1a8a43d6f159e85087d30d4d0bc4 Mon Sep 17 00:00:00 2001 From: Steve Sutton Date: Mon, 8 Feb 2010 19:52:54 +0000 Subject: [PATCH] link updates --- Toolkit/Contacts/ContactUs.php | 6 ++++-- Toolkit/Page.php | 12 +++++++++++- 2 files changed, 15 insertions(+), 3 deletions(-) diff --git a/Toolkit/Contacts/ContactUs.php b/Toolkit/Contacts/ContactUs.php index 824f31d..f852d02 100755 --- a/Toolkit/Contacts/ContactUs.php +++ b/Toolkit/Contacts/ContactUs.php @@ -387,9 +387,9 @@ class Toolkit_Contacts_ContactUs public function configureElements() { $e = array(); - $this->setInterestFields(); + //$this->setInterestFields(); // Grouped Elements are defined here. - $this->interestsGroups =& $this->getInterestFields(); + //$this->interestsGroups =& $this->getInterestFields(); // All Elements are created here. This includes group element definitions. $e[] = array( @@ -483,6 +483,7 @@ class Toolkit_Contacts_ContactUs 'opts' => 'Yes', 'val' => array(0, 1) ); + /* if (is_array($this->interestsGroups)) { foreach ($this->interestsGroups as $group => $gData) { $this->myGroups[] = $gData; @@ -497,6 +498,7 @@ class Toolkit_Contacts_ContactUs ); } } + */ $e[] = array( 'type' => 'CAPTCHA_Image', 'req' => false, diff --git a/Toolkit/Page.php b/Toolkit/Page.php index 5f9529c..0b73ee8 100755 --- a/Toolkit/Page.php +++ b/Toolkit/Page.php @@ -152,7 +152,17 @@ class Toolkit_Page $this->isHomePage = (HOME_ID == $toolbox->catid); // pageTitle - $this->pageTitle = $toolbox->get_catheader($topParent, $toolbox->DB); + $this->pageTitle = $toolbox->get_catheader($topParent, $toolbox->DB); + $this->pageTitleUrl = $toolbox->get_seo_url($topParent); + $this->homePageUrl = $toolbox->get_seo_url(HOME_ID); + $this->reservationUrl = 'http://reservations.troutcreek.com/irm/AccessType.ASP'; + + $this->ownersSection = 'http://reservations.troutcreek.com/irm/AccessID.asp?AccessType=Owner'; + + + $this->specialsUrl = $toolbox->get_seo_url(4); + $this->signUpUrl = $toolbox->get_seo_url(304); + $this->videoUrl = $toolbox->get_seo_url(202); // Resources needed for every page. $GLOBALS['styleSheets'][] = $this->baseURL . 'styles.css'; -- 2.17.1