Diff for /loncom/interface/loncommon.pm between versions 1.940 and 1.942

version 1.940, 2010/02/12 17:53:43 version 1.942, 2010/02/21 02:38:23
Line 5775  div.LC_clear_float_footer { Line 5775  div.LC_clear_float_footer {
 }  }
   
 div.LC_grade_show_user {  div.LC_grade_show_user {
   border-left: 5px solid $sidebg;  /*  border-left: 5px solid $sidebg; */
   margin: 0;    border-top: 5px solid #000000;
     margin: 50px 0 0 0;
   padding: 15px 0 5px 10px;    padding: 15px 0 5px 10px;
 }  }
   
 div.LC_grade_show_user_odd_row {  div.LC_grade_show_user_odd_row {
   border-left: 5px solid #000000;  /*  border-left: 5px solid #000000; */
   }
   
   div.LC_grade_show_user div.LC_Box {
     margin-right: 50px;
 }  }
   
 div.LC_grade_submissions,  div.LC_grade_submissions,
Line 10028  sub check_clone { Line 10033  sub check_clone {
                                          'userroles',['active'],[$ccrole],                                           'userroles',['active'],[$ccrole],
  [$args->{'clonedomain'}]);   [$args->{'clonedomain'}]);
         if (($roleshash{$args->{'clonecourse'}.':'.$args->{'clonedomain'}.':'.$ccrole}) || (grep(/^\Q$args->{'ccuname'}\E:\Q$args->{'ccdomain'}\E$/,@cloners))) {          if (($roleshash{$args->{'clonecourse'}.':'.$args->{'clonedomain'}.':'.$ccrole}) || (grep(/^\Q$args->{'ccuname'}\E:\Q$args->{'ccdomain'}\E$/,@cloners))) {
     $can_clone = 1;                      $can_clone = 1;
         } else {                  } elsif (&Apache::lonnet::is_course_owner($args->{'clonedomain'},$args->{'clonecourse'},$args->{'ccuname'},$args->{'ccdomain'})) {
                       $can_clone = 1;
                   } else {
                     if ($args->{'type'} eq 'Community') {                      if ($args->{'type'} eq 'Community') {
                         $clonemsg = &mt('No new community created.').$linefeed.&mt('The new community could not be cloned from the existing community because the new community owner ([_1]) does not have cloning rights in the existing community ([_2]).',$args->{'ccuname'}.':'.$args->{'ccdomain'},$clonedesc{'description'});                          $clonemsg = &mt('No new community created.').$linefeed.&mt('The new community could not be cloned from the existing community because the new community owner ([_1]) does not have cloning rights in the existing community ([_2]).',$args->{'ccuname'}.':'.$args->{'ccdomain'},$clonedesc{'description'});
                     } else {                      } else {

Removed from v.1.940  
changed lines
  Added in v.1.942


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