Show
Ignore:
Timestamp:
07/24/08 11:15:45 (4 months ago)
Author:
jmathis
Message:

* remove message type field
* set enable reach frontend by default
* set disable "is_admin" by default

Files:
1 modified

Legend:

Unmodified
Added
Removed
  • trunk/centreon/www/include/configuration/configObject/contact/formContact.php

    r5226 r5884  
    167167        $form->addGroup($tab, 'contact_admin', _("Admin"), ' '); 
    168168 
    169    $auth_type = array(NULL=>NULL); 
     169   $auth_type = array(); 
    170170   $auth_type["local"] = "local"; 
    171171        if ($oreon->optGen['ldap_auth_enable'] == 1) { 
     
    173173                $form->addElement('text', 'contact_ldap_dn', _("LDAP DN (Distinguished Name)"), $attrsText2); 
    174174        } 
    175  
     175        $form->setDefaults(array('contact_oreon' => '1', "contact_admin" => '0')); 
     176         
    176177        $form->addElement('select', 'contact_auth_type', _("Authentification Type"), $auth_type); 
    177178