Update of
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
In directory
james.mmbase.org:/tmp/cvs-serv13700/cmsc/contentrepository/src/webapp/editors/resources
Modified Files:
imagesearch.jsp
Log Message:
CMSC-1126 using Assets in content
See also:
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
See also: http://www.mmbase.org/jira/browse/CMSC-1126
Index: imagesearch.jsp
===================================================================
RCS file:
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources/imagesearch.jsp,v
retrieving revision 1.36
retrieving revision 1.37
diff -u -b -r1.36 -r1.37
--- imagesearch.jsp 4 Dec 2008 09:35:30 -0000 1.36
+++ imagesearch.jsp 5 Dec 2008 02:42:56 -0000 1.37
@@ -10,7 +10,7 @@
<script type="text/javascript">
function showInfo(objectnumber) {
openPopupWindow('imageinfo', '900', '500',
- 'imageinfo.jsp?objectnumber=' + objectnumber);
+ '../resources/imageinfo.jsp?objectnumber=' +
objectnumber);
}
function initParentHref(elem) {
@@ -109,8 +109,8 @@
<%description =
((String)description).replaceAll("[\\n\\r\\t]+"," "); %>
<mm:import
id="url">javascript:selectElement('<mm:field name="number"/>', '<mm:field
name="title" escape="js-single-quotes"/>','<mm:image />','<mm:field
name="width"/>','<mm:field name="height"/>', '<%=description%>');</mm:import>
</mm:field>
- <div class="grid" href="<mm:write referid="url"/>"
onclick="initParentHref(this)">
- <div class="thumbnail" ondblclick="showInfo('<mm:field
name="number"/>')"><mm:image mode="img" template="s(100x100)" alt="double
click to show the info"/></div>
+ <div class="grid" href="<mm:write referid="url"/>"
onclick="initParentHref(this)" title="double click to show the info">
+ <div class="thumbnail" ondblclick="showInfo('<mm:field
name="number"/>')"><mm:image mode="img" template="s(100x100)" alt="double click
to show the info" /></div>
<div class="imgInfo"><mm:field
name="title"/><br/><mm:field name="itype"/></div>
</div>
</mm:listnodes>
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs