[CMF-checkins] CVS: CMF - file_view.dtml:1.3
Martijn Pieters
mj@digicool.com
Thu, 3 May 2001 14:27:05 -0400 (EDT)
Update of /cvs-repository/CMF/CMFDefault/skins/content
In directory korak:/tmp/cvs-serv17470/CMFDefault/skins/content
Modified Files:
file_view.dtml
Log Message:
- Deprecated the CMFDefault.File.download method. It is still available, but
is no longer called by the current CMF skin, nor is index_html aliased to
it.
The method was necessary when the "View' method was the default action
when calling the URL of the File object, this is no longer the case. The
setting of the Content-Disposition header is not needed when using the
absolute URL of the object, and causes certain browsers to misbehave.
--- Updated File file_view.dtml in package CMF --
--- file_view.dtml 2001/04/08 19:18:19 1.2
+++ file_view.dtml 2001/05/03 18:27:03 1.3
@@ -13,7 +13,7 @@
<b>Description</b>: <dtml-var name="description" newline_to_br>
</p>
-<a href="download">Download &dtml-title;</a>
+<a href="&dtml-absolute_url;">Download &dtml-title;</a>
<div class="Discussion">