Dominik
2015-04-14 3bb9ef8a12ee71a16887ca73a86b6fc8eaa183fe
interface/web/client/form/client.tform.php
@@ -773,6 +773,17 @@
         'rows'  => '',
         'cols'  => ''
      ),
        'default_xmppserver' => array (
            'datatype' => 'INTEGER',
            'formtype' => 'SELECT',
            'default' => '1',
            'datasource' => array (  'type' => 'CUSTOM',
                'class'=> 'custom_datasource',
                'function'=> 'client_servers'
            ),
            'value'  => '',
            'name'  => 'default_xmppserver'
        ),
        'xmpp_servers' => array (
            'datatype' => 'VARCHAR',
            'formtype' => 'MULTIPLE',
@@ -782,9 +793,8 @@
                'class'=> 'custom_datasource',
                'function'=> 'client_servers'
            ),
            'validators'    => array (  0 => array (    'type'  => 'NOTEMPTY',
                'errmsg'=> 'no_xmpp_server_error'),
                1 => array ( 'type' => 'CUSTOM',
            'validators'    => array (
                0 => array ( 'type' => 'CUSTOM',
                    'class' => 'validate_client',
                    'function' => 'check_used_servers',
                    'errmsg'=> 'xmpp_servers_used'),
@@ -831,17 +841,6 @@
            'formtype' => 'CHECKBOX',
            'default' => 'n',
            'value'  => array(0 => 'n', 1 => 'y')
        ),
        'limit_xmpp_auth_options' => array(
            'datatype' => 'VARCHAR',
            'formtype' => 'CHECKBOXARRAY',
            'validators' => array (  0 => array ( 'type' => 'NOTEMPTY',
                'errmsg'=> 'xmpp_auth_options_notempty'),
            ),
            'default' => '',
            'separator' => ',',
            'valuelimit' => 'client:xmpp_auth_options',
            'value'  => array('plain' => 'Plain', 'hashed' => 'Hashed', 'isp' => 'By Mail Account')
        ),
        'limit_xmpp_vjud' => array(
            'datatype' => 'VARCHAR',