Merge #16852 - Add target and rel to phpMyAdmin configuration storage link

Pull-request: #16852
Signed-off-by: William Desportes <williamdes@wdes.fr>
This commit is contained in:
William Desportes 2021-04-29 15:49:32 +02:00
commit d72e9ab36d
No known key found for this signature in database
GPG Key ID: 90A0EF1B8251A889
3 changed files with 3 additions and 5 deletions

View File

@ -108,9 +108,7 @@ var designerConfig = {{ designer_config|raw }};
{% trans 'Reload' %}
</span>
</a>
<a href="{{ get_docu_link('faq', 'faq6-31') }}"
target="documentation"
class="M_butt">
<a href="{{ get_docu_link('faq', 'faq6-31') }}" target="_blank" rel="noopener noreferrer" class="M_butt">
<img title="{% trans 'Help' %}"
src="{{ theme.getImgPath('designer/help.png') }}">
<span class="hide hidable">

View File

@ -32,7 +32,7 @@
</a>
{% endif %}
<a href="{{ get_docu_link('index') }}" title="{% trans 'phpMyAdmin documentation' %}" target="_blank" rel="noopener">
<a href="{{ get_docu_link('index') }}" title="{% trans 'phpMyAdmin documentation' %}" target="_blank" rel="noopener noreferrer">
{{- get_image('b_docs', 'phpMyAdmin documentation'|trans) -}}
</a>

View File

@ -56,7 +56,7 @@
{% endif %}
{% if not has_config_storage %}
{% apply format('<a href="' ~ get_docu_link('setup', 'linked-tables') ~ '">', '</a>')|notice %}
{% apply format('<a href="' ~ get_docu_link('setup', 'linked-tables') ~ '" target="_blank" rel="noopener noreferrer">', '</a>')|notice %}
{% trans 'Your preferences will be saved for current session only. Storing them permanently requires %sphpMyAdmin configuration storage%s.' %}
{% endapply %}
{% endif %}