Index: lams_tool_imscc/web/WEB-INF/tags/Alert.tag =================================================================== diff -u --- lams_tool_imscc/web/WEB-INF/tags/Alert.tag (revision 0) +++ lams_tool_imscc/web/WEB-INF/tags/Alert.tag (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -0,0 +1,46 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="close" required="false" rtexprvalue="true"%> +<%@ attribute name="id" required="false" rtexprvalue="true"%> +<%@ attribute name="type" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+ +
+
+ + × + + +
+
+
+
+
Index: lams_tool_imscc/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u --- lams_tool_imscc/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 0) +++ lams_tool_imscc/web/WEB-INF/tags/AuthoringRatingCriteria.tag (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -0,0 +1,352 @@ +<% + /** + * AuthoringRatingCriteria.tag + * Author: Andrey Balan + * Description: Creates list of rating criterias for authoring page + */ + %> +<%@ tag body-content="scriptless" %> +<%@ taglib uri="tags-core" prefix="c" %> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="tags-html" prefix="html" %> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + + +<%@ attribute name="criterias" required="true" rtexprvalue="true" type="java.util.Collection" %> + +<%-- Optional attribute --%> +<%@ attribute name="hasRatingLimits" required="false" rtexprvalue="true" %> +<%@ attribute name="formContentPrefix" required="false" rtexprvalue="true" %> +<%@ attribute name="headerLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="addLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="deleteLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="upLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="downLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="minimumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="maximumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="noMinimumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="noMaximumLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="jsWarningLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="allowCommentsLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="minNumberWordsLabel" required="false" rtexprvalue="true" %> + +<%-- Default value for message key --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

+ +

+ + + + + + + + + + + + + + + + +
+ + + + +
">
+ +
">
+
+
+ + + +
">
+
+ +
">
+
+
+
" >
+
+ +
+ + + +
+ + +
+ + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + +
+
+ +
+ checked="checked" + /> + + +
+ + +
+ +
+ +
+ \ No newline at end of file Index: lams_tool_imscc/web/WEB-INF/tags/DefineLater.tag =================================================================== diff -u -r7f68f72a3d80b8e24ba596d34ccea104ca285d05 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/WEB-INF/tags/DefineLater.tag (.../DefineLater.tag) (revision 7f68f72a3d80b8e24ba596d34ccea104ca285d05) +++ lams_tool_imscc/web/WEB-INF/tags/DefineLater.tag (.../DefineLater.tag) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,6 +1,6 @@ <% - /**************************************************************** + /**************************************************************** * Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) * ============================================================= * License Information: http://lamsfoundation.org/licensing/lams/2.0/ @@ -49,10 +49,18 @@ -

- -

-
- +
+
+
+ +
+
+
+
+ +
+
\ No newline at end of file Index: lams_tool_imscc/web/WEB-INF/tags/Page.tag =================================================================== diff -u --- lams_tool_imscc/web/WEB-INF/tags/Page.tag (revision 0) +++ lams_tool_imscc/web/WEB-INF/tags/Page.tag (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -0,0 +1,36 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%> + +<%@ attribute name="type" required="true" rtexprvalue="true"%> +<%@ attribute name="style" required="false" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="titleHelpURL" required="false" rtexprvalue="true"%> +<%@ attribute name="headingContent" required="false" rtexprvalue="true"%> + + + +
+
+
+
+
+ +
+ + + + +
+
+ + + +
+
+ +
+
+
+ +
+
Index: lams_tool_imscc/web/WEB-INF/tags/Rating.tag =================================================================== diff -u --- lams_tool_imscc/web/WEB-INF/tags/Rating.tag (revision 0) +++ lams_tool_imscc/web/WEB-INF/tags/Rating.tag (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -0,0 +1,194 @@ +<% + /** + * Rating.tag + * Author: Andrey Balan + * Description: Shows rating stars widget + */ + %> +<%@ tag body-content="scriptless" %> +<%@ taglib uri="tags-core" prefix="c" %> +<%@ taglib uri="tags-fmt" prefix="fmt" %> +<%@ taglib uri="tags-html" prefix="html" %> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + + +<%@ attribute name="itemRatingDto" required="true" rtexprvalue="true" type="org.lamsfoundation.lams.rating.dto.ItemRatingDTO" %> + +<%-- Optional attribute --%> +<%@ attribute name="disabled" required="false" rtexprvalue="true" %> +<%@ attribute name="isItemAuthoredByUser" required="false" rtexprvalue="true" %> +<%@ attribute name="maxRates" required="false" rtexprvalue="true" %> +<%@ attribute name="countRatedItems" required="false" rtexprvalue="true" %> +<%@ attribute name="yourRatingLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="averageRatingLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="minNumberWordsLabel" required="false" rtexprvalue="true" %> +<%@ attribute name="showComments" required="false" rtexprvalue="true" %> + +<%-- Default value for message key --%> + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +<%--Rating stars area---------------------------------------%> + +
+
+ + + + + + + + + + + + + + + + + + + + + + ${criteriaDto.ratingCriteria.title} + + + + + + + + + + + +
+
+ + + +
+ + + + + + ${criteriaDto.numberOfVotes} + + +
+
+ + +
style="visibility: hidden;" + > + + + + + + + + + + + + + ${criteriaDto.numberOfVotes} + + +
+ +
+
+ +
+ +
+ +
+ +<%--Comments area---------------------------------------%> + +
+ + + + +
+ +
+
+
+ + +
+ +
+
+ + +
+ + + + + + + : + + + + +
+
+ +
+
+
+
+
+
+
+ +
+
\ No newline at end of file Index: lams_tool_imscc/web/WEB-INF/tags/TSTable.tag =================================================================== diff -u --- lams_tool_imscc/web/WEB-INF/tags/TSTable.tag (revision 0) +++ lams_tool_imscc/web/WEB-INF/tags/TSTable.tag (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -0,0 +1,53 @@ +<%-- Tablesorter Table and Pager --%> +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> + +<%@ attribute name="numColumns" required="true" rtexprvalue="true"%> +<%@ attribute name="dataId" required="false" rtexprvalue="true"%> +<%@ attribute name="tableClass" required="false" rtexprvalue="true"%> +<%@ attribute name="pagerClass" required="false" rtexprvalue="true"%> +<%@ attribute name="test" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + + + + + +
+ + \ No newline at end of file Index: lams_tool_imscc/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -r5e63656a12c02f7476564e278b43ff4ce86ac930 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 5e63656a12c02f7476564e278b43ff4ce86ac930) +++ lams_tool_imscc/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -418,6 +418,14 @@ AuthoringButton /WEB-INF/tags/AuthoringButton.tag + + + AuthoringRatingCriteria + /WEB-INF/tags/AuthoringRatingCriteria.tag + + + Rating + /WEB-INF/tags/Rating.tag headItems @@ -432,6 +440,18 @@ /WEB-INF/tags/DefineLater.tag + TSTable + /WEB-INF/tags/TSTable.tag + + + Alert + /WEB-INF/tags/Alert.tag + + + Page + /WEB-INF/tags/Page.tag + + ImgButtonWrapper /WEB-INF/tags/ImgButtonWrapper.tag Index: lams_tool_imscc/web/common/header.jsp =================================================================== diff -u -r35a0e719d061c08b52e705135bb2f2126079ed21 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/common/header.jsp (.../header.jsp) (revision 35a0e719d061c08b52e705135bb2f2126079ed21) +++ lams_tool_imscc/web/common/header.jsp (.../header.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -3,16 +3,14 @@ - - - + + + + + + + + - - - - - - - Index: lams_tool_imscc/web/common/messages.jsp =================================================================== diff -u -r7f68f72a3d80b8e24ba596d34ccea104ca285d05 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/common/messages.jsp (.../messages.jsp) (revision 7f68f72a3d80b8e24ba596d34ccea104ca285d05) +++ lams_tool_imscc/web/common/messages.jsp (.../messages.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,8 +1,8 @@ <%-- Error Messages --%> -

+
-

+
Index: lams_tool_imscc/web/common/tabbedheader.jsp =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_imscc/web/common/tabbedheader.jsp (.../tabbedheader.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -3,14 +3,13 @@ - - - + + + + + + + - - - - - Index: lams_tool_imscc/web/pages/itemreview/initnav.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/itemreview/initnav.jsp (.../initnav.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/itemreview/initnav.jsp (.../initnav.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,17 +1,10 @@ -<%-- -To avoid use HttpSession (LDEV-199), try to -use request.setAttribute() transfer value. But this page is embeded into a Frame html page, directly -request can not block on frame page, so use this trick page redirect request, then server side could handle this -request using this page as target ---%> - -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp"%> + Index: lams_tool_imscc/web/pages/itemreview/instructionsnav.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/itemreview/instructionsnav.jsp (.../instructionsnav.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/itemreview/instructionsnav.jsp (.../instructionsnav.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,12 +1,11 @@ - - + <%@ include file="/common/taglibs.jsp"%> - - - + + + <%-- runAuto and reflectOn does not set when authoring preview mode then set false as default value --%> @@ -31,19 +30,18 @@ <%@ include file="/common/header.jsp"%> - -
- - - - - - - - - - - - +
+
+
+ + + + + + + + +
+
Index: lams_tool_imscc/web/pages/itemreview/mainframe.jsp =================================================================== diff -u -r7f68f72a3d80b8e24ba596d34ccea104ca285d05 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/itemreview/mainframe.jsp (.../mainframe.jsp) (revision 7f68f72a3d80b8e24ba596d34ccea104ca285d05) +++ lams_tool_imscc/web/pages/itemreview/mainframe.jsp (.../mainframe.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,26 +1,7 @@ -<%-- -Copyright (C) 2005 LAMS Foundation (http://lamsfoundation.org) -License Information: http://lamsfoundation.org/licensing/lams/2.0/ - - This program is free software; you can redistribute it and/or modify - it under the terms of the GNU General Public License version 2 as - published by the Free Software Foundation. - - This program is distributed in the hope that it will be useful, - but WITHOUT ANY WARRANTY; without even the implied warranty of - MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the - GNU General Public License for more details. - - You should have received a copy of the GNU General Public License - along with this program; if not, write to the Free Software - Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 - USA - - http://www.gnu.org/licenses/gpl.txt ---%> <%@ include file="/common/taglibs.jsp" %> + ?mode=${mode}&itemIndex=${itemIndex}&itemUid=${itemUid}&toolSessionID=${toolSessionID}&sessionMapID=${sessionMapID}" - name=headerFrame" marginheight="0" scrolling="YES"> + name=headerFrame" marginheight="0" scrolling="YES"> Index: lams_tool_imscc/web/pages/itemreview/openurl.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/itemreview/openurl.jsp (.../openurl.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/itemreview/openurl.jsp (.../openurl.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,22 +1,28 @@ -<%@ include file="/common/taglibs.jsp"%> +<%@ include file="/common/taglibs.jsp"%> <%@ include file="/common/header.jsp"%> -
-

- -

-

- -

-
+ + + + + +
+
+
+ + + +
+
+
+ +
Fisheye: Tag 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d refers to a dead (removed) revision in file `lams_tool_imscc/web/pages/learning/addfile.jsp'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d refers to a dead (removed) revision in file `lams_tool_imscc/web/pages/learning/addurl.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_imscc/web/pages/learning/definelater.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/learning/definelater.jsp (.../definelater.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/learning/definelater.jsp (.../definelater.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,6 +1,4 @@ - - <%@include file="/common/taglibs.jsp"%> @@ -10,12 +8,12 @@ -
-

- -

+ + + + + -
- +
Index: lams_tool_imscc/web/pages/learning/finish.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/learning/finish.jsp (.../finish.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/learning/finish.jsp (.../finish.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,16 +1,11 @@ - - <%@ include file="/common/taglibs.jsp"%> <%-- This page just for : redir finish page to parent rather that part of the frame --%> + - - - + Index: lams_tool_imscc/web/pages/learning/learning.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/learning/learning.jsp (.../learning.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/learning/learning.jsp (.../learning.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,12 +1,11 @@ - - <%@ include file="/common/taglibs.jsp"%> + - <fmt:message key="label.learning.title" /> - + <fmt:message key="label.learning.title" /> <%@ include file="/common/header.jsp"%> + @@ -18,132 +17,132 @@ + -
-

- -

- -

+

-

+
-
- - - - - - - - -
+ + + + + + + + + +
+ + + + ${commonCartridge.miniViewNumberStr} + + <%@ include file="/common/messages.jsp"%> - - - - - - - - - - - +
+
- - - -
- - - - - - - - - - - -
+ + + + + + + + + + + + + + + +
+ + + +
+ + + + + + + + + + +
+
+ <%--Reflection--------------------------------------------------%> - - - - ${commonCartridge.miniViewNumberStr} - - - - - -
-

- +
+ +
- +
- - -

+

+ + -

-
- -

+ + -

-
-
- - - - - - + + + + + + + + +
+ + <%--Finish buttons--------------------------------------------------%> -
+
- + - - + + @@ -159,12 +158,7 @@
-
- + - - - Index: lams_tool_imscc/web/pages/learning/notebook.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d --- lams_tool_imscc/web/pages/learning/notebook.jsp (.../notebook.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_imscc/web/pages/learning/notebook.jsp (.../notebook.jsp) (revision 6cdf24c93efb8cc7b3a7deb2250581d1b9b2d86d) @@ -1,21 +1,24 @@ -<%@ include file="/common/taglibs.jsp"%> - +<%@ include file="/common/taglibs.jsp"%> - <fmt:message key="label.learning.title" /> - + <fmt:message key="label.learning.title" /> <%@ include file="/common/header.jsp"%> @@ -27,23 +30,19 @@ -
-

- -

+ <%@ include file="/common/messages.jsp"%> -

+

-

+
- + -
- - +
+ + @@ -55,7 +54,7 @@
-
+