');
my $cols_output = 1;
for (my $prevvers=$lastold;$prevvers<$currentversion;$prevvers++) {
my $url=$root.'.'.$prevvers.'.'.$extension;
@@ -2483,7 +2484,7 @@ sub changewarning {
$message='Changes will become active for your current session after [_1], or the next time you log in.';
}
$r->print("\n\n".
-''."\n".
+''."\n".
'
+
+HIDDENFORM
}
# --------------------------------------------------------- Main tab structure
my $activeClass = 1;
- $r->print('
');
- if (($standard) && ($allowed) && (!$forcesupplement)) {
- my $active = '';
+ my $active = '';
+ $r->print('
');
(($env{'form.folderpath'} =~ /^default\&/) || ($env{'form.folderpath'} eq ''))) {
$env{'form.folderpath'} = 'supplemental&'.
&escape(&mt('Supplemental '.$type.' Documents'));
+ }else{
+ $env{'form.folderpath'} = $savefolderpath;
}
if ($allowed) {
my $folderseq=
@@ -3236,7 +3245,7 @@ SNSFORM
value="$plainname=/adm/$udom/$uname/aboutme" />
- $help{'My Personal Info'}
+ $help{'My Personal Information Page'}
SNAMFORM
@@ -3250,8 +3259,8 @@ my %suporderhash = (
);
my %supnamehash = (
- 'New Document' => $supupdocform,
- 'Special Documents' => $supnewfolderform.' '.$supnewextform.' '.$supnewsylform.' '.$supnewaboutmeform,
+ 'New Document' => $supupdocform.' '.$supnewfolderform,
+ 'Special Documents' => $supnewextform.' '.$supnewsylform.' '.$supnewaboutmeform,
);
my $tid='2';
@@ -3264,9 +3273,8 @@ my $error = &editor($r,$coursenum,$cours
if ($error) {
$r->print('
'.$error.'
');
}
-$r->print('
print('
');
}
- }
$r->print('');
if ($allowed) {
$r->print('
@@ -3292,48 +3300,27 @@ $r->print('');
}
sub generate_admin_options {
- my ($containertag,$uploadtag,$lt_ref,$help_ref,$env_ref) = @_;
- my %lt = %{$lt_ref};
+ my ($containertag,$uploadtag,$help_ref,$env_ref) = @_;
+ my %lt=&Apache::lonlocal::texthash(
+ 'vc' => 'Verify Content',
+ 'cv' => 'Check/Set Resource Versions',
+ 'ls' => 'List Symbs',
+ 'sl' => 'Show Log'
+ );
my %help = %{$help_ref};
my %env = %{$env_ref};
my $dumpbut=&dumpbutton();
my $exportbut=&exportbutton();
return (<
-
-
-
-
- $containertag
-
-
-
ENDOPTIONFORM
}
@@ -3341,21 +3328,20 @@ ENDOPTIONFORM
sub generate_edit_table {
my ($tid,$content,$navigation,$varcd,$namehash_ref,$orderhash_ref) = @_;
- my %namehash = %{$namehash_ref}; #name verlinkt mit id
- my %orderhash = %{$orderhash_ref}; #name mit kürzel verlinkt mit name
+ my %namehash = %{$namehash_ref};
+ my %orderhash = %{$orderhash_ref};
my $form;
-
-
$form = '
';
foreach my $field (keys(%namehash)){
$form .= '
'.$namehash{$field}.'
';
@@ -3374,12 +3360,12 @@ sub editing_js {
p_mnp => 'Name of New Page',
t_mnp => 'New Page',
p_mxu => 'Title for the Uploaded Score',
- p_msp => 'Title for the Page',
+ p_msp => 'Name of Simple Course 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_mbb => 'Title for the Discussion Board',
+ p_mab => "Enter user:domain for User's Personal Information Page",
+ p_mab2 => 'Personal Information Page of ',
p_mab_alrt1 => 'Not a valid user:domain',
p_mab_alrt2 => 'Please enter both user and domain in the format user:domain',
p_chn => 'New Title',
@@ -3427,7 +3413,7 @@ function edittext(targetname,residx,titl
function makeexamupload() {
var title=prompt('$lt{"p_mxu"}');
- if (title) {
+ if (title) {
this.document.forms.newexamupload.importdetail.value=
escape(title)+'=/res/lib/templates/examupload.problem';
this.document.forms.newexamupload.submit();
@@ -3436,7 +3422,7 @@ function makeexamupload() {
function makesmppage() {
var title=prompt('$lt{"p_msp"}');
- if (title) {
+ if (title) {
this.document.forms.newsmppg.importdetail.value=
escape(title)+'=/adm/$udom/$uname/$now/smppg';
this.document.forms.newsmppg.submit();
@@ -3445,7 +3431,7 @@ function makesmppage() {
function makesmpproblem() {
var title=prompt('$lt{"p_msb"}');
- if (title) {
+ if (title) {
this.document.forms.newsmpproblem.importdetail.value=
escape(title)+'=/res/lib/templates/simpleproblem.problem';
this.document.forms.newsmpproblem.submit();
@@ -3454,7 +3440,7 @@ function makesmpproblem() {
function makedropbox() {
var title=prompt('$lt{"p_mdb"}');
- if (title) {
+ if (title) {
this.document.forms.newdropbox.importdetail.value=
escape(title)+'=/res/lib/templates/DropBox.problem';
this.document.forms.newdropbox.submit();
@@ -3620,7 +3606,7 @@ Available help topics
=item mapread()
-Mapread read maps into LONCAPA::map:: global arrays
+Mapread read maps into LONCAPA::map:: global arrays
@order and @resources, determines status
sets @order - pointer to resources in right order
sets @resources - array with the resources with correct idx