--- loncom/auth/lonroles.pm 2010/01/18 17:16:58 1.240.2.14 +++ loncom/auth/lonroles.pm 2010/09/03 19:20:51 1.240.2.16 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # User Roles Screen # -# $Id: lonroles.pm,v 1.240.2.14 2010/01/18 17:16:58 raeburn Exp $ +# $Id: lonroles.pm,v 1.240.2.16 2010/09/03 19:20:51 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -455,6 +455,12 @@ ENDENTERKEY &Apache::lonnet::appenv({'request.role.adv'=>$tadv}); my ($furl,$ferr)= &Apache::lonuserstate::readmap($cdom.'/'.$cnum); + if ($custommenu) { + unless (($ferr) || ($env{'form.switchrole'})) { + &Apache::lonnet::put('nohist_crslastlogin',{$env{'user.name'}.':'.$env{'user.domain'}.':'.$csec.':'.$role => $now}, + $cdom,$cnum); + } + } if (($env{'form.orgurl'}) && ($env{'form.orgurl'}!~/^\/adm\/flip/)) { my $dest=$env{'form.orgurl'}; @@ -966,6 +972,7 @@ Use the tabs to navigate the WebCenter a
  • Review and comment on existing GCI questions
  • Submit a GCI question of your own
  • Create an online test for your students
  • +
  • View tutorials on creating online tests
  • For more information about writing and reviewing Concept Inventory questions