Marius Cramer
2013-11-14 b1a6a5a3991cec5cd08873b01376e45d0b247f18
interface/lib/classes/searchform_actions.inc.php
@@ -153,10 +153,10 @@
      // Language File setzen
      $lng_file = ISPC_WEB_PATH.'/lang/lib/lang/'.$_SESSION['s']['language'].'_list.lng';
      if(!file_exists($lng_file)) $lng_file = ISPC_WEB_PATH.'/lang/lib/lang/en_'.'_list.lng';
      include($lng_file);
      include $lng_file;
      $lng_file = "lib/lang/".$_SESSION["s"]["language"]."_".$app->searchform->listDef['name']."_search.lng";
      if(!file_exists($lng_file)) $lng_file = 'lib/lang/en_'.$app->searchform->listDef['name']."_search.lng";
      include($lng_file);
      include $lng_file;
      $app->tpl->setVar($wb);
      $app->tpl->setVar("form_action",$app->searchform->listDef["file"]);
      
@@ -196,6 +196,7 @@
      $app->tpl_defaults();
      $app->tpl->pparse();
   }
}
?>