checkRequirements(1,array("disableCache" => false)); $i_output = ""; if ( !isset($this->send->action)) { throw new ezcTemplateRuntimeException( sprintf("The external (use) variable '%s' is not set in template: %s and called from %s", 'action', $this->template->stream, ( sizeof($this->template->streamStack) >= 2 ? $this->template->streamStack[sizeof($this->template->streamStack) - 2] : 'the application code') ) ); } $t_title = NULL; $i_output .= "\n"; $t_displaySearchString = NULL; $t_searchWordCache = NULL; $t_searchWordCounter = 0; if ((isset($this->send->action->displaySearchString["or"])) && $this->send->action->displaySearchString["or"] != "") { foreach ($this->send->action->displaySearchString["or"] as $t_searchWord) { if ($t_searchWordCounter > 0) { $t_displaySearchString .= " | "; } $t_searchWordCounter++ ; $t_displaySearchString .= $t_searchWord; } } elseif ((isset($this->send->action->displaySearchString["and"])) && $this->send->action->displaySearchString["and"] != "") { foreach ($this->send->action->displaySearchString["and"] as $t_searchWord) { if ($t_searchWordCounter > 0) { $t_displaySearchString .= " + "; } $t_searchWordCounter++ ; $t_displaySearchString .= $t_searchWord; } } elseif ((isset($this->send->action->displaySearchString["phrase"])) && $this->send->action->displaySearchString["phrase"] != "") { $t_displaySearchString = $this->send->action->displaySearchString["phrase"]; } else { $t_displaySearchString = ""; } $this->send->action->renderedSearchString = $t_displaySearchString; $i_output .= "\n"; if (( !(ezcTemplateType::is_empty($this->send->action->searchString)))) { $t_title = ""; $t_title .= htmlspecialchars(ezcTemplateTranslationProvider::translate("Search for '%query'","fe/index/index",array("query" => $t_displaySearchString)),11); $this->send->action->title = $t_title; } $i_output .= "\n"; if ((is_array($this->send->action->hiddenFilters)) && (count($this->send->action->hiddenFilters)) > 0) { $_t = clone $this->template; $_t->send = new ezcTemplateVariableCollection(); $_t->send->action = $this->send->action; $i_output .= $_t->process("fe/subtemplates/hidden_filters.ezt",$this->template->usedConfiguration); unset($_t); } $i_output .= "\n"; $_t = clone $this->template; $_t->send = new ezcTemplateVariableCollection(); $_t->send->action = $this->send->action; $i_output .= $_t->process("fe/subtemplates/blocks/breadcrumb_r.ezt",$this->template->usedConfiguration); unset($_t); $i_output .= "\n"; if (((is_array($this->send->action->productSeries)) && (count($this->send->action->productSeries)) > 0) && (ezcTemplateType::is_empty($this->send->action->offset))) { $_t = clone $this->template; $this->send->action->viewComponent; $i_output .= "\n"; } $i_output .= "\n"; if ((isset($this->send->action->cmsContent))) { $_t = clone $this->template; $_t->send = new ezcTemplateVariableCollection(); $_t->send->action = $this->send->action; $i_output .= $_t->process("fe/index/content_seo.ezt",$this->template->usedConfiguration); unset($_t); } return $i_output; ?> Oklop Pubblicazioni | ASTROSHOP
I vostri partner per l'astronomia
1