Merge branch 'ent-12622-token-enable-feedback-desactivado-no-hace-que-desaparezca-del-menu-de-ayuda' into 'develop'

Ent 12622 token enable feedback desactivado no hace que desaparezca del menu de ayuda

See merge request artica/pandorafms!6768
This commit is contained in:
Matias Didier 2024-01-18 08:41:58 +00:00
commit a2efb36f36
1 changed files with 17 additions and 15 deletions

View File

@ -397,21 +397,23 @@ echo sprintf('<div id="header_table" class="header_table_%s">', $menuTypeClass);
$modal_box .= '<a href="https://discord.com/invite/xVt2ruSxmr" target="_blank">'.__('Join discord community').'</a>';
$modal_box .= '</div>';
$modal_help = html_print_div(
[
'id' => 'modal-help-content',
'content' => html_print_image(
'images/help@header.svg',
true,
[
'title' => __('Help'),
'class' => 'main_menu_icon bot invert_filter',
'alt' => 'user',
]
).$modal_box,
],
true,
);
if ($config['activate_feedback'] === '1') {
$modal_help = html_print_div(
[
'id' => 'modal-help-content',
'content' => html_print_image(
'images/help@header.svg',
true,
[
'title' => __('Help'),
'class' => 'main_menu_icon bot invert_filter',
'alt' => 'user',
]
).$modal_box,
],
true,
);
}
// User.