* * This source code is free and modifiable under the terms of * GNU General Public License. (http://www.gnu.org/copyleft/gpl.html). See * the "license.txt" file for details, or visit the CollectiveAccess web site at * http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $vo_result = $this->getVar('result'); $vo_result_context = $this->getVar('result_context'); ?> <div id="resultBox"> <?php if ($vo_result) { $o_result_context = new ResultContext($this->request, 'ca_objects', 'basic_search'); $vs_search = ResultContext::getLastFind($this->request, 'ca_objects') == 'basic_browse' ? '' : $o_result_context->getSearchExpression(); ?> <div id="resultsSearchForm"><form name="artwork_Search" action="<?php print caNavUrl($this->request, '', 'Search', 'Index'); ?> " method="get"> <input type="text" name="search" value="<?php print $vs_search ? $vs_search : ''; ?> " autocomplete="off"/> <a href="#" name="searchButtonSubmit" onclick="document.forms.artwork_Search.submit(); return false;">Search</a> <input type="hidden" name="target" value="ca_objects" /> <input type="hidden" name="view" value="full" /> </form></div><!-- end resultsSearchForm --> <div id="pageHeadingResultsPage"><img src='<?php print $this->request->getThemeUrlPath();
print "</form>\n"; } ?> </div><!-- end topbar --> <div id="pageArea"> <div id="header"> <?php print caNavLink($this->request, "<img src='" . $this->request->getThemeUrlPath() . "/graphics/" . $this->request->config->get('header_img') . "' border='0'>", "", "", "", ""); ?> <?php // get last search ('basic_search' is the find type used by the SearchController) $o_result_context = new ResultContext($this->request, 'ca_objects', 'basic_search'); $vs_search = $o_result_context->getSearchExpression(); ?> <div id="nav"> <div id="MFinto"> <?php print $this->render('Splash/MF_text_html.php'); ?> </div> <div id="search"><form name="header_search" action="<?php print caNavUrl($this->request, '', 'Search', 'Index'); ?> " method="get"> <a href="#" name="searchButtonSubmit" onclick="document.forms.header_search.submit(); return false;"><?php
* the "license.txt" file for details, or visit the CollectiveAccess web site at * http://www.CollectiveAccess.org * * ---------------------------------------------------------------------- */ $va_facets = $this->getVar('available_facets'); $va_facets_with_content = $this->getVar('facets_with_content'); $va_facet_info = $this->getVar('facet_info'); $va_criteria = is_array($this->getVar('criteria')) ? $this->getVar('criteria') : array(); $va_results = $this->getVar('result'); $o_result_context = $this->getVar('result_context'); $vs_browse_target = $this->getVar('target'); $vs_browse_type_code = $o_result_context->getTypeRestriction($vn_has_changed); if (!$this->request->isAjax()) { $o_result_context = new ResultContext($this->request, $vs_browse_target, 'basic_browse'); $vs_search = ResultContext::getLastFind($this->request, $vs_browse_target) == 'basic_browse' ? '' : $o_result_context->getSearchExpression(); ?> <div id="resultsSearchForm"><form name="browseSearch" action="<?php print caNavUrl($this->request, '', 'Search', 'Index'); ?> " method="get"> <input type="text" name="search" value="<?php print $vs_search ? $vs_search : ''; ?> " autocomplete="off"/> <a href="#" name="searchButtonSubmit" onclick="document.forms.browseSearch.submit(); return false;">Search</a> <input type="hidden" name="target" value="<?php print $vs_browse_target; ?> " /> <input type="hidden" name="view" value="full" /> </form></div><!-- end resultsSearchForm -->