version 1.315, 2012/05/28 19:05:21
|
version 1.317, 2012/05/29 01:11:30
|
Line 1516 END
|
Line 1516 END
|
sub set_compute_end_time { |
sub set_compute_end_time { |
|
|
my $now = time()*1000; # Javascript times are in ms. |
my $now = time()*1000; # Javascript times are in ms. |
my $js = " |
return <<"END"; |
<script type='text/javascript'> |
|
|
<script type="text/javascript"> |
//<![CDATA[ |
//<![CDATA[ |
serverTime = $now; |
serverTime = $now; |
clientTime = (new Date()).getTime(); |
clientTime = (new Date()).getTime(); |
//]]> |
//]]> |
</script> |
</script> |
|
|
"; |
END |
return $js; |
|
|
|
} |
} |
|
|
############################################################ |
############################################################ |
Line 1618 returns: nothing
|
Line 1617 returns: nothing
|
my $links; |
my $links; |
if ((&show_return_link) && (!$CourseBreadcrumbs)) { |
if ((&show_return_link) && (!$CourseBreadcrumbs)) { |
my $alttext = &mt('Go Back'); |
my $alttext = &mt('Go Back'); |
$links=&htmltag( 'a',"<img src='/res/adm/pages/reload.png' border='0' style='vertical-align:middle;' alt='$alttext' />", |
$links=&htmltag( 'a','<img src="/res/adm/pages/tolastloc.png" alt="'.$alttext.'" class="LC_icon" />', |
{ href => '/adm/flip?postdata=return:', |
{ href => '/adm/flip?postdata=return:', |
title => &mt("Back to most recent content resource") }); |
title => &mt('Back to most recent content resource'), |
|
class => 'LC_menubuttons_link', |
|
}); |
$links=&htmltag('li',$links); |
$links=&htmltag('li',$links); |
} |
} |
$links.= join "", |
$links.= join "", |