--- loncom/interface/londocs.pm 2008/01/17 18:42:31 1.302 +++ loncom/interface/londocs.pm 2008/03/17 14:13:27 1.305 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.302 2008/01/17 18:42:31 bisitz Exp $ +# $Id: londocs.pm,v 1.305 2008/03/17 14:13:27 bisitz Exp $ # # Copyright Michigan State University Board of Trustees # @@ -1205,8 +1205,8 @@ sub update_paste_buffer { } $url=~s{http(:|:)//https(:|:)//}{https$2//}; - &Apache::lonnet::appenv('docs.markedcopy_title' => $title, - 'docs.markedcopy_url' => $url); + &Apache::lonnet::appenv({'docs.markedcopy_title' => $title, + 'docs.markedcopy_url' => $url}); delete($env{'form.markcopy'}); } @@ -2891,7 +2891,7 @@ value="$lt{'newp'}" />$help{'Adding_Page
$uploadtag +value="$lt{'syll'}=/public/$coursedom/$coursenum/syllabus" /> $help{'Syllabus'} @@ -2900,7 +2900,7 @@ value="Syllabus=/public/$coursedom/$cour
$uploadtag +value="$lt{'navc'}=/adm/navmaps" /> $help{'Navigate_Content'} @@ -2968,7 +2968,7 @@ onClick="javascript:makeabout();" />
$uploadtag +value="$lt{'grpo'}=/adm/$coursedom/$coursenum/aboutme" /> $help{'Group Files'} @@ -2977,7 +2977,7 @@ $help{'Group Files'}
$uploadtag +value="$lt{'rost'}=/adm/viewclasslist" /> $help{'Course Roster'} @@ -3137,11 +3137,11 @@ sub editing_js { t_mnf => 'New Folder', p_mnp => 'Name of New Page', t_mnp => 'New Page', - p_mxu => 'Listed Title for the Uploaded Score', - p_msp => 'Listed Title for the Page', - p_msb => 'Listed Title for the Problem', - p_mdb => 'Listed Title for the Drop Box', - p_mbb => 'Listed Title for the Bulletin Board', + p_mxu => 'Title for the Uploaded Score', + p_msp => 'Title for the Page', + p_msb => 'Title for the Problem', + p_mdb => 'Title for the Drop Box', + p_mbb => 'Title for the Bulletin Board', p_mab => "Enter user:domain for User's 'About Me' Page", p_mab2 => "About [_99]", p_mab_alrt1 => 'Not a valid user:domain', @@ -3150,7 +3150,8 @@ sub editing_js { p_rmr1 => 'WARNING: Removing a resource makes associated grades and scores inaccessible!', p_rmr2a => 'Remove[_99]', p_rmr2b => '?[_99]', - p_ctr1 => 'WARNING: Cutting a resource makes associated grades and scores inaccessible!\\nGrades remain inaccessible if resource is pasted into another folder.', + p_ctr1a => 'WARNING: Cutting a resource makes associated grades and scores inaccessible!', + p_ctr1b => 'Grades remain inaccessible if resource is pasted into another folder.', p_ctr2a => 'Cut[_98]', p_ctr2b => '?[_98]' ); @@ -3234,7 +3235,7 @@ function makebulboard() { } function makeabout() { - var user=prompt('$lt{"p_mab"}'); + var user=prompt("$lt{'p_mab'}"); if (user) { var comp=new Array(); comp=user.split(':'); @@ -3301,7 +3302,7 @@ function removeres(folderpath,index,oldt } function cutres(folderpath,index,oldtitle,container,pagesymb,folder,skip_confirm) { - if (skip_confirm || confirm('$lt{"p_ctr1"}\\n\\n$lt{"p_ctr2a"} "'+oldtitle+'" $lt{"p_ctr2b"}')) { + if (skip_confirm || confirm('$lt{"p_ctr1a"}\\n$lt{"p_ctr1b"}\\n\\n$lt{"p_ctr2a"} "'+oldtitle+'" $lt{"p_ctr2b"}')) { this.document.forms.renameform.cmd.value='cut_'+index; this.document.forms.renameform.markcopy.value=index; this.document.forms.renameform.copyfolder.value=folder+'.'+container;