--- loncom/xml/lonxml.pm 2024/09/25 00:15:10 1.574
+++ loncom/xml/lonxml.pm 2025/02/19 23:39:38 1.577
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# XML Parser Module
#
-# $Id: lonxml.pm,v 1.574 2024/09/25 00:15:10 raeburn Exp $
+# $Id: lonxml.pm,v 1.577 2025/02/19 23:39:38 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -673,6 +673,7 @@ sub init_safespace {
$safeeval->reval('use LONCAPA::LCMathComplex;');
$safeeval->permit_only(":default");
$safeeval->permit("entereval");
+ $safeeval->permit("hintseval");
$safeeval->permit(":base_math");
$safeeval->permit("sort");
$safeeval->permit("time");
@@ -1615,7 +1616,8 @@ FULLPAGE
'dv' => 'Discard Edits and View',
'un' => 'Undo',
'ed' => 'Edit',
- 'ew' => 'Edit with Daxe');
+ 'ew' => 'Edit with Daxe',
+ 'er' => 'Editor');
my $spelllink = &Apache::lonhtmlcommon::spelllink('xmledit','filecont');
my $textarea_events = &Apache::edit::element_change_detection();
my $form_events = &Apache::edit::form_change_detection();
@@ -1671,7 +1673,7 @@ $initialize
$undo $deps_button $daxebutton $dragmath_button $htmlerror
-
$spelllink
+
$spelllink
' - .&mt('File not found: [_1]' - ,''.$file.'') - .'
'; + my ($start_page,$end_page,$errormsg); + $start_page=&Apache::loncommon::start_page('File Error'); + if ($target eq 'web') { + $start_page .= '' + .&mt('File not found: [_1]' + ,''.$file.'') + .'
'; $result=(<