roundcubemail/program/include/rcmail_output_json.php
public function set_pagetitle($title)
    {
        if ($this->config->get('devel_mode') && !empty($_SESSION['username'])) {
            $name = $_SESSION['username'];
        }
        else {
            $name = $this->config->get('product_name');
        }

        $this->command('set_pagetitle', empty($name) ? $title : $name . ' :: ' . $title);
    }
public function set_pagetitle($title)
    {
        if ($this->config->get('devel_mode') && !empty($_SESSION['username'])) {
            $name = $_SESSION['username'];
        }
        else {
            $name = $this->config->get('product_name');
        }

        $this->command('set_pagetitle', empty($name) ? $title : $name . ' :: ' . $title);
    }
public function set_pagetitle ( $ title ) { if ( $ this -> config -> get ( 'devel_mode' ) && ! empty ( $ _SESSION [ 'username' ] ) ) { $ name = $ _SESSION [ 'username' ] ; } else { $ name = $ this -> config -> get ( 'product_name' ) ; } $ this -> command ( 'set_pagetitle' , empty ( $ name ) ? $ title : $ name . ' :: ' . $ title ) ; }
Issue command to set page title

@param string $title New page title
Issue command to set page title