Skip to content
  • This project
    • Loading...
  • Sign in

Commonwell / broker-site

Go to a project
Toggle navigation
Toggle navigation pinning
  • Projects
  • Groups
  • Snippets
  • Help
  • Project
  • Activity
  • Repository
  • Pipelines
  • Graphs
  • Issues 0
  • Merge Requests 0
  • Wiki
  • Network
  • Create a new issue
  • Builds
  • Commits
  • Issue Boards
  • Files
  • Commits
  • Network
  • Compare
  • Branches
  • Tags
Switch branch/tag
  • broker-site
  • wp-content
  • themes
  • commonwell-broker
  • pdfviewer.php
  • Jeff Balicki's avatar
    clean up · 2c9e80d2 ...
    2c9e80d2 Browse Files
    Signed-off-by: Jeff <jeff@gotenzing.com>
    Jeff Balicki committed 2023-01-11 11:19:41 -0500
pdfviewer.php 366 Bytes
Raw Blame History Permalink
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21
<?php
/*
* Template Name: Searchwp results template pdf
*/
?>

<!doctype html>
<html>
<head>
<meta charset="UTF-8">
<title>Untitled Document</title>
</head>
<?php 
 $url = rawurldecode ( $_REQUEST['pdfurl']);

echo do_shortcode('[pdfjs-viewer url='.$url.' viewer_width=600px viewer_height=700px fullscreen=true download=true print=true]');

?>
<body>
</body>
</html>