version 1.62, 2013/01/08 15:48:51
|
version 1.63, 2013/01/08 16:21:12
|
Line 345 sub handler {
|
Line 345 sub handler {
|
## |
## |
my $js; |
my $js; |
if ($allowed_to_edit) { |
if ($allowed_to_edit) { |
my %lt=( |
my %lt=&Apache::lonlocal::texthash( |
'ce' => 'Cell', |
'ce' => 'Cell', |
'ac' => 'Accept', |
'ac' => 'Save', |
'dc' => 'Discard Changes' |
'dc' => 'Cancel' |
); |
); |
my $extra_javascript = |
my $extra_javascript = |
&Apache::loncommon::browser_and_searcher_javascript(); |
&Apache::loncommon::browser_and_searcher_javascript(); |
Line 535 ENDSCRIPT
|
Line 535 ENDSCRIPT
|
'</td>'. |
'</td>'. |
'<td valign="center">'.$html."</td></tr></table>\n"); |
'<td valign="center">'.$html."</td></tr></table>\n"); |
if ($action_message ne '') { |
if ($action_message ne '') { |
$r->print(<<END); |
$r->print( |
<table> |
&Apache::loncommon::confirmwrapper( |
<tr><td valign="top"><b>Last Action:</b></td> |
&mt('Last Action:') |
<td> </td> |
.$action_message) |
<td>$action_message</td> |
); |
</tr> |
|
</table> |
|
END |
|
} |
} |
$r->rflush(); |
$r->rflush(); |
} else { |
} else { |