--- loncom/interface/loncommon.pm 2005/06/06 19:51:05 1.266
+++ loncom/interface/loncommon.pm 2005/06/06 20:31:24 1.267
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.266 2005/06/06 19:51:05 www Exp $
+# $Id: loncommon.pm,v 1.267 2005/06/06 20:31:24 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1994,52 +1994,6 @@ sub track_student_link {
}
if (defined($target) && $target !~ /^\s*$/) {
$target = qq{target="$target"};
- } else {
- $target = '';
- }
- return qq{$linktext};
-}
-
-# --------------------------------------------------------- Links into grading, etc
-
-sub parm_direct_link {
- my ($linktext,$sname,$sdom,$symb,$target)=@_;
- unless ($sname) { return ''; }
- unless ($sdom) { return ''; }
- unless ($symb) { return ''; }
-
- my $link ="/adm/parmset";
- my $title = 'Change parameters';
- if (defined($sname) && $sname !~ /^\s*$/ &&
- defined($sdom) && $sdom !~ /^\s*$/) {
- $link .= "?uname=$sname&udom=$sdom&action=settable&symb=".
- &Apache::lonnet::escape($symb);
- }
- if (defined($target) && $target !~ /^\s*$/) {
- $target = qq{target="$target"};
- } else {
- $target = '';
- }
- return qq{$linktext};
-}
-
-sub grds_direct_link {
- my ($linktext,$sname,$sdom,$symb,$target)=@_;
- unless ($sname) { return ''; }
- unless ($sdom) { return ''; }
- unless ($symb) { return ''; }
- my $url=(&Apache::lonnet::decode_symb($symb))[2];
- my $link ="/adm/grades";
- my $title = 'Change grades';
- if (defined($sname) && $sname !~ /^\s*$/ &&
- defined($sdom) && $sdom !~ /^\s*$/) {
- $link .= "?stuinfo=$sname:$sdom&symb=".
- &Apache::lonnet::escape($symb)."&url=".
- &Apache::lonnet::escape($url).
- "&showgrading=yes&lastsub=all&vProp=yes&vAns=yes&command=processGroup";
- }
- if (defined($target) && $target !~ /^\s*$/) {
- $target = qq{target="$target"};
} else {
$target = '';
}