Merge remote-tracking branch 'origin/master'

This commit is contained in:
Weblate 2015-03-19 13:59:33 +01:00
commit 0491f4a4d0
3 changed files with 12 additions and 15 deletions

View File

@ -78,6 +78,7 @@ explanation
- bug #4807 Breaks when sorting by multiple columns while using UNION
- bug #4798 Missing column when exporting in sql
- bug #4810 Broken find and replace
- bug #4804 Undefined Index after export schema
4.3.12.0 (2015-03-14)
- bug #4746 Right-aligned columns have left-aligned header

View File

@ -176,20 +176,16 @@ class PMA_NavigationHeader
false,
'documentation'
);
if ($showIcon) {
$retval .= PMA_Util::showMySQLDocu('', true);
}
if ($showText) {
// PMA_showMySQLDocu always spits out an icon,
// we just replace it with some perl regexp.
$link = preg_replace(
'/<img[^>]+>/i',
__('Documentation'),
PMA_Util::showMySQLDocu('', true)
);
$retval .= $link;
$retval .= '<br />';
}
$retval .= PMA_Util::getNavigationLink(
PMA_Util::getMySQLDocuURL('', ''),
$showText,
__('Documentation'),
$showIcon,
'b_sqlhelp.png',
'',
false,
'mysql_doc'
);
$retval .= PMA_Util::getNavigationLink(
'#',
$showText,

View File

@ -584,7 +584,7 @@ class PMA_Pdf_Relation_Schema extends PMA_Export_Relation_Schema
$one_table,
$one_field,
$one_key['ref_table_name'],
$rel['foreign_field'][$index]
$one_key['ref_index_list'][$index]
);
}
}