diff options
author | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-12-27 12:36:51 +0100 |
---|---|---|
committer | Bartek Przybylski <bart.p.pl@gmail.com> | 2011-12-27 12:36:51 +0100 |
commit | f7674d06d3819fadb0c019adec8219b1fdd9001c (patch) | |
tree | 1f3e62a19dfa86ddc1746af1a29d6bbf63cc7ec7 /apps/files_pdfviewer/appinfo | |
parent | 524aaf0e5e890944472f919041146c68a4300184 (diff) | |
download | nextcloud-server-f7674d06d3819fadb0c019adec8219b1fdd9001c.tar.gz nextcloud-server-f7674d06d3819fadb0c019adec8219b1fdd9001c.zip |
pdf viewer from Google Code-In program
Diffstat (limited to 'apps/files_pdfviewer/appinfo')
-rwxr-xr-x | apps/files_pdfviewer/appinfo/app.php | 9 | ||||
-rwxr-xr-x | apps/files_pdfviewer/appinfo/info.xml | 10 |
2 files changed, 19 insertions, 0 deletions
diff --git a/apps/files_pdfviewer/appinfo/app.php b/apps/files_pdfviewer/appinfo/app.php new file mode 100755 index 00000000000..a446b4caa41 --- /dev/null +++ b/apps/files_pdfviewer/appinfo/app.php @@ -0,0 +1,9 @@ +<?php +//load the required files +//OC_Util::addStyle( 'files_texteditor', 'style' ); +//OC_Util::addScript( 'files_texteditor', 'editor'); +OC_Util::addScript( 'files_pdfviewer', 'viewer'); +OC_Util::addStyle( 'files_pdfviewer', 'viewer'); +OC_Util::addScript( 'files_pdfviewer', 'pdfjs/build/pdf'); +OC_Util::addScript( 'files_pdfviewer', 'pdfview'); +?> diff --git a/apps/files_pdfviewer/appinfo/info.xml b/apps/files_pdfviewer/appinfo/info.xml new file mode 100755 index 00000000000..86a6c3f22f7 --- /dev/null +++ b/apps/files_pdfviewer/appinfo/info.xml @@ -0,0 +1,10 @@ +<?xml version="1.0"?> +<info> + <id>files_pdfviewer</id> + <name>PDF viewer (pdfjs-based)</name> + <version>0.1</version> + <licence>GPL</licence> + <author>Joan Creus</author> + <require>2</require> + <default_enable/> +</info> |