24 include_once 
'./Services/Table/classes/class.ilTable2GUI.php';
 
   25 include_once 
'./Services/Search/classes/Lucene/class.ilLuceneAdvancedSearchFields.php';
 
   54                 $this->
addColumn($this->lng->txt(
'title'),
'title',
'60%');
 
   55                 $this->
addColumn($this->lng->txt(
'type'),
'type',
'40%');
 
   56                 $this->
setRowTemplate(
'tpl.lucene_activation_row.html',
'Services/Search');
 
   60                 $this->
setFormAction($this->ctrl->getFormAction($a_parent_obj));
 
   61                 $this->
addMultiCommand(
'saveAdvancedLuceneSettings',$this->lng->txt(
'lucene_activate_field'));
 
   69                 $this->tpl->setVariable(
'VAL_ID',$a_set[
'id']);
 
   70                 $this->tpl->setVariable(
'VAL_CHECKED',$a_set[
'active'] ? 
'checked="checked"' : 
'');
 
   71                 $this->tpl->setVariable(
'VAL_TITLE',$a_set[
'title']);
 
   72                 $this->tpl->setVariable(
'VAL_TYPE',$a_set[
'type']);
 
   80                         $tmp_arr[
'id'] = $field;
 
   81                         $tmp_arr[
'active'] = $settings->
isActive($field);
 
   82                         $tmp_arr[
'title'] = $translation;
 
   84                         $tmp_arr[
'type'] = (substr($field,0,3) == 
'lom') ?
 
   85                                 $this->lng->txt(
'search_lom') :
 
   86                                 $this->lng->txt(
'search_adv_md'); 
 
   88                         $content[] = $tmp_arr;
 
   90                 $this->
setData($content ? $content : array());