--- loncom/publisher/lonpubdir.pm 2015/12/03 20:40:46 1.165 +++ 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.165 2015/12/03 20:40:46 damieng Exp $ +# $Id: lonpubdir.pm,v 1.167 2016/01/06 16:44:35 damieng Exp $ # # Copyright Michigan State University Board of Trustees # @@ -914,8 +914,10 @@ 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 = '/adm/daxe/daxe.html?config=config/loncapa_config.xml&file=/daxeopen'.$linkdir.'/'.$filename.'&save=/daxesave'; + my $daxeurl = '/daxepage'.$linkdir.'/'.$filename; $editlink .= ' (Daxe)'; } }