Diff for /loncom/publisher/lonretrieve.pm between versions 1.8 and 1.9

version 1.8, 2001/05/02 21:35:15 version 1.9, 2001/05/02 23:00:05
Line 55  sub phaseone { Line 55  sub phaseone {
                      $version.'"></td><th>'.$version.'</th><td>'.                       $version.'"></td><th>'.$version.'</th><td>'.
                      localtime($rmtime).'</td><td>'.                       localtime($rmtime).'</td><td>'.
                      '<a href="'.$urldir.$filename.'.meta" target=cat>'.                       '<a href="'.$urldir.$filename.'.meta" target=cat>'.
                      'Metadata Version '.$version);                       'Metadata Version '.$version.'</a>');
            if (&Apache::lonnet::fileembstyle($suffix) eq 'ssi') {             if (&Apache::lonnet::fileembstyle($suffix) eq 'ssi') {
                $r->print(                 $r->print(
                     '&nbsp;&nbsp;<a target=cat href="/adm/diff?filename='.$fn.                      '&nbsp;&nbsp;<a target=cat href="/adm/diff?filename='.$fn.
Line 73  sub phaseone { Line 73  sub phaseone {
     $r->print('<tr><td><input type=radio name=version value="new"></td>'.      $r->print('<tr><td><input type=radio name=version value="new"></td>'.
               '<th>Current</th><td>'.localtime($rmtime).                '<th>Current</th><td>'.localtime($rmtime).
            '</td><td><a href="'.$urldir.$main.'.'.$suffix.'.meta" target=cat>'.             '</td><td><a href="'.$urldir.$main.'.'.$suffix.'.meta" target=cat>'.
               'Metadata current version</a></td></tr></table><p>'.                'Metadata current version</a>');           
              if (&Apache::lonnet::fileembstyle($suffix) eq 'ssi') {
                  $r->print(
                       '&nbsp;&nbsp;<a target=cat href="/adm/diff?filename='.$fn.
                           '&versionone=priv'.
                           '">Diffs with current Version</a>');
              }
              $r->print('</td></tr></table><p>'.
            '<font size=+1 color=red>Retrieval of an old version will '.             '<font size=+1 color=red>Retrieval of an old version will '.
            'overwrite the file currently in construction space</font><p>'.             'overwrite the file currently in construction space</font><p>'.
            '<input type=submit value="Retrieve version"></form>');             '<input type=submit value="Retrieve version"></form>');

Removed from v.1.8  
changed lines
  Added in v.1.9


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