# HG changeset patch # User luginbue # Date 1014254371 -3600 # Node ID c5ca5f72fb653356b00a5f723b08578d6d2f1bf6 # Parent 904f2b2f0cf5a41102da4bf465939f697e12d808 cleaning up a bit - more follows diff -r 904f2b2f0cf5 -r c5ca5f72fb65 client/digitallibrary/modules/pdfMaker.js --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/client/digitallibrary/modules/pdfMaker.js Thu Feb 21 02:19:31 2002 +0100 @@ -0,0 +1,17 @@ +/**************************************************************************** + * - sample module for digilib * + * * + * christian luginbuehl (luginbuehl@student.unibe.ch) * + ****************************************************************************/ + +/** + * generates a pdf-file using a perl-script called makepdf + * + * ATTENTION: the script and this function are only in alpha stadium + */ +function makePDF() { + var pages = prompt("Enter the pages you like to make a PDF of:", att[1]); + if (pages != null && pages != "") { + top.location = "http://penelope.unibe.ch/cgi-bin/cgiwrap/luginbul/makepdf.cgi?dir=" + att[0] + "&pages=" + pages; + } +}