Permalink
Browse files

Showing view complete file on file page only.

  • Loading branch information...
1 parent 39eb8c0 commit 382b4da93c99d4a2b4a7954364e488f903626717 @pdt256 committed Oct 29, 2011
Showing with 2 additions and 2 deletions.
  1. +2 −2 classes/console/controller.php
@@ -67,7 +67,7 @@ public function action_index()
$this->template->title = 'Console';
$this->template->headline = $this->headline( $file );
- $this->template->content = HTML::anchor($this->request->uri() . '?all', '<h3>View complete file&nbsp;&raquo;</h3>') . '<br />' . $this->log( $file );
+ $this->template->content = $this->log( $file );
$this->template->right = $this->build_directory( $file );
}
@@ -86,7 +86,7 @@ protected function log( $file )
if( $file )
{
- return $this->parse( $file );
+ return HTML::anchor($this->request->uri() . '?all', '<h3>View complete file&nbsp;&raquo;</h3>') . '<br />' . $this->parse( $file );
}
else
{

0 comments on commit 382b4da

Please sign in to comment.