Diff for /loncom/interface/lonmeta.pm between versions 1.26 and 1.28

version 1.26, 2003/02/18 22:39:18 version 1.28, 2003/03/14 19:29:36
Line 320  $dynmeta{$_}."&nbsp;</td></tr>\n"); Line 320  $dynmeta{$_}."&nbsp;</td></tr>\n");
    '<h4>Error Messages (visible to author and co-authors only)</h4>');     '<h4>Error Messages (visible to author and co-authors only)</h4>');
       my %errormsgs=&Apache::lonnet::dump('nohist_res_msgs',$1,$2);        my %errormsgs=&Apache::lonnet::dump('nohist_res_msgs',$1,$2);
       foreach (keys %errormsgs) {        foreach (keys %errormsgs) {
  if ($_=~/^$disuri\_\d+$/) {   if ($_=~/^\Q$disuri\E\_\d+$/) {
           my %content=&Apache::lonmsg::unpackagemsg($errormsgs{$_});            my %content=&Apache::lonmsg::unpackagemsg($errormsgs{$_});
   $r->print('<b>'.$content{'time'}.'</b>: '.$content{'message'}.    $r->print('<b>'.$content{'time'}.'</b>: '.$content{'message'}.
                     '<br />');                      '<br />');
Line 380  $bodytag Line 380  $bodytag
 <form method="post">  <form method="post">
 ENDEDIT  ENDEDIT
    foreach ('author','title','subject','keywords','abstract','notes',     foreach ('author','title','subject','keywords','abstract','notes',
             'copyright','language') {              'copyright','customdistributionfile','language') {
        if ($ENV{'form.new_'.$_}) {         if ($ENV{'form.new_'.$_}) {
    $Apache::lonpublisher::metadatafields{$_}=$ENV{'form.new_'.$_};     $Apache::lonpublisher::metadatafields{$_}=$ENV{'form.new_'.$_};
        }         }

Removed from v.1.26  
changed lines
  Added in v.1.28


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