Update of /var/cvs/contributions/didactor2/src/faq/templates/faq/backoffice
In directory james.mmbase.org:/tmp/cvs-serv24559/templates/faq/backoffice
Modified Files:
add_faq.jsp
Log Message:
dropped silly 'faqcontainers' of which could exist only one (so, you can as wel
have none), If faqnodes had to be linked to something, I propose the education
or so.
See also:
http://cvs.mmbase.org/viewcvs/contributions/didactor2/src/faq/templates/faq/backoffice
Index: add_faq.jsp
===================================================================
RCS file:
/var/cvs/contributions/didactor2/src/faq/templates/faq/backoffice/add_faq.jsp,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -b -r1.2 -r1.3
--- add_faq.jsp 9 May 2006 15:37:04 -0000 1.2
+++ add_faq.jsp 24 Nov 2008 10:19:53 -0000 1.3
@@ -3,24 +3,21 @@
<mm:import externid="listjsp" required="true"/>
<mm:import externid="wizardjsp" required="true"/>
<mm:import id="nodes_exist" reset="true">false</mm:import>
+
+<!--
+ This jsp is a horrible mess
+-->
+
<mm:listnodes type="faqnodes">
<mm:import id="nodes_exist" reset="true">true</mm:import>
</mm:listnodes>
-<mm:listnodes type="faqcontainers">
- <mm:first>
- <mm:node>
- <mm:field id="faqcontainernode" name="number" write="false" />
- </mm:node>
- </mm:first>
-</mm:listnodes>
-
<table border="0" cellpadding="0" cellspacing="0">
<tr>
<td><img src="gfx/tree_spacer.gif" width="16px" height="16px" border="0"
align="center" valign="middle"/></td>
<td><a href='javascript:clickNode("faq_root")'><img
src="gfx/tree_plus.gif" border="0" align="middle" id='img_faq_root'/></a></td>
<td><img src="gfx/folder_closed.gif" border="0" align="middle"
id='img2_faq_root'/></td>
- <td><nobr> <a href='<mm:write
referid="listjsp"/>&wizard=config/faq/rootfaqnodes&origin=<mm:write
referid="faqcontainernode"/>&nodepath=faqnodes&fields=name&metadata=yes&path=FAQ'
title="FAQ" target="text">FAQ</a></nobr></td>
+ <td><nobr> <a href='<mm:write
referid="listjsp"/>&wizard=config/faq/rootfaqnodes&nodepath=faqnodes&fields=name&metadata=yes&path=FAQ'
title="FAQ" target="text">FAQ</a></nobr></td>
</tr>
</table>
<div id="faq_root" style="display:none">
@@ -43,7 +40,7 @@
<td><img src="gfx/tree_leaflast.gif"
border="0" align="center" valign="middle"/></td>
</mm:compare>
<td><img src="gfx/new_education.gif" width="16"
border="0" align="middle" /></td>
- <td><nobr> <a href='<mm:write
referid="wizardjsp"/>&wizard=config/faq/rootfaqnodes&origin=<mm:write
referid="faqcontainernode"/>&objectnumber=new&path=FAQ' title="nieuwe FAQ"
target="text">nieuwe FAQ</a></nobr></td>
+ <td><nobr> <a href='<mm:write
referid="wizardjsp"/>&wizard=config/faq/rootfaqnodes&objectnumber=new&path=FAQ'
title="nieuwe FAQ" target="text">nieuwe FAQ</a></nobr></td>
</tr>
</table>
<mm:listnodes type="faqcontainers">
@@ -76,7 +73,7 @@
</mm:list>
</mm:listcontainer>
</mm:node>
-
<td><a
href='javascript:clickNodePortal("faq_node_<%=nb%>")'><img
src="gfx/adds/tree_plus.gif" border="0" align="middle"
id='img_faq_node_<%=nb%>'/></a></td>
+
<td></td>
<td><img src="gfx/folder_closed.gif" border="0" align="middle"
id='img2_faq_node_<%=nb%>'/></td>
<td><a href='<mm:write
referid="wizardjsp"/>&wizard=config/faq/faqnodes&objectnumber=<mm:field
name="number"/>&path=FAQ > <mm:field name="name"/>' title="edit"
target="text"><mm:field name="name"/></a></td>
</tr>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs