mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-28 16:24:54 +02:00
2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
* godmode/netflow/nf_item_list.php: Changes sort rows in netflow items. git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5367 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
d3c662ab50
commit
0c39ae634e
@ -1,3 +1,8 @@
|
|||||||
|
2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
|
* godmode/netflow/nf_item_list.php: Changes sort
|
||||||
|
rows in netflow items.
|
||||||
|
|
||||||
2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
|
2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
|
||||||
|
|
||||||
* pandoradb.oracle.sql
|
* pandoradb.oracle.sql
|
||||||
|
@ -165,10 +165,12 @@ $last_item = $item_max['id_rc'];
|
|||||||
foreach ($reports_item as $item) {
|
foreach ($reports_item as $item) {
|
||||||
|
|
||||||
$data = array ();
|
$data = array ();
|
||||||
if ($item['id_rc'] == $first_item){
|
if (($item['id_rc'] == $first_item) && ($item['id_rc'] == $last_item)){
|
||||||
|
$data[0] = '<span style="display: block; float: left; width: 16px;"> </span>';
|
||||||
|
} else if (($item['id_rc'] == $first_item) && ($item['id_rc'] != $last_item)){
|
||||||
$data[0] = '<span style="display: block; float: left; width: 16px;"> </span>';
|
$data[0] = '<span style="display: block; float: left; width: 16px;"> </span>';
|
||||||
$data[0] .= '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_item_list&id='.$item['id_report'].'&order=1&dir=down&id_rc='.$item['id_rc'].'">' . html_print_image("images/down.png", true, array("title" => __('Move to down'))) . '</a>';
|
$data[0] .= '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_item_list&id='.$item['id_report'].'&order=1&dir=down&id_rc='.$item['id_rc'].'">' . html_print_image("images/down.png", true, array("title" => __('Move to down'))) . '</a>';
|
||||||
} else if ($item['id_rc'] == $last_item){
|
} else if (($item['id_rc'] == $last_item) && ($item['id_rc'] != $first_item)){
|
||||||
$data[0] = '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_item_list&id='.$item['id_report'].'&order=1&dir=up&id_rc='.$item['id_rc'].'">' . html_print_image("images/up.png", true, array("title" => __('Move to up'))) . '</a>';
|
$data[0] = '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_item_list&id='.$item['id_report'].'&order=1&dir=up&id_rc='.$item['id_rc'].'">' . html_print_image("images/up.png", true, array("title" => __('Move to up'))) . '</a>';
|
||||||
} else {
|
} else {
|
||||||
$data[0] = '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_item_list&id='.$item['id_report'].'&order=1&dir=up&id_rc='.$item['id_rc'].'">' . html_print_image("images/up.png", true, array("title" => __('Move to up'))) . '</a>';
|
$data[0] = '<a href="index.php?sec=netf&sec2=godmode/netflow/nf_item_list&id='.$item['id_report'].'&order=1&dir=up&id_rc='.$item['id_rc'].'">' . html_print_image("images/up.png", true, array("title" => __('Move to up'))) . '</a>';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user