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( |
' <a target=cat href="/adm/diff?filename='.$fn. |
' <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( |
|
' <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>'); |