Skip to content

Commit 6a10449

Browse files
committed
Merge branch 'QA_5_1'
Signed-off-by: Maurício Meneghini Fauth <[email protected]>
2 parents f6a9cf1 + 54fc311 commit 6a10449

File tree

3 files changed

+9
-7
lines changed

3 files changed

+9
-7
lines changed

ChangeLog

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@ phpMyAdmin - ChangeLog
3838
- issue #16744 Fixed "Uncaught TypeError: XMLWriter::writeAttribute()" on Designer SVG export
3939
- issue Fixed an PHP undefined index notice on export
4040
- issue #14555 Fixed JavaScript error when auto completion is open (upgraded CodeMirror to 5.60.0)
41+
- issue #16647 Fixed preferences form not showing texts and not respecting TabsMode config
42+
- issue Fixed escape_mysql_wildcards Twig filter
4143

4244
5.1.0 (2021-02-24)
4345
- issue #15350 Change Media (MIME) type references to Media type

libraries/classes/Twig/UtilExtension.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -163,7 +163,7 @@ public function getFilters()
163163
),
164164
new TwigFilter(
165165
'escape_mysql_wildcards',
166-
'PhpMyAdmin\Util::convertBitDefaultValue'
166+
'PhpMyAdmin\Util::escapeMysqlWildcards'
167167
),
168168
];
169169
}

templates/preferences/header.twig

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -15,37 +15,37 @@
1515

1616
<li class="nav-item">
1717
<a href="{{ url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E/preferences/features%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E%3C/span%3E) }}" class="nav-link{{ route == '/preferences/features' ? ' active' }}">
18-
{{ get_icon('b_tblops', 'Features'|trans) }}
18+
{{ get_icon('b_tblops', 'Features'|trans, false, false, 'TabsMode') }}
1919
</a>
2020
</li>
2121

2222
<li class="nav-item">
2323
<a href="{{ url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E/preferences/sql%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E%3C/span%3E) }}" class="nav-link{{ route == '/preferences/sql' ? ' active' }}">
24-
{{ get_icon('b_sql', 'SQL queries'|trans) }}
24+
{{ get_icon('b_sql', 'SQL queries'|trans, false, false, 'TabsMode') }}
2525
</a>
2626
</li>
2727

2828
<li class="nav-item">
2929
<a href="{{ url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E/preferences/navigation%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E%3C/span%3E) }}" class="nav-link{{ route == '/preferences/navigation' ? ' active' }}">
30-
{{ get_icon('b_select', 'Navigation panel'|trans) }}
30+
{{ get_icon('b_select', 'Navigation panel'|trans, false, false, 'TabsMode') }}
3131
</a>
3232
</li>
3333

3434
<li class="nav-item">
3535
<a href="{{ url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E/preferences/main-panel%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E%3C/span%3E) }}" class="nav-link{{ route == '/preferences/main-panel' ? ' active' }}">
36-
{{ get_icon('b_props', 'Main panel'|trans) }}
36+
{{ get_icon('b_props', 'Main panel'|trans, false, false, 'TabsMode') }}
3737
</a>
3838
</li>
3939

4040
<li class="nav-item">
4141
<a href="{{ url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E/preferences/export%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E%3C/span%3E) }}" class="nav-link{{ route == '/preferences/export' ? ' active' }}">
42-
{{ get_icon('b_export', 'Export'|trans) }}
42+
{{ get_icon('b_export', 'Export'|trans, false, false, 'TabsMode') }}
4343
</a>
4444
</li>
4545

4646
<li class="nav-item">
4747
<a href="{{ url(http://github.com/%3Cspan%20class=%22pl-s%22%3E%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E/preferences/import%3Cspan%20class=%22pl-pds%22%3E'%3C/span%3E%3C/span%3E) }}" class="nav-link{{ route == '/preferences/import' ? ' active' }}">
48-
{{ get_icon('b_import', 'Import'|trans) }}
48+
{{ get_icon('b_import', 'Import'|trans, false, false, 'TabsMode') }}
4949
</a>
5050
</li>
5151
</ul>

0 commit comments

Comments
 (0)