[LON-CAPA-cvs] cvs: loncom /interface loncreatecourse.pm londropadd.pm
www
lon-capa-cvs@mail.lon-capa.org
Wed, 10 Jan 2007 21:37:50 -0000
www Wed Jan 10 16:37:50 2007 EDT
Modified files:
/loncom/interface loncreatecourse.pm londropadd.pm
Log:
Create-Another links
Index: loncom/interface/loncreatecourse.pm
diff -u loncom/interface/loncreatecourse.pm:1.99 loncom/interface/loncreatecourse.pm:1.100
--- loncom/interface/loncreatecourse.pm:1.99 Wed Nov 22 20:09:36 2006
+++ loncom/interface/loncreatecourse.pm Wed Jan 10 16:37:50 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Create a course
#
-# $Id: loncreatecourse.pm,v 1.99 2006/11/23 01:09:36 albertel Exp $
+# $Id: loncreatecourse.pm,v 1.100 2007/01/10 21:37:50 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -688,7 +688,7 @@
# Flush the course logs so reverse user roles immediately updated
&Apache::lonnet::flushcourselogs();
$r->print('<p>'.&mt('Roles will be active at next login').'.</p>'.
- '<p><a href="/adm/createcourse">'.
+ '<p><a href="/adm/createcourse?phase='.lc($crstype).'one">'.
&mt('Create Another [_1]',$crstype).'</a></p>'.
&Apache::loncommon::end_page());
}
Index: loncom/interface/londropadd.pm
diff -u loncom/interface/londropadd.pm:1.154 loncom/interface/londropadd.pm:1.155
--- loncom/interface/londropadd.pm:1.154 Thu Dec 21 15:07:57 2006
+++ loncom/interface/londropadd.pm Wed Jan 10 16:37:50 2007
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Handler to drop and add students in courses
#
-# $Id: londropadd.pm,v 1.154 2006/12/21 20:07:57 raeburn Exp $
+# $Id: londropadd.pm,v 1.155 2007/01/10 21:37:50 www Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -822,6 +822,7 @@
} else {
$r->print(&mt('Invalid username or domain'));
}
+ $r->print("<p><a href='/adm/dropadd?action=enrollstudent'>".&mt("Enroll another student")."</a></p>");
}
sub setup_date_selectors {