version 1.370, 2006/05/12 02:17:50
|
version 1.372, 2006/05/17 20:47:06
|
Line 2608 sub timehash {
|
Line 2608 sub timehash {
|
|
|
sub utc_string { |
sub utc_string { |
my ($date)=@_; |
my ($date)=@_; |
my @utctime=gmtime($date); |
return strftime("%Y%m%dT%H%M%SZ",gmtime($date)); |
my $year=$utctime[5]+1900; |
|
my $month=$utctime[4]+1; |
|
return "$year$month$utctime[3]T$utctime[2]$utctime[1]$utctime[0]Z"; |
|
} |
} |
|
|
sub maketime { |
sub maketime { |
Line 3131 table#LC_title_bar {
|
Line 3128 table#LC_title_bar {
|
padding: 0px 2px 0px 2px; |
padding: 0px 2px 0px 2px; |
background: $pgbg; |
background: $pgbg; |
font-family: $sans; |
font-family: $sans; |
border-collapse: collapse; |
border-collapse: separate; |
} |
} |
table#LC_title_bar.LC_with_remote { |
table#LC_title_bar.LC_with_remote { |
width: 100%; |
width: 100%; |
Line 3168 table#LC_menubuttons_mainmenu {
|
Line 3165 table#LC_menubuttons_mainmenu {
|
background: $pgbg; |
background: $pgbg; |
border: 0px; |
border: 0px; |
border-spacing: 1px; |
border-spacing: 1px; |
padding: 0px; |
padding: 0px 1px; |
margin: 0px; |
margin: 0px; |
border-collapse: separate; |
border-collapse: separate; |
} |
} |
Line 3557 Inputs: $args - additional optio
|
Line 3554 Inputs: $args - additional optio
|
|
|
sub end_page { |
sub end_page { |
my ($args) = @_; |
my ($args) = @_; |
#&Apache::lonnet::logthis("end_page ".join(':',caller(0))); |
|
$env{'internal.end_page'}++; |
$env{'internal.end_page'}++; |
my $result; |
my $result; |
if ($args->{'discussion'}) { |
if ($args->{'discussion'}) { |
Line 3600 sub js_ready {
|
Line 3596 sub js_ready {
|
$result =~ s/[\n\r]/ /xmsg; |
$result =~ s/[\n\r]/ /xmsg; |
$result =~ s/\\/\\\\/xmsg; |
$result =~ s/\\/\\\\/xmsg; |
$result =~ s/'/\\'/xmsg; |
$result =~ s/'/\\'/xmsg; |
$result =~ s{</script>}{</scrip'+'t>}xmsg; |
$result =~ s{</}{<\\/}xmsg; |
|
|
return $result; |
return $result; |
} |
} |