--- loncom/interface/slotrequest.pm 2005/05/31 17:42:11 1.1 +++ loncom/interface/slotrequest.pm 2005/08/09 15:38:13 1.7 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # Handler for requesting to have slots added to a students record # -# $Id: slotrequest.pm,v 1.1 2005/05/31 17:42:11 albertel Exp $ +# $Id: slotrequest.pm,v 1.7 2005/08/09 15:38:13 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -37,7 +37,12 @@ use Apache::lonnet; sub fail { my ($r,$code)=@_; - $r->print(); + if ($code eq 'not_valid') { + $r->print('
'.&mt('Unable to understand what resource you wanted to sign up for.').'
'.$env{'form.symb'}); + + } + $r->print(''); &end_page($r); } @@ -54,17 +59,456 @@ sub end_page { $r->print(&Apache::loncommon::endbodytag().'