Index: lams_tool_chat/web/WEB-INF/fckeditor/tlds/FCKeditor.tld =================================================================== diff -u -red16d5f8991580c9160628f30a49e947a0b154bb -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/WEB-INF/fckeditor/tlds/FCKeditor.tld (.../FCKeditor.tld) (revision ed16d5f8991580c9160628f30a49e947a0b154bb) +++ lams_tool_chat/web/WEB-INF/fckeditor/tlds/FCKeditor.tld (.../FCKeditor.tld) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -14,6 +14,7 @@ id true + true basePath Index: lams_tool_chat/web/WEB-INF/lams.tld =================================================================== diff -u -r6b48d7643dda77bdad77a24c3af3f0b3d9cec1c2 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/WEB-INF/lams.tld (.../lams.tld) (revision 6b48d7643dda77bdad77a24c3af3f0b3d9cec1c2) +++ lams_tool_chat/web/WEB-INF/lams.tld (.../lams.tld) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -287,14 +287,10 @@ /WEB-INF/tags/TabBody.tag - HTMLEditor - /WEB-INF/tags/HTMLEditor.tag + FCKEditor + /WEB-INF/tags/FCKEditor.tag - SetEditor - /WEB-INF/tags/SetEditor.tag - - AuthoringButton /WEB-INF/tags/AuthoringButton.tag Index: lams_tool_chat/web/WEB-INF/tags/AuthoringButton.tag =================================================================== diff -u -r97964dcb4328d4b3dce27306a1793506c19413c9 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 97964dcb4328d4b3dce27306a1793506c19413c9) +++ lams_tool_chat/web/WEB-INF/tags/AuthoringButton.tag (.../AuthoringButton.tag) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -37,6 +37,7 @@ <%@ attribute name="formID" required="true" rtexprvalue="true" %> <%@ attribute name="toolSignature" required="true" rtexprvalue="true" %> <%@ attribute name="toolContentID" required="true" rtexprvalue="true" %> +<%@ attribute name="contentFolderID" required="true" rtexprvalue="true" %> <%@ attribute name="clearSessionActionUrl" required="true" rtexprvalue="true" %> <%-- Optional attribute --%> @@ -64,7 +65,7 @@ -

+

Index: lams_tool_chat/web/WEB-INF/tags/FCKEditor.tag =================================================================== diff -u --- lams_tool_chat/web/WEB-INF/tags/FCKEditor.tag (revision 0) +++ lams_tool_chat/web/WEB-INF/tags/FCKEditor.tag (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -0,0 +1,57 @@ +<%@ taglib uri="tags-core" prefix="c"%> +<%@ taglib uri="tags-lams" prefix="lams"%> +<%@ taglib uri="fck-editor" prefix="fck"%> + +<%@ attribute name="id" required="true" rtexprvalue="true"%> +<%@ attribute name="value" required="true" rtexprvalue="true"%> +<%@ attribute name="toolbarSet" required="false" rtexprvalue="true"%> +<%@ attribute name="contentFolderID" required="true" rtexprvalue="true"%> + + + + + + + + + + + + + + + ${value} + + + + + Fisheye: Tag 7f3d6ad9d7eed4d6dcff775408af478af964fddd refers to a dead (removed) revision in file `lams_tool_chat/web/WEB-INF/tags/HTMLEditor.tag'. Fisheye: No comparison available. Pass `N' to diff? Fisheye: Tag 7f3d6ad9d7eed4d6dcff775408af478af964fddd refers to a dead (removed) revision in file `lams_tool_chat/web/WEB-INF/tags/SetEditor.tag'. Fisheye: No comparison available. Pass `N' to diff? Index: lams_tool_chat/web/WEB-INF/tags/Tab.tag =================================================================== diff -u -r0ac012d04d1fa2ee4df7139645ba7fecaa8b2a6e -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 0ac012d04d1fa2ee4df7139645ba7fecaa8b2a6e) +++ lams_tool_chat/web/WEB-INF/tags/Tab.tag (.../Tab.tag) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,34 +1,35 @@ -<%/**************************************************************** - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - * - * http://www.gnu.org/licenses/gpl.txt - * **************************************************************** - */ - /** - * Tab.tag - * Author: Mitchell Seaton - * Description: Creates a tab element. - * Wiki: - */ +<% + /**************************************************************** + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * 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"%> @@ -37,18 +38,17 @@ <%@ attribute name="methodCall" required="false" rtexprvalue="true"%> <%@ taglib uri="tags-core" prefix="c"%> -<%@ taglib uri="tags-bean" prefix="bean"%> +<%@ taglib uri="tags-fmt" prefix="fmt"%> <%@ taglib uri="tags-lams" prefix="lams"%> - - - -<%// 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 %> +<% + // 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 +%> @@ -62,38 +62,19 @@ - + - - - + <%-- TODO need to reimplement inactive tabs --%> - -

Index: lams_tool_chat/web/WEB-INF/tags/TabBody.tag =================================================================== diff -u -r0ac012d04d1fa2ee4df7139645ba7fecaa8b2a6e -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 0ac012d04d1fa2ee4df7139645ba7fecaa8b2a6e) +++ lams_tool_chat/web/WEB-INF/tags/TabBody.tag (.../TabBody.tag) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,34 +1,35 @@ -<%/**************************************************************** - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * USA - * - * http://www.gnu.org/licenses/gpl.txt - * **************************************************************** - */ - /** - * TabBody.tag - * Author: Mitchell Seaton - * Description: Creates the body container for a tab element - * Wiki: - */ +<% + /**************************************************************** + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * 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"%> @@ -47,6 +48,5 @@ - Index: lams_tool_chat/web/WEB-INF/tags/Tabs.tag =================================================================== diff -u -r0ac012d04d1fa2ee4df7139645ba7fecaa8b2a6e -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 0ac012d04d1fa2ee4df7139645ba7fecaa8b2a6e) +++ lams_tool_chat/web/WEB-INF/tags/Tabs.tag (.../Tabs.tag) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,36 +1,38 @@ -<%/**************************************************************** - * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 - * 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: - */ +<% + /**************************************************************** + * 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., 59 Temple Place, Suite 330, Boston, MA 02111-1307 + * 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="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"%> Index: lams_tool_chat/web/includes/javascript/authoring.js =================================================================== diff -u --- lams_tool_chat/web/includes/javascript/authoring.js (revision 0) +++ lams_tool_chat/web/includes/javascript/authoring.js (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -0,0 +1,29 @@ + +function init() { + + // initialising tabs + initTabSize(3); + + // open the current tab + var tag = document.getElementById("currentTab"); + if (tag.value != "") { + selectTab(tag.value); + } else { + selectTab(1); + } +} +function doSelectTab(tabId) { + var tag = document.getElementById("currentTab"); + tag.value = tabId; + selectTab(tabId); +} +function doSubmit(method) { + document.authoringForm.dispatch.value = method; + document.authoringForm.submit(); +} +function deleteAttachment(dispatch, uuid) { + document.authoringForm.dispatch.value = dispatch; + document.authoringForm.deleteFileUuid.value = uuid; + document.authoringForm.submit(); +} + Index: lams_tool_chat/web/layouts/defaultLayout.jsp =================================================================== diff -u -red3c47b7ae61ab6af7d88769b237943923199ad8 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/layouts/defaultLayout.jsp (.../defaultLayout.jsp) (revision ed3c47b7ae61ab6af7d88769b237943923199ad8) +++ lams_tool_chat/web/layouts/defaultLayout.jsp (.../defaultLayout.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,5 +1,5 @@ - + <%@ include file="/common/taglibs.jsp"%> Index: lams_tool_chat/web/layouts/learningLayout.jsp =================================================================== diff -u -r6e0f6145136b39b5736a6a1e20c596f54cf7f5b0 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/layouts/learningLayout.jsp (.../learningLayout.jsp) (revision 6e0f6145136b39b5736a6a1e20c596f54cf7f5b0) +++ lams_tool_chat/web/layouts/learningLayout.jsp (.../learningLayout.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,5 +1,5 @@ - + <%@ include file="/common/taglibs.jsp"%> Index: lams_tool_chat/web/layouts/tabLayout.jsp =================================================================== diff -u -red3c47b7ae61ab6af7d88769b237943923199ad8 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/layouts/tabLayout.jsp (.../tabLayout.jsp) (revision ed3c47b7ae61ab6af7d88769b237943923199ad8) +++ lams_tool_chat/web/layouts/tabLayout.jsp (.../tabLayout.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,5 +1,5 @@ - + <%@ include file="/common/taglibs.jsp"%> Index: lams_tool_chat/web/pages/authoring/advanced.jsp =================================================================== diff -u -r4723715bee4472a5a41fc2cafd690b23b7ae4e2a -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/pages/authoring/advanced.jsp (.../advanced.jsp) (revision 4723715bee4472a5a41fc2cafd690b23b7ae4e2a) +++ lams_tool_chat/web/pages/authoring/advanced.jsp (.../advanced.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,27 +1,32 @@ <%@ include file="/common/taglibs.jsp"%> - - - + @@ -31,10 +36,13 @@ @@ -47,4 +55,3 @@
- + + - +
- + - +
 
- + - +
- Index: lams_tool_chat/web/pages/authoring/authoring.jsp =================================================================== diff -u -red3c47b7ae61ab6af7d88769b237943923199ad8 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision ed3c47b7ae61ab6af7d88769b237943923199ad8) +++ lams_tool_chat/web/pages/authoring/authoring.jsp (.../authoring.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,14 +1,11 @@ <%@ include file="/common/taglibs.jsp"%> @@ -17,6 +14,7 @@ enctype="multipart/form-data">
+ @@ -49,11 +47,11 @@ cancelButtonLabelKey="button.cancel" saveButtonLabelKey="button.save" toolContentID="${formBean.toolContentID}" accessMode="${sessionMap.mode}" defineLater="${defineLater}" - customiseSessionID="${sessionMap.sessionID}" /> + customiseSessionID="${sessionMap.sessionID}" + contentFolderID="${formBean.contentFolderID}" />
+ - - Index: lams_tool_chat/web/pages/authoring/basic.jsp =================================================================== diff -u -r284b8223088983657f804360bdda0f9c137e7d13 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 284b8223088983657f804360bdda0f9c137e7d13) +++ lams_tool_chat/web/pages/authoring/basic.jsp (.../basic.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,18 +1,27 @@ <%@ include file="/common/taglibs.jsp"%> - + Index: lams_tool_chat/web/pages/authoring/headItems.jsp =================================================================== diff -u -r39a4ece987cbb4ab50fd15fc15d2dbb210fece38 -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/pages/authoring/headItems.jsp (.../headItems.jsp) (revision 39a4ece987cbb4ab50fd15fc15d2dbb210fece38) +++ lams_tool_chat/web/pages/authoring/headItems.jsp (.../headItems.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,49 +1,9 @@ <%@ include file="/common/taglibs.jsp"%> - - + + -<%-- Authoring Script --%> - - \ No newline at end of file + Index: lams_tool_chat/web/pages/authoring/instructions.jsp =================================================================== diff -u -r4723715bee4472a5a41fc2cafd690b23b7ae4e2a -r7f3d6ad9d7eed4d6dcff775408af478af964fddd --- lams_tool_chat/web/pages/authoring/instructions.jsp (.../instructions.jsp) (revision 4723715bee4472a5a41fc2cafd690b23b7ae4e2a) +++ lams_tool_chat/web/pages/authoring/instructions.jsp (.../instructions.jsp) (revision 7f3d6ad9d7eed4d6dcff775408af478af964fddd) @@ -1,70 +1,92 @@ <%@ include file="/common/taglibs.jsp"%> -
- +
+ +
+
- +
+ +
+
- + <%-- Online Instructions --%> - - + <%-- Online Attachments --%> + - + <%-- Online Attachments Upload --%> @@ -74,7 +96,8 @@
- +
@@ -87,70 +110,91 @@
- +
+ +
+
- -
  • - - - - -   +
      + + <%-- Online Saved Files --%> + +
    • + + + + + +   - - - -   + + + + +   - - - -
    • -
      + + + + + - <%-- Displaying unsaved Files --%> - -
    • - - * - - - -   + <%-- Online Unsaved Files --%> + +
    • + + * + + + + +   - - - -   + + + + +   - - - -
    • -
      + + + + + + +
  • -
    +
    - + <%-- Offline Instructions --%> - - + <%-- Offline Attachments --%> + - - + <%--Offline Attachments Upload --%> @@ -160,7 +204,8 @@
    - +
    - +
    + +
    +
    - - -
  • - - - - -   +
      - - - -   + <%-- Offline Saved Attachments --%> + +
    • + + + + + +   - - - -
    • -
      + + + + +   - - -
    • - - * - - - -   + + + +
    • +
      + + <%-- Offline Unsaved Attachments --%> + +
    • + + * + + + + +   - - - -   + + + + +   - - - -
    • -
      + + + + + + +
  • -
    +