version 1.2, 2016/04/04 15:56:58
|
version 1.4, 2016/04/14 15:43:45
|
Line 1
|
Line 1
|
# The LearningOnline Network with CAPA |
# The LearningOnline Network with CAPA |
# Handler to manage dependencies for HTML files uploaded directly |
# Handler for a Placement Test course container |
# to a course. |
|
# |
# |
# $Id$ |
# $Id$ |
# |
# |
Line 20
|
Line 19
|
# |
# |
# You should have received a copy of the GNU General Public License |
# You should have received a copy of the GNU General Public License |
# along with LON-CAPA; if not, write to the Free Software |
# along with LON-CAPA; if not, write to the Free Software |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA# |
# Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA |
|
# |
# /home/httpd/html/adm/gpl.txt |
# /home/httpd/html/adm/gpl.txt |
# |
# |
# http://www.lon-capa.org/ |
# http://www.lon-capa.org/ |
Line 245 sub showresult {
|
Line 245 sub showresult {
|
my ($score) = &Apache::lonplacementtest::check_completion(1,undef,1); |
my ($score) = &Apache::lonplacementtest::check_completion(1,undef,1); |
my %aclt = &test_action_text(); |
my %aclt = &test_action_text(); |
my $output; |
my $output; |
unless ($inhibitmenu) { |
if ($inhibitmenu) { |
|
$output = '<hr />'; |
|
} else { |
my $brcrum = [{'href' => '/adm/flip?postdata=firstres%3a', |
my $brcrum = [{'href' => '/adm/flip?postdata=firstres%3a', |
'text' => 'Test Status'},]; |
'text' => 'Test Status'},]; |
$output = &Apache::loncommon::start_page('Placement Test Completed', |
$output = &Apache::loncommon::start_page('Placement Test Completed', |
Line 270 sub showincomplete {
|
Line 272 sub showincomplete {
|
my %aclt = &test_action_text(); |
my %aclt = &test_action_text(); |
my $output; |
my $output; |
if ($incomplete == 100) { |
if ($incomplete == 100) { |
unless ($inhibitmenu) { |
if ($inhibitmenu) { |
|
$output = '<hr />'; |
|
} else { |
my $brcrum = [{'href' => '/adm/flip?postdata=firstres%3a', |
my $brcrum = [{'href' => '/adm/flip?postdata=firstres%3a', |
'text' => 'Test Status'},]; |
'text' => 'Test Status'},]; |
$output = &Apache::loncommon::start_page('Placement Test Unattempted', |
$output = &Apache::loncommon::start_page('Placement Test Unattempted', |
Line 284 sub showincomplete {
|
Line 288 sub showincomplete {
|
'<a href="/adm/logout">'.$aclt{'exit'}.'</a></li>', |
'<a href="/adm/logout">'.$aclt{'exit'}.'</a></li>', |
]); |
]); |
} elsif ($incomplete) { |
} elsif ($incomplete) { |
unless ($inhibitmenu) { |
if ($inhibitmenu) { |
|
$output = '<hr />'; |
|
} else { |
my $brcrum = [{'href' => '/adm/flip?postdata=endplacement%3a', |
my $brcrum = [{'href' => '/adm/flip?postdata=endplacement%3a', |
'text' => 'Test Status'},]; |
'text' => 'Test Status'},]; |
$output .= &Apache::loncommon::start_page('Incomplete Placement Test', |
$output .= &Apache::loncommon::start_page('Incomplete Placement Test', |