mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
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);
|
html_print_input_text('module_group_search', $module_group_search);
|
||||||
|
|
||||||
echo '</td><td>';
|
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 '</form>';
|
||||||
echo '<td>';
|
echo '<td>';
|
||||||
echo '</tr></table>';
|
echo '</tr></table>';
|
||||||
|
@ -369,7 +369,15 @@ echo ui_print_help_tip(
|
|||||||
);
|
);
|
||||||
|
|
||||||
echo '</td><td>';
|
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 '</form>';
|
||||||
echo '<td>';
|
echo '<td>';
|
||||||
echo '</tr></table>';
|
echo '</tr></table>';
|
||||||
@ -945,7 +953,7 @@ if ($agents !== false) {
|
|||||||
ui_print_info_message(['no_close' => true, 'message' => __('There are no defined agents') ]);
|
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.
|
// Create agent button.
|
||||||
echo '<div class="action-buttons">';
|
echo '<div class="action-buttons">';
|
||||||
echo '<form method="post" action="index.php?sec=gagente&sec2=godmode/agentes/configurar_agente">';
|
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'),
|
__('Create agent'),
|
||||||
'crt-2',
|
'crt-2',
|
||||||
false,
|
false,
|
||||||
'class="sub next"'
|
[
|
||||||
|
'icon' => 'search',
|
||||||
|
'secondary' => true,
|
||||||
|
]
|
||||||
);
|
);
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
echo '</div>';
|
echo '</div>';
|
||||||
|
@ -226,7 +226,15 @@ if (($policy_page) || (isset($agent))) {
|
|||||||
html_print_input_hidden('edit_module', 1);
|
html_print_input_hidden('edit_module', 1);
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
echo '<td class="datos w10p">';
|
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 '</td>';
|
||||||
echo '</tr>';
|
echo '</tr>';
|
||||||
echo '</form>';
|
echo '</form>';
|
||||||
|
@ -290,8 +290,11 @@ echo '</td><td class="nowrap">';
|
|||||||
html_print_submit_button(
|
html_print_submit_button(
|
||||||
__('Search'),
|
__('Search'),
|
||||||
'srcbutton',
|
'srcbutton',
|
||||||
'',
|
false,
|
||||||
['class' => 'sub search']
|
[
|
||||||
|
'icon' => 'search',
|
||||||
|
'secondary' => true,
|
||||||
|
]
|
||||||
);
|
);
|
||||||
|
|
||||||
echo '</td>';
|
echo '</td>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user