diff --git a/themes/fid_bbi/templates/layout/layout.phtml b/themes/fid_bbi/templates/layout/layout.phtml index ec798a4452eabe8e717ea35f3bcd921b71749f42..258c5c8e9a3cb84e9d0f2b4d1b77d77eaeaf7c69 100644 --- a/themes/fid_bbi/templates/layout/layout.phtml +++ b/themes/fid_bbi/templates/layout/layout.phtml @@ -107,11 +107,12 @@ } // Session keep-alive - if ($this->KeepAlive()) { - $this->headScript()->appendScript('var keepAliveInterval = ' - . $this->KeepAlive()); - $this->headScript()->appendFile("keep_alive.js"); + if ($this->keepAlive()) { + $this->headScript()->appendScript('var keepAliveInterval = ' + . $this->keepAlive()); + $this->headScript()->appendFile("keep_alive.js"); } + ?> <? $root = rtrim($this->url('home'), '/'); diff --git a/themes/fid_bbi/templates/search/searchbox.phtml b/themes/fid_bbi/templates/search/searchbox.phtml index 995f4354d2056c8da4438ec31eb6c10a05ceb37e..7dede105bbcb93611045ac2ae0715c0867d0ca9e 100644 --- a/themes/fid_bbi/templates/search/searchbox.phtml +++ b/themes/fid_bbi/templates/search/searchbox.phtml @@ -19,16 +19,16 @@ $lastSort = $this->searchMemory()->getLastSort($this->searchClassId); $lastLimit = $this->searchMemory()->getLastLimit($this->searchClassId); $ignoreHiddenFilterMemory = isset($this->ignoreHiddenFilterMemory) && $this->ignoreHiddenFilterMemory; $ignoreHiddenFiltersInRequest = isset($this->ignoreHiddenFiltersInRequest) && $this->ignoreHiddenFiltersInRequest; -$hiddenFilters = $this->searchtabs()->getHiddenFilters($this->searchClassId, $ignoreHiddenFilterMemory, $ignoreHiddenFiltersInRequest); +$hiddenFilters = $this->searchTabs()->getHiddenFilters($this->searchClassId, $ignoreHiddenFilterMemory, $ignoreHiddenFiltersInRequest); if (empty($hiddenFilters) && !$ignoreHiddenFilterMemory) { $hiddenFilters = $this->searchMemory()->getLastHiddenFilters($this->searchClassId); if (empty($hiddenFilters)) { - $hiddenFilters = $this->searchtabs()->getHiddenFilters($this->searchClassId); + $hiddenFilters = $this->searchTabs()->getHiddenFilters($this->searchClassId); } } -$hiddenFilterParams = $this->searchtabs()->getCurrentHiddenFilterParams($this->searchClassId, $ignoreHiddenFilterMemory, '?'); +$hiddenFilterParams = $this->searchTabs()->getCurrentHiddenFilterParams($this->searchClassId, $ignoreHiddenFilterMemory, '?'); ?> -<? $searchTabs = $this->searchtabs()->getTabConfig($this->searchClassId, $this->lookfor, $this->searchIndex, $this->searchType, $hiddenFilters); ?> +<? $searchTabs = $this->searchTabs()->getTabConfig($this->searchClassId, $this->lookfor, $this->searchIndex, $this->searchType, $hiddenFilters); ?> <? if ($this->searchType == 'advanced'): ?> <? /* finc: keep .no-margin-t or advanced search box will be pushed down too far (navbar-form) */ ?> <div class="navbar-left flip no-margin-t">