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

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 .= '<a href="https://discord.com/invite/xVt2ruSxmr" target="_blank">'.__('Join discord community').'</a>';
$modal_box .= '</div>'; $modal_box .= '</div>';
$modal_help = html_print_div( if ($config['activate_feedback'] === '1') {
[ $modal_help = html_print_div(
'id' => 'modal-help-content', [
'content' => html_print_image( 'id' => 'modal-help-content',
'images/help@header.svg', 'content' => html_print_image(
true, 'images/help@header.svg',
[ true,
'title' => __('Help'), [
'class' => 'main_menu_icon bot invert_filter', 'title' => __('Help'),
'alt' => 'user', 'class' => 'main_menu_icon bot invert_filter',
] 'alt' => 'user',
).$modal_box, ]
], ).$modal_box,
true, ],
); true,
);
}
// User. // User.