Diff for /loncom/publisher/lonpubdir.pm between versions 1.66 and 1.67

version 1.66, 2004/11/30 19:08:18 version 1.67, 2004/12/02 18:38:37
Line 511  sub putdirectory { Line 511  sub putdirectory {
  %Apache::lonpublisher::metadatakeys=();   %Apache::lonpublisher::metadatakeys=();
  my $construct=$here;   my $construct=$here;
  $construct=~s:^/priv/(\w+)$:/home/$1/public_html:;   $construct=~s:^/priv/(\w+)$:/home/$1/public_html:;
           my $dirpath = $here;
           $dirpath=~s:^/priv/:/~:;
  &Apache::lonpublisher::metaeval(&Apache::lonnet::getfile(   &Apache::lonpublisher::metaeval(&Apache::lonnet::getfile(
         $construct.'/'.$dirname.'/default.meta'          $construct.'/'.$dirname.'/default.meta'
  ));   ));
Line 529  sub putdirectory { Line 531  sub putdirectory {
                       '<option value="editcat">'.&mt('Edit catalog information').'</option>'.                        '<option value="editcat">'.&mt('Edit catalog information').'</option>'.
                       '<option value="printdir">'.&mt('Print directory').                        '<option value="printdir">'.&mt('Print directory').
                     '</select>'.                      '</select>'.
                      '<input type="hidden" name="filename" value="'.$here.'/'.$dirname.'" />'.                       '<input type="hidden" name="filename" value="'.$dirpath.'/'.$dirname.'/" />'.
                      '<input type="hidden" name="pubrec" value="" />'.                       '<input type="hidden" name="pubrec" value="" />'.
                      '<input type="hidden" name="forcerepub" value="" />'.                       '<input type="hidden" name="forcerepub" value="" />'.
                      '<input type="hidden" name="curseed" value="0" />'.                       '<input type="hidden" name="curseed" value="0" />'.

Removed from v.1.66  
changed lines
  Added in v.1.67


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>
500 Internal Server Error

Internal Server Error

The server encountered an internal error or misconfiguration and was unable to complete your request.

Please contact the server administrator at root@localhost to inform them of the time this error occurred, and the actions you performed just before this error.

More information about this error may be available in the server error log.