mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-29 08:45:12 +02:00
Ticket 10460 Improve menu buttons
This commit is contained in:
parent
b0ee4a203a
commit
69f08cc027
@ -875,12 +875,40 @@ if (is_ajax()) {
|
|||||||
<p><span>'.__('Build').'</span> '.$build_version.'</p>
|
<p><span>'.__('Build').'</span> '.$build_version.'</p>
|
||||||
<p style="margin-bottom: 20px!important;"><span>'.__('Support expires').'</span> 2023/04/26</p>';
|
<p style="margin-bottom: 20px!important;"><span>'.__('Support expires').'</span> 2023/04/26</p>';
|
||||||
if ((bool) check_acl($config['id_user'], 0, 'PM') === true) {
|
if ((bool) check_acl($config['id_user'], 0, 'PM') === true) {
|
||||||
$dialog .= '
|
$dialogButtons = [];
|
||||||
<div style="display: inline;">
|
|
||||||
<button class="sub" onclick="location.href=\''.ui_get_full_url('/index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=history', false, false, false).'\'">'.__('Update manager').'</button>
|
$dialogButtons[] = html_print_button(
|
||||||
<button class="sub" onclick="location.href=\''.ui_get_full_url('/index.php?sec=gextensions&sec2=tools/diagnostics', false, false, false).'\'">'.__('System report').'</button>
|
__('Update manager'),
|
||||||
</div>
|
'update_manager',
|
||||||
';
|
false,
|
||||||
|
'location.href=\''.ui_get_full_url('/index.php?sec=gsetup&sec2=godmode/update_manager/update_manager&tab=history', false, false, false).'\'',
|
||||||
|
[
|
||||||
|
'icon' => 'cog',
|
||||||
|
'mode' => 'mini secondary',
|
||||||
|
],
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
$dialogButtons[] = html_print_button(
|
||||||
|
__('System report'),
|
||||||
|
'system_report',
|
||||||
|
false,
|
||||||
|
'location.href=\''.ui_get_full_url('/index.php?sec=gextensions&sec2=tools/diagnostics', false, false, false).'\'',
|
||||||
|
[
|
||||||
|
'icon' => 'info',
|
||||||
|
'mode' => 'mini secondary',
|
||||||
|
],
|
||||||
|
true
|
||||||
|
);
|
||||||
|
|
||||||
|
$dialog .= html_print_div(
|
||||||
|
[
|
||||||
|
'style' => 'flex-direction: row;',
|
||||||
|
'class' => 'action-buttons',
|
||||||
|
'content' => implode('', $dialogButtons),
|
||||||
|
],
|
||||||
|
true
|
||||||
|
);
|
||||||
}
|
}
|
||||||
|
|
||||||
$dialog .= '</th>
|
$dialog .= '</th>
|
||||||
|
@ -10347,6 +10347,10 @@ button div.cog {
|
|||||||
contain;
|
contain;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
button div.info {
|
||||||
|
mask: url(../../images/info@svg.svg) no-repeat center / contain;
|
||||||
|
-webkit-mask: url(../../images/info@svg.svg) no-repeat center / contain;
|
||||||
|
}
|
||||||
button div.signin {
|
button div.signin {
|
||||||
mask: url(../../images/signin.svg) no-repeat center / contain;
|
mask: url(../../images/signin.svg) no-repeat center / contain;
|
||||||
-webkit-mask: url(../../images/signin.svg) no-repeat center / contain;
|
-webkit-mask: url(../../images/signin.svg) no-repeat center / contain;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user