[LON-CAPA-cvs] cvs: loncom / lond

raeburn raeburn at source.lon-capa.org
Sat Jun 13 20:15:14 EDT 2015


raeburn		Sun Jun 14 00:15:14 2015 EDT

  Modified files:              
    /loncom	lond 
  Log:
  - Additional keys supported in hashref populated in localenroll::crsreq_updates()
    to customize "textbook" course request page:
     - createdactions (set course settings, post-creaton, e.g., self-enrollment).
     - createdcustomized (suppress standard display of "Make another request etc.) 
     - onload (actions to execute on page load).
     - validationjs (items to include in the form validation function).
     - javascript (additional javascript functions for use with textbook 
          course request form).
  
  
Index: loncom/lond
diff -u loncom/lond:1.514 loncom/lond:1.515
--- loncom/lond:1.514	Sat Jan  3 02:43:05 2015
+++ loncom/lond	Sun Jun 14 00:15:13 2015
@@ -2,7 +2,7 @@
 # The LearningOnline Network
 # lond "LON Daemon" Server (port "LOND" 5663)
 #
-# $Id: lond,v 1.514 2015/01/03 02:43:05 raeburn Exp $
+# $Id: lond,v 1.515 2015/06/14 00:15:13 raeburn Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -61,7 +61,7 @@
 my $status='';
 my $lastlog='';
 
-my $VERSION='$Revision: 1.514 $'; #' stupid emacs
+my $VERSION='$Revision: 1.515 $'; #' stupid emacs
 my $remoteVERSION;
 my $currenthostid="default";
 my $currentdomainid;
@@ -5410,7 +5410,7 @@
                                                 $title,$code,$accessstart,$accessend,
                                                 $incoming,\%rtnhash);
         if ($outcome eq 'ok') {
-            my @posskeys = qw(createdweb createdmsg queuedweb queuedmsg formitems reviewweb);
+            my @posskeys = qw(createdweb createdmsg createdcustomized createdactions queuedweb queuedmsg formitems reviewweb validationjs onload javascript);
             foreach my $key (keys(%rtnhash)) {
                 if (grep(/^\Q$key\E/, at posskeys)) {
                     $result .= &escape($key).'='.&Apache::lonnet::freeze_escape($rtnhash{$key}).'&';




More information about the LON-CAPA-cvs mailing list