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"%>
-
-