You are here

function pdf_js_viewer in PDF 6

1 string reference to 'pdf_js_viewer'
pdf_menu in ./pdf.module
Implementation of hook_menu().

File

./pdf.module, line 41

Code

function pdf_js_viewer($node) {

  //if needed take localization into account...
  global $language;
  $file = $node->field_filefield[0];
  print theme('pdf_viewer', $file, $node, $language);
  exit;
}