Diff for /loncom/interface/lontemplate.pm between versions 1.25 and 1.27

version 1.25, 2009/03/24 10:22:03 version 1.27, 2009/03/27 13:50:36
Line 111  sub end_ContentBox{ Line 111  sub end_ContentBox{
 sub send_message{  sub send_message{
  my ($r,$cnum,$cdom) = @_;   my ($r,$cnum,$cdom) = @_;
  my $s;   my $s;
  my $image = qq{<img name="Send message" src="/res/adm/pages/com.png" border="none" />};   my $image = qq{<img name="Send message" src="/res/adm/pages/com.png" border="none" align="middle" />};
  $s=&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom);   $s=&Apache::loncommon::messagewrapper($image,$cnum,$cdom).' '.&Apache::loncommon::messagewrapper(&mt('Send me a message'),$cnum,$cdom);
  return $s;   return $s;
 }  }
Line 143  sub print_editbox_template Line 143  sub print_editbox_template
            '</textarea><br /><input type="submit" name="storesyl" value="'.             '</textarea><br /><input type="submit" name="storesyl" value="'.
                            &mt('Save All').'" />');                             &mt('Save All').'" />');
 }  }
 sub print_start_page_functions  
 {  # Functionslist: List of functions
   # Typically used to display a list of available functions at top of page
   sub start_functionslist {
  my($r)=@_;   my($r)=@_;
  $r->print('<fieldset><legend>'. &mt('Functions') . '</legend>');   $r->print('<fieldset><legend>'. &mt('Functions') . '</legend>');
    $r->print('<ul class="LC_functionslist">');
 }  }
 sub print_functions_content  
 {  sub item_functionslist {
  my($r,$content) = @_;   my($r,$content) = @_;
  $r->print('<span class="LC_nobreak">&bull; '.$content.'</span> ');   $r->print('<li>'.$content.'</li>');
 }  }
 sub print_end_page_functions  
 {  sub end_functionslist {
  my($r)=@_;   my($r)=@_;
  $r->print('</fieldset>');   $r->print('</ul></fieldset>');
 }  }
   
 1;  1;

Removed from v.1.25  
changed lines
  Added in v.1.27


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