mirror of https://github.com/MISP/MISP
chg: [servers:edit] Added indicative text for serverRuleElements
parent
bff20114d7
commit
960d46ec8a
|
@ -226,6 +226,9 @@
|
|||
'data' => [
|
||||
'title' => __('Set PULL rules'),
|
||||
'content' => [
|
||||
[
|
||||
'html' => sprintf('<h5 style="font-weight: normal;"><i>%s</i></h5>', __('Configure the rules to be applied when PULLing data to the server'))
|
||||
],
|
||||
[
|
||||
'html' => $this->element('serverRuleElements/pull', [
|
||||
'context' => 'feeds',
|
||||
|
|
|
@ -229,6 +229,9 @@
|
|||
'data' => [
|
||||
'title' => __('Set PULL rules'),
|
||||
'content' => [
|
||||
[
|
||||
'html' => sprintf('<h5 style="font-weight: normal;"><i>%s</i></h5>', __('Configure the rules to be applied when PULLing data from the server'))
|
||||
],
|
||||
[
|
||||
'html' => $this->element('serverRuleElements/pull', [
|
||||
'context' => 'feeds',
|
||||
|
|
|
@ -187,6 +187,9 @@
|
|||
'data' => [
|
||||
'title' => __('Set PUSH rules'),
|
||||
'content' => [
|
||||
[
|
||||
'html' => sprintf('<h5 style="font-weight: normal;"><i>%s</i></h5>', __('Configure the rules to be applied when PUSHing data to the server'))
|
||||
],
|
||||
[
|
||||
'html' => $this->element('serverRuleElements/push', [
|
||||
'allTags' => $allTags,
|
||||
|
@ -205,7 +208,8 @@
|
|||
];
|
||||
echo $this->element('genericElements/infoModal', $modalData);
|
||||
$modalData['data']['title'] = __('Set PULL rules');
|
||||
$modalData['data']['content'][0]['html'] = $this->element('serverRuleElements/pull', [
|
||||
$modalData['data']['content'][1]['html'] = sprintf('<h5 style="font-weight: normal;"><i>%s</i></h5>', __('Configure the rules to be applied when PULLing data from the server'));
|
||||
$modalData['data']['content'][1]['html'] = $this->element('serverRuleElements/pull', [
|
||||
'context' => 'servers',
|
||||
'ruleObject' => $pullRules
|
||||
]);
|
||||
|
|
Loading…
Reference in New Issue