--- loncom/html/adm/helper/newslot.helper 2005/11/02 22:14:53 1.8
+++ loncom/html/adm/helper/newslot.helper 2006/02/03 22:40:46 1.12
@@ -7,6 +7,8 @@
if (exists($env{'form.name'}) ||
$env{'form.name'} =~ /\S/) {
$helper->{'VARS'}{'name'}=$env{'form.name'};
+ $helper->{VARS}{'origname'}=$env{'form.name'};
+ $helper->{DATA}{copy} = 1;
}
}
$helper->{DATA}{origslot} = sub {
@@ -17,7 +19,7 @@
}
my $cnum = $env{'course.'.$env{'request.course.id'}.'.num'};
my $cdom = $env{'course.'.$env{'request.course.id'}.'.domain'};
- my $name=$helper->{'VARS'}{'name'};
+ my $name=$helper->{VARS}{'origname'};
my %slot=&Apache::lonnet::get('slots', [$name], $cdom, $cnum);
if (!ref($slot{$name})) { return $default; }
if (!exists($slot{$name}{$which})) { return $default; }
@@ -25,22 +27,27 @@
}
Changing the Name will create a new slot with the new name, and not rename the existing slot. Description: Description:
-
Start time:
Start time:
End time:
End time:
Type:
Type:
-
Time students can start reserving:
-
+
Time students can start reserving:
Maxium number of students allowed in this slot:
-
+
Maxium number of students allowed in this slot:
Period of time in which this slot is can only be uniquely chosen:
Start:
-
+
Period of time in which this slot is can only be uniquely chosen:
Start:
End:
End:
Secret word proctors use to checkin users:
-
+
Secret word proctors use to checkin users:
Slot is: - +
Slot is:
IP restrictions:
-
+