ispman/ispman-web/cgi-bin/tmpl/customerMan/users editDomainUserHeader.tmpl,1.8,1.9 manageDomainUsers.tmpl,1.4,1.5
Joerg Delker <[email protected]>
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/customerMan/users
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv27591/ispman-web/cgi-bin/tmpl/customerMan/users
Modified Files:
editDomainUserHeader.tmpl manageDomainUsers.tmpl
Log Message:
applied customer sort patch
Index: editDomainUserHeader.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/customerMan/users/editDomainUserHeader.tmpl,v
retrieving revision 1.8
retrieving revision 1.9
diff -u -d -r1.8 -r1.9
--- editDomainUserHeader.tmpl 28 Apr 2003 17:19:43 -0000 1.8
+++ editDomainUserHeader.tmpl 24 May 2004 21:40:30 -0000 1.9
@@ -63,7 +63,7 @@
$text.=qq|<option value=''>@{[$customer->getText("Please select a user")]}</option>|;
}
- for my $user(keys %$users) {
+ for my $user(sort {lc($users->{$a}) cmp lc($users->{$b})} keys %$users) {
$text.=qq|<option value='$user'|;
if ($r->param("user") eq $user){
Index: manageDomainUsers.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/customerMan/users/manageDomainUsers.tmpl,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- manageDomainUsers.tmpl 28 Apr 2003 17:19:45 -0000 1.4
+++ manageDomainUsers.tmpl 24 May 2004 21:40:30 -0000 1.5
@@ -51,7 +51,7 @@
<perl>
$text="";
my $users=$customer->getDomainUsers();
- for my $user(keys %$users) {
+ for my $user(sort {lc($users->{$a}) cmp lc($users->{$b})} keys %$users) {
$text.="<option value='$user'>$users->{$user}</option>\n";
}
$text
-------------------------------------------------------
This SF.Net email is sponsored by: Oracle 10g
Get certified on the hottest thing ever to hit the market... Oracle 10g.
Take an Oracle 10g class now, and we'll give you the exam FREE.
http://ads.osdn.com/?ad_id=3149&alloc_id=8166&op=click