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

amueller amueller@source.lon-capa.org
Tue, 24 Mar 2009 10:22:03 -0000


amueller		Tue Mar 24 10:22:03 2009 EDT

  Modified files:              
    /loncom/interface	lontemplate.pm 
  Log:
  Replaced the styles in the Contact Information Box to give same look and feel in the edit view and the public view
  
Index: loncom/interface/lontemplate.pm
diff -u loncom/interface/lontemplate.pm:1.24 loncom/interface/lontemplate.pm:1.25
--- loncom/interface/lontemplate.pm:1.24	Sat Mar 21 21:58:32 2009
+++ loncom/interface/lontemplate.pm	Tue Mar 24 10:22:03 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # "Template" Functions to generate html output
 #
-# $Id: lontemplate.pm,v 1.24 2009/03/21 21:58:32 bisitz Exp $
+# $Id: lontemplate.pm,v 1.25 2009/03/24 10:22:03 amueller Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -75,11 +75,8 @@
 		     }	   
 			
 		    if($field eq 'aaa_contactinfo') {
-			if($allowed){
 				$r->print('<div class="LC_Clear_AboutMe_Image" >&nbsp;</div>');
-			}
-			&print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecialContactInfo');
-			$r->print('<div class="LC_Clear_AboutMe_Image" >&nbsp;</div>');
+				&print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial');
 		    }
  		    else{
 			  &print_template($r,$syllabusfields{$field},$message,$allowed,'LC_ContentBoxSpecial');