Skip to content

Commit

Permalink
bug #3938 PDFDefaultPageSize doc and easy configurability
Browse files Browse the repository at this point in the history
Signed-off-by: Marc Delisle <marc@infomarc.info>
  • Loading branch information
lem9 committed Dec 23, 2013
1 parent 5ebd1b8 commit a8b2e4c
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions ChangeLog
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ phpMyAdmin - ChangeLog
======================

4.1.3.0 (not yet released)
- bug #3938 PDFDefaultPageSize doc and easy configurability

4.1.2.0 (2013-12-23)
- bug #4178 Quick edit for BIT type does not work
Expand Down
7 changes: 7 additions & 0 deletions libraries/config.values.php
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,13 @@
'text' => __('Text'),
'both' => __('Both')
);
$cfg_db['PDFDefaultPageSize'] = array(
'A3' => 'A3',
'A4' => 'A4',
'A5' => 'A5',
'letter' => 'letter',
'legal' => 'legal'
);
$cfg_db['ActionLinksMode'] = array(
'icons' => __('Icons'),
'text' => __('Text'),
Expand Down
4 changes: 4 additions & 0 deletions libraries/config/messages.inc.php
Original file line number Diff line number Diff line change
Expand Up @@ -227,6 +227,10 @@
$strConfigForm_TableStructure_desc = __('Settings for the table structure (list of columns)');
$strConfigForm_Tabs = __('Tabs');
$strConfigForm_Tabs_desc = __('Choose how you want tabs to work');
$strConfigForm_DisplayRelationalSchema = __('Display relational schema');
$strConfigForm_DisplayRelationalSchema_desc = '';
$strConfigPDFDefaultPageSize_name = __('Paper size');
$strConfigPDFDefaultPageSize_desc = '';
$strConfigForm_Text_fields = __('Text fields');
$strConfigForm_Text_fields_desc = __('Customize text input fields');
$strConfigForm_Texy = __('Texy! text');
Expand Down
3 changes: 3 additions & 0 deletions libraries/config/user_preferences.forms.php
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@
'DefaultTabServer',
'DefaultTabDatabase',
'DefaultTabTable');
$forms['Main_panel']['DisplayRelationalSchema'] = array(
'PDFDefaultPageSize');

$forms['Import']['Import_defaults'] = array(
'Import/format',
'Import/charset',
Expand Down

0 comments on commit a8b2e4c

Please sign in to comment.