Welcome to mirror list, hosted at ThFree Co, Russian Federation.

results.php « reader - github.com/nextcloud/apps.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: ec6418aebeaea83b57346894cf9e0e744e2a2928 (plain)
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();

?>