Several adaptations
This commit is contained in:
parent
20a41a1b2d
commit
83de025bc9
|
@ -280,7 +280,15 @@ function mainModuleGroups()
|
|||
html_print_input_text('module_group_search', $module_group_search);
|
||||
|
||||
echo '</td><td>';
|
||||
echo "<input name='srcbutton' type='submit' class='sub search' value='".__('Search')."'>";
|
||||
html_print_submit_button(
|
||||
__('Search'),
|
||||
'srcbutton',
|
||||
false,
|
||||
[
|
||||
'icon' => 'search',
|
||||
'secondary' => true,
|
||||
]
|
||||
);
|
||||
echo '</form>';
|
||||
echo '<td>';
|
||||
echo '</tr></table>';
|
||||
|
|
|
@ -369,7 +369,15 @@ echo ui_print_help_tip(
|
|||
);
|
||||
|
||||
echo '</td><td>';
|
||||
echo "<input name='srcbutton' type='submit' class='sub search' value='".__('Search')."'>";
|
||||
html_print_submit_button(
|
||||
__('Search'),
|
||||
'srcbutton',
|
||||
false,
|
||||
[
|
||||
'icon' => 'search',
|
||||
'secondary' => true,
|
||||
]
|
||||
);
|
||||
echo '</form>';
|
||||
echo '<td>';
|
||||
echo '</tr></table>';
|
||||
|
@ -945,7 +953,7 @@ if ($agents !== false) {
|
|||
ui_print_info_message(['no_close' => true, 'message' => __('There are no defined agents') ]);
|
||||
}
|
||||
|
||||
if (check_acl($config['id_user'], 0, 'AW')) {
|
||||
if ((bool) check_acl($config['id_user'], 0, 'AW') === true) {
|
||||
// Create agent button.
|
||||
echo '<div class="action-buttons">';
|
||||
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente">';
|
||||
|
@ -953,7 +961,10 @@ if (check_acl($config['id_user'], 0, 'AW')) {
|
|||
__('Create agent'),
|
||||
'crt-2',
|
||||
false,
|
||||
'class="sub next"'
|
||||
[
|
||||
'icon' => 'search',
|
||||
'secondary' => true,
|
||||
]
|
||||
);
|
||||
echo '</form>';
|
||||
echo '</div>';
|
||||
|
|
|
@ -226,7 +226,15 @@ if (($policy_page) || (isset($agent))) {
|
|||
html_print_input_hidden('edit_module', 1);
|
||||
echo '</td>';
|
||||
echo '<td class="datos w10p">';
|
||||
echo '<input align="right" name="updbutton" type="submit" class="sub next" value="'.__('Create').'">';
|
||||
html_print_submit_button(
|
||||
__('Create'),
|
||||
'updbutton',
|
||||
false,
|
||||
[
|
||||
'icon' => 'next',
|
||||
'secondary' => true,
|
||||
]
|
||||
);
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
echo '</form>';
|
||||
|
|
|
@ -290,8 +290,11 @@ echo '</td><td class="nowrap">';
|
|||
html_print_submit_button(
|
||||
__('Search'),
|
||||
'srcbutton',
|
||||
'',
|
||||
['class' => 'sub search']
|
||||
false,
|
||||
[
|
||||
'icon' => 'search',
|
||||
'secondary' => true,
|
||||
]
|
||||
);
|
||||
|
||||
echo '</td>';
|
||||
|
|
Loading…
Reference in New Issue