--- loncom/interface/loncommon.pm 2008/04/30 23:36:56 1.652 +++ loncom/interface/loncommon.pm 2008/05/19 17:00:22 1.653 @@ -1,7 +1,7 @@ # The LearningOnline Network with CAPA # a pile of common routines # -# $Id: loncommon.pm,v 1.652 2008/04/30 23:36:56 raeburn Exp $ +# $Id: loncommon.pm,v 1.653 2008/05/19 17:00:22 raeburn Exp $ # # Copyright Michigan State University Board of Trustees # @@ -447,6 +447,25 @@ sub selectstudent_link { return ''; } +sub authorbrowser_javascript { + return <<"ENDAUTHORBRW"; + +ENDAUTHORBRW +} + sub coursebrowser_javascript { my ($domainfilter,$sec_element,$formname)=@_; my $crs_or_grp_alert = &mt('Please select the type of LON-CAPA entity - Course or Group - for which you wish to add/modify a user role'); @@ -584,6 +603,12 @@ sub selectcourse_link { '","'.$udomele.'","'.$desc.'","'.$extra_element.'","'.$multflag.'","'.$selecttype.'");'."'>".&mt('Select Course').""; } +sub selectauthor_link { + my ($form,$udom)=@_; + return ''. + &mt('Select Author').''; +} + sub check_uncheck_jscript { my $jscript = <<"ENDSCRT"; function checkAll(field) {