version 1.783, 2009/04/01 14:22:11
|
version 1.792, 2009/04/24 05:14:09
|
Line 602 function setSect(sectionlist) {
|
Line 602 function setSect(sectionlist) {
|
|
|
sub selectcourse_link { |
sub selectcourse_link { |
my ($form,$unameele,$udomele,$desc,$extra_element,$multflag,$selecttype)=@_; |
my ($form,$unameele,$udomele,$desc,$extra_element,$multflag,$selecttype)=@_; |
return "<a href='".'javascript:opencrsbrowser("'.$form.'","'.$unameele. |
return '<span class="LC_nobreak">' |
'","'.$udomele.'","'.$desc.'","'.$extra_element.'","'.$multflag.'","'.$selecttype.'");'."'>".&mt('Select Course')."</a>"; |
."<a href='" |
|
.'javascript:opencrsbrowser("'.$form.'","'.$unameele |
|
.'","'.$udomele.'","'.$desc.'","'.$extra_element |
|
.'","'.$multflag.'","'.$selecttype.'");' |
|
."'>".&mt('Select Course').'</a>' |
|
.'</span>'; |
} |
} |
|
|
sub selectauthor_link { |
sub selectauthor_link { |
Line 710 sub select_datelocale {
|
Line 715 sub select_datelocale {
|
return $output; |
return $output; |
} |
} |
|
|
|
sub select_language { |
|
my ($name,$selected,$includeempty) = @_; |
|
my %langchoices; |
|
if ($includeempty) { |
|
%langchoices = ('' => 'No language preference'); |
|
} |
|
foreach my $id (&languageids()) { |
|
my $code = &supportedlanguagecode($id); |
|
if ($code) { |
|
$langchoices{$code} = &plainlanguagedescription($id); |
|
} |
|
} |
|
return &select_form($selected,$name,%langchoices); |
|
} |
|
|
=pod |
=pod |
|
|
=item * &linked_select_forms(...) |
=item * &linked_select_forms(...) |
Line 2165 sub authform_kerberos {
|
Line 2185 sub authform_kerberos {
|
} |
} |
} else { |
} else { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="krb">'; |
$authtype = '<input type="hidden" name="login" value="krb" />'; |
} |
} |
} |
} |
if (!$can_assign{'krb4'} && !$can_assign{'krb5'}) { |
if (!$can_assign{'krb4'} && !$can_assign{'krb5'}) { |
Line 2174 sub authform_kerberos {
|
Line 2194 sub authform_kerberos {
|
if (defined($in{'mode'})) { |
if (defined($in{'mode'})) { |
if ($in{'mode'} eq 'modifycourse') { |
if ($in{'mode'} eq 'modifycourse') { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="krb">'; |
$authtype = '<input type="hidden" name="login" value="krb" />'; |
} |
} |
} |
} |
} |
} |
Line 2251 sub authform_internal{
|
Line 2271 sub authform_internal{
|
} |
} |
} else { |
} else { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="int">'; |
$authtype = '<input type="hidden" name="login" value="int" />'; |
} |
} |
} |
} |
if (!$can_assign{'int'}) { |
if (!$can_assign{'int'}) { |
Line 2260 sub authform_internal{
|
Line 2280 sub authform_internal{
|
if (defined($in{'mode'})) { |
if (defined($in{'mode'})) { |
if ($in{'mode'} eq 'modifycourse') { |
if ($in{'mode'} eq 'modifycourse') { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="int">'; |
$authtype = '<input type="hidden" name="login" value="int" />'; |
} |
} |
} |
} |
} |
} |
Line 2306 sub authform_local{
|
Line 2326 sub authform_local{
|
} |
} |
} else { |
} else { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="loc">'; |
$authtype = '<input type="hidden" name="login" value="loc" />'; |
} |
} |
} |
} |
if (!$can_assign{'loc'}) { |
if (!$can_assign{'loc'}) { |
Line 2315 sub authform_local{
|
Line 2335 sub authform_local{
|
if (defined($in{'mode'})) { |
if (defined($in{'mode'})) { |
if ($in{'mode'} eq 'modifycourse') { |
if ($in{'mode'} eq 'modifycourse') { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="loc">'; |
$authtype = '<input type="hidden" name="login" value="loc" />'; |
} |
} |
} |
} |
} |
} |
Line 2357 sub authform_filesystem{
|
Line 2377 sub authform_filesystem{
|
} |
} |
} else { |
} else { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="fsys">'; |
$authtype = '<input type="hidden" name="login" value="fsys" />'; |
} |
} |
} |
} |
if (!$can_assign{'fsys'}) { |
if (!$can_assign{'fsys'}) { |
Line 2366 sub authform_filesystem{
|
Line 2386 sub authform_filesystem{
|
if (defined($in{'mode'})) { |
if (defined($in{'mode'})) { |
if ($in{'mode'} eq 'modifycourse') { |
if ($in{'mode'} eq 'modifycourse') { |
if ($authnum == 1) { |
if ($authnum == 1) { |
$authtype = '<input type="hidden" name="login" value="fsys">'; |
$authtype = '<input type="hidden" name="login" value="fsys" />'; |
} |
} |
} |
} |
} |
} |
Line 4362 ENDROLE
|
Line 4382 ENDROLE
|
return(<<ENDBODY); |
return(<<ENDBODY); |
$bodytag |
$bodytag |
<table id="LC_title_bar" class="LC_with_remote"> |
<table id="LC_title_bar" class="LC_with_remote"> |
<tr><td class="LC_title_bar_role_logo">$upperleft</td> |
<tr><td>$upperleft</td> |
<td class="LC_title_bar_domain_logo">$messages </td> |
<td>$messages </td> |
</tr> |
</tr> |
<tr><td>$titleinfo $dc_info $menu</td> |
<tr><td>$titleinfo $dc_info $menu</td> |
$roleinfo |
$roleinfo |
Line 4480 sub standard_css {
|
Line 4500 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); |
|
#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 = |
$bgcolor || |
$bgcolor || |
Line 4582 form, .inline { display: inline; }
|
Line 4603 form, .inline { display: inline; }
|
|
|
.LC_icon { |
.LC_icon { |
border: none; |
border: none; |
|
vertical-align: middle; |
} |
} |
|
|
.LC_indexer_icon { |
.LC_indexer_icon { |
Line 4654 table#LC_title_bar .LC_title_bar_realm {
|
Line 4676 table#LC_title_bar .LC_title_bar_realm {
|
span.LC_metadata { |
span.LC_metadata { |
font-family: $sans; |
font-family: $sans; |
} |
} |
table#LC_title_bar td.LC_title_bar_domain_logo { |
|
background: $sidebg; |
|
text-align: right; |
|
padding: 0px; |
|
} |
|
table#LC_title_bar td.LC_title_bar_role_logo { |
|
background: $sidebg; |
|
padding: 0px; |
|
} |
|
|
|
table#LC_menubuttons img{ |
table#LC_menubuttons img{ |
border: 0px; |
border: 0px; |
Line 5745 ol#LC_PathBreadcrumbs li a{
|
Line 5758 ol#LC_PathBreadcrumbs li a{
|
font-size:100%; |
font-size:100%; |
font-weight:bold; |
font-weight:bold; |
} |
} |
|
.LC_BoxPadding |
|
{ |
|
padding: 10px; |
|
} |
.LC_ContentBoxSpecial |
.LC_ContentBoxSpecial |
{ |
{ |
border: solid 1px $lg_border_color; |
border: solid 1px $lg_border_color; |
Line 5866 div.LC_columnSection > .ContentBoxSpecia
|
Line 5883 div.LC_columnSection > .ContentBoxSpecia
|
.LC_loginpage_container { |
.LC_loginpage_container { |
text-align:left; |
text-align:left; |
margin : 0 auto; |
margin : 0 auto; |
width:65%; |
width:90%; |
padding: 10px; |
padding: 10px; |
height: auto; |
height: auto; |
background-color:#FFFFFF; |
background-color:#FFFFFF; |
Line 5877 div.LC_columnSection > .ContentBoxSpecia
|
Line 5894 div.LC_columnSection > .ContentBoxSpecia
|
.LC_loginpage_loginContainer { |
.LC_loginpage_loginContainer { |
float:left; |
float:left; |
width: 182px; |
width: 182px; |
|
padding: 2px; |
border:1px solid #CCCCCC; |
border:1px solid #CCCCCC; |
background-color:$loginbg; |
background-color:$loginbg; |
} |
} |
Line 5888 div.LC_columnSection > .ContentBoxSpecia
|
Line 5906 div.LC_columnSection > .ContentBoxSpecia
|
color:$textcol; |
color:$textcol; |
padding-left:5px; |
padding-left:5px; |
} |
} |
|
|
.LC_loginpage_loginInfo { |
.LC_loginpage_loginInfo { |
margin-left:20px; |
|
float:left; |
float:left; |
width:30%; |
width:182px; |
border:1px solid #CCCCCC; |
border:1px solid #CCCCCC; |
padding:10px; |
padding:2px; |
} |
|
|
|
.LC_loginpage_loginDomain { |
|
margin-right:20px; |
|
width:20%; |
|
float:left; |
|
padding:10px; |
|
} |
} |
|
|
.LC_loginpage_space { |
.LC_loginpage_space { |
Line 5909 div.LC_columnSection > .ContentBoxSpecia
|
Line 5920 div.LC_columnSection > .ContentBoxSpecia
|
border-bottom: 1px solid #CCCCCC; |
border-bottom: 1px solid #CCCCCC; |
} |
} |
|
|
|
.LC_loginpage_floatLeft { |
|
float: left; |
|
width: 200px; |
|
margin: 0; |
|
} |
|
|
table em{ |
table em{ |
font-weight: bold; |
font-weight: bold; |
font-style: normal; |
font-style: normal; |
Line 5921 table.LC_tableOfContent{
|
Line 5938 table.LC_tableOfContent{
|
background-color: #FFFFFF; |
background-color: #FFFFFF; |
font-size: 90%; |
font-size: 90%; |
} |
} |
|
|
|
table.LC_tableOfContent{ |
|
border-collapse: collapse; |
|
} |
|
|
table.LC_tableBrowseRes a, |
table.LC_tableBrowseRes a, |
table.LC_tableOfContent a { |
table.LC_tableOfContent a { |
background-color: transparent; |
background-color: transparent; |
Line 5992 ul#LC_toolbar li{
|
Line 6014 ul#LC_toolbar li{
|
vertical-align:middle; |
vertical-align:middle; |
} |
} |
|
|
/* |
|
This style is used for standard function lists, e.g. functions of Personal Information Page. |
|
It produces a horizontally aligned list with a bullet at the beginning of each function item. |
|
*/ |
|
.LC_fieldset_functions li { |
|
float: right; |
|
height: 35px; |
|
background-color: blue; |
|
white-space: nowrap; |
|
margin-left: 10px; |
|
} |
|
|
|
a.LC_toolbarItem{ |
a.LC_toolbarItem{ |
display:block; |
display:block; |