buildCrumbs( array( 'branch' => true, 'path' => true, 'view' => 'browse', )); $file_query = DiffusionFileContentQuery::newFromDiffusionRequest( $this->diffusionRequest); $file_content = $file_query->loadFileContent(); $corpus = phutil_render_tag( 'textarea', array( 'style' => 'margin: 1em 2em; width: 90%; height: 80em;', ), phutil_escape_html($file_content->getCorpus())); $content[] = $corpus; // TODO: blame, color, line numbers, highlighting, etc etc $nav = $this->buildSideNav('browse', true); $nav->appendChild($content); return $this->buildStandardPageResponse( $nav, array( 'title' => 'Browse', )); } }