--- loncom/publisher/lonpubdir.pm 2015/12/10 16:26:59 1.166
+++ loncom/publisher/lonpubdir.pm 2016/01/06 16:44:35 1.167
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Authoring Space Directory Lister
#
-# $Id: lonpubdir.pm,v 1.166 2015/12/10 16:26:59 damieng Exp $
+# $Id: lonpubdir.pm,v 1.167 2016/01/06 16:44:35 damieng Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -914,6 +914,8 @@ sub putresource {
if ($filename=~/$LONCAPA::assess_re/) {
$editlink=' ('.&mt('EditXML').')';
$editlink2='
('.&mt('Edit').')';
+ }
+ if ($filename=~/\.(xml|html|htm|xhtml|xhtm)$/ || $filename=~/$LONCAPA::assess_re/) {
if ($env{'browser.type'} ne 'explorer' || $env{'browser.version'} > 9) {
my $daxeurl = '/daxepage'.$linkdir.'/'.$filename;
$editlink .= ' (Daxe)';