Clarify directive name: ShowDisplayDir -> ShowDisplayDirection
This commit is contained in:
parent
0131d16548
commit
b2d8e0b60f
@ -2143,7 +2143,7 @@ setfacl -d -m "g:www-data:rwx" tmp
|
||||
identify what they mean.
|
||||
</dd>
|
||||
|
||||
<dt id="cfg_ShowDisplayDir">$cfg['ShowDisplayDir'] boolean</dt>
|
||||
<dt id="cfg_ShowDisplayDirection">$cfg['ShowDisplayDirection'] boolean</dt>
|
||||
<dd>
|
||||
Defines whether or not type display direction option is shown
|
||||
when browsing a table.
|
||||
|
||||
@ -2315,7 +2315,7 @@ $cfg['ShowPropertyComments']= true;
|
||||
/**
|
||||
* shows table display direction.
|
||||
*/
|
||||
$cfg['ShowDisplayDir'] = false;
|
||||
$cfg['ShowDisplayDirection'] = false;
|
||||
|
||||
/**
|
||||
* repeat header names every X cells? (0 = deactivate)
|
||||
|
||||
@ -3,9 +3,9 @@
|
||||
/**
|
||||
* Messages for phpMyAdmin.
|
||||
*
|
||||
* This file is here for easy transition to Gettext. You should not add any
|
||||
* new messages here, use instead gettext directly in your template/PHP
|
||||
* file.
|
||||
* This file defines variables in a special format suited for the
|
||||
* configuration subsystem, with $strConfig as a prefix, _desc or _name
|
||||
* as a suffix, and the directive name in between.
|
||||
*
|
||||
* @package phpMyAdmin
|
||||
*/
|
||||
@ -450,8 +450,8 @@ $strConfigShowAll_name = __('Allow to display all the rows');
|
||||
$strConfigShowChgPassword_desc = __('Please note that enabling this has no effect with [kbd]config[/kbd] authentication mode because the password is hard coded in the configuration file; this does not limit the ability to execute the same command directly');
|
||||
$strConfigShowChgPassword_name = __('Show password change form');
|
||||
$strConfigShowCreateDb_name = __('Show create database form');
|
||||
$strConfigShowDisplayDir_desc = __('Defines whether or not type display direction option is shown when browsing a table');
|
||||
$strConfigShowDisplayDir_name = __('Show display direction');
|
||||
$strConfigShowDisplayDirection_desc = __('Defines whether or not type display direction option is shown when browsing a table');
|
||||
$strConfigShowDisplayDirection_name = __('Show display direction');
|
||||
$strConfigShowFieldTypesInDataEditView_desc = __('Defines whether or not type fields should be initially displayed in edit/insert mode');
|
||||
$strConfigShowFieldTypesInDataEditView_name = __('Show field types');
|
||||
$strConfigShowFunctionFields_desc = __('Display the function fields in edit/insert mode');
|
||||
|
||||
@ -198,7 +198,7 @@ $forms['Main_frame']['Browse'] = array(
|
||||
'Order',
|
||||
'BrowsePointerEnable',
|
||||
'BrowseMarkerEnable',
|
||||
'ShowDisplayDir',
|
||||
'ShowDisplayDirection',
|
||||
'RepeatCells',
|
||||
'LimitChars',
|
||||
'RowActionLinks',
|
||||
|
||||
@ -108,7 +108,7 @@ $forms['Main_frame']['Browse'] = array(
|
||||
'DisplayBinaryAsHex',
|
||||
'BrowsePointerEnable',
|
||||
'BrowseMarkerEnable',
|
||||
'ShowDisplayDir',
|
||||
'ShowDisplayDirection',
|
||||
'RepeatCells',
|
||||
'LimitChars',
|
||||
'RowActionLinks',
|
||||
|
||||
@ -438,7 +438,7 @@ function PMA_displayTableNavigation($pos_next, $pos_prev, $sql_query, $id_for_di
|
||||
<?php echo __('Number of rows') . ': ' . "\n"; ?>
|
||||
<input type="text" name="session_max_rows" size="3" value="<?php echo (($_SESSION['tmp_user_values']['max_rows'] != 'all') ? $_SESSION['tmp_user_values']['max_rows'] : $GLOBALS['cfg']['MaxRows']); ?>" class="textfield" onfocus="this.select()" />
|
||||
<?php
|
||||
if ($GLOBALS['cfg']['ShowDisplayDir']) {
|
||||
if ($GLOBALS['cfg']['ShowDisplayDirection']) {
|
||||
// Display mode (horizontal/vertical and repeat headers)
|
||||
echo __('Mode') . ': ' . "\n";
|
||||
$choices = array(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user