[LON-CAPA-cvs] cvs: loncom /homework lonhomework.pm
droeschl
droeschl@source.lon-capa.org
Mon, 06 Jul 2009 17:55:33 -0000
droeschl Mon Jul 6 17:55:33 2009 EDT
Modified files:
/loncom/homework lonhomework.pm
Log:
Menu won't be shown for example problems.
Index: loncom/homework/lonhomework.pm
diff -u loncom/homework/lonhomework.pm:1.314 loncom/homework/lonhomework.pm:1.315
--- loncom/homework/lonhomework.pm:1.314 Fri Jul 3 14:52:47 2009
+++ loncom/homework/lonhomework.pm Mon Jul 6 17:55:32 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# The LON-CAPA Homework handler
#
-# $Id: lonhomework.pm,v 1.314 2009/07/03 14:52:47 bisitz Exp $
+# $Id: lonhomework.pm,v 1.315 2009/07/06 17:55:32 droeschl Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1127,7 +1127,7 @@
my $filename=$file->[0];
$filename=~s/^\/home\/httpd\/html//;
$result.=' <span class="LC_fontsize_small">'
- .'<a href="'.$filename.'" target="sample">'.&mt('Example').'</a>'
+ .'<a href="'.$filename.'?inhibitmenu=yes" target="sample">'.&mt('Example').'</a>'
.'</span><br />'."\n";
$count ++;
}