version 1.444.4.4, 2010/01/29 15:33:02
|
version 1.444.4.6, 2010/02/10 21:06:07
|
Line 256 sub page_start {
|
Line 256 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( |
|
&Apache::lonenc::check_encrypt($env{'request.uri'})); |
|
$uri = &HTML::Entities::encode($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(); |
Line 2051 sub start_simpleeditbutton {
|
Line 2053 sub start_simpleeditbutton {
|
# .'</p>'; |
# .'</p>'; |
$result .= '<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'. |
$result .= '<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'. |
'<a href="'.$url.'/smpedit?symb='.&escape($symb).'">'. |
'<a href="'.$url.'/smpedit?symb='.&escape($symb).'">'. |
&mt('Edit').'</a>.'</td></tr></table><br />'; |
&mt('Edit').'</a></td></tr></table><br />'; |
|
|
} |
} |
return $result; |
return $result; |