--- loncom/interface/londocs.pm 2007/07/03 00:17:42 1.283 +++ loncom/interface/londocs.pm 2007/07/03 00:30:47 1.284 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.283 2007/07/03 00:17:42 albertel Exp $ +# $Id: londocs.pm,v 1.284 2007/07/03 00:30:47 albertel Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1783,14 +1783,12 @@ sub entryline { if (!$nocopy) { $copylink=(< -$lt{'cp'} +$lt{'cp'} ENDCOPY } if (!$nocut) { $cutlink=(< -$lt{'ct'} +$lt{'ct'} ENDCUT } $line.=(< - $lt{'rm'} + $lt{'rm'} $cutlink - $lt{'rn'} + $lt{'rn'} $copylink END @@ -1941,9 +1939,9 @@ END ((&LONCAPA::map::getparameter($orderidx,'parameter_hiddenresource'))[0]=~/^yes$/i?' checked="1"':''); $line.=(< - + - + $parameterset ENDPARMS } @@ -2274,10 +2272,10 @@ ENDHEADERS 'lastrevisiondate') ). ''. - 'Most Recent: '. + 'Most Recent: '. ''.$currentversion.''. - ''. - 'In '.$type.': '. + ''. + 'In '.$type.': '. ''); # Used in course my $usedversion=$hash{'version_'.$linkurl}; @@ -2286,8 +2284,8 @@ ENDHEADERS } else { $r->print($currentversion); } - $r->print(''. - 'Use: '); + $r->print(''. + 'Use: '); # Set version $r->print(&Apache::loncommon::select_form($setversions{$linkurl}, 'set_version_'.$linkurl, @@ -2296,7 +2294,7 @@ ENDHEADERS '' => '', 'mostrecent' => 'most recent', map {$_,$_} (1..$currentversion)))); - $r->print(''); + $r->print(''); my $lastold=1; for (my $prevvers=1;$prevvers<$currentversion;$prevvers++) { my $url=$root.'.'.$prevvers.'.'.$extension; @@ -2320,7 +2318,7 @@ ENDHEADERS my $cols_output = 1; for (my $prevvers=$lastold;$prevvers<$currentversion;$prevvers++) { my $url=$root.'.'.$prevvers.'.'.$extension; - $r->print(''.&mt('Version').' '.$prevvers.' ('. &Apache::lonlocal::locallocaltime( &Apache::lonnet::metadata($url, @@ -2333,7 +2331,7 @@ ENDHEADERS '&versionone='.$prevvers. '">'.&mt('Diffs').''); } - $r->print('
'); + $r->print('
'); if (++$entries_count % $entries_per_col == 0) { $r->print('
'); if ($cols_output != 4) { @@ -2767,17 +2765,17 @@ $lt{'title'}:
$uploadtag
- + - +

- + $help{'Uploading_From_Harddrive'} - + @@ -2786,20 +2784,20 @@ $lt{'pubd'}
$uploadtag
- + $help{'Importing_LON-CAPA_Resource'} - +


$lt{'copm'}

- -$help{'Load_Map'} +$help{'Load_Map'}


@@ -2813,10 +2811,10 @@ ENDFORM
$uploadtag - + $help{'Adding_External_Resource'} - +

@@ -2831,106 +2829,106 @@ ENDFORM
- + $help{'Adding_Folders'} - +

- + $help{'Adding_Pages'} - +

$uploadtag - + $help{'Syllabus'} - +

$uploadtag - + $help{'Navigate_Content'} - +

$uploadtag - + $help{'Simple Page'} - +

$uploadtag - + $help{'Simple Problem'} - +

$uploadtag - + - +

$uploadtag - + $help{'Score_Upload_Form'} - +

$uploadtag - + $help{'Bulletin Board'} - +

$uploadtag - + $help{'My Personal Info'} - +

$uploadtag - + - +

$uploadtag - + $help{'Group Files'} - +
ENDFORM } @@ -2939,19 +2937,19 @@ ENDFORM
$uploadtag - + $help{'Simple Problem'} - +

$uploadtag - + $help{'Score_Upload_Form'} - +
ENDBLOCK } @@ -2990,11 +2988,11 @@ ENDBLOCK

- + - +

$lt{'comment'}: