$value) { $path = $pathtoroot. $value."admin/include/parser.php"; if(file_exists($path)) { include_once($path); } } unset($objEditItems); $envar = "module=$module§ion=$section&env=" . BuildEnv(); //$title = prompt_language("la_Text_Editing")." ".prompt_language("la_Tab_Search"); $sec = $objSections->GetSection($section); $objCatToolBar = new clsToolBar(); $objCatToolBar->Add("img_save", "la_Save","#","swap('img_save','toolbar/tool_select_f2.gif');", "swap('img_save', 'toolbar/tool_select.gif');","document.configform.submit();","tool_select.gif"); $objCatToolBar->Add("img_cancel", "la_Cancel","#","swap('img_cancel','toolbar/tool_cancel_f2.gif');", "swap('img_cancel', 'toolbar/tool_cancel.gif');","history.back();","tool_cancel.gif"); $ParentSection = $sec->Get("parent"); $ParentSec = $objSections->GetSection($ParentSection); $ParentUrl = $ParentSec->URL(); if($ParentSec->Get("parent")) { $SubmitUrl = $ParentUrl; } else $SubmitUrl = $_SERVER['PHP_SELF']."?".$envar; if( !isset($title) ) $title = ''; int_header($objCatToolBar,NULL,$title); ?>
GetHeadingList(); for($i=0;$i<=count($headings);$i++) { $h = $headings[$i]; if(strlen($h)) { int_subsection_title(prompt_language($h)); $Items = $objSearchFields->GetHeadingItems($h); foreach($Items as $c) { print "\n"; print "\n"; $checked = ""; if((int)$c->Get("SimpleSearch")==1) $checked = " CHECKED"; print "\n"; $checked = ""; if((int)$c->Get("AdvancedSearch")==1) $checked = " CHECKED"; print "\n"; print "\n"; } int_subsection_title(prompt_language($h)." ".prompt_language("la_prompt_relevence_settings")); print "\n"; print ""; print "\n"; print "\n"; print "\n"; $checked = ""; if((int)$objConfig->Get($cfg)==1) $checked = " CHECKED"; print "\n"; print "\n"; } } } if ($module == 'In-Portal') { $cfg = "Search_MinKeyword_Length"; $value = $objConfig->Get($cfg); if(!is_numeric($value)) { $value = (int)$objConfig->Get("Search_MinKeyword_Length"); } int_subsection_title(prompt_language("la_Text_MinKeyWordLength")); print "\n"; print "\n"; print "\n"; print "\n"; } ?> >
".prompt_language($c->Get("DisplayName")); if (IsDebugMode()) { echo '
['.$c->Get('SearchConfigId').'] '.$c->Get('FieldName').''; } print "
"; print prompt_language("la_prompt_SimpleSearch"); print "Get("SearchConfigId")."]\" VALUE=\"1\"$checked>"; print "  ".prompt_language("la_prompt_weight")." Get("SearchConfigId")."]\" VALUE=\"".(int)$c->Get("Priority")."\">"; print "Get("SearchConfigId")."]\" VALUE=\"1\"$checked>"; print prompt_language("la_prompt_AdvancedSearch")."
"; print prompt_language("la_prompt_required_field_increase"); $cfg_var = strtolower(prompt_language($h,1)); $cfg = "SearchRel_Increase_".$cfg_var; $value = $objConfig->Get($cfg); if(!is_numeric($value)) $value = (int)$objConfig->Get("SearchRel_DefaultIncrease"); print "%"; print "%"; print "
"; print prompt_language("la_prompt_relevence_percent"); $cfg = "SearchRel_Keyword_".$cfg_var; $value = $objConfig->Get($cfg); if(!is_numeric($value)) $value = (int)$objConfig->Get("SearchRel_DefaultKeyword"); print " % "; print prompt_language("la_text_keyword")." "; $cfg = "SearchRel_Pop_".$cfg_var; $value = $objConfig->Get($cfg); if(!is_numeric($value)) $value = (int)$objConfig->Get("SearchRel_DefaultPop"); print "   % "; print prompt_language("la_text_popularity"); $cfg = "SearchRel_Rating_".$cfg_var; $value = $objConfig->Get($cfg); if(!is_numeric($value)) $value = (int)$objConfig->Get("SearchRel_DefaultRating"); print "   % "; print prompt_language("la_prompt_Rating"); if ($module != 'In-Portal') { $cfg = "Search_ShowMultiple_".$cfg_var; int_subsection_title(prompt_language($h)." ".prompt_language("la_Text_MultipleShow")); print "
".prompt_language("la_prompt_MultipleShow").""; print ""; print "
".prompt_language("la_prompt_MinKeyWordLength").""; print ""; print "