[LON-CAPA-cvs] cvs: loncom /homework inputtags.pm /html/adm/help/tex Ranking_Problems.tex

www lon-capa-cvs@mail.lon-capa.org
Fri, 24 Jan 2003 22:02:45 -0000


www		Fri Jan 24 17:02:45 2003 EDT

  Added files:                 
    /loncom/html/adm/help/tex	Ranking_Problems.tex 

  Modified files:              
    /loncom/homework	inputtags.pm 
  Log:
  The help link for ranking did not go anywhere.
  
  
Index: loncom/homework/inputtags.pm
diff -u loncom/homework/inputtags.pm:1.80 loncom/homework/inputtags.pm:1.81
--- loncom/homework/inputtags.pm:1.80	Fri Jan 24 14:49:48 2003
+++ loncom/homework/inputtags.pm	Fri Jan 24 17:02:45 2003
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # input  definitons
 #
-# $Id: inputtags.pm,v 1.80 2003/01/24 19:49:48 www Exp $
+# $Id: inputtags.pm,v 1.81 2003/01/24 22:02:45 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -299,8 +299,8 @@
     $message = "This question expects a numeric answer";
     $button=1;
   } elsif ($award eq 'MISORDERED_RANK') {
-    $message = 'You have provided an invalid ranking, look '.
-    '<a href="/adm/pages/misordered_rank.html">here</a> for more information.';
+    $message = 'You have provided an invalid ranking, please refer to '.
+     &Apache::loncommon::help_open_topic('Ranking_Problems','help on ranking problems').'.';
     $button=1;
   } elsif ($award eq 'INVALID_FILETYPE') {
     $message = 'The filetype extension of the file you uploaded is not allowed.';

Index: loncom/html/adm/help/tex/Ranking_Problems.tex
+++ loncom/html/adm/help/tex/Ranking_Problems.tex
\label{Ranking_Problems}
\section{Ranking Problems}
If two items are equivalent, ranking is done in the same way as it is done for 
sports events. 
Say that there are two second places, then the ranking is {}``1 2 2 4 5 6''.
For three second places, the correct ranking is {}``1 2 2 2 5 6''.