Select Accessibility Options
- Suppress rendering of images
- Suppress Java applets
- Suppress rendering of embedded multimedia
- Increase font size
- Switch to black and white mode
+
+
+
+
+
If you have accessibility needs that are not addressed by this interface,
please
contact the system administrator at $sysadm.
@@ -429,7 +453,7 @@ ENDNOOPT
$lt{'pw'}: |
- |
+ |
$lt{'dom'}: |
@@ -447,7 +471,8 @@ ENDNOOPT
ENDLOGIN
if ($fullgraph) {
- my $contactblock = &contactdisplay(\%lt,$sysadm,$servadm,$version);
+ my $helpdeskscript;
+ my $contactblock = &contactdisplay(\%lt,$sysadm,$servadm,$version,$authdomain,\$helpdeskscript);
$r->print(<
@@ -534,6 +559,7 @@ $domainlogo
// the if prevents the script error if the browser can not handle this
if ( document.client.uname ) { document.client.uname.focus(); }
+$helpdeskscript
ENDDOCUMENT
}
@@ -542,11 +568,15 @@ ENDDOCUMENT
}
sub contactdisplay {
- my ($lt,$sysadm,$servadm,$version) = @_;
+ my ($lt,$sysadm,$servadm,$version,$authdomain,$helpdeskscript) = @_;
my $contactblock;
my $showsysadm = 1;
my $showservadm = 1;
- my $showhelpdesk = 1;
+ my $showhelpdesk = 0;
+ my $requestmail = $Apache::lonnet::perlvar{'lonSupportEMail'};
+ if ($requestmail =~ m/^[^\@]+\@[^\@]+$/) {
+ $showhelpdesk = 1;
+ }
if ($showsysadm) {
$contactblock .= ' '.$$lt{'sysadm'}.':
'.
' '.$sysadm.'
';
@@ -556,7 +586,21 @@ sub contactdisplay {
' '.$servadm.'
';
}
if ($showhelpdesk) {
- $contactblock .= ' '.$$lt{'helpdesk'}.'
';
+ $contactblock .= ' '.$$lt{'helpdesk'}.'
';
+ my $thisurl = &Apache::lonnet::escape('/adm/login');
+ $$helpdeskscript = <<"ENDSCRIPT";
+
+ENDSCRIPT
}
$contactblock .= <<"ENDBLOCK";
$version