Diff for /loncom/interface/loncreateuser.pm between versions 1.398 and 1.399

version 1.398, 2014/03/31 02:31:05 version 1.399, 2014/04/25 17:56:42
Line 3156  sub update_user_data { Line 3156  sub update_user_data {
                 $rolestr = &mt('No roles');                  $rolestr = &mt('No roles');
             }              }
             if ($context eq 'course') {              if ($context eq 'course') {
                 $contextname = &mt('course');                  $contextname = 'course';
             } elsif ($context eq 'author') {              } elsif ($context eq 'author') {
                 $contextname = &mt('co-author');                  $contextname = 'co-author';
             }              }
             $r->print(&mt('The following fields were not updated: ').'<ul>');              $r->print(&mt('The following fields were not updated: ').'<ul>');
             my %fieldtitles = &Apache::loncommon::personal_data_fieldtitles();              my %fieldtitles = &Apache::loncommon::personal_data_fieldtitles();
Line 3167  sub update_user_data { Line 3167  sub update_user_data {
             }              }
             $r->print('</ul>');              $r->print('</ul>');
             if (@mod_disallowed == 1) {              if (@mod_disallowed == 1) {
                 $r->print(&mt("You do not have the authority to change this field given the user's current set of active/future [_1] roles:",$contextname));                  $r->print(&mt("You do not have the authority to change this field given the user's current set of active/future $contextname roles:"));
             } else {              } else {
                 $r->print(&mt("You do not have the authority to change these fields given the user's current set of active/future [_1] roles:",$contextname));                  $r->print(&mt("You do not have the authority to change these fields given the user's current set of active/future $contextname roles:"));
             }              }
             my $helplink = 'javascript:helpMenu('."'display'".')';              my $helplink = 'javascript:helpMenu('."'display'".')';
             $r->print('<span class="LC_cusr_emph">'.$rolestr.'</span><br />'              $r->print('<span class="LC_cusr_emph">'.$rolestr.'</span><br />'

Removed from v.1.398  
changed lines
  Added in v.1.399


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