ispman/ispman-web/cgi-bin/tmpl/users edit.tmpl, 1.21, 1.22
Joerg Delker <[email protected]> Sat, 26 Apr 2008 16:46:43 +0000
| Newsgroups | gmane.comp.isp.ispman.cvs |
|---|---|
| Message-ID | <[email protected]> |
Update of /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users
In directory sc8-pr-cvs2.sourceforge.net:/tmp/cvs-serv27127/ispman-web/cgi-bin/tmpl/users
Modified Files:
edit.tmpl
Log Message:
fixed bug [ 1952308 ] user's loginshell selection defaults to wrong value
Index: edit.tmpl
===================================================================
RCS file: /cvsroot/ispman/ispman/ispman-web/cgi-bin/tmpl/users/edit.tmpl,v
retrieving revision 1.21
retrieving revision 1.22
diff -u -d -r1.21 -r1.22
--- edit.tmpl 31 Jul 2007 10:10:54 -0000 1.21
+++ edit.tmpl 26 Apr 2008 16:46:24 -0000 1.22
@@ -64,7 +64,7 @@
if ( lc($ispman->getConf('availableShells')) ne "none" ) {
$text .= '<select name="loginShell">';
foreach my $shell ( split(' ', $ispman->getConf('availableShells')) ) {
- if ( $usershell eq $shell ) {
+ if ( $ispman->{'user'}{'loginShell'} eq $shell ) {
$text .= "<option value='" . $shell . "' selected>$shell</option>";
} else {
$text .= "<option value='" . $shell . "'>$shell</option>";
-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference
Don't miss this year's exciting event. There's still time to save $100.
Use priority code J8TL2D2.
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone