[LON-CAPA-cvs] cvs: loncom / loncapa_apache.conf /interface lonpreferences.pm

www lon-capa-cvs@mail.lon-capa.org
Tue, 27 Aug 2002 13:23:01 -0000


www		Tue Aug 27 09:23:01 2002 EDT

  Modified files:              
    /loncom	loncapa_apache.conf 
    /loncom/interface	lonpreferences.pm 
  Log:
  Continued work on syllabus and personal info
  
  
Index: loncom/loncapa_apache.conf
diff -u loncom/loncapa_apache.conf:1.16 loncom/loncapa_apache.conf:1.17
--- loncom/loncapa_apache.conf:1.16	Tue Aug 27 09:01:26 2002
+++ loncom/loncapa_apache.conf	Tue Aug 27 09:23:01 2002
@@ -1,7 +1,7 @@
 ##
 ## loncapa_apache.conf -- Apache HTTP LON-CAPA configuration file
 ##
-## $Id: loncapa_apache.conf,v 1.16 2002/08/27 13:01:26 www Exp $
+## $Id: loncapa_apache.conf,v 1.17 2002/08/27 13:23:01 www Exp $
 ##
 ## 1/11/2002 - Scott Harrison
 ## 2/19/2002 - Scott Harrison
@@ -64,16 +64,16 @@
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
-<LocationMatch "^/uploaded.*\.syllabus">
-PerlAccessHandler	Apache::lonuploadedacc
+<LocationMatch "^/public/.*/syllabus">
+PerlAccessHandler	Apache::lonacc
 SetHandler              perl-script
 PerlHandler             Apache::lonsyllabus
 ErrorDocument     404 /adm/notfound.html
 ErrorDocument	  500 /adm/errorhandler
 </LocationMatch>
 
-<LocationMatch "^/uploaded.*\.aboutme">
-PerlAccessHandler	Apache::lonuploadedacc
+<LocationMatch "^/adm/.*/aboutme">
+PerlAccessHandler	Apache::lonacc
 SetHandler              perl-script
 PerlHandler             Apache::lonaboutme
 ErrorDocument     404 /adm/notfound.html
Index: loncom/interface/lonpreferences.pm
diff -u loncom/interface/lonpreferences.pm:1.10 loncom/interface/lonpreferences.pm:1.11
--- loncom/interface/lonpreferences.pm:1.10	Wed Aug 21 13:18:08 2002
+++ loncom/interface/lonpreferences.pm	Tue Aug 27 09:23:01 2002
@@ -1,7 +1,7 @@
 # The LearningOnline Network
 # Preferences
 #
-# $Id: lonpreferences.pm,v 1.10 2002/08/21 17:18:08 www Exp $
+# $Id: lonpreferences.pm,v 1.11 2002/08/27 13:23:01 www Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -413,6 +413,15 @@
 <input type="submit" value="Change anonymous discussion screen name">
 </form>
 ENDSCREENNAMEFORM
+# The "about me" page
+            my $aboutmeaction=
+        '/adm/'.$ENV{'user.domain'}.'/'.$ENV{'user.name'}.'/aboutme';
+	    $r->print(<<ENDABOUTME);
+<form name="client" action="$aboutmeaction" method="post">
+<input type="hidden" name="action" value="changescreenname">
+<input type="submit" value="Edit the 'About Me' Personal Information Screen">
+</form>
+ENDABOUTME
             # Other preference setting code should be added here
 	}
     }