User can select paper size for pdf (RFE #631551).
This commit is contained in:
@@ -14,6 +14,9 @@ $Source$
|
||||
(RFE #742123).
|
||||
* pdf_pages.php3: Fixed undefined index warnings, don't attemt to
|
||||
edit/display deleted page just after deleting.
|
||||
* libraries/config_import.lib.php3, lang/*, config.inc.php3,
|
||||
db_details_structure.php3, pdf_pages.php3, pdf_schema.php3: User can
|
||||
select paper size for pdf (RFE #631551).
|
||||
|
||||
2003-06-05 Marc Delisle <lem9@users.sourceforge.net>
|
||||
* Documentation.html: new faq 6.20 about CREATE TEMPORARY TABLES
|
||||
|
@@ -290,6 +290,13 @@ $cfg['MySQLManualBase'] = 'http://www.mysql.com/doc/en';
|
||||
$cfg['MySQLManualType'] = 'searchable';
|
||||
|
||||
|
||||
/**
|
||||
* PDF options
|
||||
*/
|
||||
$cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
|
||||
$cfg['PDFDefaultPageSize'] = 'A4';
|
||||
|
||||
|
||||
/**
|
||||
* Language and charset conversion settings
|
||||
*/
|
||||
|
@@ -620,7 +620,19 @@ if ($cfgRelation['pdfwork'] && $num_tables > 0) {
|
||||
<select name="orientation">
|
||||
<option value="L"><?php echo $strLandscape;?></option>
|
||||
<option value="P"><?php echo $strPortrait;?></option>
|
||||
</select>
|
||||
</select><br />
|
||||
<?php echo $strPaperSize; ?>
|
||||
<select name="paper">
|
||||
<?php
|
||||
while (list($key,$val) = each($cfg['PDFPageSizes'])) {
|
||||
echo '<option value="' . $val . '"';
|
||||
if ($val == $cfg['PDFDefaultPageSize']) {
|
||||
echo ' selected="selected"';
|
||||
}
|
||||
echo ' >' . $val . '</option>' . "\n";
|
||||
}
|
||||
?>
|
||||
</select><br />
|
||||
<input type="submit" value="<?php echo $strGo; ?>" />
|
||||
</form>
|
||||
</li>
|
||||
|
@@ -656,4 +656,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -657,4 +657,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -671,4 +671,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -671,4 +671,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -646,4 +646,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -646,4 +646,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -670,4 +670,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -649,4 +649,5 @@ $strZip = '"zazipov
|
||||
// To translate
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strZip = '"zazipováno"';
|
||||
// To translate
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -649,4 +649,5 @@ $strZip = '"zazipov
|
||||
// To translate
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -664,4 +664,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -659,4 +659,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -660,4 +660,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -642,4 +642,5 @@ $strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the l
|
||||
$strZip = '"zipped"';
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -643,4 +643,5 @@ $strZeroRemovesTheLimit = 'Note: Setting these options to 0 (zero) removes the l
|
||||
$strZip = '"zipped"';
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -667,4 +667,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -668,4 +668,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -669,4 +669,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -680,4 +680,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -655,4 +655,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -655,4 +655,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -664,4 +664,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -647,4 +647,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -647,4 +647,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -648,4 +648,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -652,4 +652,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -651,4 +651,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -672,4 +672,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -671,4 +671,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strZip = '"zo zipovan
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -646,4 +646,5 @@ $strZip = '"zo zipované"';
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strZip = '"zo zipovan
|
||||
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -650,4 +650,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -649,4 +649,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -647,4 +647,5 @@ $strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
|
||||
$strUpdComTab = 'Please see Documentation on how to update your Column_comments Table'; //to translate
|
||||
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -648,4 +648,5 @@ $strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
|
||||
$strUpdComTab = 'Please see Documentation on how to update your Column_comments Table'; //to translate
|
||||
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -643,4 +643,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -654,4 +654,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -655,4 +655,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -665,4 +665,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -666,4 +666,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -645,4 +645,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -644,4 +644,5 @@ $strExecuteBookmarked = 'Execute bookmarked query'; //to translate
|
||||
$strExcelOptions = 'Excel options'; //to translate
|
||||
$strReplaceNULLBy = 'Replace NULL by'; //to translate
|
||||
$strQueryWindowLock = 'Do not overwrite this query from outside the window'; //to translate
|
||||
$strPaperSize = 'Paper size'; //to translate
|
||||
?>
|
||||
|
@@ -1070,6 +1070,12 @@ if (!defined('PMA_CONFIG_IMPORT_LIB_INCLUDED')) {
|
||||
if (!isset($cfg['GD2Available'])) {
|
||||
$cfg['GD2Available'] = 'auto';
|
||||
}
|
||||
if (!isset($cfg['PDFPageSizes'])) {
|
||||
$cfg['PDFPageSizes'] = array('A3', 'A4', 'A5', 'letter', 'legal');
|
||||
}
|
||||
if (!isset($cfg['PDFDefaultPageSize'])) {
|
||||
$cfg['PDFDefaultPageSize'] = 'A4';
|
||||
}
|
||||
if (!isset($cfg['CtrlArrowsMoving'])) {
|
||||
$cfg['CtrlArrowsMoving'] = TRUE;
|
||||
}
|
||||
|
@@ -429,7 +429,19 @@ if ($cfgRelation['pdfwork']) {
|
||||
<select name="orientation">
|
||||
<option value="L"><?php echo $strLandscape;?></option>
|
||||
<option value="P"><?php echo $strPortrait;?></option>
|
||||
</select>
|
||||
</select><br />
|
||||
<?php echo $strPaperSize; ?>
|
||||
<select name="paper">
|
||||
<?php
|
||||
while (list($key,$val) = each($cfg['PDFPageSizes'])) {
|
||||
echo '<option value="' . $val . '"';
|
||||
if ($val == $cfg['PDFDefaultPageSize']) {
|
||||
echo ' selected="selected"';
|
||||
}
|
||||
echo ' >' . $val . '</option>' . "\n";
|
||||
}
|
||||
?>
|
||||
</select><br />
|
||||
<input type="submit" value="<?php echo $strGo; ?>" />
|
||||
</form>
|
||||
<?php
|
||||
|
@@ -1097,7 +1097,7 @@ class PMA_RT
|
||||
*
|
||||
* @see PMA_PDF
|
||||
*/
|
||||
function PMA_RT( $which_rel, $show_info = 0, $change_color = 0 , $show_grid = 0, $all_tab_same_wide = 0, $orientation = 'L')
|
||||
function PMA_RT( $which_rel, $show_info = 0, $change_color = 0 , $show_grid = 0, $all_tab_same_wide = 0, $orientation = 'L', $paper = 'A4')
|
||||
{
|
||||
global $pdf, $db, $cfgRelation, $with_doc;
|
||||
|
||||
@@ -1106,7 +1106,7 @@ class PMA_RT
|
||||
$this->same_wide = $all_tab_same_wide;
|
||||
|
||||
// Initializes a new document
|
||||
$pdf = new PMA_PDF('L');
|
||||
$pdf = new PMA_PDF('L', 'mm', $paper);
|
||||
$pdf->title = sprintf($GLOBALS['strPdfDbSchema'], $GLOBALS['db'], $which_rel);
|
||||
$pdf->cMargin = 0;
|
||||
$pdf->Open();
|
||||
@@ -1527,7 +1527,8 @@ $show_table_dimension = (isset($show_table_dimension) && $show_table_dimension =
|
||||
$all_tab_same_wide = (isset($all_tab_same_wide) && $all_tab_same_wide == 'on') ? 1 : 0;
|
||||
$with_doc = (isset($with_doc) && $with_doc == 'on') ? 1 : 0;
|
||||
$orientation = (isset($orientation) && $orientation == 'P') ? 'P' : 'L';
|
||||
$paper = isset($paper) ? $paper : 'A4';
|
||||
PMA_mysql_select_db($db);
|
||||
|
||||
$rt = new PMA_RT($pdf_page_number, $show_table_dimension, $show_color, $show_grid, $all_tab_same_wide, $orientation);
|
||||
$rt = new PMA_RT($pdf_page_number, $show_table_dimension, $show_color, $show_grid, $all_tab_same_wide, $orientation, $paper);
|
||||
?>
|
||||
|
Reference in New Issue
Block a user