version 1.1440, 2024/10/07 19:52:16
|
version 1.1449, 2025/02/03 19:07:54
|
Line 2476 END
|
Line 2476 END
|
<domain>$cdom</domain> |
<domain>$cdom</domain> |
<highestgradelevel>0</highestgradelevel> |
<highestgradelevel>0</highestgradelevel> |
<keywords></keywords> |
<keywords></keywords> |
<language>notset </language> |
<language>notset</language> |
<lastrevisiondate>$now</lastrevisiondate> |
<lastrevisiondate>$now</lastrevisiondate> |
<lowestgradelevel>0</lowestgradelevel> |
<lowestgradelevel>0</lowestgradelevel> |
<mime>rights</mime> |
<mime>rights</mime> |
Line 5691 sub blockcheck {
|
Line 5691 sub blockcheck {
|
} |
} |
unless ($has_evb) { |
unless ($has_evb) { |
if (($activity eq 'printout') || ($activity eq 'grades') || ($activity eq 'search') || |
if (($activity eq 'printout') || ($activity eq 'grades') || ($activity eq 'search') || |
($activity eq 'boards') || ($activity eq 'groups') || ($activity eq 'chat')) { |
($activity eq 'index') || ($activity eq 'boards') || ($activity eq 'groups') || |
|
($activity eq 'chat')) { |
if ($udom eq $cdom) { |
if ($udom eq $cdom) { |
$check_ipaccess = 1; |
$check_ipaccess = 1; |
} |
} |
Line 5782 sub blockcheck {
|
Line 5783 sub blockcheck {
|
|
|
if (($activity eq 'boards' || $activity eq 'chat' || |
if (($activity eq 'boards' || $activity eq 'chat' || |
$activity eq 'groups' || $activity eq 'printout' || |
$activity eq 'groups' || $activity eq 'printout' || |
$activity eq 'search' || $activity eq 'reinit' || |
$activity eq 'search' || $activity eq 'index' || |
$activity eq 'alert') && |
$activity eq 'reinit' || $activity eq 'alert') && |
($env{'request.course.id'})) { |
($env{'request.course.id'})) { |
foreach my $key (keys(%live_courses)) { |
foreach my $key (keys(%live_courses)) { |
if ($key ne $env{'request.course.id'}) { |
if ($key ne $env{'request.course.id'}) { |
Line 6118 END_MYBLOCK
|
Line 6119 END_MYBLOCK
|
$text = &mt('Gradebook Blocked'); |
$text = &mt('Gradebook Blocked'); |
} elsif ($activity eq 'search') { |
} elsif ($activity eq 'search') { |
$text = &mt('Search Blocked'); |
$text = &mt('Search Blocked'); |
|
} elsif ($activity eq 'index') { |
|
$text = &mt('Content Index Blocked'); |
} elsif ($activity eq 'alert') { |
} elsif ($activity eq 'alert') { |
$text = &mt('Checking Critical Messages Blocked'); |
$text = &mt('Checking Critical Messages Blocked'); |
} elsif ($activity eq 'reinit') { |
} elsif ($activity eq 'reinit') { |
Line 6877 sub bodytag {
|
Line 6880 sub bodytag {
|
my $hostname = $args->{'hostname'}; |
my $hostname = $args->{'hostname'}; |
|
|
$function = &get_users_function() if (!$function); |
$function = &get_users_function() if (!$function); |
my $img = &designparm($function.'.img',$domain); |
|
my $font = &designparm($function.'.font',$domain); |
my $font = &designparm($function.'.font',$domain); |
my $pgbg = $bgcolor || &designparm($function.'.pgbg',$domain); |
my $pgbg = $bgcolor || &designparm($function.'.pgbg',$domain); |
|
|
Line 7096 END
|
Line 7098 END
|
} |
} |
} else { |
} else { |
# this is to separate menu from content when there's no secondary |
# this is to separate menu from content when there's no secondary |
# menu. Especially needed for public accessible ressources. |
# menu. Especially needed for publicly accessible resources. |
$bodytag .= '<hr style="clear:both" />'; |
$bodytag .= '<hr style="clear:both" />'; |
if ($need_endlcint) { |
if ($need_endlcint) { |
$bodytag .= Apache::lonhtmlcommon::scripttag('', 'end'); |
$bodytag .= Apache::lonhtmlcommon::scripttag('', 'end'); |
Line 7235 Inputs: (all optional)
|
Line 7237 Inputs: (all optional)
|
sub standard_css { |
sub standard_css { |
my ($function,$domain,$bgcolor) = @_; |
my ($function,$domain,$bgcolor) = @_; |
$function = &get_users_function() if (!$function); |
$function = &get_users_function() if (!$function); |
my $img = &designparm($function.'.img', $domain); |
|
my $tabbg = &designparm($function.'.tabbg', $domain); |
my $tabbg = &designparm($function.'.tabbg', $domain); |
my $font = &designparm($function.'.font', $domain); |
my $font = &designparm($function.'.font', $domain); |
my $fontmenu = &designparm($function.'.fontmenu', $domain); |
my $fontmenu = &designparm($function.'.fontmenu', $domain); |
Line 7300 form, .inline {
|
Line 7301 form, .inline {
|
display: inline; |
display: inline; |
} |
} |
|
|
|
.LC_visually_hidden:not(:focus):not(:active) { |
|
clip-path: inset(50%); |
|
height: 1px; |
|
overflow: hidden; |
|
position: absolute; |
|
white-space: nowrap; |
|
width: 1px; |
|
display: inline; |
|
} |
|
|
.LC_menus_content.shown{ |
.LC_menus_content.shown{ |
display: block; |
display: block; |
} |
} |
Line 7312 form, .inline {
|
Line 7323 form, .inline {
|
text-align:right; |
text-align:right; |
} |
} |
|
|
|
.LC_center { |
|
text-align:center; |
|
} |
|
|
.LC_middle { |
.LC_middle { |
vertical-align:middle; |
vertical-align:middle; |
} |
} |
Line 8216 table.LC_prior_tries td {
|
Line 8231 table.LC_prior_tries td {
|
padding: 6px; |
padding: 6px; |
} |
} |
|
|
|
.LC_prob_status { |
|
margin-top: 5px; |
|
padding-top: 0; |
|
padding-left: 0; |
|
padding-bottom: 0; |
|
padding-right: 5px; |
|
} |
|
|
|
.LC_mail_actions { |
|
float: left; |
|
padding: 0; |
|
margin: 6px; |
|
} |
|
|
|
.LC_vertical_line { |
|
width: 1px; |
|
background-color: black; |
|
height: 4em; |
|
float: left; |
|
margin: 0; |
|
padding: 0; |
|
} |
|
|
span.LC_prior_numerical, |
span.LC_prior_numerical, |
span.LC_prior_string, |
span.LC_prior_string, |
span.LC_prior_custom, |
span.LC_prior_custom, |
Line 9106 ul#LC_toolbar {
|
Line 9144 ul#LC_toolbar {
|
padding: 0; |
padding: 0; |
margin: 2px; |
margin: 2px; |
list-style:none; |
list-style:none; |
position:relative; |
display:inline; |
background-color:white; |
background-color:white; |
overflow: auto; |
overflow: auto; |
} |
} |
Line 9134 a.LC_toolbarItem {
|
Line 9172 a.LC_toolbarItem {
|
background-color:transparent; |
background-color:transparent; |
} |
} |
|
|
|
.LC_navtools { |
|
display: inline-block; |
|
padding: 0; |
|
margin: 2px; |
|
vertical-align: middle; |
|
} |
|
|
ul.LC_funclist { |
ul.LC_funclist { |
margin: 0; |
margin: 0; |
padding: 0.5em 1em 0.5em 0; |
padding: 0.5em 1em 0.5em 0; |