patch #2538358 [display] Conditions for relational display field
This commit is contained in:
@@ -14,6 +14,8 @@ $HeadURL: https://phpmyadmin.svn.sourceforge.net/svnroot/phpmyadmin/trunk/phpMyA
|
||||
thanks to Giovanni Giacobbi - themnemonic
|
||||
- bug [display] Message "Bookmark created" is not displaying
|
||||
+ [display] Show AUTO_INCREMENT instead of A_I when in vertical mode
|
||||
- patch #2538358 [display] Conditions for relational display field,
|
||||
thanks to Virsacer - virsacer
|
||||
|
||||
3.1.2.0 (2009-01-19)
|
||||
- bug #1253252 [display] Can't NULL a column with relation defined
|
||||
|
@@ -554,7 +554,7 @@ function PMA_displayTableHeaders(&$is_display, &$fields_meta, $fields_cnt = 0, $
|
||||
PMA_generate_html_radio('display_text', $choices, $_SESSION['userconf']['display_text']);
|
||||
echo '</div>';
|
||||
|
||||
if ($GLOBALS['cfgRelation']['relwork']) {
|
||||
if ($GLOBALS['cfgRelation']['relwork'] && $GLOBALS['cfgRelation']['displaywork']) {
|
||||
echo '<div class="formelement">';
|
||||
$choices = array(
|
||||
'K' => $GLOBALS['strRelationalKey'],
|
||||
|
@@ -117,7 +117,7 @@ function PMA_printRelationsParamDiagnostic($cfgRelation)
|
||||
|
||||
PMA_printDiagMessageForFeature('strGeneralRelationFeat', 'relwork', $messages);
|
||||
|
||||
PMA_printDiagMessageForParameter('table_info', isset($cfgRelation['displaywork']), $messages, 'table_info');
|
||||
PMA_printDiagMessageForParameter('table_info', $cfgRelation['displaywork'], $messages, 'table_info');
|
||||
|
||||
PMA_printDiagMessageForFeature('strDisplayFeat', 'displaywork', $messages);
|
||||
|
||||
|
Reference in New Issue
Block a user