Diff for /loncom/homework/structuretags.pm between versions 1.454 and 1.455

version 1.454, 2009/07/06 17:10:10 version 1.455, 2009/07/06 17:48:30
Line 259  sub page_start { Line 259  sub page_start {
  my ($symb,undef,undef,undef,$publicuser)= &Apache::lonnet::whichuser();   my ($symb,undef,undef,undef,$publicuser)= &Apache::lonnet::whichuser();
  if ($symb eq '' && !$publicuser) {   if ($symb eq '' && !$publicuser) {
     my $help = &Apache::loncommon::help_open_topic("Ambiguous_Reference");      my $help = &Apache::loncommon::help_open_topic("Ambiguous_Reference");
     $help=&mt("Browsing resource, all submissions are temporary.")."<br />";      $help="<hr/><p class='LC_info'>".&mt("Browsing resource, all submissions
           are temporary.")."</p>";
     $page_start .= $help;      $page_start .= $help;
  }   }
     }      }
Line 271  sub page_start { Line 272  sub page_start {
     my $form_tag_start;      my $form_tag_start;
     if (!defined($found{'form'})) {      if (!defined($found{'form'})) {
  $form_tag_start='<form name="lonhomework" enctype="multipart/form-data" method="post" action="';   $form_tag_start='<form name="lonhomework" enctype="multipart/form-data" method="post" action="';
  my $uri = &Apache::lonenc::check_encrypt($env{'request.uri'});   my $uri = Apache::loncommon::inhibit_menu_check(
     $uri .= '?inhibitmenu=yes' if $env{'form.inhibitmenu'};                  &Apache::lonenc::check_encrypt($env{'request.uri'}));
  $form_tag_start.=$uri.'" ';   $form_tag_start.=$uri.'" ';
  if ($target eq 'edit') {   if ($target eq 'edit') {
     $form_tag_start.=&Apache::edit::form_change_detection();      $form_tag_start.=&Apache::edit::form_change_detection();

Removed from v.1.454  
changed lines
  Added in v.1.455


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>