roundcubemail/plugins/enigma/enigma.php
function load_ui($all = false)
    {
        if (!$this->ui) {
            // load config/localization
            $this->load_env();

            // Load UI
            $this->ui = new enigma_ui($this, $this->home);
        }

        if ($all) {
            $this->ui->add_css();
            $this->ui->add_js();
        }
    }
function load_ui($all = false)
    {
        if (!$this->ui) {
            // load config/localization
            $this->load_env();

            // Load UI
            $this->ui = new enigma_ui($this, $this->home);
        }

        if ($all) {
            $this->ui->add_css();
            $this->ui->add_js();
        }
    }
function load_ui ( $ all = false ) { if ( ! $ this -> ui ) { // load config/localization $ this -> load_env ( ) ; // Load UI $ this -> ui = new enigma_ui ( $ this , $ this -> home ) ; } if ( $ all ) { $ this -> ui -> add_css ( ) ; $ this -> ui -> add_js ( ) ; } }
Plugin UI initialization.
Plugin UI initialization .