-
+
-
-
-
-
+ |
+
|
-
|
@@ -475,31 +481,38 @@ ENDNOOPT
ENDLOGIN
if ($fullgraph) {
my $helpdeskscript;
- my $contactblock = &contactdisplay(\%lt,$version,$authdomain,\$helpdeskscript);
+ my $contactblock = &contactdisplay(\%lt,$servadm,$showadminmail,
+ $version,$authdomain,\$helpdeskscript);
$r->print(<
@@ -595,15 +608,19 @@ ENDDOCUMENT
}
sub contactdisplay {
- my ($lt,$version,$authdomain,$helpdeskscript) = @_;
+ my ($lt,$servadm,$showadminmail,$version,$authdomain,$helpdeskscript) = @_;
my $contactblock;
my $showhelpdesk = 0;
my $requestmail = $Apache::lonnet::perlvar{'lonSupportEMail'};
if ($requestmail =~ m/^[^\@]+\@[^\@]+$/) {
$showhelpdesk = 1;
}
+ if ($servadm && $showadminmail) {
+ $contactblock .= ' '.$$lt{'servadm'}.':
'.
+ ' '.$servadm.'
';
+ }
if ($showhelpdesk) {
- $contactblock .= ' '.$$lt{'helpdesk'}.'
';
+ $contactblock .= ' '.$lt->{'helpdesk'}.'
';
my $thisurl = &escape('/adm/login');
$$helpdeskscript = <<"ENDSCRIPT";