Diff for /loncom/interface/lonuserutils.pm between versions 1.190 and 1.191

version 1.190, 2017/08/11 20:14:44 version 1.191, 2017/11/04 16:13:31
Line 4183  sub upfile_drop_add { Line 4183  sub upfile_drop_add {
                     $r->print('<span class="LC_error">'.&mt('Error').                      $r->print('<span class="LC_error">'.&mt('Error').
                               &mt('Enrollment of users not permitted for specified default domain: [_1].',                                &mt('Enrollment of users not permitted for specified default domain: [_1].',
                                   &Apache::lonnet::domain($env{'form.defaultdomain'},'description')).'</span>');                                    &Apache::lonnet::domain($env{'form.defaultdomain'},'description')).'</span>');
                     $r->print(&Apache::loncommon::end_page());                      if ($env{'form.fullup'} ne 'yes') {
                           $r->print('</form>');
                       }
                     return;                      return;
                 }                  }
             }              }
Line 4198  sub upfile_drop_add { Line 4200  sub upfile_drop_add {
                     $r->print('<span class="LC_error">'.&mt('Error').                      $r->print('<span class="LC_error">'.&mt('Error').
                               &mt('Addition of users not permitted for specified default domain: [_1].',                                &mt('Addition of users not permitted for specified default domain: [_1].',
                                   &Apache::lonnet::domain($env{'form.defaultdomain'},'description')).'</span>');                                    &Apache::lonnet::domain($env{'form.defaultdomain'},'description')).'</span>');
                     $r->print(&Apache::loncommon::end_page());                      if ($env{'form.fullup'} ne 'yes') {
                           $r->print('</form>');
                       }
                     return;                      return;
                 }                  }
             }              }
Line 4212  sub upfile_drop_add { Line 4216  sub upfile_drop_add {
                     $r->print('<span class="LC_error">'.&mt('Error').                      $r->print('<span class="LC_error">'.&mt('Error').
                               &mt('Addition of users not permitted for specified default domain: [_1].',                                &mt('Addition of users not permitted for specified default domain: [_1].',
                                   &Apache::lonnet::domain($env{'form.defaultdomain'},'description')).'</span>');                                    &Apache::lonnet::domain($env{'form.defaultdomain'},'description')).'</span>');
                     $r->print(&Apache::loncommon::end_page());                      if ($env{'form.fullup'} ne 'yes') {
                           $r->print('</form>');
                       }
                     return;                      return;
                 }                  }
             }              }
Line 4228  sub upfile_drop_add { Line 4234  sub upfile_drop_add {
         if (! exists($home_servers{$desiredhost})) {          if (! exists($home_servers{$desiredhost})) {
             $r->print('<span class="LC_error">'.&mt('Error').              $r->print('<span class="LC_error">'.&mt('Error').
                       &mt('Invalid home server specified').'</span>');                        &mt('Invalid home server specified').'</span>');
             $r->print(&Apache::loncommon::end_page());              if ($env{'form.fullup'} ne 'yes') {
                   $r->print('</form>');
               }
             return;              return;
         }          }
     }      }

Removed from v.1.190  
changed lines
  Added in v.1.191


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