version 1.37, 2008/12/19 03:55:25
|
version 1.39, 2009/05/11 16:51:32
|
Line 120 sub phaseone {
|
Line 120 sub phaseone {
|
my ($main,$suffix,$is_meta) = &get_file_info($fn); |
my ($main,$suffix,$is_meta) = &get_file_info($fn); |
|
|
if (-e $resfn) { |
if (-e $resfn) { |
$r->print('<form action="/adm/retrieve" method="POST">'. |
$r->print('<form action="/adm/retrieve" method="post">'. |
'<input type="hidden" name="filename" value="/~'.$uname.$fn.'" />'. |
'<input type="hidden" name="filename" value="/~'.$uname.$fn.'" />'. |
'<input type="hidden" name="phase" value="two" />'. |
'<input type="hidden" name="phase" value="two" />'. |
&Apache::loncommon::start_data_table(). |
&Apache::loncommon::start_data_table(). |
Line 156 sub phaseone {
|
Line 156 sub phaseone {
|
localtime($rmtime).'</td>'); |
localtime($rmtime).'</td>'); |
|
|
if (!$is_meta) { |
if (!$is_meta) { |
$r->print('<td><a href="'.$urldir.$filename.'.meta" target=cat>'. |
$r->print('<td><a href="'.$urldir.$filename.'.meta" target="cat">'. |
&mt('Metadata Version').' '.$version.'</a></td>'); |
&mt('Metadata Version').' '.$version.'</a></td>'); |
} |
} |
if ($is_meta |
if ($is_meta |
Line 178 sub phaseone {
|
Line 178 sub phaseone {
|
'<td><b>'.&mt('Currently published version').'</b></td><td>'.localtime($rmtime). |
'<td><b>'.&mt('Currently published version').'</b></td><td>'.localtime($rmtime). |
'</td>'); |
'</td>'); |
if (!$is_meta) { |
if (!$is_meta) { |
$r->print('<td><a href="'.$urldir.$main.'.'.$suffix.'.meta" target=cat>'. |
$r->print('<td><a href="'.$urldir.$main.'.'.$suffix.'.meta" target="cat">'. |
&mt('Metadata current version').'</a></td>'); |
&mt('Metadata current version').'</a></td>'); |
} |
} |
if ($is_meta |
if ($is_meta |