mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-30 01:05:39 +02:00
#9997 Module agent on edit don't show template
This commit is contained in:
parent
c25ad3d4ea
commit
c89d80e7e7
@ -69,7 +69,7 @@ if (strstr($page, 'policy_modules') === false) {
|
|||||||
|
|
||||||
define('ID_NETWORK_COMPONENT_TYPE', 2);
|
define('ID_NETWORK_COMPONENT_TYPE', 2);
|
||||||
|
|
||||||
if (empty($update_module_id)) {
|
if (empty($edit_module)) {
|
||||||
// Function in module_manager_editor_common.php.
|
// Function in module_manager_editor_common.php.
|
||||||
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
||||||
}
|
}
|
||||||
|
@ -36,7 +36,7 @@ if (strstr($page, 'policy_modules') === false) {
|
|||||||
|
|
||||||
define('ID_NETWORK_COMPONENT_TYPE', 4);
|
define('ID_NETWORK_COMPONENT_TYPE', 4);
|
||||||
|
|
||||||
if (empty($update_module_id)) {
|
if (empty($edit_module)) {
|
||||||
// Function in module_manager_editor_common.php
|
// Function in module_manager_editor_common.php
|
||||||
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
||||||
} else {
|
} else {
|
||||||
|
@ -82,7 +82,7 @@ if ($plugin_pass == '' && !$id_agent_module) {
|
|||||||
$plugin_pass = 1;
|
$plugin_pass = 1;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (empty($update_module_id)) {
|
if (empty($edit_module)) {
|
||||||
// Function in module_manager_editor_common.php
|
// Function in module_manager_editor_common.php
|
||||||
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
||||||
} else {
|
} else {
|
||||||
|
@ -34,7 +34,7 @@ $extra_title = __('WMI server module');
|
|||||||
|
|
||||||
define('ID_NETWORK_COMPONENT_TYPE', 6);
|
define('ID_NETWORK_COMPONENT_TYPE', 6);
|
||||||
|
|
||||||
if (empty($update_module_id)) {
|
if (empty($edit_module)) {
|
||||||
// Function in module_manager_editor_common.php
|
// Function in module_manager_editor_common.php
|
||||||
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
add_component_selection(ID_NETWORK_COMPONENT_TYPE);
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user