Index: lams_tool_laqa/web/WEB-INF/struts-config.xml =================================================================== diff -u -r14e8c67fbecc09db1e8f1d1c031db8433b7be927 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 14e8c67fbecc09db1e8f1d1c031db8433b7be927) +++ lams_tool_laqa/web/WEB-INF/struts-config.xml (.../struts-config.xml) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -85,7 +85,7 @@ Index: lams_tool_laqa/web/WEB-INF/tags/AdvancedAccordian.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/AdvancedAccordian.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/AdvancedAccordian.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,53 @@ +<% + /**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + + /** + * AdvancedAccordian.tag + * Author: Fiona Malikoff + * Description: Creates the show/hide entry for the Advanced Settings in Montoring. + * Wiki: + */ +%> +<%@ attribute name="title" required="true" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +
+
+ + +
+ +
+
+
+ \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/Arrow.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/Arrow.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/Arrow.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,35 @@ +<%@ tag body-content="scriptless"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-function" prefix="fn" %> + +<%-- state = up: up arrow; state = down: down arrow --%> +<%@ attribute name="state" required="true" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="onclick" required="false" rtexprvalue="true"%> + + + + title="${title}" + + + + + + + + + onclick="${onclick}" + + + + + + + + + + + + + + Index: lams_tool_laqa/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 29fac4bd0bdf28bcaaeee7aae4020ccb15b6e520) +++ lams_tool_laqa/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -122,12 +122,12 @@ window.close(); } -

- - - - +

+ -

+ + + +
\ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingCriteria.tag =================================================================== diff -u -r55645d4b796f36715b66a70fce66406a986ee647 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 55645d4b796f36715b66a70fce66406a986ee647) +++ lams_tool_laqa/web/WEB-INF/tags/AuthoringRatingCriteria.tag (.../AuthoringRatingCriteria.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -18,6 +18,7 @@ <%-- Optional attribute --%> <%@ attribute name="hasRatingLimits" required="false" rtexprvalue="true" %> <%@ attribute name="formContentPrefix" required="false" rtexprvalue="true" %> +<%@ attribute name="styleId" 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" %> @@ -106,16 +107,16 @@ jQuery('').append(jQuery('', { 'class': 'criteria-info', html: '' + - '' + '' })).append(jQuery('', { width: '40px', - html: '
" />' + - '
" />' + html: '
" />' + + '
" />' })).append(jQuery('', { width: '20px', - html: '
" />' + html: '">' })).appendTo('#criterias-table'); reactivateArrows(); @@ -124,30 +125,29 @@ addCriteria(); addCriteria(); + reactivateArrows(); function reactivateArrows() { $('#criterias-table tr').each(function() { $this = $(this); // cache $(this) if ($this.is(':first-child')) { - $(".up-arrow", $this).addClass("up-arrow-disabled").removeClass("up-arrow"); - + $(".arrow-up", $this).removeClass("fa fa-long-arrow-up fa-pull-left"); } else { - $(".up-arrow-disabled", $this).addClass("up-arrow").removeClass("up-arrow-disabled"); + $(".arrow-up", $this).addClass("fa fa-long-arrow-up fa-pull-left"); } if ($this.is(':last-child')) { - $(".down-arrow", $this).addClass("down-arrow-disabled").removeClass("down-arrow"); - + $(".arrow-down", $this).removeClass("fa fa-long-arrow-down fa-pull-right"); } else { - $(".down-arrow-disabled", $this).addClass("down-arrow").removeClass("down-arrow-disabled"); + $(".arrow-down", $this).addClass("fa fa-long-arrow-down fa-pull-right"); } }); } //upCriteria - $( "body" ).on( "click", ".up-arrow", function() { + $( "body" ).on( "click", ".fa-long-arrow-up", function() { var currentRow = $(this).closest('tr'); var currentCriteriaTd = $( ".criteria-info", currentRow); var currentOrderId = $( "input[name^='criteriaOrderId']", currentCriteriaTd); @@ -170,7 +170,7 @@ } ); //downCriteria - $( "body" ).on( "click", ".down-arrow", function() { + $( "body" ).on( "click", ".fa-long-arrow-down", function() { var currentRow = $(this).closest('tr'); var currentCriteriaTd = $( ".criteria-info", currentRow); var currentOrderId = $( "input[name^='criteriaOrderId']", currentCriteriaTd); @@ -193,7 +193,7 @@ }); //deleteCriteria - $( "body" ).on( "click", ".delete-arrow", function() { + $( "body" ).on( "click", ".fa-times", function() { var currentRow = $(this).closest('tr'); currentRow.remove(); @@ -241,112 +241,109 @@ } -
-

- -

- +
- - - - - - - - - - - - + + + +
+ + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + + + + + + + + 1 + 2 + 3 + 4 + 5 + 6 + 7 + 8 + 9 + 10 + +
- -
- - - - -
">
- -
">
-
-
+
+
+ +
- - -
">
-
+
+ + + + + + + + + + + + + + + +
+ + + +
">
+
">
+
+ "> +
-
">
- -
-
" >
-
-
- - - -
+
+ +
- -
- - - - - - 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_laqa/web/WEB-INF/tags/CKEditor.tag =================================================================== diff -u -rdc884b8e6274ebbc664d1ee940e565803445bb26 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision dc884b8e6274ebbc664d1ee940e565803445bb26) +++ lams_tool_laqa/web/WEB-INF/tags/CKEditor.tag (.../CKEditor.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -10,7 +10,12 @@ <%@ attribute name="contentFolderID" required="false" rtexprvalue="true"%> <%@ attribute name="displayExpanded" required="false" rtexprvalue="true"%> <%@ attribute name="resizeParentFrameName" required="false" rtexprvalue="true"%> +<%@ attribute name="method" required="false" rtexprvalue="true"%> + + + + @@ -19,6 +24,10 @@ + + ${toolbarSet}Inline + + @@ -33,10 +42,10 @@ - + - ckeditor/ + /lams/ckeditor/ @@ -59,10 +68,9 @@ var editor = CKEDITOR.instances["${id}"]; if (editor) { editor.destroy(true); } - var instance = CKEDITOR.replace( "${id}", { + var instance = CKEDITOR.${method}( "${id}", { width : "${width}", height : "${height}", - autoGrow_minHeight : "${height}".replace("px", ""), toolbar : "${toolbarSet}", language : "${language}", defaultLangugage : "en", Index: lams_tool_laqa/web/WEB-INF/tags/Comments.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/Comments.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/Comments.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,47 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="tags-function" prefix="fn" %> + +<%@ attribute name="toolSessionId" required="true" rtexprvalue="true"%> +<%@ attribute name="toolSignature" required="true" rtexprvalue="true"%> +<%@ attribute name="height" required="false" rtexprvalue="true"%> +<%@ attribute name="width" required="false" rtexprvalue="true"%> +<%@ attribute name="mode" required="false" rtexprvalue="true"%> +<%@ attribute name="likeAndDislike" required="false" rtexprvalue="true"%> +<%@ attribute name="readOnly" required="false" rtexprvalue="true"%> +<%@ attribute name="pageSize" required="false" rtexprvalue="true"%> +<%@ attribute name="sortBy" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + &mode=${mode} + + + + + + + + + + + + + + +
+ \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/CommentsAuthor.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/CommentsAuthor.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/CommentsAuthor.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,51 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-html" prefix="html"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> + +<%@ attribute name="allowCommentsVariableName" required="false" rtexprvalue="true"%> +<%@ attribute name="allowCommentLabelKey" required="false" rtexprvalue="true"%> +<%@ attribute name="likeDislikeVariableName" required="false" rtexprvalue="true"%> +<%@ attribute name="likeOnlyCommentLabelKey" required="false" rtexprvalue="true"%> +<%@ attribute name="likeDislikeLabelKey" required="false" rtexprvalue="true"%> + + + + + + + + + + + + + + + + + +
+ +
+
+     +   +
+ + + + Index: lams_tool_laqa/web/WEB-INF/tags/Page.tag =================================================================== diff -u -rf78b6e33d33c99b7d64783d791bc5a72bea8fc02 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision f78b6e33d33c99b7d64783d791bc5a72bea8fc02) +++ lams_tool_laqa/web/WEB-INF/tags/Page.tag (.../Page.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -12,25 +12,38 @@
+ + + + + +
-
- + +
- - - - -
+ + + +
+
+
+
+
+ + + + Index: lams_tool_laqa/web/WEB-INF/tags/Rating.tag =================================================================== diff -u -r099554309e1f77769667c041fb6d0fa91a89ea03 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/Rating.tag (.../Rating.tag) (revision 099554309e1f77769667c041fb6d0fa91a89ea03) +++ lams_tool_laqa/web/WEB-INF/tags/Rating.tag (.../Rating.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -167,21 +167,25 @@
- + -
+ : -
+
- - -
-
+
+
+ +
+
+
+
Index: lams_tool_laqa/web/WEB-INF/tags/RestrictedUsageAccordian.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/RestrictedUsageAccordian.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,54 @@ +<% + /**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + + /** + * AdvancedAccordian.tag + * Author: Fiona Malikoff + * Description: Creates the show/hide entry for the Restricted Usage Settings in Monitoring. + * Wiki: + */ +%> +<%@ attribute name="title" required="true" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +
+
+ + + +
+ +
+
+
+ \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/Tab.tag =================================================================== diff -u -rac6c077d83ef253fa3f07a515edc49077317029a -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision ac6c077d83ef253fa3f07a515edc49077317029a) +++ lams_tool_laqa/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,85 +1,89 @@ -<% - /**************************************************************** - * 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.0 - * 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 - * **************************************************************** - */ - - /** - * Tab.tag - * Author: Mitchell Seaton - * Description: Creates a tab element. - * Wiki: - */ -%> -<%@ tag body-content="empty"%> -<%@ attribute name="id" required="true" rtexprvalue="true"%> -<%@ attribute name="value" required="false" rtexprvalue="true"%> -<%@ attribute name="key" required="false" rtexprvalue="true"%> -<%@ attribute name="inactive" required="false" rtexprvalue="true"%> -<%@ attribute name="methodCall" required="false" rtexprvalue="true"%> - -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-fmt" prefix="fmt"%> -<%@ taglib uri="tags-lams" prefix="lams"%> - -<%-- Check if bundle is set --%> - - - - - - - - - - -<%-- - Usually methodCall is selectTab, but the calling code can override methodCall if desired. - this is handy if the page needs different logic on initialisation and user switching tabs ---%> - - - - - - - - - - - - - - - - - - - +<% + /**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + + /** + * Tab.tag + * Author: Fiona Malikoff + * Description: Creates a tab element within the Hybrid Tab Header. + * Wiki: + */ +%> +<%@ tag body-content="empty"%> +<%@ attribute name="id" required="true" rtexprvalue="true"%> +<%@ attribute name="value" required="false" rtexprvalue="true"%> +<%@ attribute name="key" required="false" rtexprvalue="true"%> +<%@ attribute name="inactive" required="false" rtexprvalue="true"%> +<%@ attribute name="methodCall" required="false" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + +<%-- Check if bundle is set --%> + + + + + + + + + + +<%-- + Usually methodCall is selectTab, but the calling code can override methodCall if desired. + this is handy if the page needs different logic on initialisation and user switching tabs + + -- onclick="${methodCall}(${id});return false;"> + +--%> + + + + + + + + + + + + + + + + + + + + + class="active" + + + + + class="disabled" + + +
  • ${tabTitle}
  • Index: lams_tool_laqa/web/WEB-INF/tags/TabBody.tag =================================================================== diff -u -r9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6) +++ lams_tool_laqa/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,52 +1,44 @@ -<%/**************************************************************** - * 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.0 - * 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 - * **************************************************************** - */ - -/** - * TabBody.tag - * Author: Mitchell Seaton - * Description: Creates the body container for a tab element - * Wiki: - */ - - %> -<%@ tag body-content="scriptless"%> -<%@ attribute name="id" required="true" rtexprvalue="true"%> -<%@ attribute name="tabTitle" required="false" rtexprvalue="true"%> -<%@ attribute name="titleKey" required="false" rtexprvalue="true"%> -<%@ attribute name="page" required="false" rtexprvalue="true"%> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-bean" prefix="bean"%> - - -
    - - - - - - - - - -
    - +<%/**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + +/** + * TabBody.tag + * Author: Mitchell Seaton + * Description: Creates the body container for a tab element + * Wiki: + */ + +%> +<%@ attribute name="id" required="true" rtexprvalue="true"%> +<%@ attribute name="tabTitle" required="false" rtexprvalue="true"%> +<%@ attribute name="titleKey" required="false" rtexprvalue="true"%> +<%@ attribute name="page" required="false" rtexprvalue="true"%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-bean" prefix="bean"%> + + + + active + + +
    Index: lams_tool_laqa/web/WEB-INF/tags/TabBodyArea.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/TabBodyArea.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/TabBodyArea.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,39 @@ +<%/**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + +/** + * TabBodyArea.tag + * Author: Fiona Malikoff + * Description: Creates the panel body area for a nav bar screen + * Wiki: + */ + +%> +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-bean" prefix="bean"%> + +
    + +
    + +
    \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/TabBodys.tag =================================================================== diff -u --- lams_tool_laqa/web/WEB-INF/tags/TabBodys.tag (revision 0) +++ lams_tool_laqa/web/WEB-INF/tags/TabBodys.tag (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -0,0 +1,37 @@ +<%/**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + +/** + * TabBodys.tag + * Author: Fiona Malikoff + * Description: Create a tabbody list from nested TabBody tags. + * Wiki: + */ + + %> +<%@ tag body-content="scriptless"%> + + +
    + +
    Index: lams_tool_laqa/web/WEB-INF/tags/TabName.tag =================================================================== diff -u -r7329c82c5388fbb86b6a0a2b27a71151ee8f116e -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/TabName.tag (.../TabName.tag) (revision 7329c82c5388fbb86b6a0a2b27a71151ee8f116e) +++ lams_tool_laqa/web/WEB-INF/tags/TabName.tag (.../TabName.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,59 +1,59 @@ -<%/**************************************************************** - * 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.0 - * 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 - * **************************************************************** - */ - -/** - * TabName Tag - * Author: Mitchell Seaton - * Description: Shortens name that are too long to fit inside a tab - */ - - %> -<%@ tag body-content="scriptless" %> - -<%@ attribute name="url" required="true" rtexprvalue="true"%> -<%@ attribute name="highlight" required="false" rtexprvalue="true" %> - -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-function" prefix="fn"%> - -12 - - - - - - - - - - - - - - - - - - - +<%/**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + +/** + * TabName Tag + * Author: Mitchell Seaton + * Description: Shortens name that are too long to fit inside a tab + */ + + %> +<%@ tag body-content="scriptless" %> + +<%@ attribute name="url" required="true" rtexprvalue="true"%> +<%@ attribute name="highlight" required="false" rtexprvalue="true" %> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-function" prefix="fn"%> + +12 + + + + + + + + + + + + + + + + + + + \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/Tabs.tag =================================================================== diff -u -r9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 9481bb9c6f8c0e4d6fbed6b230a41c77feda64c6) +++ lams_tool_laqa/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,69 +1,92 @@ -<%/**************************************************************** - * 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.0 - * 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 - * **************************************************************** - */ - -/** - * Tabs.tag - * Author: Mitchell Seaton - * Description: Create a tab list from a input collection or nested Tab tags. - * Wiki: - */ - - %> -<%@ tag body-content="scriptless"%> -<%@ attribute name="collection" type="java.util.Collection" required="false" rtexprvalue="true"%> -<%@ attribute name="control" required="false" rtexprvalue="true"%> -<%@ attribute name="useKey" required="false" rtexprvalue="true"%> -<%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-lams" prefix="lams"%> - - - - - - - - - - - - +<%/**************************************************************** + * 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.0 + * 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 + * **************************************************************** + */ + +/** + * Tabs.tag + * Author: Fiona Malikoff + * Description: Create a hybrid panel header that contains a nav bar that acts like tabs. + */ + +%> +<%@ attribute name="control" required="false" rtexprvalue="true"%> +<%@ attribute name="title" required="false" rtexprvalue="true"%> +<%@ attribute name="refreshOnClickAction" required="false" rtexprvalue="true"%> +<%@ attribute name="helpToolSignature" required="false" rtexprvalue="true"%> +<%@ attribute name="helpModule" required="false" rtexprvalue="true"%> +<%@ attribute name="extraControl" required="false" rtexprvalue="true"%> + +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> + + + + + + + + + + + + +
    + + \ No newline at end of file Index: lams_tool_laqa/web/WEB-INF/tags/headItems.tag =================================================================== diff -u -r613f0d0d76eb497ed58d7e6836eda34a245425a9 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision 613f0d0d76eb497ed58d7e6836eda34a245425a9) +++ lams_tool_laqa/web/WEB-INF/tags/headItems.tag (.../headItems.tag) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -41,7 +41,9 @@ - + - + + + Index: lams_tool_laqa/web/WEB-INF/tlds/lams/lams.tld =================================================================== diff -u -rd1d8f658b5b65ceb887ecb17d1883a17a5d5a1e3 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision d1d8f658b5b65ceb887ecb17d1883a17a5d5a1e3) +++ lams_tool_laqa/web/WEB-INF/tlds/lams/lams.tld (.../lams.tld) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -178,7 +178,7 @@ css org.lamsfoundation.lams.web.tag.CssTag empty - + Output stylesheet based on the user preferences. style @@ -408,25 +408,33 @@ /WEB-INF/tags/TabBody.tag + TabBodys + /WEB-INF/tags/TabBodys.tag + + TabName /WEB-INF/tags/TabName.tag + TabBodyArea + /WEB-INF/tags/TabBodyArea.tag + + CKEditor /WEB-INF/tags/CKEditor.tag AuthoringButton /WEB-INF/tags/AuthoringButton.tag - + AuthoringRatingCriteria /WEB-INF/tags/AuthoringRatingCriteria.tag Rating /WEB-INF/tags/Rating.tag - + headItems /WEB-INF/tags/headItems.tag @@ -440,18 +448,30 @@ /WEB-INF/tags/DefineLater.tag - TSTable - /WEB-INF/tags/TSTable.tag - - Alert /WEB-INF/tags/Alert.tag Page /WEB-INF/tags/Page.tag + + + TSTable + /WEB-INF/tags/TSTable.tag + + + Arrow + /WEB-INF/tags/Arrow.tag + + + AdvancedAccordian + /WEB-INF/tags/AdvancedAccordian.tag + RestrictedUsageAccordian + /WEB-INF/tags/RestrictedUsageAccordian.tag + + ImgButtonWrapper /WEB-INF/tags/ImgButtonWrapper.tag @@ -493,5 +513,13 @@ head /WEB-INF/tags/Head.tag + + Comments + /WEB-INF/tags/Comments.tag + + + CommentsAuthor + /WEB-INF/tags/CommentsAuthor.tag + Index: lams_tool_laqa/web/authoring/AdvancedContent.jsp =================================================================== diff -u -r229b32d50e848e3b5377fdbc8ac8af6d60c1e79b -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/AdvancedContent.jsp (.../AdvancedContent.jsp) (revision 229b32d50e848e3b5377fdbc8ac8af6d60c1e79b) +++ lams_tool_laqa/web/authoring/AdvancedContent.jsp (.../AdvancedContent.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,10 +1,8 @@ <%@ include file="/common/taglibs.jsp"%> - - -

    - +

    -

    +
    -

    - +

    -

    +
    -
    -

    - + +

    +
    -

    - -

    - -

    + +
    + -

    - -
    -
    -
    style="display:none;"> - -
    -
    - + +
    + +
    -

    - +

    -

    +
    -

    - +

    -

    -

    - -

    +
    - - -

    - +

    -

    +
    -

    - -

    + -

    +
    -

    - +

    -

    +
    -

    - +

    -

    +
    \ No newline at end of file Index: lams_tool_laqa/web/authoring/AuthoringTabsHolder.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/AuthoringTabsHolder.jsp (.../AuthoringTabsHolder.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_laqa/web/authoring/AuthoringTabsHolder.jsp (.../AuthoringTabsHolder.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,32 +1,27 @@ - <%@ include file="/common/taglibs.jsp"%> - -<%@ page import="java.util.LinkedHashSet" %> -<%@ page import="java.util.Set" %> <%@ page import="org.lamsfoundation.lams.tool.qa.QaAppConstants"%> + + + + + + - <% - Set tabs = new LinkedHashSet(); - tabs.add("label.basic"); - tabs.add("label.advanced"); - tabs.add("label.conditions"); - pageContext.setAttribute("tabs", tabs); - %> - <fmt:message key="activity.title" /> - - <%@ include file="/common/tabbedheader.jsp"%> - + + + + + + - - - - -
    -

    + + + + + - + + + + + + + + + + + + + + -
    - - - - - - - - - - - - <%@ include file="/common/messages.jsp"%> - - + + + + +
    +
    +
    +
    + + - - - - - - -
    -
    - + + + + + + + + + - -
    - + + + -
    + \ No newline at end of file Index: lams_tool_laqa/web/authoring/BasicContent.jsp =================================================================== diff -u -rfb9d13eb115f5281b03ab1624ec10a22ba3b81b7 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision fb9d13eb115f5281b03ab1624ec10a22ba3b81b7) +++ lams_tool_laqa/web/authoring/BasicContent.jsp (.../BasicContent.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -6,92 +6,66 @@ * Launches the popup window for the instruction files */ function showMessage(url) { - var area=document.getElementById("messageArea"); - if(area != null){ - area.style.width="95%"; - area.src=url; - area.style.display="block"; - } - var elem = document.getElementById("saveCancelButtons"); - if (elem != null) { - elem.style.display="none"; - } + $("#messageArea").load(url, function() { + $(this).show(); + $('#saveCancelButtons').hide(); + }); location.hash = "messageArea"; } function hideMessage(){ - var area=document.getElementById("messageArea"); - if(area != null){ - area.style.width="0px"; - area.style.height="0px"; - area.style.display="none"; - } - var elem = document.getElementById("saveCancelButtons"); - if (elem != null) { - elem.style.display="block"; - } + $("#messageArea").hide(); + $('#saveCancelButtons').show(); } - function removeQuestion(questionIndex) - { + function removeQuestion(questionIndex){ document.QaAuthoringForm.questionIndex.value=questionIndex; submitMethod('removeQuestion'); } - function removeMonitoringQuestion(questionIndex) - { - document.QaMonitoringForm.questionIndex.value=questionIndex; - submitMonitoringMethod('removeQuestion'); - } - - function resizeIframe(heightOffSet) - { - var iframe = document.getElementById("messageArea"); - iframe.style.height = parseInt(iframe.style.height) + heightOffSet + "px"; - } + function submitMessage(){ + if ( typeof CKEDITOR !== 'undefined' ) { + for ( instance in CKEDITOR.instances ) + CKEDITOR.instances[instance].updateElement(); + } + var formData = new FormData(document.getElementById("newQuestionForm")); + + $.ajax({ // create an AJAX call... + data: formData, + processData: false, // tell jQuery not to process the data + contentType: false, // tell jQuery not to set contentType + type: $("#newQuestionForm").attr('method'), + url: $("#newQuestionForm").attr('action'), + success: function(data) { + $('#resourceListArea').html($(data).find('#itemList')); + hideMessage(); + } + }); + } - - - - +
    + + +
    +
    + + + +
    - - - -
    -
    - -
    - -
    -
    - -
    - -
    - -
    <%@ include file="/authoring/itemlist.jsp"%>
    -

    +

    -

    - -

    +
    \ No newline at end of file Index: lams_tool_laqa/web/authoring/addCondition.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/addCondition.jsp (.../addCondition.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_laqa/web/authoring/addCondition.jsp (.../addCondition.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,59 +1,45 @@ <%@ include file="/common/taglibs.jsp"%> + +
    +
    +
    +
    - - - <%@ include file="/common/header.jsp"%> - - - - - - <%@ include file="/common/messages.jsp"%> - - -

    - -

    +
    -
    - -
    + + <%@ include file="/common/messages.jsp"%> + + + +
    + + +
    -
    - -
    - <%-- Text search form fields are being included --%> - -

    - - - - - -
    -
    + <%-- Text search form fields are being included --%> + + +

    +
    + +
    + +
    +
    + + - - - - - - - - +
    + + +
    +
    +
    \ No newline at end of file Index: lams_tool_laqa/web/authoring/conditionList.jsp =================================================================== diff -u -r21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/conditionList.jsp (.../conditionList.jsp) (revision 21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59) +++ lams_tool_laqa/web/authoring/conditionList.jsp (.../conditionList.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,18 +1,15 @@ <%@ include file="/common/taglibs.jsp"%> - -
    -

    - - -

    +
    + +
    - +
    - + - - - - - - + + - - - - - + + + + + + + + + + +
    @@ -29,73 +26,43 @@
    - ${status.index + 1} - - ${condition.displayName} - - - " - onclick="upCondition(${status.index},'${sessionMapID}')"> - - "> - - - - - - "> - - - " - onclick="downCondition(${status.index},'${sessionMapID}')"> - -
    + ${status.index + 1} + - " - onclick="editCondition(${status.index},'${sessionMapID}')" /> - - " - onclick="deleteCondition(${status.index},'${sessionMapID}')" /> -
    + ${condition.displayName} + + + + + + + + + + " + onclick="editCondition(${status.index},'${sessionMapID}')">" + onclick="deleteCondition(${status.index},'${sessionMapID}')">
    -<%-- This script will works when a new resoruce Condition submit in order to refresh "TaskList List" panel. --%> - \ No newline at end of file Index: lams_tool_laqa/web/authoring/conditions.jsp =================================================================== diff -u -r55645d4b796f36715b66a70fce66406a986ee647 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/conditions.jsp (.../conditions.jsp) (revision 55645d4b796f36715b66a70fce66406a986ee647) +++ lams_tool_laqa/web/authoring/conditions.jsp (.../conditions.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,102 +1,60 @@ <%@ include file="/common/taglibs.jsp"%> - - -
    <%@ include file="/authoring/conditionList.jsp"%>
    + + -

    - ');" class="button-add-item"> - -

    - - -

    - -

    +
    \ No newline at end of file Fisheye: Tag 320934945c495ab0832be6fb547d83812ac3152a refers to a dead (removed) revision in file `lams_tool_laqa/web/authoring/editQuestionBox.jsp'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_laqa/web/authoring/itemlist.jsp =================================================================== diff -u -r21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/itemlist.jsp (.../itemlist.jsp) (revision 21ce4d0194e8b81e613f4f6e14eb4e8bf53bdf59) +++ lams_tool_laqa/web/authoring/itemlist.jsp (.../itemlist.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,100 +1,40 @@ <%@ include file="/common/taglibs.jsp"%> - +
    -

    - - -

    + + + + - - -
    - - - - - - - - + - - - - - - - - -
    + - + + - - - - images/down.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringQuestion('','moveQuestionDown');"> - images/up_disabled.gif" - border="0"> - - - - images/down_disabled.gif" - border="0"> - images/up.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringQuestion('','moveQuestionUp');"> - - - - - images/down.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringQuestion('','moveQuestionDown');"> - images/up.gif" border="0" - title="" - onclick="javascript:submitModifyAuthoringQuestion('','moveQuestionUp');"> - - - + + + + + + + + + - - images/edit.gif" border="0" - title="" - onclick="javascript:showMessage('');"> + " + onclick="javascript:showMessage('')"> - images/delete.gif" border="0" - title="" - onclick="removeQuestion(${queIndex});"> + " + onclick="removeQuestion(${status.count})">
    -
    -<%-- This script will works when a new resoruce item submit in order to refresh "Resource List" panel. --%> - +
    \ No newline at end of file Index: lams_tool_laqa/web/authoring/newQuestionBox.jsp =================================================================== diff -u -re48fc0e1f6819e257b87efa36c3baec3c1c488f0 -r320934945c495ab0832be6fb547d83812ac3152a --- lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision e48fc0e1f6819e257b87efa36c3baec3c1c488f0) +++ lams_tool_laqa/web/authoring/newQuestionBox.jsp (.../newQuestionBox.jsp) (revision 320934945c495ab0832be6fb547d83812ac3152a) @@ -1,237 +1,57 @@ - - - <%@ include file="/common/taglibs.jsp"%> - - - <%@ include file="/common/header.jsp"%> - <%@ include file="/includes/jsp/qaWizardCommon.jsp"%> - - - - - - - - // Creating a 3-dimentional javascript array for category/cognitive skill/question - // ------------------------------------------------------------------------------- - var categoryArray = new Array(); - var categoryIndex = 0; - var skillIndex = 0; - var qIndex = 0; - - categoryIndex = categoryArray.length; - addCategory(unescape("${category.title}"), "${category.uid}", categoryArray.length); - - skillIndex = categoryArray[categoryIndex].skills.length; - addSkill(unescape("${skill.title}"), "${skill.uid}", categoryIndex , skillIndex); - - qIndex = categoryArray[categoryIndex].skills[skillIndex].questions.length; - addQuestion(unescape("${question.question}"), "${question.uid}", categoryIndex, skillIndex, qIndex) - - - - // ------------------------------------------------------------------------------- - - // the menus - var catMenu = null; - var skillMenu = null; - var qMenu = null; - - // Sets up the triple menu with the appropriate data - function setUpTripleMenu() { - var qaWizardEnabledBox = document.QaAuthoringForm.qaWizardEnabled; +
    +
    +
    +
    - catMenu = document.QaAuthoringForm.catMenu; - skillMenu = document.QaAuthoringForm.skillMenu; - qMenu = document.QaAuthoringForm.qMenu; - - nullOptions(catMenu); - nullOptions(skillMenu); - nullOptions(qMenu); - - var i; - with (catMenu) { - options[0] = new Option("", "none"); - for(i = 0; i < categoryArray.length; i++) - { - options[i+1] = new Option(categoryArray[i].title, i); - } - options[0].selected = true; - } - } +
    + + + + + + + + + + - var heightOffSet = 0; - $(document).ready(function() { - $("a#gwizard").click(function() { - $("div.wizard").toggle(); - - if (heightOffSet == 0) - { - heightOffSet = document.getElementById('wizardDiv').offsetHeight; - } - - try { - if (window.parent && window.parent.resizeIframe) { - window.parent.resizeIframe(heightOffSet); - } else if (window.top && window.top.resizeIframe) { - window.top.resizeIframe(heightOffSet); - } - } catch(err) { - // mute cross-domain iframe access errors - } - - heightOffSet = heightOffSet * -1; - }); - }); - - // Inserts the question template into the new question fckeditor area - function useQuestionTemplate(aMenu) { - if (aMenu.selectedIndex > 0) { - var obj = document.getElementById("newQuestion"); - obj.value += aMenu.options[aMenu.selectedIndex].text; - var oEditor = CKEDITOR.instances["newQuestion"]; - oEditor.insertHtml(aMenu.options[aMenu.selectedIndex].text); - } - } - - - - function setUpTripleMenu() {} - - - - - - - - - - - - - - - - - - - - - - -
    - -
    - - - -
    - - - -
    - -
    - - -
    - -
    - -
    - - - - - - - - - -
    - - +
    + +
    + +
    + + +
    + +
    + + +
    + +
    + + +
    +
    +
    +
    \ No newline at end of file