version 1.253.2.6, 2010/11/29 04:40:12
|
version 1.253.2.8, 2010/12/05 21:58:49
|
Line 700 sub get_date_from_form {
|
Line 700 sub get_date_from_form {
|
if (&Apache::lonlocal::gettimezone($timezone) eq 'local') { |
if (&Apache::lonlocal::gettimezone($timezone) eq 'local') { |
$timezone = &Apache::lonlocal::gettimezone(); |
$timezone = &Apache::lonlocal::gettimezone(); |
} |
} |
|
} else { |
|
$timezone = &Apache::lonlocal::gettimezone(); |
} |
} |
my $dt = DateTime->new( year => $year, |
my $dt = DateTime->new( year => $year, |
month => $month, |
month => $month, |
Line 1395 returns: nothing
|
Line 1397 returns: nothing
|
if ((exists($env{'request.course.id'})) && |
if ((exists($env{'request.course.id'})) && |
($env{'request.course.id'} ne '') && |
($env{'request.course.id'} ne '') && |
!($env{'form.context'} eq 'requestcrs')) { |
!($env{'form.context'} eq 'requestcrs')) { |
if ((&Apache::loncommon::needs_gci_custom()) || ($env{'user.domain'} eq 'gcitest')) { |
if ((&Apache::loncommon::needs_gci_custom()) || ($env{'user.domain'} =~ /^\w+citest$/)) { |
if ($env{'environment.remotenavmap'} eq 'on') { |
if ($env{'environment.remotenavmap'} eq 'on') { |
# open link using javascript when remote navmap is activated |
# open link using javascript when remote navmap is activated |
$href = "javascript:gonav('/adm/navmaps');"; |
$href = "javascript:gonav('/adm/navmaps');"; |