mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
2012-01-16 Vanessa Gil <vanessa.gil@artica.es>
* godmode/netflow/nf_edit.php godmode/netflow/nf_edit_form.php: Changed add button. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5371 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
62e79b4d1d
commit
0fd88fd3c6
@ -1,3 +1,8 @@
|
|||||||
|
2012-01-16 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
|
* godmode/netflow/nf_edit.php
|
||||||
|
godmode/netflow/nf_edit_form.php: Changed add button.
|
||||||
|
|
||||||
2012-01-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
2012-01-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
|
||||||
|
|
||||||
* include/functions_api.php: New functions in Api
|
* include/functions_api.php: New functions in Api
|
||||||
|
@ -29,10 +29,6 @@ if (! check_acl ($config["id_user"], 0, "AW")) {
|
|||||||
require ("general/noaccess.php");
|
require ("general/noaccess.php");
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
$buttons['add'] = '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_edit_form">'
|
|
||||||
. html_print_image ("images/add.png", true, array ("title" => __('Add filter')))
|
|
||||||
. '</a>';
|
|
||||||
|
|
||||||
//Header
|
//Header
|
||||||
ui_print_page_header (__('Manage Netflow Filter'), "images/networkmap/so_cisco_new.png", false, "", true, $buttons);
|
ui_print_page_header (__('Manage Netflow Filter'), "images/networkmap/so_cisco_new.png", false, "", true, $buttons);
|
||||||
@ -157,7 +153,13 @@ if(isset($data)) {
|
|||||||
else {
|
else {
|
||||||
echo "<div class='nf'>".__('There are no defined filters')."</div>";
|
echo "<div class='nf'>".__('There are no defined filters')."</div>";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
echo '<form method="post" action="index.php?sec=netf&sec2=godmode/netflow/nf_edit_form">';
|
||||||
|
echo "<div style='padding-bottom: 20px; text-align: right; width:" . $table->width . "'>";
|
||||||
|
html_print_submit_button (__('Create filter'), 'crt', false, 'class="sub wand"');
|
||||||
|
echo "</div>";
|
||||||
|
echo "</form>";
|
||||||
|
|
||||||
?>
|
?>
|
||||||
|
|
||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
|
@ -135,7 +135,7 @@ if ($create){
|
|||||||
}
|
}
|
||||||
if ($result === false)
|
if ($result === false)
|
||||||
echo '<h3 class="error">'.__ ('Error creating filter').'</h3>';
|
echo '<h3 class="error">'.__ ('Error creating filter').'</h3>';
|
||||||
else
|
else
|
||||||
echo '<h3 class="suc">'.__ ('filter created successfully').'</h3>';
|
echo '<h3 class="suc">'.__ ('filter created successfully').'</h3>';
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user