[Zope-dev] [PATCH] Improved Lynx managing experience
Petru Paler
ppetru@coltronix.com
Mon, 7 Feb 2000 15:50:41 +0200
In the hope that I'm not the only one using Lynx with Zope often
enough to get irritated by the double links in the Folder contents
manage screen, I attach this patch.
PS: usage info: save this message into a text file then cd into you Zope
install dir and do a 'patch < file_name'.
PPS: it does not affect in any way the management interface when used
with any other browser than Lynx.
text-ly yours,
-Petru
--- lib/python/OFS/main.dtml.org Mon Feb 7 15:24:18 2000
+++ lib/python/OFS/main.dtml Mon Feb 7 15:25:39 2000
@@ -16,7 +16,7 @@
<INPUT TYPE="CHECKBOX" NAME="ids:list" VALUE="<dtml-var sequence-key html_quote>">
</TD>
<TD ALIGN="LEFT" VALIGN="TOP">
- <dtml-if icon>
+ <dtml-if "icon and _.string.find(HTTP_USER_AGENT, 'Lynx') == -1">
<A HREF="<dtml-var sequence-key url_quote>/manage_workspace">
<IMG SRC="<dtml-var SCRIPT_NAME>/<dtml-var icon>"
ALT="[<dtml-var meta_type>]" BORDER="0"></A>