version 1.796, 2009/04/25 20:22:07
|
version 1.806, 2009/05/07 16:25:02
|
Line 517 sub coursebrowser_javascript {
|
Line 517 sub coursebrowser_javascript {
|
else { |
else { |
if (formname == 'portform') { |
if (formname == 'portform') { |
url += '&setroles='+extra_element; |
url += '&setroles='+extra_element; |
|
} else { |
|
if (formname == 'rules') { |
|
url += '&fixeddom='+extra_element; |
|
} |
} |
} |
} |
} |
} |
} |
Line 931 sub help_open_topic {
|
Line 935 sub help_open_topic {
|
my ($topic, $text, $stayOnPage, $width, $height) = @_; |
my ($topic, $text, $stayOnPage, $width, $height) = @_; |
$text = "" if (not defined $text); |
$text = "" if (not defined $text); |
$stayOnPage = 0 if (not defined $stayOnPage); |
$stayOnPage = 0 if (not defined $stayOnPage); |
if ($env{'browser.interface'} eq 'textual') { |
|
$stayOnPage=1; |
|
} |
|
$width = 350 if (not defined $width); |
$width = 350 if (not defined $width); |
$height = 400 if (not defined $height); |
$height = 400 if (not defined $height); |
my $filename = $topic; |
my $filename = $topic; |
Line 1039 sub help_open_menu {
|
Line 1040 sub help_open_menu {
|
$stayOnPage = 0 if (not defined $stayOnPage); |
$stayOnPage = 0 if (not defined $stayOnPage); |
# only use pop-up help (stayOnPage == 0) |
# only use pop-up help (stayOnPage == 0) |
# if environment.remote is on (using remote control UI) |
# if environment.remote is on (using remote control UI) |
if ($env{'browser.interface'} eq 'textual' || |
if ($env{'environment.remote'} eq 'off' ) { |
$env{'environment.remote'} eq 'off' ) { |
|
$stayOnPage=1; |
$stayOnPage=1; |
} |
} |
my $output; |
my $output; |
Line 1064 sub top_nav_help {
|
Line 1064 sub top_nav_help {
|
my ($text) = @_; |
my ($text) = @_; |
$text = &mt($text); |
$text = &mt($text); |
my $stay_on_page = |
my $stay_on_page = |
($env{'browser.interface'} eq 'textual' || |
($env{'environment.remote'} eq 'off' ); |
$env{'environment.remote'} eq 'off' ); |
|
my $link = ($stay_on_page) ? "javascript:helpMenu('display')" |
my $link = ($stay_on_page) ? "javascript:helpMenu('display')" |
: "javascript:helpMenu('open')"; |
: "javascript:helpMenu('open')"; |
my $banner_link = &update_help_link(undef,undef,undef,undef,$stay_on_page); |
my $banner_link = &update_help_link(undef,undef,undef,undef,$stay_on_page); |
Line 1082 sub help_menu_js {
|
Line 1081 sub help_menu_js {
|
my ($text) = @_; |
my ($text) = @_; |
|
|
my $stayOnPage = |
my $stayOnPage = |
($env{'browser.interface'} eq 'textual' || |
($env{'environment.remote'} eq 'off' ); |
$env{'environment.remote'} eq 'off' ); |
|
|
|
my $width = 620; |
my $width = 620; |
my $height = 600; |
my $height = 600; |
Line 1142 sub help_open_bug {
|
Line 1140 sub help_open_bug {
|
unless ($Apache::lonnet::perlvar{'BugzillaHost'}) { return ''; } |
unless ($Apache::lonnet::perlvar{'BugzillaHost'}) { return ''; } |
$text = "" if (not defined $text); |
$text = "" if (not defined $text); |
$stayOnPage = 0 if (not defined $stayOnPage); |
$stayOnPage = 0 if (not defined $stayOnPage); |
if ($env{'browser.interface'} eq 'textual' || |
if ($env{'environment.remote'} eq 'off' ) { |
$env{'environment.remote'} eq 'off' ) { |
|
$stayOnPage=1; |
$stayOnPage=1; |
} |
} |
$width = 600 if (not defined $width); |
$width = 600 if (not defined $width); |
Line 1187 sub help_open_faq {
|
Line 1184 sub help_open_faq {
|
unless ($Apache::lonnet::perlvar{'FAQHost'}) { return ''; } |
unless ($Apache::lonnet::perlvar{'FAQHost'}) { return ''; } |
$text = "" if (not defined $text); |
$text = "" if (not defined $text); |
$stayOnPage = 0 if (not defined $stayOnPage); |
$stayOnPage = 0 if (not defined $stayOnPage); |
if ($env{'browser.interface'} eq 'textual' || |
if ($env{'environment.remote'} eq 'off' ) { |
$env{'environment.remote'} eq 'off' ) { |
|
$stayOnPage=1; |
$stayOnPage=1; |
} |
} |
$width = 350 if (not defined $width); |
$width = 350 if (not defined $width); |
Line 1859 sub home_server_form_item {
|
Line 1855 sub home_server_form_item {
|
if ($numlib > 1) { |
if ($numlib > 1) { |
$result .= '<select name="'.$name.'" />'."\n"; |
$result .= '<select name="'.$name.'" />'."\n"; |
if ($default) { |
if ($default) { |
$result .= '<option value="default" selected>'.&mt('default'). |
$result .= '<option value="default" selected="selected">'.&mt('default'). |
'</option>'."\n"; |
'</option>'."\n"; |
} |
} |
foreach my $hostid (sort(keys(%servers))) { |
foreach my $hostid (sort(keys(%servers))) { |
Line 2818 sub screenname {
|
Line 2814 sub screenname {
|
} |
} |
|
|
|
|
|
# ------------------------------------------------------------- Confirm Wrapper |
|
=pod |
|
|
|
=item confirmwrapper |
|
|
|
Wrap messages about completion of operation in box |
|
|
|
=cut |
|
|
|
sub confirmwrapper { |
|
my ($message)=@_; |
|
if ($message) { |
|
return "\n".'<div class="LC_confirm_box">'."\n" |
|
.$message."\n" |
|
.'</div>'."\n"; |
|
} else { |
|
return $message; |
|
} |
|
} |
|
|
# ------------------------------------------------------------- Message Wrapper |
# ------------------------------------------------------------- Message Wrapper |
|
|
sub messagewrapper { |
sub messagewrapper { |
Line 2828 sub messagewrapper {
|
Line 2844 sub messagewrapper {
|
'&subject='.&escape($subject).'&text='.&escape($text).'" '. |
'&subject='.&escape($subject).'&text='.&escape($text).'" '. |
'title="'.&mt('Send message').'">'.$link.'</a>'; |
'title="'.&mt('Send message').'">'.$link.'</a>'; |
} |
} |
|
|
# --------------------------------------------------------------- Notes Wrapper |
# --------------------------------------------------------------- Notes Wrapper |
|
|
sub noteswrapper { |
sub noteswrapper { |
Line 2835 sub noteswrapper {
|
Line 2852 sub noteswrapper {
|
return |
return |
"<a href='/adm/email?recordftf=retrieve&recname=$un&recdom=$do'>$link</a>"; |
"<a href='/adm/email?recordftf=retrieve&recname=$un&recdom=$do'>$link</a>"; |
} |
} |
|
|
# ------------------------------------------------------------- Aboutme Wrapper |
# ------------------------------------------------------------- Aboutme Wrapper |
|
|
sub aboutmewrapper { |
sub aboutmewrapper { |
Line 2848 sub aboutmewrapper {
|
Line 2866 sub aboutmewrapper {
|
|
|
# ------------------------------------------------------------ Syllabus Wrapper |
# ------------------------------------------------------------ Syllabus Wrapper |
|
|
|
|
sub syllabuswrapper { |
sub syllabuswrapper { |
my ($linktext,$coursedir,$domain)=@_; |
my ($linktext,$coursedir,$domain)=@_; |
return qq{<a href="/public/$domain/$coursedir/syllabus">$linktext</a>}; |
return qq{<a href="/public/$domain/$coursedir/syllabus">$linktext</a>}; |
} |
} |
|
|
|
# ----------------------------------------------------------------------------- |
|
|
sub track_student_link { |
sub track_student_link { |
my ($linktext,$sname,$sdom,$target,$start) = @_; |
my ($linktext,$sname,$sdom,$target,$start) = @_; |
my $link ="/adm/trackstudent?"; |
my $link ="/adm/trackstudent?"; |
Line 4232 sub bodytag {
|
Line 4251 sub bodytag {
|
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); |
|
|
my %design = ( 'style' => 'margin-top: 0px', |
my %design = ( 'style' => 'margin-top: 0', |
'bgcolor' => $pgbg, |
'bgcolor' => $pgbg, |
'text' => $font, |
'text' => $font, |
'alink' => &designparm($function.'.alink',$domain), |
'alink' => &designparm($function.'.alink',$domain), |
Line 4268 sub bodytag {
|
Line 4287 sub bodytag {
|
|
|
if ($bodyonly) { |
if ($bodyonly) { |
return $bodytag; |
return $bodytag; |
} elsif ($env{'browser.interface'} eq 'textual') { |
} |
# Accessibility |
|
|
|
$bodytag.=&Apache::lonmenu::menubuttons($forcereg,$forcereg); |
|
if (!$notitle) { |
|
$bodytag.='<h1>LON-CAPA: '.$title.'</h1>'; |
|
} |
|
return $bodytag; |
|
} |
|
|
|
my $name = &plainname($env{'user.name'},$env{'user.domain'}); |
my $name = &plainname($env{'user.name'},$env{'user.domain'}); |
if ($env{'user.name'} eq 'public' && $env{'user.domain'} eq 'public') { |
if ($env{'user.name'} eq 'public' && $env{'user.domain'} eq 'public') { |
Line 4508 sub standard_css {
|
Line 4519 sub standard_css {
|
my $img = &designparm($function.'.img', $domain); |
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); |
#second colour for later usage |
#second colour for later usage |
my $sidebg = &designparm($function.'.sidebg',$domain); |
my $sidebg = &designparm($function.'.sidebg',$domain); |
my $pgbg_or_bgcolor = |
my $pgbg_or_bgcolor = |
Line 4542 sub standard_css {
|
Line 4554 sub standard_css {
|
my $lg_border_color = '#C8C8C8'; |
my $lg_border_color = '#C8C8C8'; |
|
|
my $border = ($env{'browser.type'} eq 'explorer' || |
my $border = ($env{'browser.type'} eq 'explorer' || |
$env{'browser.type'} eq 'safari' ) ? '0px 2px 0px 2px' |
$env{'browser.type'} eq 'safari' ) ? '0 2px 0 2px' |
: '0px 3px 0px 4px'; |
: '0 3px 0 4px'; |
|
|
|
|
return <<END; |
return <<END; |
Line 4622 form, .inline {
|
Line 4634 form, .inline {
|
color: green; |
color: green; |
} |
} |
|
|
|
div.LC_confirm_box { |
|
background-color: #FAFAFA; |
|
border: 1px solid $lg_border_color; |
|
margin-right: 0; |
|
padding: 5px; |
|
} |
|
|
|
div.LC_confirm_box .LC_error img, |
|
div.LC_confirm_box .LC_success img { |
|
vertical-align: middle; |
|
} |
|
|
.LC_unknown { |
.LC_unknown { |
color: yellow; |
color: yellow; |
} |
} |
Line 4632 form, .inline {
|
Line 4656 form, .inline {
|
} |
} |
|
|
.LC_indexer_icon { |
.LC_indexer_icon { |
border: 0px; |
border: none; |
height: 22px; |
height: 22px; |
} |
} |
|
|
Line 4655 form, .inline {
|
Line 4679 form, .inline {
|
.LC_disc_action_links_bar { |
.LC_disc_action_links_bar { |
background: $tabbg; |
background: $tabbg; |
font-family: $sans; |
font-family: $sans; |
border: 0px; |
border: none; |
margin: 4px; |
margin: 4px; |
} |
} |
|
|
Line 4691 table#LC_nav_location {
|
Line 4715 table#LC_nav_location {
|
background: $pgbg; |
background: $pgbg; |
border: 2px; |
border: 2px; |
border-collapse: separate; |
border-collapse: separate; |
padding: 0px; |
padding: 0; |
|
} |
|
|
|
table#LC_title_bar a { |
|
color: $fontmenu; |
} |
} |
|
|
table#LC_title_bar, |
table#LC_title_bar, |
Line 4702 table#LC_title_bar.LC_with_remote {
|
Line 4730 table#LC_title_bar.LC_with_remote {
|
border-style: solid; |
border-style: solid; |
border-width: $border; |
border-width: $border; |
background: $pgbg; |
background: $pgbg; |
|
color: $fontmenu; |
font-family: $sans; |
font-family: $sans; |
border-collapse: collapse; |
border-collapse: collapse; |
padding: 0px; |
padding: 0; |
} |
} |
|
|
table.LC_docs_path { |
table.LC_docs_path { |
Line 4713 table.LC_docs_path {
|
Line 4742 table.LC_docs_path {
|
background: $pgbg; |
background: $pgbg; |
font-family: $sans; |
font-family: $sans; |
border-collapse: collapse; |
border-collapse: collapse; |
padding: 0px; |
padding: 0; |
} |
} |
|
|
table#LC_title_bar td { |
table#LC_title_bar td { |
Line 4722 table#LC_title_bar td {
|
Line 4751 table#LC_title_bar td {
|
|
|
table#LC_title_bar .LC_title_bar_who { |
table#LC_title_bar .LC_title_bar_who { |
background: $tabbg; |
background: $tabbg; |
color: $font; |
color: $fontmenu; |
font: small $sans; |
font: small $sans; |
text-align: right; |
text-align: right; |
margin: 0px; |
margin: 0; |
} |
} |
|
|
table#LC_title_bar .LC_title_bar_name { |
table#LC_title_bar .LC_title_bar_name { |
margin: 0px; |
margin: 0; |
} |
} |
|
|
table#LC_title_bar .LC_title_bar_role { |
table#LC_title_bar .LC_title_bar_role { |
margin: 0px; |
margin: 0; |
} |
} |
|
|
table#LC_title_bar .LC_title_bar_realm { |
table#LC_title_bar .LC_title_bar_realm { |
margin: 0px; |
margin: 0; |
} |
} |
|
|
span.LC_metadata { |
span.LC_metadata { |
Line 4745 span.LC_metadata {
|
Line 4774 span.LC_metadata {
|
} |
} |
|
|
table#LC_menubuttons img{ |
table#LC_menubuttons img{ |
border: 0px; |
border: none; |
} |
} |
|
|
table#LC_top_nav td { |
table#LC_top_nav td { |
background: $tabbg; |
background: $tabbg; |
border: 0px; |
border: none; |
font-size: small; |
font-size: small; |
vertical-align:top; |
vertical-align:top; |
padding:2px 5px 2px 5px; |
padding:2px 5px 2px 5px; |
Line 4770 table#LC_top_nav td.LC_top_nav_logo {
|
Line 4799 table#LC_top_nav td.LC_top_nav_logo {
|
} |
} |
|
|
table#LC_top_nav td.LC_top_nav_logo img { |
table#LC_top_nav td.LC_top_nav_logo img { |
border: 0px; |
border: none; |
vertical-align: bottom; |
vertical-align: bottom; |
} |
} |
|
|
Line 4787 table#LC_top_nav td.LC_top_nav_login {
|
Line 4816 table#LC_top_nav td.LC_top_nav_login {
|
table.LC_breadcrumbs td, |
table.LC_breadcrumbs td, |
table.LC_docs_path td { |
table.LC_docs_path td { |
background: $tabbg; |
background: $tabbg; |
color: $font; |
color: $fontmenu; |
font-family: $sans; |
font-family: $sans; |
font-size: smaller; |
font-size: smaller; |
} |
} |
Line 4795 table.LC_docs_path td {
|
Line 4824 table.LC_docs_path td {
|
table.LC_breadcrumbs td.LC_breadcrumbs_component, |
table.LC_breadcrumbs td.LC_breadcrumbs_component, |
table.LC_docs_path td.LC_docs_path_component { |
table.LC_docs_path td.LC_docs_path_component { |
background: $tabbg; |
background: $tabbg; |
color: $font; |
color: $fontmenu; |
font-family: $sans; |
font-family: $sans; |
font-size: larger; |
font-size: larger; |
text-align: right; |
text-align: right; |
Line 4874 td.LC_menubuttons_text {
|
Line 4903 td.LC_menubuttons_text {
|
} |
} |
|
|
table.LC_aboutme_port { |
table.LC_aboutme_port { |
border: 0px; |
border: none; |
border-collapse: collapse; |
border-collapse: collapse; |
border-spacing: 0px; |
border-spacing: 0; |
} |
} |
|
|
table.LC_data_table, |
table.LC_data_table, |
Line 4894 table.LC_mail_list {
|
Line 4923 table.LC_mail_list {
|
table.LC_nested_outer { |
table.LC_nested_outer { |
border: 1px solid #000000; |
border: 1px solid #000000; |
border-collapse: collapse; |
border-collapse: collapse; |
border-spacing: 0px; |
border-spacing: 0; |
width: 100%; |
width: 100%; |
} |
} |
|
|
table.LC_nested { |
table.LC_nested { |
border: 0px; |
border: none; |
border-collapse: collapse; |
border-collapse: collapse; |
border-spacing: 0px; |
border-spacing: 0; |
width: 100%; |
width: 100%; |
} |
} |
|
|
Line 4911 table.LC_mail_list tr th,
|
Line 4940 table.LC_mail_list tr th,
|
table.LC_prior_tries tr th { |
table.LC_prior_tries tr th { |
font-weight: bold; |
font-weight: bold; |
background-color: $data_table_head; |
background-color: $data_table_head; |
|
color:$fontmenu; |
font-size:90%; |
font-size:90%; |
} |
} |
|
|
Line 4958 table.LC_nested tr.LC_empty_row td {
|
Line 4988 table.LC_nested tr.LC_empty_row td {
|
|
|
table.LC_nested_outer tr th { |
table.LC_nested_outer tr th { |
font-weight: bold; |
font-weight: bold; |
|
color:$fontmenu; |
background-color: $data_table_head; |
background-color: $data_table_head; |
font-size: small; |
font-size: small; |
border-bottom: 1px solid #000000; |
border-bottom: 1px solid #000000; |
Line 5174 table.LC_parm_overview_restrictions th {
|
Line 5205 table.LC_parm_overview_restrictions th {
|
} |
} |
|
|
table#LC_helpmenu { |
table#LC_helpmenu { |
border: 0px; |
border: none; |
height: 55px; |
height: 55px; |
border-spacing: 0px; |
border-spacing: 0; |
} |
} |
|
|
table#LC_helpmenu fieldset legend { |
table#LC_helpmenu fieldset legend { |
Line 5188 table#LC_helpmenu_links {
|
Line 5219 table#LC_helpmenu_links {
|
width: 100%; |
width: 100%; |
border: 1px solid black; |
border: 1px solid black; |
background: $pgbg; |
background: $pgbg; |
padding: 0px; |
padding: 0; |
border-spacing: 1px; |
border-spacing: 1px; |
} |
} |
|
|
Line 5261 table.LC_pick_box td.LC_pick_box_select
|
Line 5292 table.LC_pick_box td.LC_pick_box_select
|
} |
} |
|
|
table.LC_pick_box td.LC_pick_box_separator { |
table.LC_pick_box td.LC_pick_box_separator { |
padding: 0px; |
padding: 0; |
height: 1px; |
height: 1px; |
background: black; |
background: black; |
} |
} |
Line 5311 table.LC_helpform_receipt td.LC_oddrow_v
|
Line 5342 table.LC_helpform_receipt td.LC_oddrow_v
|
} |
} |
|
|
table.LC_helpform_receipt td.LC_pick_box_separator { |
table.LC_helpform_receipt td.LC_pick_box_separator { |
padding: 0px; |
padding: 0; |
height: 1px; |
height: 1px; |
background: black; |
background: black; |
} |
} |
Line 5351 table.LC_group_priv_box td.LC_groups_fun
|
Line 5382 table.LC_group_priv_box td.LC_groups_fun
|
|
|
table.LC_group_priv td { |
table.LC_group_priv td { |
text-align: left; |
text-align: left; |
padding: 0px; |
padding: 0; |
} |
} |
|
|
table.LC_notify_front_page { |
table.LC_notify_front_page { |
Line 5375 table.LC_notify_front_page td {
|
Line 5406 table.LC_notify_front_page td {
|
background: $tabbg; |
background: $tabbg; |
vertical-align: middle; |
vertical-align: middle; |
margin: 2ex 0ex 2ex 0ex; |
margin: 2ex 0ex 2ex 0ex; |
|
padding: 3px; |
} |
} |
|
|
.LC_topic_bar span { |
.LC_topic_bar span { |
Line 5395 table.LC_status_selector td {
|
Line 5427 table.LC_status_selector td {
|
padding: 4px; |
padding: 4px; |
} |
} |
|
|
table.LC_descriptive_input td.LC_description { |
|
vertical-align: top; |
|
text-align: right; |
|
font-weight: bold; |
|
} |
|
|
|
div.LC_feedback_link { |
div.LC_feedback_link { |
clear: both; |
clear: both; |
background: white; |
background: white; |
Line 5437 table.LC_prior_tries td {
|
Line 5463 table.LC_prior_tries td {
|
} |
} |
|
|
.LC_answer_charged_try { |
.LC_answer_charged_try { |
background: lightred; |
background: #FFAAAA; |
font-family: $sans; |
font-family: $sans; |
color: darkred; |
color: darkred; |
padding: 6px; |
padding: 6px; |
Line 5519 span.LC_cusr_subheading {
|
Line 5545 span.LC_cusr_subheading {
|
|
|
table.LC_docs_documents { |
table.LC_docs_documents { |
background: #BBBBBB; |
background: #BBBBBB; |
border-width: 0px; |
border-width: 0; |
border-collapse: collapse; |
border-collapse: collapse; |
} |
} |
|
|
Line 5529 table.LC_docs_documents td.LC_docs_docum
|
Line 5555 table.LC_docs_documents td.LC_docs_docum
|
} |
} |
|
|
.LC_docs_entry_move { |
.LC_docs_entry_move { |
border: 0px; |
border: none; |
border-collapse: collapse; |
border-collapse: collapse; |
} |
} |
|
|
Line 5591 table.LC_sty_end {
|
Line 5617 table.LC_sty_end {
|
} |
} |
|
|
table.LC_double_column { |
table.LC_double_column { |
border-width: 0px; |
border-width: 0; |
border-collapse: collapse; |
border-collapse: collapse; |
width: 100%; |
width: 100%; |
padding: 2px; |
padding: 2px; |
Line 5728 table.LC_edit_problem_header_title {
|
Line 5754 table.LC_edit_problem_header_title {
|
border-width: $border; |
border-width: $border; |
background: $tabbg; |
background: $tabbg; |
border-collapse: collapse; |
border-collapse: collapse; |
padding: 0px |
padding: 0; |
} |
} |
|
|
div.LC_edit_problem_discards { |
div.LC_edit_problem_discards { |
Line 5746 hr.LC_edit_problem_divide {
|
Line 5772 hr.LC_edit_problem_divide {
|
color: $tabbg; |
color: $tabbg; |
background-color: $tabbg; |
background-color: $tabbg; |
height: 3px; |
height: 3px; |
border: 0px; |
border: none; |
} |
} |
|
|
img.stift{ |
img.stift{ |
border-width:0; |
border-width: 0; |
vertical-align:middle; |
vertical-align: middle; |
} |
} |
|
|
table#LC_mainmenu{ |
table#LC_mainmenu{ |
Line 5800 h1 {
|
Line 5826 h1 {
|
} |
} |
|
|
h2,h3,h4,h5,h6 { |
h2,h3,h4,h5,h6 { |
margin:5px 0px 5px 0px; |
margin: 5px 0 5px 0; |
padding:0px; |
padding: 0; |
line-height:130%; |
line-height:130%; |
} |
} |
|
|
.LC_hcell { |
.LC_hcell { |
padding:3px 15px 3px 15px; |
padding:3px 15px 3px 15px; |
margin:0px; |
margin: 0; |
background-color:$tabbg; |
background-color:$tabbg; |
|
color:$fontmenu; |
border-bottom:solid 1px $lg_border_color; |
border-bottom:solid 1px $lg_border_color; |
} |
} |
|
|
.LC_noBorder { |
.LC_noBorder { |
border:0px; |
border: 0; |
} |
} |
|
|
|
|
Line 5821 h2,h3,h4,h5,h6 {
|
Line 5848 h2,h3,h4,h5,h6 {
|
|
|
.LC_Right { |
.LC_Right { |
float: right; |
float: right; |
margin: 0px; |
margin: 0; |
padding: 0px; |
padding: 0; |
} |
} |
|
|
.LC_FormSectionClearButton input { |
.LC_FormSectionClearButton input { |
background-color:transparent; |
background-color:transparent; |
border:0px; |
border: none; |
cursor:pointer; |
cursor:pointer; |
text-decoration:underline; |
text-decoration:underline; |
} |
} |
Line 5843 h2,h3,h4,h5,h6 {
|
Line 5870 h2,h3,h4,h5,h6 {
|
} |
} |
|
|
dl,ul,div,fieldset { |
dl,ul,div,fieldset { |
margin: 10px 10px 10px 0px; |
margin: 10px 10px 10px 0; |
overflow:hidden; |
/* overflow: hidden; */ |
} |
} |
|
|
ol.LC_smallMenu, ol#LC_PathBreadcrumbs { |
ol.LC_smallMenu, ol#LC_PathBreadcrumbs { |
margin: 0px; |
margin: 0; |
} |
} |
|
|
ol.LC_smallMenu li { |
ol.LC_smallMenu li { |
display: inline; |
display: inline; |
padding: 5px 5px 0px 10px; |
padding: 5px 5px 0 10px; |
vertical-align: top; |
vertical-align: top; |
} |
} |
|
|
Line 5872 ul.LC_TabContent ,
|
Line 5899 ul.LC_TabContent ,
|
ul.LC_TabContentBigger { |
ul.LC_TabContentBigger { |
display:block; |
display:block; |
list-style:none; |
list-style:none; |
margin: 0px; |
margin: 0; |
padding: 0px; |
padding: 0; |
} |
} |
|
|
ol#LC_TabMainMenuContent li, |
ol#LC_TabMainMenuContent li, |
Line 5907 ul.LC_TabContent {
|
Line 5934 ul.LC_TabContent {
|
|
|
ul.LC_TabContent li { |
ul.LC_TabContent li { |
vertical-align:middle; |
vertical-align:middle; |
padding:0px 10px 0px 10px; |
padding: 0 10px 0 10px; |
background-color:$tabbg; |
background-color:$tabbg; |
border-bottom:solid 1px $lg_border_color; |
border-bottom:solid 1px $lg_border_color; |
} |
} |
Line 5953 ul.LC_CourseBreadcrumbs {
|
Line 5980 ul.LC_CourseBreadcrumbs {
|
height: 20px; |
height: 20px; |
line-height: 20px; |
line-height: 20px; |
vertical-align: bottom; |
vertical-align: bottom; |
margin: 0px 0px 30px 0px; |
margin: 0 0 30px 0; |
padding-left: 10px; |
padding-left: 10px; |
list-style-position: inside; |
list-style-position: inside; |
background: url(/adm/lonIcons/lightGreyBG.png) repeat-x left top; |
background: url(/adm/lonIcons/lightGreyBG.png) repeat-x left top; |
Line 5966 ul.LC_CourseBreadcrumbs li {
|
Line 5993 ul.LC_CourseBreadcrumbs li {
|
background: url(/adm/lonIcons/arrow_white.png) no-repeat left center; |
background: url(/adm/lonIcons/arrow_white.png) no-repeat left center; |
*/ |
*/ |
display: inline; |
display: inline; |
padding: 0px 0px 0px 10px; |
padding: 0 0 0 10px; |
/* vertical-align: bottom; */ |
/* vertical-align: bottom; */ |
overflow:hidden; |
overflow:hidden; |
} |
} |
Line 6023 dl.LC_ListStyleClean dd {
|
Line 6050 dl.LC_ListStyleClean dd {
|
list-style-position: inside; |
list-style-position: inside; |
list-style-type: none; |
list-style-type: none; |
overflow: hidden; |
overflow: hidden; |
padding: 0px; |
padding: 0; |
} |
} |
|
|
.LC_ListStyleSimple li, |
.LC_ListStyleSimple li, |
Line 6032 dl.LC_ListStyleClean dd {
|
Line 6059 dl.LC_ListStyleClean dd {
|
.LC_ListStyleNormal dd, |
.LC_ListStyleNormal dd, |
.LC_ListStyleSpecial li, |
.LC_ListStyleSpecial li, |
.LC_ListStyleSpecial dd { |
.LC_ListStyleSpecial dd { |
margin: 0px; |
margin: 0; |
padding: 5px 5px 5px 10px; |
padding: 5px 5px 5px 10px; |
clear: both; |
clear: both; |
} |
} |
|
|
.LC_ListStyleClean li, |
.LC_ListStyleClean li, |
.LC_ListStyleClean dd { |
.LC_ListStyleClean dd { |
padding-top: 0px; |
padding-top: 0; |
padding-bottom: 0px; |
padding-bottom: 0; |
} |
} |
|
|
.LC_ListStyleSimple dd, |
.LC_ListStyleSimple dd, |
Line 6061 table.LC_SimpleTable {
|
Line 6088 table.LC_SimpleTable {
|
} |
} |
|
|
table.LC_SimpleTable tr { |
table.LC_SimpleTable tr { |
padding:0px; |
padding: 0; |
border:solid 1px $lg_border_color; |
border:solid 1px $lg_border_color; |
} |
} |
|
|
Line 6073 div.LC_columnSection {
|
Line 6100 div.LC_columnSection {
|
display: block; |
display: block; |
clear: both; |
clear: both; |
overflow: hidden; |
overflow: hidden; |
margin:0px; |
margin: 0; |
} |
} |
|
|
div.LC_columnSection>* { |
div.LC_columnSection>* { |
float: left; |
float: left; |
margin: 10px 20px 10px 0px; |
margin: 10px 20px 10px 0; |
overflow:hidden; |
overflow:hidden; |
} |
} |
|
|
Line 6097 div.LC_columnSection > .ContentBoxSpecia
|
Line 6124 div.LC_columnSection > .ContentBoxSpecia
|
|
|
.clear { |
.clear { |
clear: both; |
clear: both; |
line-height: 0px; |
line-height: 0; |
font-size: 0px; |
font-size: 0; |
height: 0px; |
height: 0; |
} |
} |
|
|
.LC_loginpage_container { |
.LC_loginpage_container { |
Line 6122 div.LC_columnSection > .ContentBoxSpecia
|
Line 6149 div.LC_columnSection > .ContentBoxSpecia
|
} |
} |
|
|
.LC_loginpage_loginContainer h2 { |
.LC_loginpage_loginContainer h2 { |
margin-top:0; |
margin-top: 0; |
display:block; |
display:block; |
background:$bgcol; |
background:$bgcol; |
color:$textcol; |
color:$textcol; |
Line 6221 ul#LC_toolbar li a:hover {
|
Line 6248 ul#LC_toolbar li a:hover {
|
} |
} |
|
|
ul#LC_toolbar { |
ul#LC_toolbar { |
padding:0; |
padding: 0; |
margin: 2px; |
margin: 2px; |
list-style:none; |
list-style:none; |
position:relative; |
position:relative; |
Line 6230 ul#LC_toolbar {
|
Line 6257 ul#LC_toolbar {
|
|
|
ul#LC_toolbar li { |
ul#LC_toolbar li { |
border:1px solid white; |
border:1px solid white; |
padding:0; |
padding: 0; |
margin: 0; |
margin: 0; |
float: left; |
float: left; |
display:inline; |
display:inline; |
Line 6240 ul#LC_toolbar li {
|
Line 6267 ul#LC_toolbar li {
|
|
|
a.LC_toolbarItem { |
a.LC_toolbarItem { |
display:block; |
display:block; |
padding:0; |
padding: 0; |
margin:0; |
margin: 0; |
height: 32px; |
height: 32px; |
width: 32px; |
width: 32px; |
color:white; |
color:white; |
border:0 none; |
border: none; |
background-repeat:no-repeat; |
background-repeat:no-repeat; |
background-color:transparent; |
background-color:transparent; |
} |
} |
Line 6254 ul.LC_functionslist li {
|
Line 6281 ul.LC_functionslist li {
|
float: left; |
float: left; |
white-space: nowrap; |
white-space: nowrap; |
height: 35px; /* at least as high as heighest list item */ |
height: 35px; /* at least as high as heighest list item */ |
margin: 0px 15px 15px 10px; |
margin: 0 15px 15px 10px; |
} |
} |
|
|
|
|
Line 7485 sub user_picker {
|
Line 7512 sub user_picker {
|
if ($cancreate) { |
if ($cancreate) { |
$new_user_create = '<p> <input type="submit" name="forcenew" value="'.&HTML::Entities::encode(&mt('Make new user "[_1]"',$srchterm),'<>&"').'" onclick="javascript:setSearch(\'1\','.$caller.');" /> </p>'; |
$new_user_create = '<p> <input type="submit" name="forcenew" value="'.&HTML::Entities::encode(&mt('Make new user "[_1]"',$srchterm),'<>&"').'" onclick="javascript:setSearch(\'1\','.$caller.');" /> </p>'; |
} else { |
} else { |
my $helplink = ' href="javascript:helpMenu('."'display'".')"'; |
my $helplink = 'javascript:helpMenu('."'display'".')'; |
my %usertypetext = ( |
my %usertypetext = ( |
official => 'institutional', |
official => 'institutional', |
unofficial => 'non-institutional', |
unofficial => 'non-institutional', |
); |
); |
$new_user_create = '<br /><span class="LC_warning">'.&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.").' '.&mt('Contact the <a[_1]>helpdesk</a> for assistance.',$helplink).'</span><br /><br />'; |
$new_user_create = '<p class="LC_warning">' |
|
.&mt("You are not authorized to create new $usertypetext{$usertype} users in this domain.") |
|
.' ' |
|
.&mt('Please contact the [_1]helpdesk[_2] for assistance.' |
|
,'<a href="'.$helplink.'">','</a>') |
|
.'</p><br />'; |
} |
} |
} |
} |
} |
} |