Aleksander Machniak
2015-06-07 a9587489473baf3854999e711083be212ca0c1c4
program/steps/settings/edit_identity.inc
@@ -1,6 +1,6 @@
<?php
/*
/**
 +-----------------------------------------------------------------------+
 | program/steps/settings/edit_identity.inc                              |
 |                                                                       |
@@ -109,6 +109,11 @@
        $IDENTITY_RECORD['signature'] = htmlspecialchars($IDENTITY_RECORD['signature'], ENT_NOQUOTES, RCUBE_CHARSET);
    }
    // hide "default" checkbox if only one identity is allowed
    if (IDENTITIES_LEVEL > 1) {
        unset($form['addressing']['content']['standard']);
    }
    // disable some field according to access level
    if (IDENTITIES_LEVEL == 1 || IDENTITIES_LEVEL == 3) {
        $form['addressing']['content']['email']['disabled'] = true;