0byt3m1n1
Path:
/
data
/
applications
/
aps
/
tikiwiki
/
14.1-0
/
standard
/
htdocs
/
lib
/
prefs
/
[
Home
]
File: print.php
<?php // (c) Copyright 2002-2015 by authors of the Tiki Wiki CMS Groupware Project // // All Rights Reserved. See copyright.txt for details and a complete list of authors. // Licensed under the GNU LESSER GENERAL PUBLIC LICENSE. See license.txt for details. // $Id: print.php 56429 2015-10-07 11:14:29Z jonnybradley $ function prefs_print_list() { return array( 'print_pdf_from_url' => array( 'name' => tra('PDF from URL'), 'description' => tra('Using extenal tools, generate PDF document from web URLs.'), 'type' => 'list', 'options' => array( 'none' => tra('Disabled'), 'webkit' => tra('WebKit (wkhtmltopdf)'), 'weasyprint' => tra('Weasyprint'), 'webservice' => tra('Webservice'), ), 'default' => 'none', ), 'print_pdf_webservice_url' => array( 'name' => tra('Webservice URL'), 'description' => tra('URL to a service taking a URL as the query string and returns a PDF document.'), 'type' => 'text', 'size' => 50, 'dependencies' => array('auth_token_access'), 'default' => '', ), 'print_pdf_webkit_path' => array( 'name' => tra('WebKit path'), 'description' => tra('Full path to the wkhtmltopdf executable to generate the PDF document with.'), 'type' => 'text', 'size' => 50, 'help' => 'wkhtmltopdf', 'dependencies' => array('auth_token_access'), 'default' => '', ), 'print_pdf_weasyprint_path' => array( 'name' => tra('Weasyprint path'), 'description' => tra('Full path to the weasyprint executable to generate the PDF document with.'), 'type' => 'text', 'size' => 50, 'help' => 'weasyprint', 'dependencies' => array('auth_token_access'), 'default' => '', ), ); }