[Zope-dev] Re: Policy for Collector-Issues 545 and 1217?
Jamie Heilman
jamie at audible.transient.net
Tue Apr 27 17:31:59 EDT 2004
here's the patch I'd have attached to
http://zope.org/Collectors/Zope/1217
if the collector could collect
--
Jamie Heilman http://audible.transient.net/~jamie/
"Paranoia is a disease unto itself, and may I add, the person standing
next to you may not be who they appear to be, so take precaution."
-Sathington Willoughby
-------------- next part --------------
--- lib/python/App/dtml/manage.dtml 22 Dec 2002 17:53:57 -0000 1.10
+++ lib/python/App/dtml/manage.dtml 27 Apr 2004 21:14:33 -0000
@@ -19,14 +19,14 @@
<dtml-else>
<frameset rows="34, *">
</dtml-if>
- <frame src="&dtml-URL1;/manage_top_frame" name="manage_top_frame"
+ <frame src="manage_top_frame" name="manage_top_frame"
marginheight="0" scrolling="no"/>
</dtml-if>
<frameset cols="175,*">
- <frame src="&dtml-URL1;/manage_menu" name="manage_menu"
+ <frame src="manage_menu" name="manage_menu"
marginwidth="2" marginheight="2" scrolling="auto"/>
- <frame src="&dtml-URL1;/manage_workspace" name="manage_main"
+ <frame src="manage_workspace" name="manage_main"
marginwidth="2" marginheight="2" scrolling="auto"/>
</frameset>
--- lib/python/App/dtml/manage_tabs.dtml 4 Nov 2003 16:52:24 -0000 1.14
+++ lib/python/App/dtml/manage_tabs.dtml 27 Apr 2004 21:14:33 -0000
@@ -59,7 +59,7 @@
align="center"><font face="Verdana, Arial, Helvetica"
size="1" color="#000000"> <a <dtml-if "s_item.get('action')"
>href="&dtml-action;"<dtml-else
- >href="&dtml-URL1;"</dtml-if
+ >href="<dtml-var "REQUEST.URL1" html_quote>"</dtml-if
><dtml-if "s_item.get('target')"> target="&dtml-target;"</dtml-if
>><span style="color: #000000;"><strong><dtml-var "s_item['label']"
></strong></span></a> </font></td>
@@ -68,7 +68,7 @@
align="center"><font face="Verdana, Arial, Helvetica"
size="1" color="#000000"> <a <dtml-if "s_item.get('action')"
>href="&dtml-action;"<dtml-else
- >href="&dtml-URL1;"</dtml-if
+ >href="<dtml-var "REQUEST.URL1" html_quote>"</dtml-if
><dtml-if "s_item.get('target')"> target="&dtml-target;"</dtml-if
>><span style="color: #000000;"><strong><dtml-var "s_item['label']"
></strong></span></a> </font></td>
--- lib/python/OFS/dtml/fileEdit.dtml 6 Jul 2003 10:43:53 -0000 1.9
+++ lib/python/OFS/dtml/fileEdit.dtml 27 Apr 2004 21:14:33 -0000
@@ -10,7 +10,7 @@
text type and small enough to be edited in a text area.
</p>
-<form action="&dtml-URL1;" method="post" enctype="multipart/form-data">
+<form action="<dtml-var "REQUEST.URL1" html_quote>" method="post" enctype="multipart/form-data">
<table cellpadding="2" cellspacing="0" width="100%" border="0">
<tr>
<td align="left" valign="top">
--- lib/python/OFS/dtml/findFrame.dtml 22 Dec 2002 17:53:59 -0000 1.3
+++ lib/python/OFS/dtml/findFrame.dtml 27 Apr 2004 21:14:33 -0000
@@ -5,12 +5,12 @@
</HEAD>
<FRAMESET ROWS="52%,*">
<dtml-if cv_ffaf>
- <FRAME SRC="&dtml-URL1;/manage_findAdv" NAME="findForm"
+ <FRAME SRC="<dtml-var "REQUEST.URL1" html_quote>/manage_findAdv" NAME="findForm"
<dtml-else>
- <FRAME SRC="&dtml-URL1;/manage_findForm" NAME="findForm"
+ <FRAME SRC="<dtml-var "REQUEST.URL1" html_quote>/manage_findForm" NAME="findForm"
</dtml-if>
MARGINWIDTH="2" MARGINHEIGHT="2" SCROLLING="auto">
- <FRAME SRC="&dtml-URL1;/manage_findResult" NAME="findResult"
+ <FRAME SRC="<dtml-var "REQUEST.URL1" html_quote>/manage_findResult" NAME="findResult"
MARGINWIDTH="2" MARGINHEIGHT="0" SCROLLING="auto">
</FRAMESET>
<NOFRAMES>
--- lib/python/OFS/dtml/findResult.dtml 19 Jan 2004 19:56:52 -0000 1.6
+++ lib/python/OFS/dtml/findResult.dtml 27 Apr 2004 21:14:34 -0000
@@ -60,13 +60,13 @@
<td width="50%">
<div class="list-item">
<dtml-in name="results" previous size="batch_size" start="query_start">
- <strong> <a href="&dtml-URL;&dtml-sequence-query;query_start=&dtml-previous-sequence-start-number;">< Previous</a></strong>
+ <strong> <a href="<dtml-var "REQUEST.URL" html_quote>&dtml-sequence-query;query_start=&dtml-previous-sequence-start-number;">< Previous</a></strong>
<dtml-else> </dtml-in></div>
</td>
<td align="right" width="50%">
<div class="list-item">
<dtml-in name="results" next size=batch_size start=query_start>
- <strong><a href="&dtml-URL;&dtml-sequence-query;query_start=&dtml-next-sequence-start-number;">Next ></a></strong>
+ <strong><a href="<dtml-var "REQUEST.URL" html_quote>&dtml-sequence-query;query_start=&dtml-next-sequence-start-number;">Next ></a></strong>
<dtml-else> </dtml-in></div>
</td>
</tr>
--- lib/python/OFS/dtml/history.dtml 22 Dec 2002 17:53:59 -0000 1.4
+++ lib/python/OFS/dtml/history.dtml 27 Apr 2004 21:14:34 -0000
@@ -2,7 +2,7 @@
<dtml-var manage_tabs>
<dtml-if manage_change_history>
- <form action="&dtml-URL1;" method="POST">
+ <form action="<dtml-var "REQUEST.URL1" html_quote>" method="POST">
<table width="100%" cellspacing="0" cellpadding="2" border="0">
<tr class="list-header">
@@ -10,7 +10,7 @@
<div class="list-nav">
<dtml-if first_transaction>
<dtml-with expr="_(next=first_transaction*2-last_transaction)">
- <a href="&dtml-URL;?first_transaction:int=&dtml.-next;&last_transaction:int=&dtml.-first_transaction;&HistoryBatchSize:int=&dtml.-HistoryBatchSize;">< Later Revisions</a>
+ <a href="<dtml-var "REQUEST.URL" html_quote>?first_transaction:int=&dtml.-next;&last_transaction:int=&dtml.-first_transaction;&HistoryBatchSize:int=&dtml.-HistoryBatchSize;">< Later Revisions</a>
</dtml-with>
<dtml-else>
@@ -21,7 +21,7 @@
<div class="list-nav">
<dtml-if expr="_.len(manage_change_history) == HistoryBatchSize">
<dtml-with expr="_(last=last_transaction+HistoryBatchSize)">
- <a href="&dtml-URL;?first_transaction:int=&dtml.-last_transaction;&last_transaction:int=&dtml.-last;&HistoryBatchSize:int=&dtml.-HistoryBatchSize;">Earlier Revisions ></a>
+ <a href="<dtml-var "REQUEST.URL" html_quote>?first_transaction:int=&dtml.-last_transaction;&last_transaction:int=&dtml.-last;&HistoryBatchSize:int=&dtml.-HistoryBatchSize;">Earlier Revisions ></a>
</dtml-with>
<dtml-else>
--- lib/python/OFS/dtml/main.dtml 19 Jan 2004 19:56:52 -0000 1.22
+++ lib/python/OFS/dtml/main.dtml 27 Apr 2004 21:14:34 -0000
@@ -34,10 +34,10 @@
<td align="left" valign="top"> </td>
<td align="right" valign="top">
<div class="form-element">
- <form action="&dtml-URL1;/" method="get">
+ <form action="<dtml-var "REQUEST.URL1" html_quote>/" method="get">
<dtml-if "_.len(filtered_meta_types) > 1">
<select class="form-element" name=":action"
- onChange="location.href='&dtml-URL1;/'+this.options[this.selectedIndex].value">
+ onChange="location.href='<dtml-var "REQUEST.URL1" html_quote>/'+this.options[this.selectedIndex].value">
<option value="manage_workspace" disabled>Select type to add...</option>
<dtml-in filtered_meta_types mapping sort=name>
<option value="&dtml.url_quote-action;">&dtml-name;</option>
@@ -57,7 +57,7 @@
</table>
</dtml-if>
-<form action="&dtml-URL1;/" name="objectItems" method="post">
+<form action="<dtml-var "REQUEST.URL1" html_quote>/" name="objectItems" method="post">
<dtml-if objectItems>
<dtml-let hasOrderSupport="_.hasattr(this().aq_self, 'has_order_support')">
<dtml-unless skey>
--- lib/python/OFS/dtml/properties.dtml 16 Jan 2004 15:35:13 -0000 1.16
+++ lib/python/OFS/dtml/properties.dtml 27 Apr 2004 21:14:34 -0000
@@ -31,7 +31,7 @@
</p>
</dtml-if Principia-Version>
-<form action="&dtml-URL1;" method="post">
+<form action="<dtml-var "REQUEST.URL1" html_quote>" method="post">
<dtml-if propertyMap>
<p class="form-help">
Properties allow you to assign simple values to Zope objects. To change
@@ -223,7 +223,7 @@
<dtml-if property_extensible_schema__>
-<form action="&dtml-URL1;/manage_addProperty" method="post">
+<form action="<dtml-var "REQUEST.URL1" html_quote>/manage_addProperty" method="post">
<p class="form-help">
To add a new property, enter a name, type and value for the new
--- lib/python/OFS/dtml/propertyType.dtml 22 Dec 2002 17:53:59 -0000 1.3
+++ lib/python/OFS/dtml/propertyType.dtml 27 Apr 2004 21:14:35 -0000
@@ -26,7 +26,7 @@
</dtml-if>
</dtml-unless>
-<form action="&dtml-URL1;" method="POST">
+<form action="<dtml-var "REQUEST.URL1" html_quote>" method="POST">
<dtml-if old_ids>
<p>
To change property names and values, edit them and click
--- lib/python/OFS/dtml/propertysheets.dtml 29 Sep 2003 12:16:37 -0000 1.4
+++ lib/python/OFS/dtml/propertysheets.dtml 27 Apr 2004 21:14:35 -0000
@@ -1,7 +1,7 @@
<dtml-var manage_page_header>
<dtml-var manage_tabs>
-<form action="&dtml-URL1;" method="post">
+<form action="<dtml-var "REQUEST.URL1" html_quote>" method="post">
<table cellspacing="0" cellpadding="2" border="0">
<dtml-in items sort>
<dtml-with "_(REQUEST=REQUEST, item=_['sequence-item'].aq_base, isDeletable=isDeletable)" only>
--- lib/python/OFS/dtml/renameForm.dtml 22 Dec 2002 17:53:59 -0000 1.5
+++ lib/python/OFS/dtml/renameForm.dtml 27 Apr 2004 21:14:35 -0000
@@ -7,7 +7,7 @@
)">
<dtml-if expr="REQUEST.has_key('ids')">
-<form action="&dtml-URL1;" method="post">
+<form action="<dtml-var "REQUEST.URL1" html_quote>" method="post">
<table border="0">
<dtml-in expr="manage_CopyContainerAllItems(REQUEST)">
<tr>
More information about the Zope-Dev
mailing list