| | |
| | | if(!is_file($file)){ |
| | | die("List-Definition: $file not found."); |
| | | } |
| | | require_once($file); |
| | | require_once $file; |
| | | $this->listDef = $liste; |
| | | $this->module = $module; |
| | | |
| | |
| | | //* Set local Language File |
| | | $lng_file = 'lib/lang/'.$_SESSION['s']['language'].'_'.$this->listDef['name'].'_list.lng'; |
| | | if(!file_exists($lng_file)) $lng_file = 'lib/lang/en_'.$this->listDef['name'].'_list.lng'; |
| | | include($lng_file); |
| | | include $lng_file; |
| | | |
| | | $this->wordbook = $wb; |
| | | |
| | |
| | | * @param record = Dataset as array |
| | | * @return array key => value array for the value field of a form |
| | | */ |
| | | |
| | | |
| | | private function getDatasourceData($field) |
| | | { |
| | | global $app; |
| | |
| | | global $app, $conf; |
| | | |
| | | //* Add Global Limit from selectbox |
| | | if(!empty($_POST['search_limit']) AND $app->functions->intval($_POST['search_limit']) > 0){ |
| | | if(!empty($_POST['search_limit']) and $app->functions->intval($_POST['search_limit']) > 0){ |
| | | $_SESSION['search']['limit'] = $app->functions->intval($_POST['search_limit']); |
| | | } |
| | | |