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
16b5a1277f
commit
82f36884fb
|
@ -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>
|
||||
|
||||
* 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>';
|
||||
}
|
||||
else {
|
||||
if (isset($id_module_type)) {
|
||||
$idModuleType = $id_module_type;
|
||||
}
|
||||
else {
|
||||
$idModuleType = '';
|
||||
}
|
||||
|
||||
$sql = sprintf ('SELECT id_tipo, descripcion
|
||||
FROM ttipo_modulo
|
||||
WHERE categoria IN (%s)
|
||||
ORDER BY descripcion',
|
||||
implode (',', $categories));
|
||||
$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');
|
||||
|
|
Loading…
Reference in New Issue