tbrehm
2008-12-12 ec09b18c9c44f85ceb6d9e7588a03a221cd1193f
interface/lib/classes/listform.inc.php
@@ -38,7 +38,7 @@
    private $pagingValues;
    private $searchChanged = 0;
    private $module;
   private $dateformat = 'd.m.Y';
   private $dateformat = 'Y-m-d H:i';
   public $wordbook;
    public function loadListDef($file, $module = '')
@@ -59,6 +59,9 @@
      }
      
      //* Set local Language File
      $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);
      $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);
@@ -115,7 +118,7 @@
            $record = array();
                $values = $app->$datasource_class->$datasource_function($field, $record);
            } else {
                $this->errorMessage .= "Custom datasource class or function is empty<br>\r\n";
                $this->errorMessage .= "Custom datasource class or function is empty<br />\r\n";
            }
        }
        return $values;