NGFFORM
@specialdocumentsforma=(
- {''=>$newpageform},
- {''=>$newsylform},
- {''=>$newgroupfileform},
+ {''=>$newpageform},
+ {''=>$newsylform},
+ {''=>$newgroupfileform},
);
}
- push @specialdocumentsforma, ({''=>$newnavform},
- {''=>$newsmppageform},
- {''=>$newsmpproblemform},
- {''=>$newdropboxform},
- {''=>$newexuploadform},
- {''=>$newbulform},
- {''=>$newaboutmeform},
- {''=>$newaboutsomeoneform},
- {''=>$newrosterform},);
+ push @specialdocumentsforma, ({''=>$newnavform},
+ {''=>$newsmppageform},
+ {''=>$newsmpproblemform},
+ {''=>$newdropboxform},
+ {''=>$newexuploadform},
+ {''=>$newbulform},
+ {''=>$newaboutmeform},
+ {''=>$newaboutsomeoneform},
+ {''=>$newrosterform},);
$specialdocumentsform = create_form_ul(create_list_elements(@specialdocumentsforma));
@@ -3302,9 +3292,9 @@ if($env{'form.pagepath'}) {
}
my @tools = (
- {''=>$extresourcesform},
- {''=>$imspform},
- {''=>$recoverform},
+ {''=>$extresourcesform},
+ {''=>$imspform},
+ {''=>$recoverform},
);
my %orderhash = (
@@ -3419,9 +3409,9 @@ SNAMFORM
my @specialdocs = (
- {''=>$supnewextform},
- {''=>$supnewsylform},
- {''=>$supnewaboutmeform},
+ {''=>$supnewextform},
+ {''=>$supnewsylform},
+ {''=>$supnewaboutmeform},
);
my %suporderhash = (
'00' => ['Supnewfolder', $supnewfolderform],
@@ -3476,22 +3466,24 @@ sub generate_admin_options {
'vc' => 'Verify Content',
'cv' => 'Check/Set Resource Versions',
'ls' => 'List Symbs',
- 'sl' => 'Show Log'
+ 'sl' => 'Show Log',
+ 'imse' => 'IMS Export',
+ 'dcd' => 'Dump Course DOCS to Construction Space: available on other servers'
);
my %help = %{$help_ref};
my %env = %{$env_ref};
my $dumpbut=&dumpbutton();
my $exportbut=&exportbutton();
my @list = (
- {''=>"$lt{'vc'}$help{'Verify_Content'}"},
- {''=>"$lt{'cv'}$help{'Check_Resource_Versions'}"},
+ {''=>"$lt{'vc'}$help{'Verify_Content'}"},
+ {''=>"$lt{'cv'}$help{'Check_Resource_Versions'}"},
);
if($dumpbut ne ''){
- push @list, {''=>$dumpbut};
+ push @list, {''=>$dumpbut};
}
- push @list, ({''=>$exportbut},
- {''=>"$lt{'ls'}"},
- {''=>"$lt{'sl'}"},
+ push @list, ({''=>$exportbut},
+ {''=>"$lt{'ls'}"},
+ {''=>"$lt{'sl'}"},
);
return '';
@@ -3542,74 +3534,6 @@ sub generate_edit_table {
return $form;
}
-sub concept_test_builder {
- my ($r,$cdom,$cnum) = @_;
- &Apache::londocsgci::setdefaults($cdom);
- if ($env{'form.context'} eq 'requestcrs') {
- if ($env{'form.phase'} eq 'storemap') {
- &Apache::londocsgci::evaluate();
- my $error = &Apache::londocsgci::store('requestcrs',$cdom,$cnum);
- my $output = '';
- if ($error) {
- $output .= ''.
- &mt('An error occurred saving your concept test: [_1].',$error).
- '';
- } else {
- &Apache::lonuserstate::readmap($cdom.'/'.$cnum);
- $output .= &mt('Your concept test has been saved.');
- }
- $output .= '
';
- if (&Apache::lonrequestcourse::generate_page($r,'new','chooseitems')) {
- my $formname = 'requestcrs';
- $r->print('