--- loncom/interface/lonsimplepage.pm 2007/07/13 00:29:21 1.51 +++ loncom/interface/lonsimplepage.pm 2008/12/03 22:00:41 1.59 @@ -1,7 +1,7 @@ # The LearningOnline Network # Simple Page Editor # -# $Id: lonsimplepage.pm,v 1.51 2007/07/13 00:29:21 albertel Exp $ +# $Id: lonsimplepage.pm,v 1.59 2008/12/03 22:00:41 schafran Exp $ # # Copyright Michigan State University Board of Trustees # @@ -91,7 +91,7 @@ sub handler { my %curr_group = (); my %groupinfo = (); if ($db_name =~ /^grppage_/) { - my ($group)=(split(m{/},$r->uri))[4]; + $group = (split(m{/},$r->uri))[4]; $group =~ s/\W//g; my %curr_groups = &Apache::longroup::coursegroups($dom,$crs,$group); if (!%curr_groups) { @@ -216,7 +216,9 @@ sub handler { if ($allowed) { $r->print('
'.
- &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes','Help with filling in text boxes').'
'.&mt('Show Student View').''.
+ &Apache::loncommon::help_open_topic('Uploaded_Templates_TextBoxes',&mt('Help with filling in text boxes'))
+ .'
'
+ .''.&mt('Show Student View').''.
&Apache::loncommon::help_open_topic('Uploaded_Templates_PublicView').'