[LON-CAPA-cvs] cvs: loncom(GCI_3) /interface lonpreferences.pm
raeburn
raeburn@source.lon-capa.org
Sun, 19 Sep 2010 14:22:40 -0000
raeburn Sun Sep 19 14:22:40 2010 EDT
Modified files: (Branch: GCI_3)
/loncom/interface lonpreferences.pm
Log:
- Customization for GCI_3.
Increase size of textbox for username to accommodate e-mail addresses
used as usernames.
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.179.2.3 loncom/interface/lonpreferences.pm:1.179.2.4
--- loncom/interface/lonpreferences.pm:1.179.2.3 Sun Sep 19 14:00:49 2010
+++ loncom/interface/lonpreferences.pm Sun Sep 19 14:22:40 2010
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Preferences
#
-# $Id: lonpreferences.pm,v 1.179.2.3 2010/09/19 14:00:49 raeburn Exp $
+# $Id: lonpreferences.pm,v 1.179.2.4 2010/09/19 14:22:40 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1006,10 +1006,10 @@
$msdomain = &LONCAPA::clean_domain($msdomain);
if (($msuser) && ($msdomain)) {
if (&Apache::lonnet::homeserver($msuser,$msdomain) ne 'no_host') {
- $newscreen.=$msuser.':'.$msdomain.',';
- } else {
- $message.= &mt('No such user: ').'<tt>'.$msuser.':'.$msdomain.'</tt><br />';
- }
+ $newscreen.=$msuser.':'.$msdomain.',';
+ } else {
+ $message.= &mt('No such user: ').'<tt>'.$msuser.':'.$msdomain.'</tt><br />';
+ }
}
}
$newscreen=~s/\,$//;
@@ -1383,7 +1383,7 @@
.&Apache::lonhtmlcommon::row_closure()
.&Apache::lonhtmlcommon::row_title(
'<label for="uname">'.$lt{'username'}.'</label>')
- .'<input type="text" name="uname" size="15" />'
+ .'<input type="text" name="uname" size="30" />'
.'<input type="hidden" name="currentpass" value="'.$currentpass.'" />'
.&Apache::lonhtmlcommon::row_closure()
.&Apache::lonhtmlcommon::row_title(