version 1.444.4.3, 2010/01/28 18:15:51
|
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 2049 sub start_simpleeditbutton {
|
Line 2051 sub start_simpleeditbutton {
|
# .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.') |
# .&mt('Note: it can take up to 10 minutes for changes to take effect for all users.') |
# .&Apache::loncommon::help_open_topic('Caching') |
# .&Apache::loncommon::help_open_topic('Caching') |
# .'</p>'; |
# .'</p>'; |
$result.=&Apache::lontemplate::start_functionslist() |
$result .= '<table width="100%" bgcolor="#FFFFAA" border="2"><tr><td>'. |
.&Apache::lontemplate::item_functionslist( |
'<a href="'.$url.'/smpedit?symb='.&escape($symb).'">'. |
'<a href="'.$url.'/smpedit?symb='.&escape($symb).'">'.&mt('Edit').'</a>') |
&mt('Edit').'</a></td></tr></table><br />'; |
.&Apache::lontemplate::end_functionslist(); |
|
|
|
} |
} |
return $result; |
return $result; |