Index: lams_bb_integration/web/modules/start_lesson.jsp =================================================================== diff -u -r0c7a8cba1ded8f132d5d5d1cc816023179ede9ca -re90547eeb5330fd68c424212233b1689f25c71ce --- lams_bb_integration/web/modules/start_lesson.jsp (.../start_lesson.jsp) (revision 0c7a8cba1ded8f132d5d5d1cc816023179ede9ca) +++ lams_bb_integration/web/modules/start_lesson.jsp (.../start_lesson.jsp) (revision e90547eeb5330fd68c424212233b1689f25c71ce) @@ -1,3 +1,17 @@ +<%-- + Original Version: 2007 LAMS Foundation + Updated for Blackboard 9.1 SP6 (including new bbNG tag library) 2011 + Richard Stals (www.stals.com.au) + Edith Cowan University, Western Australia +--%> +<%-- + Step 2 For Creating a New LAMS Lesson + Set the various attributes for the LAMS lesson in Blackboard + + Step 1 - create.jsp + Step 2 - start_lesson.jsp + Step 3 - start_lesson_proc.jsp +--%> <%@ page import="java.util.Calendar"%> <%@ page import="java.text.SimpleDateFormat"%> <%@ page import="blackboard.base.FormattedText"%> @@ -13,91 +27,100 @@ <%@ page import="blackboard.platform.session.BbSession"%> <%@ page import="blackboard.platform.*"%> <%@ page import="blackboard.platform.plugin.PlugInUtil"%> +<%@ page import="blackboard.platform.plugin.PlugInException"%> <%@ page import="org.lamsfoundation.ld.integration.blackboard.LamsPluginUtil"%> -<%@ page import="org.lamsfoundation.ld.integration.Constants"%> - -<%@ page errorPage="/error.jsp"%><%@ page import="org.lamsfoundation.ld.integration.Constants" %> - -<%@ taglib uri="/bbUI" prefix="bbUI"%> -<%@ taglib uri="/bbData" prefix="bbData"%> - +<%@ page import="org.lamsfoundation.ld.integration.Constants"%> +<%@ page errorPage="/error.jsp"%> +<%@ taglib uri="/bbNG" prefix="bbNG"%> <% - String sequenceID = request.getParameter("sequence_id"); + // SECURITY! + // Authorise current user for Course Control Panel (automatic redirect) + try{ + if (!PlugInUtil.authorizeForCourseControlPanel(request, response)) + return; + } catch(PlugInException e) { + throw new RuntimeException(e); + } + + // Get the sequence ID from the form request parameter + String sequenceID = request.getParameter("sequence_id"); %> - - - - - - - - Start LAMS Lesson - + - Start LAMS Lesson - -
- - "> + <%-- Breadcrumbs --%> + + + + + <%-- Page Header --%> + + + + + <%-- Form to Collect LAMS Lesson Attributes --%> + + + "> "> + - - - - - - - - - - - - - Yes - No - - - Yes - No - - - - - - -
- - - - -
- + + + + + + + + + + + + + Yes + No + + + Yes + No + + + + + + + + +
+ - -
-
\ No newline at end of file + //--> + + + + \ No newline at end of file