Diff for /loncom/xml/londefdef.pm between versions 1.456.2.6.2.3 and 1.456.2.6.2.4

version 1.456.2.6.2.3, 2023/12/29 23:33:43 version 1.456.2.6.2.4, 2024/02/28 18:15:50
Line 664  sub edit_controls { Line 664  sub edit_controls {
 <input type="hidden" name="editmode" value="" />  <input type="hidden" name="editmode" value="" />
 <input type="button" name="editordefault" accesskey="e" value="'.&mt('Edit').  <input type="button" name="editordefault" accesskey="e" value="'.&mt('Edit').
 '" onclick="seteditmode(this.form,'."'edit'".');" />'."\n";  '" onclick="seteditmode(this.form,'."'edit'".');" />'."\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 .= '<input type="button" name="editordaxe" value="'.&mt('Edit with Daxe').
                              '" onclick="seteditmode(this.form,'."'daxe'".');" />'."\n";
               }
           }
       }
     if (($env{'request.course.id'}) && ($env{'form.forceedit'})) {      if (($env{'request.course.id'}) && ($env{'form.forceedit'})) {
         my $url=&Apache::lonnet::hreflocation('',$env{'request.filename'});          my $url=&Apache::lonnet::hreflocation('',$env{'request.filename'});
         if ($url =~ /\.html?$/i) {          if ($url =~ /\.html?$/i) {

Removed from v.1.456.2.6.2.3  
changed lines
  Added in v.1.456.2.6.2.4


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>