[LON-CAPA-cvs] cvs: loncom /interface lontemplate.pm

bisitz bisitz@source.lon-capa.org
Fri, 27 Mar 2009 14:10:43 -0000


bisitz		Fri Mar 27 14:10:43 2009 EDT

  Modified files:              
    /loncom/interface	lontemplate.pm 
  Log:
  Removed unneeded and unwanted tabs at line endings
  (No content changes)
  
  
Index: loncom/interface/lontemplate.pm
diff -u loncom/interface/lontemplate.pm:1.27 loncom/interface/lontemplate.pm:1.28
--- loncom/interface/lontemplate.pm:1.27	Fri Mar 27 13:50:36 2009
+++ loncom/interface/lontemplate.pm	Fri Mar 27 14:10:43 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # "Template" Functions to generate html output
 #
-# $Id: lontemplate.pm,v 1.27 2009/03/27 13:50:36 bisitz Exp $
+# $Id: lontemplate.pm,v 1.28 2009/03/27 14:10:43 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -58,7 +58,7 @@
 	my ($r,$allowed,$target,$syllabusfields_ref,$syllabus_ref) = @_;
 	my %syllabusfields = %{$syllabusfields_ref};
 	my %syllabus = %{$syllabus_ref};
-	
+
        foreach my $field (sort(keys(%syllabusfields))) {
           if (($syllabus{$field}) || ($allowed)) {
               my $message=$syllabus{$field};
@@ -73,7 +73,7 @@
 		     if($allowed){
 			$r->print('<p>');
 		     }	   
-			
+
 		    if($field eq 'aaa_contactinfo') {
 				$r->print('<div class="LC_Clear_AboutMe_Image" >&nbsp;</div>');
 				&print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial');
@@ -94,13 +94,13 @@
               }
           }
        }
-	
+
 }
 
 sub start_ContentBox{
-	my ($r,$allowed) = @_;	
+	my ($r,$allowed) = @_;
 	$r->print('<div class="LC_ContentBox">');
-	
+
 }
 
 sub end_ContentBox{
@@ -111,15 +111,15 @@
 sub send_message{
 	my ($r,$cnum,$cdom) = @_;
 	my $s;
-	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);	
-	return $s;	
+	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);
+	return $s;
 }
 
 sub print_template
-{	
-	my ($r,$topic,$content, $allowed,$boxclass) = @_;		
-	$r->print('<div class="'.$boxclass.'">');	
+{
+	my ($r,$topic,$content, $allowed,$boxclass) = @_;
+	$r->print('<div class="'.$boxclass.'">');
 	$r->print('<h4 class="LC_hcell">'.$topic.'</h4>');
 	$r->print('<p>' .$content . '</p>');
 	$r->print('</div>');
@@ -127,7 +127,7 @@
 sub print_start_template
 {
 	my ($r,$topic,$boxclass) = @_;
-	$r->print('<div class="'.$boxclass.'">');	
+	$r->print('<div class="'.$boxclass.'">');
 	$r->print('<h4 class="LC_hcell">'.$topic.'</h4>');
 }
 sub print_end_template
@@ -147,14 +147,14 @@
 # Functionslist: List of functions
 # Typically used to display a list of available functions at top of page
 sub start_functionslist {
-	my($r)=@_;	
-	$r->print('<fieldset><legend>'. &mt('Functions') . '</legend>');	
-	$r->print('<ul class="LC_functionslist">');	
+	my($r)=@_;
+	$r->print('<fieldset><legend>'. &mt('Functions') . '</legend>');
+	$r->print('<ul class="LC_functionslist">');
 }
 
 sub item_functionslist {
 	my($r,$content) = @_;
-	$r->print('<li>'.$content.'</li>');	
+	$r->print('<li>'.$content.'</li>');
 }
 
 sub end_functionslist {