Update of 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
In directory james.mmbase.org:/tmp/cvs-serv7649

Modified Files:
        attachmentsearch.jsp imagesearch.jsp urlsearch.jsp 
Log Message:
CMSC-1075(Add 'object_type' parameter in jsp about deleting contents.)


See also: 
http://cvs.mmbase.org/viewcvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources
See also: http://www.mmbase.org/jira/browse/CMSC-1075


Index: attachmentsearch.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources/attachmentsearch.jsp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- attachmentsearch.jsp        7 Oct 2008 13:01:44 -0000       1.14
+++ attachmentsearch.jsp        8 Oct 2008 07:25:48 -0000       1.15
@@ -85,6 +85,7 @@
                                  <a href="javascript:showInfo(<mm:field 
name="number" />)"><img src="../gfx/icons/info.png" alt="<fmt:message 
key="attachmentsearch.icon.info" />" title="<fmt:message 
key="attachmentsearch.icon.info" />" /></a>
                                  <mm:hasrank minvalue="administrator">
                                     <a href="<mm:url 
page="DeleteSecondaryContentAction.do" >
+                                       <mm:param name="object_type" 
value="attachments"/>
                                        <mm:param name="objectnumber"><mm:field 
name="number" /></mm:param>
                                        <mm:param name="returnurl" 
value="<%="/editors/resources/AttachmentAction.do" + 
request.getAttribute("geturl")%>" />
                                     </mm:url>"><img 
src="../gfx/icons/delete.png" alt="<fmt:message 
key="attachmentsearch.icon.delete" />" title="<fmt:message 
key="attachmentsearch.icon.delete" />"/></a>


Index: imagesearch.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources/imagesearch.jsp,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -b -r1.14 -r1.15
--- imagesearch.jsp     7 Oct 2008 13:01:44 -0000       1.14
+++ imagesearch.jsp     8 Oct 2008 07:25:48 -0000       1.15
@@ -88,6 +88,7 @@
                                  <img src="../gfx/icons/info.png" 
alt="<fmt:message key="imagesearch.icon.info" />" title="<fmt:message 
key="imagesearch.icon.info" />" /></a>
                               <mm:hasrank minvalue="administrator">
                                  <a href="<mm:url 
page="DeleteSecondaryContentAction.do" >
+                                    <mm:param name="object_type" 
value="images"/>
                                     <mm:param name="objectnumber"><mm:field 
name="number" /></mm:param>
                                     <mm:param name="returnurl" 
value="<%="/editors/resources/ImageAction.do" + 
request.getAttribute("geturl")%>" />
                                  </mm:url>"><img src="../gfx/icons/delete.png" 
alt="<fmt:message key="imagesearch.icon.delete" />" title="<fmt:message 
key="imagesearch.icon.delete" />"/></a>


Index: urlsearch.jsp
===================================================================
RCS file: 
/var/cvs/contributions/CMSContainer/cmsc/contentrepository/src/webapp/editors/resources/urlsearch.jsp,v
retrieving revision 1.13
retrieving revision 1.14
diff -u -b -r1.13 -r1.14
--- urlsearch.jsp       6 Oct 2008 06:50:18 -0000       1.13
+++ urlsearch.jsp       8 Oct 2008 07:25:48 -0000       1.14
@@ -81,6 +81,7 @@
                             <img src="../gfx/icons/info.png" 
title="<fmt:message key="urlsearch.icon.info" />" /></a>
                      <mm:hasrank minvalue="siteadmin">
                         <a href="<mm:url 
page="DeleteSecondaryContentAction.do" >
+                                                     <mm:param 
name="object_type" value="urls"/>
                                                      <mm:param 
name="objectnumber"><mm:field name="number" /></mm:param>
                                                      <mm:param 
name="returnurl" value="<%="/editors/resources/UrlAction.do" + 
request.getAttribute("geturl")%>" />
                                                   </mm:url>">
_______________________________________________
Cvs mailing list
[email protected]
http://lists.mmbase.org/mailman/listinfo/cvs

Reply via email to