Blame view

sources/apps/reader/results.php 427 Bytes
42e4f8d60   Kload   add all apps
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  <?php
  
  OCP\Util::addscript( 'reader', 'integrate' );
  OCP\Util::addscript( 'reader', 'pdf' );
  OCP\Util::addStyle('reader','reader');
  OCP\Util::addStyle('files','files');
  
  $file = $_GET['file'];
  $path = dirname($file);
  $filename = basename($file); 
  
  $tmpl = new OCP\Template( 'reader', 'results', 'user' );
  $tmpl->assign('file', $file);
  $tmpl->assign('path', $path);
  $tmpl->assign('filename', $filename);
  $tmpl->printPage();
  
  ?>