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
41fbbb0018
commit
253218aa76
|
@ -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>
|
||||
|
||||
* include/functions_api.php: New functions in Api
|
||||
|
|
|
@ -29,10 +29,6 @@ if (! check_acl ($config["id_user"], 0, "AW")) {
|
|||
require ("general/noaccess.php");
|
||||
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
|
||||
ui_print_page_header (__('Manage Netflow Filter'), "images/networkmap/so_cisco_new.png", false, "", true, $buttons);
|
||||
|
@ -157,7 +153,13 @@ if(isset($data)) {
|
|||
else {
|
||||
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">
|
||||
|
|
|
@ -135,7 +135,7 @@ if ($create){
|
|||
}
|
||||
if ($result === false)
|
||||
echo '<h3 class="error">'.__ ('Error creating filter').'</h3>';
|
||||
else
|
||||
else
|
||||
echo '<h3 class="suc">'.__ ('filter created successfully').'</h3>';
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue