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

bisitz bisitz@source.lon-capa.org
Sat, 21 Mar 2009 22:09:51 -0000


bisitz		Sat Mar 21 22:09:51 2009 EDT

  Modified files:              
    /loncom/interface	lonaboutme.pm 
  Log:
  Optimized Privacy Note:
  - Moved note to top of page so it isn't hidden anymore in text boxes somewhere below
  - Added standard info style
  
  
Index: loncom/interface/lonaboutme.pm
diff -u loncom/interface/lonaboutme.pm:1.114 loncom/interface/lonaboutme.pm:1.115
--- loncom/interface/lonaboutme.pm:1.114	Fri Mar 20 18:20:46 2009
+++ loncom/interface/lonaboutme.pm	Sat Mar 21 22:09:51 2009
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Personal Information Page
 #
-# $Id: lonaboutme.pm,v 1.114 2009/03/20 18:20:46 amueller Exp $
+# $Id: lonaboutme.pm,v 1.115 2009/03/21 22:09:51 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -221,6 +221,15 @@
         
     }   
 
+#Print Privacy Note
+       if ($allowed) {          
+           $r->print('<p class="LC_info">'
+                    .'<b>'.&mt('Privacy Note').':</b> '
+                    .&mt('The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publicly.')
+                    .'</p>'
+           );
+	} 
+
 #Print Help Text
 if  ($target ne 'tex') {
 	if($allowed){
@@ -269,11 +278,6 @@
      
 	my $query_string; 
 	
-       if ($allowed) {          
-	   $r->print('<p><b>'.&mt('Privacy Note').':</b> '.&mt('The information you submit can be viewed by anybody who is logged into LON-CAPA. Do not provide information that you are not ready to share publicly.'). '</p>');
-	} 
-       
-	
       if (($env{'form.uploaddoc.filename'}) &&
           ($env{'form.storeupl'}) && ($allowed)) {
  	  if ($env{'form.uploaddoc.filename'}=~/\.(gif|jpg|png|jpeg)$/i) {