Toolbox Page
authorSteve Sutton <steve@gaslightmedia.com>
Wed, 13 Aug 2014 20:51:36 +0000 (16:51 -0400)
committerSteve Sutton <steve@gaslightmedia.com>
Wed, 13 Aug 2014 20:51:36 +0000 (16:51 -0400)
Clean up

Toolkit/Template/Page/Toolbox.php

index 515fa0a..ea92494 100644 (file)
@@ -160,22 +160,7 @@ class Toolkit_Template_Page_Toolbox implements Toolkit_Template_Page_IBody
                 = $this->photoGallery->getPageGallery($this->id);
                }
 
-//        $mainNavCategories
-//            = (defined('MAIN_NAV_PAGES') && MAIN_NAV_PAGES)
-//            ? unserialize(MAIN_NAV_PAGES)
-//            : null;
-
-//        $tpl
-//            = new HTML_Template_Flexy($GLOBALS['flexyOptions']);
         $tPage = new stdClass();
-//        if (   isset($mainNavCategories)
-//            && is_array($mainNavCategories)
-//            && in_array($this->id, $mainNavCategories)) {
-//            $tPage->isMainLevel = true;
-//        } else {
-//            $tPage->pods = '';
-//            $tPage->isMainLevel = false;
-//        }
         if ($page) {
             $tPage->title  = $page['title'];
             $tPage->photos = $photoGalleryContent;
@@ -195,8 +180,6 @@ class Toolkit_Template_Page_Toolbox implements Toolkit_Template_Page_IBody
         }
 
         return $tPage;
-//        $tpl->compile('toolbox.html');
-//        return $tpl->bufferedOutputObject($tPage);
        }
 
        //      }}}