--- loncom/xml/londefdef.pm 2023/12/29 23:33:43 1.456.2.6.2.3
+++ loncom/xml/londefdef.pm 2024/02/28 18:15:50 1.456.2.6.2.4
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Tags Default Definition Module
#
-# $Id: londefdef.pm,v 1.456.2.6.2.3 2023/12/29 23:33:43 raeburn Exp $
+# $Id: londefdef.pm,v 1.456.2.6.2.4 2024/02/28 18:15:50 raeburn Exp $
#
#
# Copyright Michigan State University Board of Trustees
@@ -664,6 +664,17 @@ sub edit_controls {
'."\n";
+ if ($env{'browser.type'} ne 'explorer' || $env{'browser.version'} > 9) {
+ my $uri = $env{'request.uri'};
+ if ($uri =~ /\.(xml|html|htm|xhtml|xhtm)$/) {
+ my %editors = &Apache::loncommon::permitted_editors();
+ if ($editors{'daxe'}) {
+ my $daxeurl = '/daxepage'.$uri;
+ $result .= ''."\n";
+ }
+ }
+ }
if (($env{'request.course.id'}) && ($env{'form.forceedit'})) {
my $url=&Apache::lonnet::hreflocation('',$env{'request.filename'});
if ($url =~ /\.html?$/i) {