Diff for /loncom/interface/loncommon.pm between versions 1.948.2.33 and 1.948.2.33.2.2

version 1.948.2.33, 2011/11/08 02:27:47 version 1.948.2.33.2.2, 2012/03/03 03:07:23
Line 6780  ADDMETA Line 6780  ADDMETA
     if (!$args->{'no_auto_mt_title'}) { $title = &mt($title); }      if (!$args->{'no_auto_mt_title'}) { $title = &mt($title); }
     $result .= '<title> LON-CAPA '.$title.'</title>'      $result .= '<title> LON-CAPA '.$title.'</title>'
  .'<link rel="stylesheet" type="text/css" href="'.$url.'" />'   .'<link rel="stylesheet" type="text/css" href="'.$url.'" />'
           .&printstyle() 
  .$head_extra;   .$head_extra;
     return $result;      return $result;
 }  }
Line 6803  sub font_settings { Line 6804  sub font_settings {
     return $headerstring;      return $headerstring;
 }  }
   
   sub printstyle {
       return <<"ENDSTYLE";
   <style type="text/css" media="print">
                   #LC_breadcrumbs, 
                   .LC_head_subbox,
                   #LC_secondary_menu,
                   .LC_discussion,
                   .LC_feedback_link,
                   .LC_primary_menu { display: none; } 
                   form[name="lonhomework"] { clear: both; display: block; padding-top: 3em !important; }
   </style>
   ENDSTYLE
   
   }
   
 =pod  =pod
   
 =item * &xml_begin()  =item * &xml_begin()
Line 8002  sub user_picker { Line 8018  sub user_picker {
                     );                      );
                     $new_user_create = '<p class="LC_warning">'                      $new_user_create = '<p class="LC_warning">'
                                       .&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.")                                        .&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.")
                                       .' '                                        .'<br />'
                                       .&mt('Please contact the [_1]helpdesk[_2] for assistance.'                                        .&mt('Enter a valid e-mail address as the username for the new user.').' '.&mt('Please contact the [_1]helpdesk[_2] for assistance.'
                                           ,'<a href="'.$helplink.'">','</a>')                                        ,'<a href="'.$helplink.'">','</a>')
                                       .'</p><br />';                                        .'</p><br />';
                 }                  }
             }              }

Removed from v.1.948.2.33  
changed lines
  Added in v.1.948.2.33.2.2


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