Diff for /loncom/interface/loncommon.pm between versions 1.748 and 1.761

version 1.748, 2009/02/14 12:20:10 version 1.761, 2009/03/03 16:57:24
Line 923  sub help_open_topic { Line 923  sub help_open_topic {
     }      }
   
     # Add the text      # Add the text
     if ($text ne "") {      if ($text ne "") {
  $template .=    $template.="<span class=\"LC_nobreak\"><a class=\"LC_helptextbgcolor\" target=\"_top\" href=\"$link\"><span class=\"LC_helptextfontcolor\">$text</span></a>";
             "<table bgcolor='#3333AA' cellspacing='1' cellpadding='1' border='0'><tr>".  
             "<td bgcolor='#5555FF'><a target=\"_top\" href=\"$link\"><span style=\"color:#FFFFFF;font-size:10pt;\">$text</span></a>";  
     }      }
   
     # Add the graphic      # Add the graphic
     my $title = &mt('Online Help');      my $title = &mt('Online Help');
     my $helpicon=&lonhttpdurl("/adm/help/help.png");      my $helpicon=&lonhttpdurl("/adm/help/help.png");
     $template .= <<"ENDTEMPLATE";      $template .= <<"ENDTEMPLATE";
  <a target="_top" href="$link" title="$title"><img src="$helpicon" border="0" alt="(Help: $topic)" /></a>   <a target="_top" href="$link" title="$title"><img src="$helpicon" border="0" alt="(Help: $topic)" /></a></span>
 ENDTEMPLATE  ENDTEMPLATE
     if ($text ne '') { $template.='</td></tr></table>' };      
     return $template;      return $template;
   
 }  }
Line 2810  sub aboutmewrapper { Line 2808  sub aboutmewrapper {
         return;          return;
     }      }
     return '<a href="/adm/'.$domain.'/'.$username.'/aboutme"'.      return '<a href="/adm/'.$domain.'/'.$username.'/aboutme"'.
  ($target?' target="$target"':'').' title="'.&mt("View this user's personal page").'">'.$link.'</a>';   ($target?' target="$target"':'').' title="'.&mt("View this user's personal information page").'">'.$link.'</a>';
 }  }
   
 # ------------------------------------------------------------ Syllabus Wrapper  # ------------------------------------------------------------ Syllabus Wrapper
Line 4525  form, .inline { display: inline; } Line 4523  form, .inline { display: inline; }
   
 /* just for tests */  /* just for tests */
 .LC_300Box { width:300px; }  .LC_300Box { width:300px; }
 .LC_200Box {width:200px; }  .LC_400Box {width:400px; }
 .LC_500Box {width:500px; }  .LC_500Box {width:500px; }
 .LC_600Box {width:600px; }  .LC_600Box {width:600px; }
 .LC_800Box {width:800px;}  .LC_800Box {width:800px;}
Line 5583  h2,h3,h4,h5,h6 Line 5581  h2,h3,h4,h5,h6
         overflow:hidden;          overflow:hidden;
 }  }
   
   .LC_Right {
           float: right;
           margin: 0px;
           padding: 0px;
   }
   
 p, .LC_ContentBox {  p, .LC_ContentBox {
  padding: 10px;   padding: 10px;
   
Line 5593  p, .LC_ContentBox { Line 5597  p, .LC_ContentBox {
         cursor:pointer;          cursor:pointer;
         text-decoration:underline;          text-decoration:underline;
 }  }
   .LC_helptextbgcolor
   {
    background-color:#5555FF;
   }
   .LC_helptextfontcolor
   {
    color:#FFFFFF;
   }
   
 dl,ul,div,fieldset {  dl,ul,div,fieldset {
  margin: 10px 10px 10px 0px;   margin: 10px 10px 10px 0px;
Line 5618  ol.LC_smallMenu a { Line 5629  ol.LC_smallMenu a {
  color: RGB(80, 80, 80);   color: RGB(80, 80, 80);
  text-decoration: none;   text-decoration: none;
 }  }
 ol#LC_TabMainMenueContent, ul.LC_TabContent ,  ol#LC_TabMainMenuContent, ul.LC_TabContent ,
 ul.LC_TabContentBigger {  ul.LC_TabContentBigger {
  display:block;   display:block;
  list-style:none;   list-style:none;
Line 5662  ul.LC_TabContent li a, ul.LC_TabContent Line 5673  ul.LC_TabContent li a, ul.LC_TabContent
  text-decoration:none;   text-decoration:none;
  font-size:95%;   font-size:95%;
  font-weight:bold;   font-weight:bold;
    padding-right: 16px;
 }  }
 ul.LC_TabContent li:hover, ul.LC_TabContent li.active{  ul.LC_TabContent li:hover, ul.LC_TabContent li.active{
  background-color:#FFFFFF;          background:#FFFFFF url(/adm/lonIcons/open.gif) no-repeat scroll right center;
  border-bottom:solid 1px #FFFFFF;   border-bottom:solid 1px #FFFFFF;
    padding-right: 16px;
 }  }
 ul.LC_TabContentBigger li{  ul.LC_TabContentBigger li{
  vertical-align:bottom;   vertical-align:bottom;
Line 5726  ol#LC_PathBreadcrumbs li a{ Line 5739  ol#LC_PathBreadcrumbs li a{
 .LC_ContentBoxSpecial  .LC_ContentBoxSpecial
 {  {
  border: solid 1px $lg_border_color;   border: solid 1px $lg_border_color;
  max-width:70%;  
  min-width:70%;  
 }  }
 .LC_ContentBoxSpecialContactInfo  .LC_ContentBoxSpecialContactInfo
 {  {
Line 5821  div.LC_columnSection>* { Line 5832  div.LC_columnSection>* {
  margin: 10px 20px 10px 0px;   margin: 10px 20px 10px 0px;
  overflow:hidden;   overflow:hidden;
 }  }
 div.LC_columnSection > .LC_ContentBox,  
 div.LC_columnSection > .LC_ContentBoxSpecial  
  {  
  width: 400px;  
 }  
   
 .ContentBoxSpecialTemplate  .ContentBoxSpecialTemplate
 {  {
Line 5839  div.LC_columnSection > .ContentBoxTempla Line 5845  div.LC_columnSection > .ContentBoxTempla
 div.LC_columnSection > .ContentBoxSpecialTemplate  div.LC_columnSection > .ContentBoxSpecialTemplate
         {          {
         width: 600px;          width: 600px;
   
 }  }
   
 .clear{  .clear{
Line 5890  div.LC_columnSection > .ContentBoxSpecia Line 5895  div.LC_columnSection > .ContentBoxSpecia
 }  }
   
 .LC_loginpage_space {  .LC_loginpage_space {
  clear:both;   clear: both;
  margin-bottom:20px;   margin-bottom: 20px;
  border-bottom: 1px solid #CCCCCC;   border-bottom: 1px solid #CCCCCC;
 }  }
   
 table em{  table em{
  font-weight:bold;   font-weight: bold;
  font-style:normal;   font-style: normal;
   }
   
   table#LC_tableOfContent{
    border-collapse: collapse;
    border-spacing: 0;
    padding: 3px;
    border: 0;
    background-color: #FFFFFF;
    font-size: 90%;
   }
   table#LC_tableOfContent a {
    text-decoration: none;
   }
   
   table#LC_tableOfContent tr.LC_trOdd{
    background-color: #EEEEEE;
   }
   
   table#LC_tableOfContent img{
    border: none;
    height: 1.3em;
    vertical-align: text-bottom;
    margin-right: 0.3em;
   }
   
   a#LC_content_toolbar_firsthomework{
    background-image:url(/res/adm/pages/open-first-problem.gif);
   }
   
   a#LC_content_toolbar_launchnav{
    background-image:url(/res/adm/pages/start-navigation.gif);
 }  }
   
   a#LC_content_toolbar_closenav{
    background-image:url(/res/adm/pages/close-navigation.gif);
   }
   
   a#LC_content_toolbar_everything{
    background-image:url(/res/adm/pages/show-all.gif);
   }
   
   a#LC_content_toolbar_uncompleted{
    background-image:url(/res/adm/pages/show-incomplete-problems.gif);
   }
   
   #LC_content_toolbar_clearbubbles{
    background-image:url(/res/adm/pages/mark-discussionentries-read.gif);
   }
   
   a#LC_content_toolbar_changefolder{
    background : url(/res/adm/pages/close-all-folders.gif) top center ;
   }
   
   a#LC_content_toolbar_changefolder_toggled{
    background-image:url(/res/adm/pages/open-all-folders.gif);
   }
   
   ul#LC_toolbar li a:hover{
    background-position: bottom center;
   }
   
   ul#LC_toolbar{
    padding:0; 
    margin: 2px;
    list-style:none;
    position:relative;
    background-color:white;
   }
   
   ul#LC_toolbar li{
    border:1px solid white;
    padding:0;
    margin: 0;
    display:inline-block;
    vertical-align:middle;
   }
   
   a.LC_toolbarItem{
    display:inline-block;
    padding:0;
    margin:0;
    height: 32px;
    width: 32px;
    color:white; 
    border:0 none;
    background-repeat:no-repeat;
    background-color:transparent;
   }
   
   
 END  END
 }  }
   
Line 6169  sub start_page { Line 6262  sub start_page {
  $result = &html_encode($result);   $result = &html_encode($result);
     }      }
   
     if (exists($args->{'bread_crumbs'})) {   #Breadcrumbs
         &Apache::lonhtmlcommon::clear_breadcrumbs();      if (exists($args->{'bread_crumbs'}) or exists($args->{'bread_crumbs_component'})) {
         if (ref($args->{'bread_crumbs'}) eq 'ARRAY') {            &Apache::lonhtmlcommon::clear_breadcrumbs();
             foreach my $crumb (@{$args->{'bread_crumbs'}}){   #if any br links exists, add them to the breadcrumbs
                 &Apache::lonhtmlcommon::add_breadcrumb($crumb);   if (exists($args->{'bread_crumbs'}) and ref($args->{'bread_crumbs'}) eq 'ARRAY') {         
             }   foreach my $crumb (@{$args->{'bread_crumbs'}}){
         }   &Apache::lonhtmlcommon::add_breadcrumb($crumb);
         $result .= &Apache::lonhtmlcommon::breadcrumbs();   }
     }   }
   
    #if bread_crumbs_component exists show it as headline else show only the breadcrumbs
    if(exists($args->{'bread_crumbs_component'})){
    $result .= &Apache::lonhtmlcommon::breadcrumbs($args->{'bread_crumbs_component'});
    }else{
    $result .= &Apache::lonhtmlcommon::breadcrumbs();
    }
       }
     return $result;      return $result;
 }  }
   

Removed from v.1.748  
changed lines
  Added in v.1.761


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>