[Zope] Patch on OFS/dtml/flleEdit.dtml

Nik Klever klever@multimedia.fh-augsburg.de
Thu, 22 Aug 2002 16:43:01 +0200


This is a multi-part message in MIME format.
--------------080807060906070201030000
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: quoted-printable



the following diff on OFS/dtml/fileEdit.dtml is a very simple patch to=20
view xml files e.g. SVG graphical images also as text files.

Greetings,

Nik


--=20
________________________________________
Prof.Dr. Nik Klever
- Neue Medien -
________________________________________
Fachhochschule Augsburg - FB Informatik
http://www.fh-augsburg.de/multimedia
mailto:klever@multimedia.fh-augsburg.de
________________________________________
DiZ - Zentrum f=FCr Hochschuldidaktik=20
der bayerischen Fachhochschulen
http://www.diz-bayern.de
mailto:klever@diz-bayern.de
________________________________________


--------------080807060906070201030000
Content-Type: text/plain;
 name="fileEdit.diff"
Content-Transfer-Encoding: 7bit
Content-Disposition: inline;
 filename="fileEdit.diff"

51c51
< <dtml-if "(this().getContentType()[:4] == 'text' or (_.string.find(this().getContentType(),'xml') != -1))and this().get_size() < 65536">
---
> <dtml-if "this().getContentType()[:4] == 'text' and this().get_size() < 65536">

--------------080807060906070201030000--