mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 17:25:26 +02:00
2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager_editor_common.php: fix the type for when ajax load by form editor in modules policies. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@2477 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
b5e9ea4ca4
commit
a5bde1a7b2
@ -1,3 +1,8 @@
|
|||||||
|
2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
|
* godmode/agentes/module_manager_editor_common.php: fix the type for when
|
||||||
|
ajax load by form editor in modules policies.
|
||||||
|
|
||||||
2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
|
2010-03-05 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
|
|
||||||
* include/functions_gis.php: clean source code delete obsolete unused
|
* include/functions_gis.php: clean source code delete obsolete unused
|
||||||
|
@ -129,13 +129,20 @@ if ($id_agent_module) {
|
|||||||
$table_simple->data[1][1] = '<em>'.get_moduletype_description ($id_module_type).'</em>';
|
$table_simple->data[1][1] = '<em>'.get_moduletype_description ($id_module_type).'</em>';
|
||||||
}
|
}
|
||||||
else {
|
else {
|
||||||
|
if (isset($id_module_type)) {
|
||||||
|
$idModuleType = $id_module_type;
|
||||||
|
}
|
||||||
|
else {
|
||||||
|
$idModuleType = '';
|
||||||
|
}
|
||||||
|
|
||||||
$sql = sprintf ('SELECT id_tipo, descripcion
|
$sql = sprintf ('SELECT id_tipo, descripcion
|
||||||
FROM ttipo_modulo
|
FROM ttipo_modulo
|
||||||
WHERE categoria IN (%s)
|
WHERE categoria IN (%s)
|
||||||
ORDER BY descripcion',
|
ORDER BY descripcion',
|
||||||
implode (',', $categories));
|
implode (',', $categories));
|
||||||
$table_simple->data[1][1] = print_select_from_sql ($sql, 'id_module_type',
|
$table_simple->data[1][1] = print_select_from_sql ($sql, 'id_module_type',
|
||||||
'', '', '', '', true, false, false, $disabledBecauseInPolicy);
|
$idModuleType, '', '', '', true, false, false, $disabledBecauseInPolicy);
|
||||||
}
|
}
|
||||||
|
|
||||||
$table_simple->data[1][2] = __('Module group');
|
$table_simple->data[1][2] = __('Module group');
|
||||||
|
Loading…
x
Reference in New Issue
Block a user