version 1.37, 2012/12/16 20:06:44
|
version 1.39, 2013/06/04 22:20:16
|
Line 444 function verify() {
|
Line 444 function verify() {
|
if ($numitems > 0) { |
if ($numitems > 0) { |
my $maxnum = $numitems - 1; |
my $maxnum = $numitems - 1; |
my %lt = &Apache::lonlocal::texthash( |
my %lt = &Apache::lonlocal::texthash( |
fnmb => 'File names must be unique', |
fnmb => 'Filenames must be unique', |
isum => 'is used more than once', |
isum => 'is used more than once', |
); |
); |
$$jsref .= qq| |
$$jsref .= qq| |
Line 681 sub display_three {
|
Line 681 sub display_three {
|
my %lt = &Apache::lonlocal::texthash ( |
my %lt = &Apache::lonlocal::texthash ( |
crt => 'Create?', |
crt => 'Create?', |
typ => 'Type', |
typ => 'Type', |
fnam => 'File Name', |
fnam => 'Filename', |
ques => 'Question', |
ques => 'Question', |
answ => 'Answer', |
answ => 'Answer', |
chka => 'check all', |
chka => 'check all', |
Line 1776 sub print_header {
|
Line 1776 sub print_header {
|
my ($uname,$udom,$javascript,$loadentries,$title,$current_page,$pagesref, |
my ($uname,$udom,$javascript,$loadentries,$title,$current_page,$pagesref, |
$namesref) = @_; |
$namesref) = @_; |
my $brcrum = [{'href' => &Apache::loncommon::authorspace("/priv/$udom/$uname/"), |
my $brcrum = [{'href' => &Apache::loncommon::authorspace("/priv/$udom/$uname/"), |
'text' => 'Construction Space'}]; |
'text' => 'Authoring Space'}]; |
if ($env{'form.phase'} eq 'three') { |
if ($env{'form.phase'} eq 'three') { |
if (ref($pagesref) eq 'ARRAY') { |
if (ref($pagesref) eq 'ARRAY') { |
for (my $i=0; $i<$current_page; $i++) { |
for (my $i=0; $i<$current_page; $i++) { |
Line 1838 sub handler {
|
Line 1838 sub handler {
|
my $page_name = ''; |
my $page_name = ''; |
my $current_page = ''; |
my $current_page = ''; |
my $qcount = ''; |
my $qcount = ''; |
my $title = 'Upload testbank questions to Construction Space'; |
my $title = 'Upload testbank questions to Authoring Space'; |
|
|
# ----------------------------------------------------------- Start page output |
# ----------------------------------------------------------- Start page output |
&Apache::loncommon::content_type($r,'text/html'); |
&Apache::loncommon::content_type($r,'text/html'); |