mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 09:15:15 +02:00
Added new search input for the module name
This commit is contained in:
parent
28b879f058
commit
14caf7bc07
@ -158,8 +158,7 @@ else if ($modulegroup > -1) {
|
|||||||
|
|
||||||
// Module name selector
|
// Module name selector
|
||||||
if ($ag_modulename != '') {
|
if ($ag_modulename != '') {
|
||||||
$sql_conditions .= sprintf (' AND tagente_modulo.nombre = \'%s\'',
|
$sql_conditions .= " AND tagente_modulo.nombre LIKE '%" .$ag_modulename. "%'";
|
||||||
$ag_modulename);
|
|
||||||
}
|
}
|
||||||
|
|
||||||
if ($module_option !== 0) {
|
if ($module_option !== 0) {
|
||||||
@ -344,21 +343,15 @@ $table->data[0][5] = html_print_select($rows_select, 'modulegroup', $modulegroup
|
|||||||
$table->rowspan[0][6] = 2;
|
$table->rowspan[0][6] = 2;
|
||||||
$table->data[0][6] = html_print_submit_button (__('Show'), 'uptbutton',
|
$table->data[0][6] = html_print_submit_button (__('Show'), 'uptbutton',
|
||||||
false, 'class="sub search" style="margin-top:0px;"',true);
|
false, 'class="sub search" style="margin-top:0px;"',true);
|
||||||
$modules = array();
|
|
||||||
// TODO change for input text
|
|
||||||
$table->data[1][0] = __('Module name');
|
$table->data[1][0] = __('Module name');
|
||||||
$table->data[1][1] = html_print_select (index_array ($modules, 'nombre', 'nombre'), 'ag_modulename',
|
$table->data[1][1] = html_print_input_text ('ag_modulename', $ag_modulename, '', 35, 50, true);
|
||||||
$ag_modulename, '', __('All'), '', true, false, true, '', false, 'width: 150px;');
|
|
||||||
|
|
||||||
$table->data[1][2] = __('Search');
|
$table->data[1][2] = __('Search');
|
||||||
$table->data[1][3] = html_print_input_text ('ag_freestring', $ag_freestring, '', 20, 30, true);
|
$table->data[1][3] = html_print_input_text ('ag_freestring', $ag_freestring, '', 20, 30, true);
|
||||||
|
|
||||||
if (!is_metaconsole())
|
$table->data[1][4] = __('Tags') .
|
||||||
$table->data[1][4] = __('Tags') .
|
ui_print_help_tip(__('Only it is show tags in use.'), true);
|
||||||
ui_print_help_tip(__('Only it is show tags in use.'), true);
|
|
||||||
else
|
|
||||||
$table->data[1][4] = __('Tags') .
|
|
||||||
ui_print_help_tip(__('Only it is show tags in use.'), true);
|
|
||||||
|
|
||||||
$tags = array();
|
$tags = array();
|
||||||
$tags = tags_get_user_tags();
|
$tags = tags_get_user_tags();
|
||||||
|
Loading…
x
Reference in New Issue
Block a user