ispman/ispman-web/cgi-bin/tmpl menu.tmpl,1.56,1.57

Joerg Delker <[email protected]>
Newsgroups gmane.comp.isp.ispman.cvs
Message-ID <[email protected]>
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv20064/ispman-web/cgi-bin/tmpl

Modified Files:
	menu.tmpl 
Log Message:
fixed [ 1510273 ] Replica domains are not sorted in alphabetic order in UI

Index: menu.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/menu.tmpl,v
retrieving revision 1.56
retrieving revision 1.57
diff -u -d -r1.56 -r1.57
--- menu.tmpl	6 Jun 2006 20:57:17 -0000	1.56
+++ menu.tmpl	22 Jun 2006 20:08:09 -0000	1.57
@@ -170,7 +170,7 @@
     }
     
     $text.="</option>\n";
-        for my $replica( keys %{$replicas->{$master}} ) {
+        for my $replica( sort {lc($a) cmp lc($b)} keys %{$replicas->{$master}} ) {
             $text.="<OPTION value='$replica'";
             if ($r->param("ispmanDomain") eq $replica){
                 $text.= " selected  ";


Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.