Diff for /loncom/auth/lonlogin.pm between versions 1.158.2.13.2.1 and 1.158.2.13.2.2

version 1.158.2.13.2.1, 2021/12/31 21:56:01 version 1.158.2.13.2.2, 2022/01/16 23:31:27
Line 807  ENDSERVERFORM Line 807  ENDSERVERFORM
 LFORM  LFORM
   
     if ($showbanner) {      if ($showbanner) {
           my $alttext = &Apache::loncommon::designparm('login.alttext_img',$domain);
           if ($alttext eq '') {
               $alttext = 'The Learning Online Network with CAPA';
           }
         $r->print(<<HEADER);          $r->print(<<HEADER);
 <!-- The LON-CAPA Header -->  <!-- The LON-CAPA Header -->
 <div style="background:$pgbg;margin:0;width:100%;">  <div style="background:$pgbg;margin:0;width:100%;">
   <img src="$img" border="0" alt="The Learning Online Network with CAPA" class="LC_maxwidth" />    <img src="$img" border="0" alt="$alttext" class="LC_maxwidth" id="lcloginbanner" />
 </div>  </div>
 HEADER  HEADER
     }      }
Line 853  HEADER Line 857  HEADER
         }          }
         my $ssohref;          my $ssohref;
         if ($samlssoimg ne '') {          if ($samlssoimg ne '') {
             $ssohref = '<a href="'.$ssologin.'" title="'.$samltooltip.'"><img src="'.$samlssoimg.'" alt="'.$samlssoalt.'" /></a>';              $ssohref = '<a href="'.$ssologin.'" title="'.$samltooltip.'">'.
                          '<img src="'.$samlssoimg.'" alt="'.$samlssoalt.'" id="lcssobutton" /></a>';
         } else {          } else {
             $ssohref = '<a href="'.$ssologin.'">'.$samlssotext.'</a>';              $ssohref = '<a href="'.$ssologin.'">'.$samlssotext.'</a>';
         }          }
Line 908  ENDSAML Line 913  ENDSAML
 ENDLOGIN  ENDLOGIN
     $r->print('</div><div>'."\n");      $r->print('</div><div>'."\n");
     if ($showmainlogo) {      if ($showmainlogo) {
         $r->print(' <img src="'.$logo.'" alt="" class="LC_maxwidth" />'."\n");          my $alttext = &Apache::loncommon::designparm('login.alttext_logo',$domain);
           $r->print(' <img src="'.$logo.'" alt="'.$alttext.'" class="LC_maxwidth" id="lcloginmainlogo" />'."\n");
     }      }
 $r->print(<<ENDTOP);  $r->print(<<ENDTOP);
 $announcements  $announcements

Removed from v.1.158.2.13.2.1  
changed lines
  Added in v.1.158.2.13.2.2


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>