2013-01-28 Miguel de Dios <miguel.dedios@artica.es>
* godmode/agentes/module_manager.php: fixed the PHP notices in the policy module editor. Fixes: #3602272 git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@7531 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
32a70eea6b
commit
632ad8faae
|
@ -1,3 +1,10 @@
|
|||
2013-01-28 Miguel de Dios <miguel.dedios@artica.es>
|
||||
|
||||
* godmode/agentes/module_manager.php: fixed the PHP notices in the
|
||||
policy module editor.
|
||||
|
||||
Fixes: #3602272
|
||||
|
||||
2013-01-28 Junichi Satoh <junichi@rworks.jp>
|
||||
|
||||
* include/help/ja/help_events_replication.php,
|
||||
|
|
|
@ -82,22 +82,24 @@ if (strstr($sec2, "enterprise/godmode/policies/policies") !== false) {
|
|||
unset($modules['predictionserver']);
|
||||
}
|
||||
|
||||
if(check_acl ($config['id_user'], $agent['id_grupo'], "AW")) {
|
||||
// Create module/type combo
|
||||
echo '<form id="create_module_type" method="post" action="'.$url.'">';
|
||||
html_print_select ($modules, 'moduletype', '', '', '', '', false, false, false, '', false, 'max-width:300px;' );
|
||||
html_print_input_hidden ('edit_module', 1);
|
||||
echo '</td>';
|
||||
echo '<td class="datos">';
|
||||
echo '<input align="right" name="updbutton" type="submit" class="sub next" value="'.__('Create').'">';
|
||||
echo '</td>';
|
||||
echo '<td class="datos" style="text-align:center;">';
|
||||
echo "<strong>";
|
||||
echo "<a style='color: #004A1B;' target='_blank' href='http://pandorafms.com/Library/Library/'>".__("Get more modules in Pandora FMS Library")."</a>";
|
||||
echo "</strong>";
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
echo "</form>";
|
||||
if (isset($agent)) {
|
||||
if (check_acl ($config['id_user'], $agent['id_grupo'], "AW")) {
|
||||
// Create module/type combo
|
||||
echo '<form id="create_module_type" method="post" action="'.$url.'">';
|
||||
html_print_select ($modules, 'moduletype', '', '', '', '', false, false, false, '', false, 'max-width:300px;' );
|
||||
html_print_input_hidden ('edit_module', 1);
|
||||
echo '</td>';
|
||||
echo '<td class="datos">';
|
||||
echo '<input align="right" name="updbutton" type="submit" class="sub next" value="'.__('Create').'">';
|
||||
echo '</td>';
|
||||
echo '<td class="datos" style="text-align:center;">';
|
||||
echo "<strong>";
|
||||
echo "<a style='color: #004A1B;' target='_blank' href='http://pandorafms.com/Library/Library/'>".__("Get more modules in Pandora FMS Library")."</a>";
|
||||
echo "</strong>";
|
||||
echo '</td>';
|
||||
echo '</tr>';
|
||||
echo "</form>";
|
||||
}
|
||||
}
|
||||
|
||||
echo "</table>";
|
||||
|
|
Loading…
Reference in New Issue