public function buildTabUserWhat($bid, $rid, $tab = false)
    {
        $this->initialize();
        $sbas_id = phrasea::sbasFromBas($this->app, $bid);

        try {
            $record = new record_adapter($this->app, $sbas_id, $rid);
        } catch (\Exception_Record_AdapterNotFound $e) {
            return $this->report;
        }

        $this->setDisplay($tab);
        $this->champ = [
            'photo',
            'record_id',
            'date',
            'type',
            'titre',
            'taille'
        ];

        $document = $record->get_subdef('document');
        $this->title = $this->app->trans('report:: Information sur l\'enregistrement numero %number%', ['%number%' => (int) $rid]);

        $x = $record->get_thumbnail();
        $this->result[] = [
            'photo'     =>
            "<img style='width:" . $x->get_width() . "px;height:" . $x->get_height() . "px;'
                        src='" . (string) $x->get_url() . "'>"
            , 'record_id' => $record->getRecordId()
            , 'date'      => $this->app['date-formatter']->getPrettyString($document->get_creation_date())
            , 'type'      => $document->get_mime()
            , 'titre'     => $record->get_title()
            , 'taille'    => $document->get_size()
        ];

        $this->setDisplayNav();
        $this->setReport();

        return $this->report;
    }