Index: lams_central/web/css/pedagogicalPlanner.css =================================================================== diff -u --- lams_central/web/css/pedagogicalPlanner.css (revision 0) +++ lams_central/web/css/pedagogicalPlanner.css (revision 0cf0add4991151d21aeac41ddca7a40e76dc78f6) @@ -0,0 +1,62 @@ +/* +************************************************* +LAMS 2.2 +Date modified: 24/01/2009 + +************************************************* +CSS for PedagogicalPlanner +********************************************** */ + +.toolFrame { + width: 580px; + border: 1px lightgrey solid; + } + +.pedagogicalPlannerButtons { + margin-right: 10px; + float: right; + } + +.pedagogicalPlannerTable{ + table-layout: fixed; + } + +.titleCell { + padding: 0px 0px 0px 5px; + width: 85px; + text-align: center; + } + +.titleCell span{ + font-size: smaller; + } + +.formCell { + width: 580px; + } + +#pedagogicalPlannerInfoArea { + color: #000000; + padding:8px 10px 10px 40px; + margin-top: 25px; + margin-left: auto; + margin-right: auto; + margin-bottom: 20px; + text-align: left; + font-weight: normal; + background: url('../images/css/edit.gif') no-repeat #d8e4f1 10px 8px; + width: 60%; + border: 1px solid #3c78b5; + float: none; +} + +div#buttonArea{ + padding: 0px 10px 40px 0px; +} +div#pedagogicalPlannerBusy{ + margin: 0px 0px 20px 40%; +} +div#pedagogicalPlannerErrorArea{ + margin-bottom: 20px; + width: 60%; +} \ No newline at end of file Index: lams_central/web/includes/javascript/openUrls.js =================================================================== diff -u -re456cbdff56a950306015c2e58a9c0460cba7888 -r0cf0add4991151d21aeac41ddca7a40e76dc78f6 --- lams_central/web/includes/javascript/openUrls.js (.../openUrls.js) (revision e456cbdff56a950306015c2e58a9c0460cba7888) +++ lams_central/web/includes/javascript/openUrls.js (.../openUrls.js) (revision 0cf0add4991151d21aeac41ddca7a40e76dc78f6) @@ -51,11 +51,10 @@ } } - function openAuthor(learningDesignId){ - var learningDesignParam = learningDesignId==null ? "":"&learningDesignID="+learningDesignId; + function openAuthor(){ if(isMac) { - authorWin = window.open('home.do?method=author'+learningDesignParam,'aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable'); + authorWin = window.open('home.do?method=author','aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable'); } else { @@ -66,11 +65,30 @@ } else { - authorWin = window.open('home.do?method=author'+learningDesignParam,'aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable'); + authorWin = window.open('home.do?method=author','aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable'); authorWin.focus(); } } } + + function openPedagogicalPlanner(){ + if(isMac) + { + authorWin = window.open('pedagogicalPlanner.do','aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable,scrollbars'); + } + else + { + if(authorWin && !authorWin.closed) + { + authorWin.focus(); + } + else + { + authorWin = window.open('pedagogicalPlanner.do','aWindow','width=' + authoring_width + ',height=' + authoring_height + ',resizable,scrollbars'); + authorWin.focus(); + } + } + } function openAuthorForEditOnFly( learningDesignID ) { Index: lams_central/web/includes/javascript/pedagogicalPlanner.js =================================================================== diff -u -r8d32e52903d230f8018ac609041934db7f180e73 -r0cf0add4991151d21aeac41ddca7a40e76dc78f6 --- lams_central/web/includes/javascript/pedagogicalPlanner.js (.../pedagogicalPlanner.js) (revision 8d32e52903d230f8018ac609041934db7f180e73) +++ lams_central/web/includes/javascript/pedagogicalPlanner.js (.../pedagogicalPlanner.js) (revision 0cf0add4991151d21aeac41ddca7a40e76dc78f6) @@ -141,7 +141,7 @@ window.open(startPreviewUrl,'Preview','width=800,height=600,scrollbars=yes,resizable=yes'); } else if (actionAfterCompleted==ACTION_OPEN_AUTHOR){ - openAuthor(learningDesignId); + document.location.href="home.do?method=author&learningDesignID="+learningDesignId; } } else { Index: lams_central/web/pedagogical_planner/base.jsp =================================================================== diff -u -re456cbdff56a950306015c2e58a9c0460cba7888 -r0cf0add4991151d21aeac41ddca7a40e76dc78f6 --- lams_central/web/pedagogical_planner/base.jsp (.../base.jsp) (revision e456cbdff56a950306015c2e58a9c0460cba7888) +++ lams_central/web/pedagogical_planner/base.jsp (.../base.jsp) (revision 0cf0add4991151d21aeac41ddca7a40e76dc78f6) @@ -6,139 +6,114 @@ <%@ taglib uri="tags-fmt" prefix="fmt" %> <%@ taglib uri="tags-core" prefix="c" %> <%@ taglib uri="tags-function" prefix="fn" %> - - - - - - - - - -
-

- -
- -
- + + + <fmt:message key="title.lams"/> :: <fmt:message key="planner.title" /> + + + + + + + + + + + + +
+
+

+ +
+ + +
+ + + + +
+ : + + +
+ + + +
+
+ + + + - -
- : + ${activity.type}
+ + + + + + + + + + + + + +

${activity.title}

- + +
- - - - + + + + + + + + + + + + + + + + + + + + + + +
+ + + + +
- - - - - - - - - - - - - - - -
- ${activity.type}
- - - - - - - - - - - - - -

${activity.title}

-
- -
- - -
- - - - - - - - - - - - - - - \ No newline at end of file + + \ No newline at end of file