Commit 2df826da authored by Marius Cramer's avatar Marius Cramer

- ported patches

parent 9d983375
......@@ -21,11 +21,11 @@ $liste["item"][] = array( 'field' => "active",
'value' => array("y" => "<div id=\"ir-Yes\" class=\"swap\"><span>".$app->lng('yes_txt')."</span></div>", "n" => "<div class=\"swap\" id=\"ir-No\"><span>".$app->lng('no_txt')."</span></div>"));
$liste["item"][] = array( 'field' => "server_id",
'datatype' => "VARCHAR",
'datatype' => "INTEGER",
'formtype' => "SELECT",
'op' => "like",
'prefix' => "%",
'suffix' => "%",
'op' => "=",
'prefix' => "",
'suffix' => "",
'datasource' => array ( 'type' => "SQL",
'querystring' => "SELECT server_id,server_name FROM server WHERE {AUTHSQL} AND db_server = 1 ORDER BY server_name",
'keyfield'=> "server_id",
......
......@@ -45,11 +45,11 @@ $liste['auth'] = 'no';
*****************************************************/
$liste['item'][] = array( 'field' => 'server_id',
'datatype' => 'VARCHAR',
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'op' => 'like',
'prefix' => '%',
'suffix' => '%',
'op' => '=',
'prefix' => '',
'suffix' => '',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name',
'keyfield'=> 'server_id',
......@@ -59,11 +59,11 @@ $liste['item'][] = array( 'field' => 'server_id',
'value' => '');
$liste['item'][] = array( 'field' => 'client_id',
'datatype' => 'VARCHAR',
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'op' => 'like',
'prefix' => '%',
'suffix' => '%',
'op' => '=',
'prefix' => '',
'suffix' => '',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT client_id,contact_name FROM client WHERE {AUTHSQL} ORDER BY contact_name',
'keyfield'=> 'client_id',
......
......@@ -45,11 +45,11 @@ $liste['auth'] = 'no';
*****************************************************/
$liste['item'][] = array( 'field' => 'server_id',
'datatype' => 'VARCHAR',
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'op' => 'like',
'prefix' => '%',
'suffix' => '%',
'op' => '=',
'prefix' => '',
'suffix' => '',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT server_id,server_name FROM server WHERE {AUTHSQL} ORDER BY server_name',
'keyfield'=> 'server_id',
......@@ -59,11 +59,11 @@ $liste['item'][] = array( 'field' => 'server_id',
'value' => '');
$liste['item'][] = array( 'field' => 'client_id',
'datatype' => 'VARCHAR',
'datatype' => 'INTEGER',
'formtype' => 'SELECT',
'op' => 'like',
'prefix' => '%',
'suffix' => '%',
'op' => '=',
'prefix' => '',
'suffix' => '',
'datasource' => array ( 'type' => 'SQL',
'querystring' => 'SELECT client_id,contact_name FROM client WHERE {AUTHSQL} ORDER BY contact_name',
'keyfield'=> 'client_id',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment