[LON-CAPA-cvs] cvs: loncom /interface lonparmset.pm

albertel lon-capa-cvs@mail.lon-capa.org
Mon, 12 Jun 2006 18:43:56 -0000


albertel		Mon Jun 12 14:43:56 2006 EDT

  Modified files:              
    /loncom/interface	lonparmset.pm 
  Log:
  - adding title
  
  
Index: loncom/interface/lonparmset.pm
diff -u loncom/interface/lonparmset.pm:1.311 loncom/interface/lonparmset.pm:1.312
--- loncom/interface/lonparmset.pm:1.311	Fri Jun  2 18:12:50 2006
+++ loncom/interface/lonparmset.pm	Mon Jun 12 14:43:56 2006
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Handler to set parameters for assessments
 #
-# $Id: lonparmset.pm,v 1.311 2006/06/02 22:12:50 albertel Exp $
+# $Id: lonparmset.pm,v 1.312 2006/06/12 18:43:56 albertel Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -1573,8 +1573,9 @@
 	&displaymenu($r,\%allparms,\%allparts,\@pscat,\@psprt,\%keyorder);
     } else {
         my ($map,$id,$resource)=&Apache::lonnet::decode_symb($pssymb);
-        $r->print(&mt('Specific Resource').": ".$resource.
-                  '<input type="hidden" value="'.$pssymb.'" name="symb">'.
+	my $title = &Apache::lonnet::gettitle($pssymb);
+        $r->print(&mt('Specific Resource: [_1] ([_2])',$title,$resource).
+                  '<input type="hidden" value="'.$pssymb.'" name="symb" />'.
 		  '<br /><label><b>'.&mt('Show all parts').': <input type="checkbox" name="psprt" value="all"'.
 		  ($env{'form.psprt'}?' checked="checked"':'').' /></b></label><br />');
     }