link updates
authorSteve Sutton <steve@gaslightmedia.com>
Mon, 8 Feb 2010 19:52:54 +0000 (19:52 +0000)
committerSteve Sutton <steve@gaslightmedia.com>
Mon, 8 Feb 2010 19:52:54 +0000 (19:52 +0000)
Toolkit/Contacts/ContactUs.php
Toolkit/Page.php

index 824f31d..f852d02 100755 (executable)
@@ -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,
index 5f9529c..0b73ee8 100755 (executable)
@@ -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';