|
9 | 9 | $lang["pdf_exportpdfconfig"]="PDF Export Configuration"; |
10 | 10 | $lang["pdf_exportpdfintrotext"]="Select the page size for your PDF.<br /><br />Configure other options <a href='/plugins/pdf_export/pages/setup.php'>here</a>."; |
11 | 11 | $lang["pdf_export_chooseconfig"]="Select a config to use: "; |
12 | | -if (file_exists($_SERVER["DOCUMENT_ROOT"].'/lib/tcpdf/composer.json')) { |
13 | | -$versionstrfile = file_get_contents($_SERVER["DOCUMENT_ROOT"].'/lib/tcpdf/composer.json'); |
14 | | -$jsonarray = json_decode($versionstrfile, true); |
15 | | -$versionstring = $jsonarray['version']; |
16 | | -} else { |
17 | | -$versionstring = 99999999; |
18 | | -} |
19 | | -if (version_compare($versionstring, '6.1.0', '>=')) { |
20 | 12 | $lang["pdf_export_logo_url"]="PDF header image (URL)<br />Supports jpg, png, and svg<br /><br />"; |
21 | | -} else { |
22 | | -$lang["pdf_export_logo_url"]="PDF header image (URL)<br />Supports jpg and png<br /><br />"; |
23 | | -} |
24 | 13 | $lang["pdf_export_logo_deets"]="Header image: Left, Top, Width and Height in inches (numeric and comma separated, use 0 for auto calc of width/height)<br /><br />"; |
25 | | - |
26 | | - |
27 | 14 | $lang["pdf_export_fields_include"]="Fields to include in the export, in order<br /><br />"; |
28 | 15 | $lang["pdf_export_fields_include_hidden"]="This field just shows the IDs (see <a href='/pages/admin/admin_resource_type_fields.php'>here</a>) from fields you chose above. You can type or rearrange them by hand here to change the order above.<br /><br />"; |
29 | 16 | $lang["pdf_export_ttf_header_font_path"]="Header font conversion from ttf (filepath)<br />(relative to webroot)<br /><br />"; |
30 | 17 | $lang["pdf_export_ttf_list_font_path"]="List font conversion from ttf (filepath)<br />(relative to webroot)<br /><br />"; |
31 | 18 | $lang["pdf_export_imagesizeid"]="Image size to use<br />(use ref ID of <a href='/pages/admin/admin_size_management.php'>preview size</a>)<br /><br />"; |
32 | 19 | $lang["pdf_export_imgheight"]="Image height on page (inches)<br />(if image width is wider than page it will be scaled down and this value will be ignored)<br /><br />"; |
33 | 20 | $lang['pdf_export_whereabouts_integration']="whereabouts plugin integration?<br/>(includes current whereabouts in list, use 'w' as include field ID in list above)<br /><br />"; |
34 | | - |
35 | 21 | $lang["pdf_export_configuration"]="PDF Export Options"; |
36 | 22 | $lang["extensions_to_exclude"]="Extensions to exclude<br />(comma separated):"; |
37 | 23 | $lang["resource_types_to_exclude"]="Resource Types to exclude<br />(tick to exclude):"; |
|
0 commit comments