Update of /cvsroot/netpass/NetPass/www/htdocs/Admin
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv32100/www/htdocs/Admin
Modified Files:
netgroups.mhtml network.mhtml switch.mhtml
Log Message:
sorting by ipaddr on network, switch, netgroup and bynet Admin forms
Index: netgroups.mhtml
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/Admin/netgroups.mhtml,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- netgroups.mhtml 14 Jun 2005 21:57:31 -0000 1.8
+++ netgroups.mhtml 6 Sep 2005 20:29:18 -0000 1.9
@@ -239,7 +239,7 @@
</tr>
<tr>
<td style='text-align:center; vertical-align: top;'>
- <%$q->scrolling_list(-name => 'netgroups', -values => [ $WH, sort @$allNetgroups ],
+ <%$q->scrolling_list(-name => 'netgroups', -values => [ $WH, NetPass::Network::ipsort($allNetgroups) ],
-default => $netgroups, -id => 'netgroups',
-attributes => { $WH => { 'disabled' => 1 } },
-onchange => 'netgroup_onchange_netgroups();',
Index: switch.mhtml
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/Admin/switch.mhtml,v
retrieving revision 1.6
retrieving revision 1.7
diff -u -d -r1.6 -r1.7
--- switch.mhtml 22 Aug 2005 20:39:35 -0000 1.6
+++ switch.mhtml 6 Sep 2005 20:29:18 -0000 1.7
@@ -93,7 +93,7 @@
<table border='0' width=1000 id='switchConfig'>
<tr class='selector'>
<td class='selector'>
- <%$q->popup_menu(-id => 'switch', -name => 'switch', -values => [ $WH, sort @$allSwitches ],
+ <%$q->popup_menu(-id => 'switch', -name => 'switch', -values => [ $WH, NetPass::Network::ipsort($allSwitches) ],
-default => $switch, -onchange => 'switch_onchange_switch();')%>
</td>
<td class='selector'>
Index: network.mhtml
===================================================================
RCS file: /cvsroot/netpass/NetPass/www/htdocs/Admin/network.mhtml,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -d -r1.12 -r1.13
--- network.mhtml 14 Jun 2005 21:42:24 -0000 1.12
+++ network.mhtml 6 Sep 2005 20:29:18 -0000 1.13
@@ -235,7 +235,7 @@
<table border=0 width=1000 id='networkConfig'>
<tr class='selector'>
<td class='selector'>
- <%$q->popup_menu(-id => 'network', -name => 'network', -values => [ $WH, sort @$allNetworks ],
+ <%$q->popup_menu(-id => 'network', -name => 'network', -values => [ $WH, NetPass::Network::ipsort($allNetworks) ],
-default => $network, -onchange => 'network_onchange_network();')%>
</td>
<td class='selector'>
@@ -287,7 +287,7 @@
<td colspan=2>
BSW: <input name='BSW' id='BSW' value='<%$BSW%>' size=16 maxlength=80><BR>
<%$q->scrolling_list(-id => 'switches', -name => 'switches', -size => 4,
- -values => [ $WH2, @$switches ] , -multiple => 'true')%></td></tr>
+ -values => [ $WH2, NetPass::Network::ipsort($switches) ] , -multiple => 'true')%></td></tr>
</td>
</tr>
<tr><td colspan=3>
|